C# Class Amazon.SimpleNotificationService.Model.AddPermissionRequest

Container for the parameters to the AddPermission operation. Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.
Inheritance: AmazonSimpleNotificationServiceRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
AddPermissionRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

AddPermissionRequest ( string topicArn, string label, List awsAccountId, List actionName ) : System

Instantiates AddPermissionRequest with the parameterized properties

Private Methods

Method Description
IsSetAWSAccountId ( ) : bool
IsSetActionName ( ) : bool
IsSetLabel ( ) : bool
IsSetTopicArn ( ) : bool

Method Details

AddPermissionRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public AddPermissionRequest ( ) : System
return System

AddPermissionRequest() public method

Instantiates AddPermissionRequest with the parameterized properties
public AddPermissionRequest ( string topicArn, string label, List awsAccountId, List actionName ) : System
topicArn string The ARN of the topic whose access control policy you wish to modify.
label string A unique identifier for the new policy statement.
awsAccountId List 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.
actionName List The action you want to allow for the specified principal(s). Valid values: any Amazon SNS action name.
return System