amazonka-ecs-1.6.1: Amazon EC2 Container Service SDK.

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

Network.AWS.ECS.SubmitTaskStateChange

Contents

Description

Sent to acknowledge that a task changed states.

Synopsis

Creating a Request

submitTaskStateChange :: SubmitTaskStateChange Source #

Creates a value of SubmitTaskStateChange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • stscStatus - The status of the state change request.
  • stscCluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
  • stscAttachments - Any attachments associated with the state change request.
  • stscExecutionStoppedAt - The Unix time stamp for when the task execution stopped.
  • stscPullStoppedAt - The Unix time stamp for when the container image pull completed.
  • stscContainers - Any containers associated with the state change request.
  • stscReason - The reason for the state change request.
  • stscTask - The task ID or full ARN of the task in the state change request.
  • stscPullStartedAt - The Unix time stamp for when the container image pull began.

data SubmitTaskStateChange Source #

See: submitTaskStateChange smart constructor.

Instances
Eq SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Data SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SubmitTaskStateChange -> c SubmitTaskStateChange #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SubmitTaskStateChange #

toConstr :: SubmitTaskStateChange -> Constr #

dataTypeOf :: SubmitTaskStateChange -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SubmitTaskStateChange) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SubmitTaskStateChange) #

gmapT :: (forall b. Data b => b -> b) -> SubmitTaskStateChange -> SubmitTaskStateChange #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SubmitTaskStateChange -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SubmitTaskStateChange -> r #

gmapQ :: (forall d. Data d => d -> u) -> SubmitTaskStateChange -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SubmitTaskStateChange -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SubmitTaskStateChange -> m SubmitTaskStateChange #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SubmitTaskStateChange -> m SubmitTaskStateChange #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SubmitTaskStateChange -> m SubmitTaskStateChange #

Read SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Show SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Generic SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Associated Types

type Rep SubmitTaskStateChange :: Type -> Type #

Hashable SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

ToJSON SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

AWSRequest SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Associated Types

type Rs SubmitTaskStateChange :: Type #

ToHeaders SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

ToPath SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

ToQuery SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

NFData SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Methods

rnf :: SubmitTaskStateChange -> () #

type Rep SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

type Rs SubmitTaskStateChange Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Request Lenses

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

The status of the state change request.

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

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

stscAttachments :: Lens' SubmitTaskStateChange [AttachmentStateChange] Source #

Any attachments associated with the state change request.

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

The Unix time stamp for when the task execution stopped.

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

The Unix time stamp for when the container image pull completed.

stscContainers :: Lens' SubmitTaskStateChange [ContainerStateChange] Source #

Any containers associated with the state change request.

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

The reason for the state change request.

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

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

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

The Unix time stamp for when the container image pull began.

Destructuring the Response

submitTaskStateChangeResponse Source #

Creates a value of SubmitTaskStateChangeResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SubmitTaskStateChangeResponse Source #

See: submitTaskStateChangeResponse smart constructor.

Instances
Eq SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Data SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SubmitTaskStateChangeResponse -> c SubmitTaskStateChangeResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SubmitTaskStateChangeResponse #

toConstr :: SubmitTaskStateChangeResponse -> Constr #

dataTypeOf :: SubmitTaskStateChangeResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SubmitTaskStateChangeResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SubmitTaskStateChangeResponse) #

gmapT :: (forall b. Data b => b -> b) -> SubmitTaskStateChangeResponse -> SubmitTaskStateChangeResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SubmitTaskStateChangeResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SubmitTaskStateChangeResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> SubmitTaskStateChangeResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SubmitTaskStateChangeResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SubmitTaskStateChangeResponse -> m SubmitTaskStateChangeResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SubmitTaskStateChangeResponse -> m SubmitTaskStateChangeResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SubmitTaskStateChangeResponse -> m SubmitTaskStateChangeResponse #

Read SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Show SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Generic SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

Associated Types

type Rep SubmitTaskStateChangeResponse :: Type -> Type #

NFData SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

type Rep SubmitTaskStateChangeResponse Source # 
Instance details

Defined in Network.AWS.ECS.SubmitTaskStateChange

type Rep SubmitTaskStateChangeResponse = D1 (MetaData "SubmitTaskStateChangeResponse" "Network.AWS.ECS.SubmitTaskStateChange" "amazonka-ecs-1.6.1-7o1YH8hMK1ABbFowaTE1Sy" False) (C1 (MetaCons "SubmitTaskStateChangeResponse'" PrefixI True) (S1 (MetaSel (Just "_stscrsAcknowledgment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_stscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

stscrsAcknowledgment :: Lens' SubmitTaskStateChangeResponse (Maybe Text) Source #

Acknowledgement of the state change.