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 is 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 Simple Queue Service 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 values are valid:

  • *

  • ChangeMessageVisibility

  • DeleteMessage

  • GetQueueAttributes

  • GetQueueUrl

  • ReceiveMessage

  • SendMessage

For more information about these actions, see Understanding Permissions in the Amazon Simple Queue Service Developer Guide.

Specifying SendMessage, DeleteMessage, or ChangeMessageVisibility for 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 (for example, AliceSendMessage). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-), and underscores (_).

@property (nonatomic, strong) NSString *label

Declared In

AWSSQSModel.h

  queueUrl

The URL of the Amazon SQS queue to which permissions are added.

Queue URLs are case-sensitive.

@property (nonatomic, strong) NSString *queueUrl

Declared In

AWSSQSModel.h