amazonka-ssm-1.6.1: Amazon Simple Systems Manager (SSM) 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.SSM.StopAutomationExecution

Contents

Description

Stop an Automation that is currently executing.

Synopsis

Creating a Request

stopAutomationExecution Source #

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

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

  • saeType - The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
  • saeAutomationExecutionId - The execution ID of the Automation to stop.

data StopAutomationExecution Source #

See: stopAutomationExecution smart constructor.

Instances
Eq StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Data StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Methods

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

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

toConstr :: StopAutomationExecution -> Constr #

dataTypeOf :: StopAutomationExecution -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Show StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Generic StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Associated Types

type Rep StopAutomationExecution :: Type -> Type #

Hashable StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

ToJSON StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

AWSRequest StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Associated Types

type Rs StopAutomationExecution :: Type #

ToHeaders StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

ToPath StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

ToQuery StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

NFData StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Methods

rnf :: StopAutomationExecution -> () #

type Rep StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

type Rep StopAutomationExecution = D1 (MetaData "StopAutomationExecution" "Network.AWS.SSM.StopAutomationExecution" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "StopAutomationExecution'" PrefixI True) (S1 (MetaSel (Just "_saeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StopType)) :*: S1 (MetaSel (Just "_saeAutomationExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs StopAutomationExecution Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Request Lenses

saeType :: Lens' StopAutomationExecution (Maybe StopType) Source #

The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.

saeAutomationExecutionId :: Lens' StopAutomationExecution Text Source #

The execution ID of the Automation to stop.

Destructuring the Response

stopAutomationExecutionResponse Source #

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

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

data StopAutomationExecutionResponse Source #

See: stopAutomationExecutionResponse smart constructor.

Instances
Eq StopAutomationExecutionResponse Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Data StopAutomationExecutionResponse Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Methods

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

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

toConstr :: StopAutomationExecutionResponse -> Constr #

dataTypeOf :: StopAutomationExecutionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopAutomationExecutionResponse Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Show StopAutomationExecutionResponse Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Generic StopAutomationExecutionResponse Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Associated Types

type Rep StopAutomationExecutionResponse :: Type -> Type #

NFData StopAutomationExecutionResponse Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

type Rep StopAutomationExecutionResponse Source # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

type Rep StopAutomationExecutionResponse = D1 (MetaData "StopAutomationExecutionResponse" "Network.AWS.SSM.StopAutomationExecution" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" True) (C1 (MetaCons "StopAutomationExecutionResponse'" PrefixI True) (S1 (MetaSel (Just "_saersResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses