amazonka-ecs-1.6.0: 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 # 
Data SubmitTaskStateChange Source # 

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 # 
Show SubmitTaskStateChange Source # 
Generic SubmitTaskStateChange Source # 
Hashable SubmitTaskStateChange Source # 
ToJSON SubmitTaskStateChange Source # 
NFData SubmitTaskStateChange Source # 

Methods

rnf :: SubmitTaskStateChange -> () #

AWSRequest SubmitTaskStateChange Source # 
ToHeaders SubmitTaskStateChange Source # 
ToPath SubmitTaskStateChange Source # 
ToQuery SubmitTaskStateChange Source # 
type Rep SubmitTaskStateChange Source # 
type Rs SubmitTaskStateChange Source # 

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 # 
Data SubmitTaskStateChangeResponse Source # 

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 # 
Show SubmitTaskStateChangeResponse Source # 
Generic SubmitTaskStateChangeResponse Source # 
NFData SubmitTaskStateChangeResponse Source # 
type Rep SubmitTaskStateChangeResponse Source # 
type Rep SubmitTaskStateChangeResponse = D1 * (MetaData "SubmitTaskStateChangeResponse" "Network.AWS.ECS.SubmitTaskStateChange" "amazonka-ecs-1.6.0-7CQHGOTku8B1VmTRp9KDXq" False) (C1 * (MetaCons "SubmitTaskStateChangeResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_stscrsAcknowledgment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_stscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

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

Acknowledgement of the state change.