pub struct SubmitContainerStateChange<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to SubmitContainerStateChange
.
This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.
Sent to acknowledge that a container changed states.
Implementations
impl<C, M, R> SubmitContainerStateChange<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SubmitContainerStateChange<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SubmitContainerStateChangeOutput, SdkError<SubmitContainerStateChangeError>> where
R::Policy: SmithyRetryPolicy<SubmitContainerStateChangeInputOperationOutputAlias, SubmitContainerStateChangeOutput, SubmitContainerStateChangeError, SubmitContainerStateChangeInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SubmitContainerStateChangeOutput, SdkError<SubmitContainerStateChangeError>> where
R::Policy: SmithyRetryPolicy<SubmitContainerStateChangeInputOperationOutputAlias, SubmitContainerStateChangeOutput, SubmitContainerStateChangeError, SubmitContainerStateChangeInputOperationRetryAlias>,
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 ARN of the cluster that hosts the container.
The short name or full ARN of the cluster that hosts the container.
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
The name of the container.
The name of the container.
The ID of the Docker container.
The ID of the Docker container.
The status of the state change request.
The exit code that's returned for the state change request.
The exit code that's returned for the state change request.
The reason for the state change request.
Appends an item to networkBindings
.
To override the contents of this collection use set_network_bindings
.
The network bindings of the container.
The network bindings of the container.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for SubmitContainerStateChange<C, M, R>
impl<C, M, R> Send for SubmitContainerStateChange<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for SubmitContainerStateChange<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for SubmitContainerStateChange<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SubmitContainerStateChange<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