Struct aws_sdk_ecs::client::fluent_builders::DescribeTasks
source · [−]pub struct DescribeTasks<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeTasks
.
Describes a specified task or tasks.
Implementations
impl<C, M, R> DescribeTasks<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeTasks<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeTasksOutput, SdkError<DescribeTasksError>> where
R::Policy: SmithyRetryPolicy<DescribeTasksInputOperationOutputAlias, DescribeTasksOutput, DescribeTasksError, DescribeTasksInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeTasksOutput, SdkError<DescribeTasksError>> where
R::Policy: SmithyRetryPolicy<DescribeTasksInputOperationOutputAlias, DescribeTasksOutput, DescribeTasksError, DescribeTasksInputOperationRetryAlias>,
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 task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
Appends an item to tasks
.
To override the contents of this collection use set_tasks
.
A list of up to 100 task IDs or full ARN entries.
A list of up to 100 task IDs or full ARN entries.
Appends an item to include
.
To override the contents of this collection use set_include
.
Specifies whether you want to see the resource tags for the task. If TAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
Specifies whether you want to see the resource tags for the task. If TAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeTasks<C, M, R>
impl<C, M, R> Unpin for DescribeTasks<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeTasks<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