pub struct ListTagsForResource<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to ListTagsForResource
.
Retrieve a list of the tags (keys and values) that are associated with a specified resource. A tag is a label that you optionally define and associate with a resource in Amazon Pinpoint. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
Implementations
impl<C, M, R> ListTagsForResource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListTagsForResource<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListTagsForResourceOutput, SdkError<ListTagsForResourceError>> where
R::Policy: SmithyRetryPolicy<ListTagsForResourceInputOperationOutputAlias, ListTagsForResourceOutput, ListTagsForResourceError, ListTagsForResourceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListTagsForResourceOutput, SdkError<ListTagsForResourceError>> where
R::Policy: SmithyRetryPolicy<ListTagsForResourceInputOperationOutputAlias, ListTagsForResourceOutput, ListTagsForResourceError, ListTagsForResourceInputOperationRetryAlias>,
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.
The Amazon Resource Name (ARN) of the resource that you want to retrieve tag information for.
The Amazon Resource Name (ARN) of the resource that you want to retrieve tag information for.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListTagsForResource<C, M, R>
impl<C, M, R> Send for ListTagsForResource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListTagsForResource<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListTagsForResource<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListTagsForResource<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more