Add Permission Request. More...
#import <SNSAddPermissionRequest.h>
Public Member Functions | |
(id) | - init |
Default constructor for a new AddPermissionRequest object. | |
(id) | - initWithTopicArn:andLabel:andAWSAccountIds:andActionNames: |
Constructs a new AddPermissionRequest object. | |
(NSString *) | - description |
Returns a string representation of this object; useful for testing and debugging. | |
Properties | |
NSString * | topicArn |
The ARN of the topic whose access control policy you wish to modify. | |
NSString * | label |
A unique identifier for the new policy statement. | |
NSMutableArray * | aWSAccountIds |
The AWS account IDs of the users (principals) who will be given access to the specified actions. | |
NSMutableArray * | actionNames |
The action you want to allow for the specified principal(s). |
Add Permission Request.
- (NSString* SNSAddPermissionRequest.)description |
Returns a string representation of this object; useful for testing and debugging.
- (id SNSAddPermissionRequest.)init |
Default constructor for a new AddPermissionRequest object.
Callers should use the property methods to initialize this object after creating it.
- (id SNSAddPermissionRequest.)initWithTopicArn: | (NSString *) | theTopicArn | ||
andLabel: | (NSString *) | theLabel | ||
andAWSAccountIds: | (NSMutableArray *) | theAWSAccountIds | ||
andActionNames: | (NSMutableArray *) | theActionNames | ||
Constructs a new AddPermissionRequest object.
Callers should use properties to initialize any additional object members.
theTopicArn | The ARN of the topic whose access control policy you wish to modify. | |
theLabel | A unique identifier for the new policy statement. | |
theAWSAccountIds | 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. | |
theActionNames | The action you want to allow for the specified principal(s). |
- (NSMutableArray *) aWSAccountIds [read, write, retain] |
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.