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.SubmitTaskStateChange

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 task changed states.

Synopsis

Creating a Request

data SubmitTaskStateChange Source #

See: newSubmitTaskStateChange smart constructor.

Constructors

SubmitTaskStateChange' 

Fields

Instances

Instances details
Eq SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

Read SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

Show SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

Generic SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

Associated Types

type Rep SubmitTaskStateChange :: Type -> Type #

NFData SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

Methods

rnf :: SubmitTaskStateChange -> () #

Hashable SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

ToJSON SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

AWSRequest SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

Associated Types

type AWSResponse SubmitTaskStateChange #

ToHeaders SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

ToPath SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

ToQuery SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

type Rep SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

type AWSResponse SubmitTaskStateChange Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

newSubmitTaskStateChange :: SubmitTaskStateChange Source #

Create a value of SubmitTaskStateChange 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:status:SubmitTaskStateChange', submitTaskStateChange_status - The status of the state change request.

$sel:managedAgents:SubmitTaskStateChange', submitTaskStateChange_managedAgents - The details for the managed agent associated with the task.

$sel:cluster:SubmitTaskStateChange', submitTaskStateChange_cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

$sel:attachments:SubmitTaskStateChange', submitTaskStateChange_attachments - Any attachments associated with the state change request.

$sel:executionStoppedAt:SubmitTaskStateChange', submitTaskStateChange_executionStoppedAt - The Unix timestamp for when the task execution stopped.

$sel:pullStoppedAt:SubmitTaskStateChange', submitTaskStateChange_pullStoppedAt - The Unix timestamp for when the container image pull completed.

$sel:containers:SubmitTaskStateChange', submitTaskStateChange_containers - Any containers associated with the state change request.

$sel:reason:SubmitTaskStateChange', submitTaskStateChange_reason - The reason for the state change request.

$sel:task:SubmitTaskStateChange', submitTaskStateChange_task - The task ID or full ARN of the task in the state change request.

$sel:pullStartedAt:SubmitTaskStateChange', submitTaskStateChange_pullStartedAt - The Unix timestamp for when the container image pull began.

Request Lenses

submitTaskStateChange_status :: Lens' SubmitTaskStateChange (Maybe Text) Source #

The status of the state change request.

submitTaskStateChange_managedAgents :: Lens' SubmitTaskStateChange (Maybe [ManagedAgentStateChange]) Source #

The details for the managed agent associated with the task.

submitTaskStateChange_cluster :: Lens' SubmitTaskStateChange (Maybe Text) Source #

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

submitTaskStateChange_attachments :: Lens' SubmitTaskStateChange (Maybe [AttachmentStateChange]) Source #

Any attachments associated with the state change request.

submitTaskStateChange_executionStoppedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime) Source #

The Unix timestamp for when the task execution stopped.

submitTaskStateChange_pullStoppedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime) Source #

The Unix timestamp for when the container image pull completed.

submitTaskStateChange_containers :: Lens' SubmitTaskStateChange (Maybe [ContainerStateChange]) Source #

Any containers associated with the state change request.

submitTaskStateChange_reason :: Lens' SubmitTaskStateChange (Maybe Text) Source #

The reason for the state change request.

submitTaskStateChange_task :: Lens' SubmitTaskStateChange (Maybe Text) Source #

The task ID or full ARN of the task in the state change request.

submitTaskStateChange_pullStartedAt :: Lens' SubmitTaskStateChange (Maybe UTCTime) Source #

The Unix timestamp for when the container image pull began.

Destructuring the Response

data SubmitTaskStateChangeResponse Source #

See: newSubmitTaskStateChangeResponse smart constructor.

Constructors

SubmitTaskStateChangeResponse' 

Fields

Instances

Instances details
Eq SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

Read SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

Show SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

Generic SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

Associated Types

type Rep SubmitTaskStateChangeResponse :: Type -> Type #

NFData SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

type Rep SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Amazonka.ECS.SubmitTaskStateChange

type Rep SubmitTaskStateChangeResponse = D1 ('MetaData "SubmitTaskStateChangeResponse" "Amazonka.ECS.SubmitTaskStateChange" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "SubmitTaskStateChangeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "acknowledgment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSubmitTaskStateChangeResponse Source #

Create a value of SubmitTaskStateChangeResponse 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:SubmitTaskStateChangeResponse', submitTaskStateChangeResponse_acknowledgment - Acknowledgement of the state change.

$sel:httpStatus:SubmitTaskStateChangeResponse', submitTaskStateChangeResponse_httpStatus - The response's http status code.

Response Lenses