amazonka-ssm-1.4.3: Amazon Simple Systems Management 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.SSM.CancelCommand

Contents

Description

Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped.

Synopsis

Creating a Request

cancelCommand Source #

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

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

data CancelCommand Source #

See: cancelCommand smart constructor.

Instances

Eq CancelCommand Source # 
Data CancelCommand Source # 

Methods

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

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

toConstr :: CancelCommand -> Constr #

dataTypeOf :: CancelCommand -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CancelCommand Source # 
Show CancelCommand Source # 
Generic CancelCommand Source # 

Associated Types

type Rep CancelCommand :: * -> * #

ToJSON CancelCommand Source # 
Hashable CancelCommand Source # 
NFData CancelCommand Source # 

Methods

rnf :: CancelCommand -> () #

AWSRequest CancelCommand Source # 
ToPath CancelCommand Source # 
ToHeaders CancelCommand Source # 
ToQuery CancelCommand Source # 
type Rep CancelCommand Source # 
type Rep CancelCommand = D1 (MetaData "CancelCommand" "Network.AWS.SSM.CancelCommand" "amazonka-ssm-1.4.3-KIZVTRQHR5EHdyiqMrpZaf" False) (C1 (MetaCons "CancelCommand'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ccInstanceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))) (S1 (MetaSel (Just Symbol "_ccCommandId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CancelCommand Source # 

Request Lenses

ccInstanceIds :: Lens' CancelCommand (Maybe (NonEmpty Text)) Source #

(Optional) A list of instance IDs on which you want to cancel the command. If not provided, the command is canceled on every instance on which it was requested.

ccCommandId :: Lens' CancelCommand Text Source #

The ID of the command you want to cancel.

Destructuring the Response

cancelCommandResponse Source #

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

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

data CancelCommandResponse Source #

Whether or not the command was successfully canceled. There is no guarantee that a request can be canceled.

See: cancelCommandResponse smart constructor.

Instances

Eq CancelCommandResponse Source # 
Data CancelCommandResponse Source # 

Methods

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

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

toConstr :: CancelCommandResponse -> Constr #

dataTypeOf :: CancelCommandResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CancelCommandResponse Source # 
Show CancelCommandResponse Source # 
Generic CancelCommandResponse Source # 
NFData CancelCommandResponse Source # 

Methods

rnf :: CancelCommandResponse -> () #

type Rep CancelCommandResponse Source # 
type Rep CancelCommandResponse = D1 (MetaData "CancelCommandResponse" "Network.AWS.SSM.CancelCommand" "amazonka-ssm-1.4.3-KIZVTRQHR5EHdyiqMrpZaf" True) (C1 (MetaCons "CancelCommandResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_ccrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses