Struct aws_sdk_ecs::client::fluent_builders::PutAttributes
source · [−]pub struct PutAttributes<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to PutAttributes
.
Create or update an attribute on an Amazon ECS resource. If the attribute doesn't exist, it's created. If the attribute exists, its value is replaced with the specified value. To delete an attribute, use DeleteAttributes
. For more information, see Attributes in the Amazon Elastic Container Service Developer Guide.
Implementations
impl<C, M, R> PutAttributes<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutAttributes<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutAttributesOutput, SdkError<PutAttributesError>> where
R::Policy: SmithyRetryPolicy<PutAttributesInputOperationOutputAlias, PutAttributesOutput, PutAttributesError, PutAttributesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutAttributesOutput, SdkError<PutAttributesError>> where
R::Policy: SmithyRetryPolicy<PutAttributesInputOperationOutputAlias, PutAttributesOutput, PutAttributesError, PutAttributesInputOperationRetryAlias>,
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 short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.
Appends an item to attributes
.
To override the contents of this collection use set_attributes
.
The attributes to apply to your resource. You can specify up to 10 custom attributes for each resource. You can specify up to 10 attributes in a single call.
The attributes to apply to your resource. You can specify up to 10 custom attributes for each resource. You can specify up to 10 attributes in a single call.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for PutAttributes<C, M, R>
impl<C, M, R> Unpin for PutAttributes<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for PutAttributes<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