amazonka-ecs-1.4.4: 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.SubmitContainerStateChange

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

Synopsis

Creating a Request

submitContainerStateChange :: SubmitContainerStateChange Source #

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

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

data SubmitContainerStateChange Source #

See: submitContainerStateChange smart constructor.

Instances

Eq SubmitContainerStateChange Source # 
Data SubmitContainerStateChange Source # 

Methods

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

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

toConstr :: SubmitContainerStateChange -> Constr #

dataTypeOf :: SubmitContainerStateChange -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SubmitContainerStateChange Source # 
Show SubmitContainerStateChange Source # 
Generic SubmitContainerStateChange Source # 
Hashable SubmitContainerStateChange Source # 
NFData SubmitContainerStateChange Source # 
AWSRequest SubmitContainerStateChange Source # 
ToPath SubmitContainerStateChange Source # 
ToHeaders SubmitContainerStateChange Source # 
ToQuery SubmitContainerStateChange Source # 
ToJSON SubmitContainerStateChange Source # 
type Rep SubmitContainerStateChange Source # 
type Rep SubmitContainerStateChange = D1 (MetaData "SubmitContainerStateChange" "Network.AWS.ECS.SubmitContainerStateChange" "amazonka-ecs-1.4.4-AOgjorMzZtJAck2Ytj5moD" False) (C1 (MetaCons "SubmitContainerStateChange'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_scscNetworkBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [NetworkBinding]))) ((:*:) (S1 (MetaSel (Just Symbol "_scscStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_scscCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_scscContainerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_scscReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_scscExitCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_scscTask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Rs SubmitContainerStateChange Source # 

Request Lenses

scscNetworkBindings :: Lens' SubmitContainerStateChange [NetworkBinding] Source #

The network bindings of the container.

scscStatus :: Lens' SubmitContainerStateChange (Maybe Text) Source #

The status of the state change request.

scscCluster :: Lens' SubmitContainerStateChange (Maybe Text) Source #

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

scscReason :: Lens' SubmitContainerStateChange (Maybe Text) Source #

The reason for the state change request.

scscExitCode :: Lens' SubmitContainerStateChange (Maybe Int) Source #

The exit code returned for the state change request.

scscTask :: Lens' SubmitContainerStateChange (Maybe Text) Source #

The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

Destructuring the Response

submitContainerStateChangeResponse Source #

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

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

data SubmitContainerStateChangeResponse Source #

See: submitContainerStateChangeResponse smart constructor.

Instances

Eq SubmitContainerStateChangeResponse Source # 
Data SubmitContainerStateChangeResponse Source # 

Methods

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

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

toConstr :: SubmitContainerStateChangeResponse -> Constr #

dataTypeOf :: SubmitContainerStateChangeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SubmitContainerStateChangeResponse Source # 
Show SubmitContainerStateChangeResponse Source # 
Generic SubmitContainerStateChangeResponse Source # 
NFData SubmitContainerStateChangeResponse Source # 
type Rep SubmitContainerStateChangeResponse Source # 
type Rep SubmitContainerStateChangeResponse = D1 (MetaData "SubmitContainerStateChangeResponse" "Network.AWS.ECS.SubmitContainerStateChange" "amazonka-ecs-1.4.4-AOgjorMzZtJAck2Ytj5moD" False) (C1 (MetaCons "SubmitContainerStateChangeResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_scscrsAcknowledgment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_scscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses