Struct rusoto_sqs::AddPermissionRequest
[−]
[src]
pub struct AddPermissionRequest { pub aws_account_ids: AWSAccountIdList, pub actions: ActionNameList, pub label: String, pub queue_url: String, }
Fields
aws_account_ids: AWSAccountIdList
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 SQS Developer Guide.
actions: ActionNameList
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 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
.
label: String
The unique identification of the permission you're setting (for example, AliceSendMessage
). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-
), and underscores (_
).
queue_url: String
The URL of the Amazon SQS queue to which permissions are added.
Queue URLs are case-sensitive.
Trait Implementations
impl Default for AddPermissionRequest
[src]
fn default() -> AddPermissionRequest
Returns the "default value" for a type. Read more
impl Debug for AddPermissionRequest
[src]
impl Clone for AddPermissionRequest
[src]
fn clone(&self) -> AddPermissionRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more