libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Read SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Show 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 #

NFData SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Hashable SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

ToJSON SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

AWSRequest 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

type Rep SubmitContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

type AWSResponse 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:networkBindings:SubmitContainerStateChange', submitContainerStateChange_networkBindings - The network bindings of the container.

$sel:status:SubmitContainerStateChange', submitContainerStateChange_status - The status of the state change request.

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

$sel:containerName:SubmitContainerStateChange', submitContainerStateChange_containerName - The name of the container.

$sel:reason:SubmitContainerStateChange', submitContainerStateChange_reason - The reason for the state change request.

$sel:exitCode:SubmitContainerStateChange', submitContainerStateChange_exitCode - The exit code returned for 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.

$sel:runtimeId:SubmitContainerStateChange', submitContainerStateChange_runtimeId - The ID of the Docker 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 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
Eq SubmitContainerStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Read SubmitContainerStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Show SubmitContainerStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Generic SubmitContainerStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitContainerStateChange

Associated Types

type Rep SubmitContainerStateChangeResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-ecsZSamazonka-ecs" '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