Struct aws_sdk_ecs::client::fluent_builders::DeleteAttributes
source · [−]pub struct DeleteAttributes<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteAttributes.
Deletes one or more custom attributes from an Amazon ECS resource.
Implementations
impl<C, M, R> DeleteAttributes<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteAttributes<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteAttributesOutput, SdkError<DeleteAttributesError>> where
R::Policy: SmithyRetryPolicy<DeleteAttributesInputOperationOutputAlias, DeleteAttributesOutput, DeleteAttributesError, DeleteAttributesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteAttributesOutput, SdkError<DeleteAttributesError>> where
R::Policy: SmithyRetryPolicy<DeleteAttributesInputOperationOutputAlias, DeleteAttributesOutput, DeleteAttributesError, DeleteAttributesInputOperationRetryAlias>,
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 delete 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 delete 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 delete from your resource. You can specify up to 10 attributes for each request. For custom attributes, specify the attribute name and target ID, but don't specify the value. If you specify the target ID using the short form, you must also specify the target type.
The attributes to delete from your resource. You can specify up to 10 attributes for each request. For custom attributes, specify the attribute name and target ID, but don't specify the value. If you specify the target ID using the short form, you must also specify the target type.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteAttributes<C, M, R>
impl<C, M, R> Send for DeleteAttributes<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteAttributes<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteAttributes<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteAttributes<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