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.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 # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

Data CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.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 Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

Show CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

Generic CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

Associated Types

type Rep CreateAssociationBatch :: Type -> Type #

Hashable CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

ToJSON CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

AWSRequest CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

Associated Types

type Rs CreateAssociationBatch :: Type #

ToHeaders CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

ToPath CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

ToQuery CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

NFData CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

Methods

rnf :: CreateAssociationBatch -> () #

type Rep CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

type Rep CreateAssociationBatch = D1 (MetaData "CreateAssociationBatch" "Network.AWS.SSM.CreateAssociationBatch" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" True) (C1 (MetaCons "CreateAssociationBatch'" PrefixI True) (S1 (MetaSel (Just "_cabEntries") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (List1 CreateAssociationBatchRequestEntry))))
type Rs CreateAssociationBatch Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

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 # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

Data CreateAssociationBatchResponse Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

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 # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

Show CreateAssociationBatchResponse Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

Generic CreateAssociationBatchResponse Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

Associated Types

type Rep CreateAssociationBatchResponse :: Type -> Type #

NFData CreateAssociationBatchResponse Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

type Rep CreateAssociationBatchResponse Source # 
Instance details

Defined in Network.AWS.SSM.CreateAssociationBatch

type Rep CreateAssociationBatchResponse = D1 (MetaData "CreateAssociationBatchResponse" "Network.AWS.SSM.CreateAssociationBatch" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "CreateAssociationBatchResponse'" PrefixI True) (S1 (MetaSel (Just "_cabrsSuccessful") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AssociationDescription])) :*: (S1 (MetaSel (Just "_cabrsFailed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FailedCreateAssociation])) :*: S1 (MetaSel (Just "_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.