AWSSQSAddPermissionRequest
Objective-C
@interface AWSSQSAddPermissionRequest
Swift
class AWSSQSAddPermissionRequest
-
The Amazon Web Services account numbers of the principals who are to receive permission. For information about locating the Amazon Web Services account identification, see Your Amazon Web Services Identifiers in the Amazon SQS Developer Guide.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable AWSAccountIds;
Swift
var awsAccountIds: [String]? { get set }
-
The action the client wants to allow for the specified principal. Valid values: the name of any action or
*
.For more information about these actions, see Overview of Managing Access Permissions to Your Amazon Simple Queue Service Resource in the Amazon SQS Developer Guide.
Specifying
SendMessage
,DeleteMessage
, orChangeMessageVisibility
forActionName.n
also grants permissions for the corresponding batch versions of those actions:SendMessageBatch
,DeleteMessageBatch
, andChangeMessageVisibilityBatch
.Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable actions;
Swift
var actions: [String]? { get set }
-
The unique identification of the permission you’re setting (for example,
AliceSendMessage
). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-
), and underscores (_
).Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable label;
Swift
var label: String? { get set }
-
The URL of the Amazon SQS queue to which permissions are added.
Queue URLs and names are case-sensitive.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable queueUrl;
Swift
var queueUrl: String? { get set }