class
Amazonite::Sqs::AddPermissionRequest
- Amazonite::Sqs::AddPermissionRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
sqs/add_permission_request.crConstructors
- .new(queue_url : String, label : String, aws_account_ids : Array(String), actions : Array(String))
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#actions : Array(String)
The action the client wants to allow for the specified principal.
-
#actions=(actions : Array(String))
The action the client wants to allow for the specified principal.
-
#aws_account_ids : Array(String)
The Amazon Web Services account numbers of the principals who are to receive permission.
-
#aws_account_ids=(aws_account_ids : Array(String))
The Amazon Web Services account numbers of the principals who are to receive permission.
-
#hash(hasher)
See
Object#hash(hasher) -
#label : String
The unique identification of the permission you're setting (for example,
AliceSendMessage). -
#label=(label : String)
The unique identification of the permission you're setting (for example,
AliceSendMessage). -
#queue_url : String
The URL of the Amazon SQS queue to which permissions are added.
-
#queue_url=(queue_url : String)
The URL of the Amazon SQS queue to which permissions are added.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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, or ChangeMessageVisibility for ActionName.n also
grants permissions for the corresponding batch versions of those actions: SendMessageBatch,
DeleteMessageBatch, and ChangeMessageVisibilityBatch.
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, or ChangeMessageVisibility for ActionName.n also
grants permissions for the corresponding batch versions of those actions: SendMessageBatch,
DeleteMessageBatch, and ChangeMessageVisibilityBatch.
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.
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.
The unique identification of the permission you're setting (for example, AliceSendMessage).
Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-), and
underscores (_).
The unique identification of the permission you're setting (for example, AliceSendMessage).
Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-), and
underscores (_).
The URL of the Amazon SQS queue to which permissions are added.
Queue URLs and names are case-sensitive.
The URL of the Amazon SQS queue to which permissions are added.
Queue URLs and names are case-sensitive.