Struct aws_sdk_ecs::client::fluent_builders::DescribeTaskDefinition [−][src]
pub struct DescribeTaskDefinition<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to DescribeTaskDefinition.
Describes a task definition. You can specify a family and revision to find information about a specific task definition, or you can simply specify the family to find the latest ACTIVE revision in that family.
You can only describe INACTIVE task definitions while an active task or service references them.
Implementations
impl<C, M, R> DescribeTaskDefinition<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeTaskDefinition<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeTaskDefinitionOutput, SdkError<DescribeTaskDefinitionError>> where
R::Policy: SmithyRetryPolicy<DescribeTaskDefinitionInputOperationOutputAlias, DescribeTaskDefinitionOutput, DescribeTaskDefinitionError, DescribeTaskDefinitionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeTaskDefinitionOutput, SdkError<DescribeTaskDefinitionError>> where
R::Policy: SmithyRetryPolicy<DescribeTaskDefinitionInputOperationOutputAlias, DescribeTaskDefinitionOutput, DescribeTaskDefinitionError, DescribeTaskDefinitionInputOperationRetryAlias>,
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 family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to describe.
The family for the latest ACTIVE revision, family and revision (family:revision) for a specific revision in the family, or full Amazon Resource Name (ARN) of the task definition to describe.
Appends an item to include.
To override the contents of this collection use set_include.
Determines whether to see the resource tags for the task definition. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
Determines whether to see the resource tags for the task definition. 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 DescribeTaskDefinition<C, M, R>
impl<C, M, R> Send for DescribeTaskDefinition<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeTaskDefinition<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeTaskDefinition<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeTaskDefinition<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
