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

Namespace: Amazon.SimpleNotificationService.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class AddPermissionRequest
Public Class AddPermissionRequest
public ref class AddPermissionRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
AddPermissionRequest()()()()
Initializes a new instance of the AddPermissionRequest class
ActionNames
Gets and sets the ActionNames property. The action you want to allow for the specified principal(s). Valid values: any Amazon SNS action name. Go to the Amazon SNS API docs for a list of action names.
AWSAccountIds
Gets and sets the AWSAccountIds property. 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.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsSetActionNames()()()()
Checks if ActionNames property is set
IsSetAWSAccountIds()()()()
Checks if AWSAccountIds property is set
IsSetLabel()()()()
Checks if Label property is set
IsSetTopicArn()()()()
Checks if TopicArn property is set
Label
Gets and sets the Label property. A unique identifier for the new policy statement.
TopicArn
Gets and sets the TopicArn property. The ARN of the topic whose access control policy you wish to modify.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithActionNames(array<String>[]()[][])
Sets the ActionNames property
WithAWSAccountIds(array<String>[]()[][])
Sets the AWSAccountIds property
WithLabel(String)
Sets the Label property
WithTopicArn(String)
Sets the TopicArn property

Inheritance Hierarchy

System..::..Object
  Amazon.SimpleNotificationService.Model..::..AddPermissionRequest

See Also