Struct aws_sdk_sqs::input::AddPermissionInput
source · #[non_exhaustive]pub struct AddPermissionInput { /* private fields */ }
Expand description
Implementations§
source§impl AddPermissionInput
impl AddPermissionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddPermission, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddPermission, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<AddPermission
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AddPermissionInput
.
source§impl AddPermissionInput
impl AddPermissionInput
sourcepub fn queue_url(&self) -> Option<&str>
pub fn queue_url(&self) -> Option<&str>
The URL of the Amazon SQS queue to which permissions are added.
Queue URLs and names are case-sensitive.
sourcepub fn label(&self) -> Option<&str>
pub fn label(&self) -> Option<&str>
The unique identification of the permission you're setting (for example, AliceSendMessage
). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-
), and underscores (_
).
sourcepub fn aws_account_ids(&self) -> Option<&[String]>
pub fn aws_account_ids(&self) -> Option<&[String]>
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.
sourcepub fn actions(&self) -> Option<&[String]>
pub fn actions(&self) -> Option<&[String]>
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
.
Trait Implementations§
source§impl Clone for AddPermissionInput
impl Clone for AddPermissionInput
source§fn clone(&self) -> AddPermissionInput
fn clone(&self) -> AddPermissionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddPermissionInput
impl Debug for AddPermissionInput
source§impl PartialEq<AddPermissionInput> for AddPermissionInput
impl PartialEq<AddPermissionInput> for AddPermissionInput
source§fn eq(&self, other: &AddPermissionInput) -> bool
fn eq(&self, other: &AddPermissionInput) -> bool
self
and other
values to be equal, and is used
by ==
.