Struct aws_sdk_sqs::client::fluent_builders::TagQueue
source · pub struct TagQueue { /* private fields */ }
Expand description
Fluent builder constructing a request to TagQueue
.
Add cost allocation tags to the specified Amazon SQS queue. For an overview, see Tagging Your Amazon SQS Queues in the Amazon SQS Developer Guide.
When you use queue tags, keep the following guidelines in mind:
-
Adding more than 50 tags to a queue isn't recommended.
-
Tags don't have any semantic meaning. Amazon SQS interprets tags as character strings.
-
Tags are case-sensitive.
-
A new tag with a key identical to that of an existing tag overwrites the existing tag.
For a full list of tag restrictions, see Quotas related to queues in the Amazon SQS Developer Guide.
Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a user name in the Amazon SQS Developer Guide.
Implementations§
source§impl TagQueue
impl TagQueue
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<TagQueue, AwsResponseRetryClassifier>, SdkError<TagQueueError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<TagQueue, AwsResponseRetryClassifier>, SdkError<TagQueueError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<TagQueueOutput, SdkError<TagQueueError>>
pub async fn send(self) -> Result<TagQueueOutput, SdkError<TagQueueError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn set_queue_url(self, input: Option<String>) -> Self
pub fn set_queue_url(self, input: Option<String>) -> Self
The URL of the queue.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
The list of tags to be added to the specified queue.
The list of tags to be added to the specified queue.