Struct aws_sdk_cloudwatch::client::fluent_builders::ListTagsForResource [−][src]
pub struct ListTagsForResource<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListTagsForResource
.
Displays the tags associated with a CloudWatch resource. Currently, alarms and Contributor Insights rules support tagging.
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 ARN of the CloudWatch resource that you want to view tags for.
The ARN format of an alarm is arn:aws:cloudwatch:Region:account-id:alarm:alarm-name
The ARN format of a Contributor Insights rule is arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name
For more information about ARN format, see Resource Types Defined by Amazon CloudWatch in the Amazon Web Services General Reference.
The ARN of the CloudWatch resource that you want to view tags for.
The ARN format of an alarm is arn:aws:cloudwatch:Region:account-id:alarm:alarm-name
The ARN format of a Contributor Insights rule is arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name
For more information about ARN format, see Resource Types Defined by Amazon CloudWatch in the Amazon Web Services General Reference.
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