pub struct TagResourceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to TagResource
.
Adds the specified tags to the specified resource.
Some of the supported resource types are agents, routing profiles, queues, quick connects, contact flows, agent statuses, hours of operation, phone numbers, security profiles, and task templates. For a complete list, see Tagging resources in Amazon Connect.
For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.
Implementations§
source§impl TagResourceFluentBuilder
impl TagResourceFluentBuilder
sourcepub fn as_input(&self) -> &TagResourceInputBuilder
pub fn as_input(&self) -> &TagResourceInputBuilder
Access the TagResource as a reference.
sourcepub async fn send(
self
) -> Result<TagResourceOutput, SdkError<TagResourceError, HttpResponse>>
pub async fn send( self ) -> Result<TagResourceOutput, SdkError<TagResourceError, 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 async fn customize(
self
) -> Result<CustomizableOperation<TagResourceOutput, TagResourceError>, SdkError<TagResourceError>>
pub async fn customize( self ) -> Result<CustomizableOperation<TagResourceOutput, TagResourceError>, SdkError<TagResourceError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the resource.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Trait Implementations§
source§impl Clone for TagResourceFluentBuilder
impl Clone for TagResourceFluentBuilder
source§fn clone(&self) -> TagResourceFluentBuilder
fn clone(&self) -> TagResourceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more