AWSSQSAddPermissionRequest Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSSQSModel.h
AWSSQSModel.m

Overview

Required parameters: [QueueUrl, Label, AWSAccountIds, Actions]

  AWSAccountIds

The AWS account number of the principal who will be given permission. The principal must have an AWS account, but does not need to be signed up for Amazon SQS. For information about locating the AWS account identification, see Your AWS Identifiers in the Amazon SQS Developer Guide.

@property (nonatomic, strong) NSArray<NSString*> *AWSAccountIds

Declared In

AWSSQSModel.h

  actions

The action the client wants to allow for the specified principal. The following are valid values: * | SendMessage | ReceiveMessage | DeleteMessage | ChangeMessageVisibility | GetQueueAttributes | GetQueueUrl. For more information about these actions, see Understanding Permissions in the Amazon SQS Developer Guide.

Specifying SendMessage, DeleteMessage, or ChangeMessageVisibility for the ActionName.n also grants permissions for the corresponding batch versions of those actions: SendMessageBatch, DeleteMessageBatch, and ChangeMessageVisibilityBatch.

@property (nonatomic, strong) NSArray<NSString*> *actions

Declared In

AWSSQSModel.h

  label

The unique identification of the permission you're setting (e.g., AliceSendMessage). Constraints: Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.

@property (nonatomic, strong) NSString *label

Declared In

AWSSQSModel.h

  queueUrl

The URL of the Amazon SQS queue to take action on.

Queue URLs are case-sensitive.

@property (nonatomic, strong) NSString *queueUrl

Declared In

AWSSQSModel.h