Struct aws_sdk_ecs::client::fluent_builders::DeleteTaskSet [−][src]
pub struct DeleteTaskSet<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteTaskSet
.
Deletes a specified task set within a service. This is used when a service uses the
EXTERNAL
deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.
Implementations
impl<C, M, R> DeleteTaskSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteTaskSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteTaskSetOutput, SdkError<DeleteTaskSetError>> where
R::Policy: SmithyRetryPolicy<DeleteTaskSetInputOperationOutputAlias, DeleteTaskSetOutput, DeleteTaskSetError, DeleteTaskSetInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteTaskSetOutput, SdkError<DeleteTaskSetError>> where
R::Policy: SmithyRetryPolicy<DeleteTaskSetInputOperationOutputAlias, DeleteTaskSetOutput, DeleteTaskSetError, DeleteTaskSetInputOperationRetryAlias>,
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 hosts the service that the task set exists in to delete.
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in to delete.
The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to delete.
The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to delete.
The task set ID or full Amazon Resource Name (ARN) of the task set to delete.
The task set ID or full Amazon Resource Name (ARN) of the task set to delete.
If true
, this allows you to delete a task set even if it hasn't been
scaled down to zero.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteTaskSet<C, M, R>
impl<C, M, R> Unpin for DeleteTaskSet<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteTaskSet<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