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

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

Network.AWS.ECS.SubmitTaskStateChange

Contents

Description

This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.

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:

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 # 
ToQuery SubmitTaskStateChange Source # 
ToPath SubmitTaskStateChange Source # 
ToHeaders SubmitTaskStateChange Source # 
type Rep SubmitTaskStateChange Source # 
type Rep SubmitTaskStateChange = D1 (MetaData "SubmitTaskStateChange" "Network.AWS.ECS.SubmitTaskStateChange" "amazonka-ecs-1.4.3-EI6LaLn2ihbBOjQBfPY85t" False) (C1 (MetaCons "SubmitTaskStateChange'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_stscStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_stscCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_stscReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_stscTask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
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.

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

The reason for the state change request.

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

The task ID or full Amazon Resource Name (ARN) of the task in the state change request.

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.4.3-EI6LaLn2ihbBOjQBfPY85t" 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.