Struct aws_sdk_sqs::operation::tag_queue::builders::TagQueueFluentBuilder
source · pub struct TagQueueFluentBuilder { /* 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 username in the Amazon SQS Developer Guide.
Implementations§
source§impl TagQueueFluentBuilder
impl TagQueueFluentBuilder
sourcepub fn as_input(&self) -> &TagQueueInputBuilder
pub fn as_input(&self) -> &TagQueueInputBuilder
Access the TagQueue as a reference.
sourcepub async fn send(
self
) -> Result<TagQueueOutput, SdkError<TagQueueError, HttpResponse>>
pub async fn send( self ) -> Result<TagQueueOutput, SdkError<TagQueueError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<TagQueueOutput, TagQueueError, Self>
pub fn customize( self ) -> CustomizableOperation<TagQueueOutput, TagQueueError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
sourcepub fn get_queue_url(&self) -> &Option<String>
pub fn get_queue_url(&self) -> &Option<String>
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.
The list of tags to be added to the specified queue.
Trait Implementations§
source§impl Clone for TagQueueFluentBuilder
impl Clone for TagQueueFluentBuilder
source§fn clone(&self) -> TagQueueFluentBuilder
fn clone(&self) -> TagQueueFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more