AWS SDK for .NET Documentation
AddPermissionRequest Class
AmazonAmazon.SimpleNotificationService.ModelAddPermissionRequest Did this page help you?   Yes   No    Tell us about it...
Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.
Declaration Syntax
C#
public class AddPermissionRequest : SNSRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
AddPermissionRequest()()()()
Initializes a new instance of the AddPermissionRequest class

ActionNames
The action you want to allow for the specified principal(s).

AWSAccountIds
The AWS account IDs of the users (principals) who will be given access to the specified actions.

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
A unique identifier for the new policy statement.

TopicArn
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>[]()[][]) Obsolete.
Sets the action you want to allow for the specified principal(s).

WithAWSAccountIds(array<String>[]()[][]) Obsolete.
Sets the AWS account IDs of the users (principals) who will be given access to the specified actions.

WithLabel(String) Obsolete.
Sets the unique identifier for the new policy statement.

WithTopicArn(String) Obsolete.
Sets the ARN of the topic whose access control policy you wish to modify.

Inheritance Hierarchy
Object
SNSRequest
 AddPermissionRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)