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.CreateAssociationBatch

Contents

Description

Associates the specified SSM document with the specified instances or targets.

When you associate an SSM 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 #

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 #

See: createAssociationBatch smart constructor.

Instances

Eq CreateAssociationBatch # 
Data CreateAssociationBatch # 

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 # 
Show CreateAssociationBatch # 
Generic CreateAssociationBatch # 
Hashable CreateAssociationBatch # 
ToJSON CreateAssociationBatch # 
NFData CreateAssociationBatch # 

Methods

rnf :: CreateAssociationBatch -> () #

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

Request Lenses

Destructuring the Response

createAssociationBatchResponse #

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 #

See: createAssociationBatchResponse smart constructor.

Instances

Eq CreateAssociationBatchResponse # 
Data CreateAssociationBatchResponse # 

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 # 
Show CreateAssociationBatchResponse # 
Generic CreateAssociationBatchResponse # 
NFData CreateAssociationBatchResponse # 
type Rep CreateAssociationBatchResponse # 
type Rep CreateAssociationBatchResponse = D1 (MetaData "CreateAssociationBatchResponse" "Network.AWS.SSM.CreateAssociationBatch" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

cabrsSuccessful :: Lens' CreateAssociationBatchResponse [AssociationDescription] #

Information about the associations that succeeded.

cabrsFailed :: Lens' CreateAssociationBatchResponse [FailedCreateAssociation] #

Information about the associations that failed.