amazonka-ssm-1.6.0: 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.CreateAssociationBatch

Contents

Description

Associates the specified Systems Manager document with the specified instances or targets.

When you associate a document with one or more instances using instance IDs or tags, the SSM Agent running on the instance processes the document and configures the instance as specified.

If you associate a document with an instance that already has an associated document, the system throws the AssociationAlreadyExists exception.

Synopsis

Creating a Request

createAssociationBatch Source #

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

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

data CreateAssociationBatch Source #

See: createAssociationBatch smart constructor.

Instances

Eq CreateAssociationBatch Source # 
Data CreateAssociationBatch Source # 

Methods

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

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

toConstr :: CreateAssociationBatch -> Constr #

dataTypeOf :: CreateAssociationBatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateAssociationBatch Source # 
Show CreateAssociationBatch Source # 
Generic CreateAssociationBatch Source # 
Hashable CreateAssociationBatch Source # 
ToJSON CreateAssociationBatch Source # 
NFData CreateAssociationBatch Source # 

Methods

rnf :: CreateAssociationBatch -> () #

AWSRequest CreateAssociationBatch Source # 
ToHeaders CreateAssociationBatch Source # 
ToPath CreateAssociationBatch Source # 
ToQuery CreateAssociationBatch Source # 
type Rep CreateAssociationBatch Source # 
type Rep CreateAssociationBatch = D1 * (MetaData "CreateAssociationBatch" "Network.AWS.SSM.CreateAssociationBatch" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" True) (C1 * (MetaCons "CreateAssociationBatch'" PrefixI True) (S1 * (MetaSel (Just Symbol "_cabEntries") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (List1 CreateAssociationBatchRequestEntry))))
type Rs CreateAssociationBatch Source # 

Request Lenses

Destructuring the Response

createAssociationBatchResponse Source #

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

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

data CreateAssociationBatchResponse Source #

See: createAssociationBatchResponse smart constructor.

Instances

Eq CreateAssociationBatchResponse Source # 
Data CreateAssociationBatchResponse Source # 

Methods

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

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

toConstr :: CreateAssociationBatchResponse -> Constr #

dataTypeOf :: CreateAssociationBatchResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateAssociationBatchResponse Source # 
Show CreateAssociationBatchResponse Source # 
Generic CreateAssociationBatchResponse Source # 
NFData CreateAssociationBatchResponse Source # 
type Rep CreateAssociationBatchResponse Source # 
type Rep CreateAssociationBatchResponse = D1 * (MetaData "CreateAssociationBatchResponse" "Network.AWS.SSM.CreateAssociationBatch" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "CreateAssociationBatchResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cabrsSuccessful") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [AssociationDescription]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cabrsFailed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [FailedCreateAssociation]))) (S1 * (MetaSel (Just Symbol "_cabrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

cabrsSuccessful :: Lens' CreateAssociationBatchResponse [AssociationDescription] Source #

Information about the associations that succeeded.

cabrsFailed :: Lens' CreateAssociationBatchResponse [FailedCreateAssociation] Source #

Information about the associations that failed.