amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECS.SubmitContainerStateChange

Description

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.

Synopsis

Creating a Request

data SubmitContainerStateChange Source #

See: newSubmitContainerStateChange smart constructor.

Constructors

SubmitContainerStateChange' 

Fields

Instances

Instances details
ToJSON SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

ToHeaders SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

ToPath SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

ToQuery SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

AWSRequest SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Generic SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Associated Types

type Rep SubmitContainerStateChange :: Type -> Type #

Read SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Show SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

NFData SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Eq SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Hashable SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

type AWSResponse SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

type Rep SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

newSubmitContainerStateChange :: SubmitContainerStateChange Source #

Create a value of SubmitContainerStateChange with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cluster:SubmitContainerStateChange', submitContainerStateChange_cluster - The short name or full ARN of the cluster that hosts the container.

SubmitContainerStateChange, submitContainerStateChange_containerName - The name of the container.

SubmitContainerStateChange, submitContainerStateChange_exitCode - The exit code that's returned for the state change request.

SubmitContainerStateChange, submitContainerStateChange_networkBindings - The network bindings of the container.

SubmitContainerStateChange, submitContainerStateChange_reason - The reason for the state change request.

SubmitContainerStateChange, submitContainerStateChange_runtimeId - The ID of the Docker container.

SubmitContainerStateChange, submitContainerStateChange_status - The status of the state change request.

$sel:task:SubmitContainerStateChange', submitContainerStateChange_task - The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

Request Lenses

submitContainerStateChange_cluster :: Lens' SubmitContainerStateChange (Maybe Text) Source #

The short name or full ARN of the cluster that hosts the container.

submitContainerStateChange_exitCode :: Lens' SubmitContainerStateChange (Maybe Int) Source #

The exit code that's returned for the state change request.

submitContainerStateChange_task :: Lens' SubmitContainerStateChange (Maybe Text) Source #

The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

Destructuring the Response

data SubmitContainerStateChangeResponse Source #

Constructors

SubmitContainerStateChangeResponse' 

Fields

Instances

Instances details
Generic SubmitContainerStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Associated Types

type Rep SubmitContainerStateChangeResponse :: Type -> Type #

Read SubmitContainerStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Show SubmitContainerStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

NFData SubmitContainerStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Eq SubmitContainerStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

type Rep SubmitContainerStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

type Rep SubmitContainerStateChangeResponse = D1 ('MetaData "SubmitContainerStateChangeResponse" "Amazonka.ECS.SubmitContainerStateChange" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "SubmitContainerStateChangeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "acknowledgment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSubmitContainerStateChangeResponse Source #

Create a value of SubmitContainerStateChangeResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:acknowledgment:SubmitContainerStateChangeResponse', submitContainerStateChangeResponse_acknowledgment - Acknowledgement of the state change.

$sel:httpStatus:SubmitContainerStateChangeResponse', submitContainerStateChangeResponse_httpStatus - The response's http status code.

Response Lenses