AddPermissionRequest Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the AddPermission operation.

The AddPermission action adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleNotificationService.Model.AddPermissionRequest

Namespace: Amazon.SimpleNotificationService.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class AddPermissionRequest : AmazonWebServiceRequest
         IRequestEvents

The AddPermissionRequest type exposes the following members

Constructors

  Name Description
Public Method AddPermissionRequest() Default constructor for a new AddPermissionRequest object. Callers should use the properties to initialize this object after creating it.
Public Method AddPermissionRequest(string, string, List`1, List`1)

Properties

  Name Description
Public Property ActionName The action you want to allow for the specified principal(s). Valid values: any Amazon SNS action name.
Public Property AWSAccountId The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service.
Public Property Label A unique identifier for the new policy statement.
Public Property TopicArn The ARN of the topic whose access control policy you wish to modify.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8