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

Contents

Description

Initiates execution of an Automation document.

Synopsis

Creating a Request

startAutomationExecution Source #

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

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

  • saeParameters - A key-value map of execution parameters, which match the declared parameters in the Automation document.
  • saeDocumentVersion - The version of the Automation document to use for this execution.
  • saeDocumentName - The name of the Automation document to use for this execution.

data StartAutomationExecution Source #

See: startAutomationExecution smart constructor.

Instances

Eq StartAutomationExecution Source # 
Data StartAutomationExecution Source # 

Methods

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

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

toConstr :: StartAutomationExecution -> Constr #

dataTypeOf :: StartAutomationExecution -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartAutomationExecution Source # 
Show StartAutomationExecution Source # 
Generic StartAutomationExecution Source # 
Hashable StartAutomationExecution Source # 
ToJSON StartAutomationExecution Source # 
NFData StartAutomationExecution Source # 
AWSRequest StartAutomationExecution Source # 
ToPath StartAutomationExecution Source # 
ToHeaders StartAutomationExecution Source # 
ToQuery StartAutomationExecution Source # 
type Rep StartAutomationExecution Source # 
type Rep StartAutomationExecution = D1 (MetaData "StartAutomationExecution" "Network.AWS.SSM.StartAutomationExecution" "amazonka-ssm-1.4.5-B1a5iPTYqlbHaMCHVQ4GNL" False) (C1 (MetaCons "StartAutomationExecution'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_saeParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_saeDocumentVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_saeDocumentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs StartAutomationExecution Source # 

Request Lenses

saeParameters :: Lens' StartAutomationExecution (HashMap Text [Text]) Source #

A key-value map of execution parameters, which match the declared parameters in the Automation document.

saeDocumentVersion :: Lens' StartAutomationExecution (Maybe Text) Source #

The version of the Automation document to use for this execution.

saeDocumentName :: Lens' StartAutomationExecution Text Source #

The name of the Automation document to use for this execution.

Destructuring the Response

startAutomationExecutionResponse Source #

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

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

data StartAutomationExecutionResponse Source #

See: startAutomationExecutionResponse smart constructor.

Instances

Eq StartAutomationExecutionResponse Source # 
Data StartAutomationExecutionResponse Source # 

Methods

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

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

toConstr :: StartAutomationExecutionResponse -> Constr #

dataTypeOf :: StartAutomationExecutionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartAutomationExecutionResponse Source # 
Show StartAutomationExecutionResponse Source # 
Generic StartAutomationExecutionResponse Source # 
NFData StartAutomationExecutionResponse Source # 
type Rep StartAutomationExecutionResponse Source # 
type Rep StartAutomationExecutionResponse = D1 (MetaData "StartAutomationExecutionResponse" "Network.AWS.SSM.StartAutomationExecution" "amazonka-ssm-1.4.5-B1a5iPTYqlbHaMCHVQ4GNL" False) (C1 (MetaCons "StartAutomationExecutionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_srsAutomationExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_srsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

srsAutomationExecutionId :: Lens' StartAutomationExecutionResponse (Maybe Text) Source #

The unique ID of a newly scheduled automation execution.