Struct aws_sdk_dynamodb::client::fluent_builders::TagResource
source · [−]pub struct TagResource { /* private fields */ }
Expand description
Fluent builder constructing a request to TagResource
.
Associate a set of tags with an Amazon DynamoDB resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking. You can call TagResource up to five times per second, per account.
For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.
Implementations
sourceimpl TagResource
impl TagResource
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<TagResource, AwsResponseRetryClassifier>, SdkError<TagResourceError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<TagResource, AwsResponseRetryClassifier>, SdkError<TagResourceError>>
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<TagResourceOutput, SdkError<TagResourceError>>
pub async fn send(self) -> Result<TagResourceOutput, SdkError<TagResourceError>>
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 resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN).
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN).
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags to be assigned to the Amazon DynamoDB resource.
The tags to be assigned to the Amazon DynamoDB resource.
Trait Implementations
sourceimpl Clone for TagResource
impl Clone for TagResource
sourcefn clone(&self) -> TagResource
fn clone(&self) -> TagResource
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more