Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.SSM.CreateAssociationBatch
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.
- createAssociationBatch :: NonEmpty CreateAssociationBatchRequestEntry -> CreateAssociationBatch
- data CreateAssociationBatch
- cabEntries :: Lens' CreateAssociationBatch (NonEmpty CreateAssociationBatchRequestEntry)
- createAssociationBatchResponse :: Int -> CreateAssociationBatchResponse
- data CreateAssociationBatchResponse
- cabrsSuccessful :: Lens' CreateAssociationBatchResponse [AssociationDescription]
- cabrsFailed :: Lens' CreateAssociationBatchResponse [FailedCreateAssociation]
- cabrsResponseStatus :: Lens' CreateAssociationBatchResponse Int
Creating a Request
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:
cabEntries
- One or more associations.
data CreateAssociationBatch #
See: createAssociationBatch
smart constructor.
Instances
Request Lenses
cabEntries :: Lens' CreateAssociationBatch (NonEmpty CreateAssociationBatchRequestEntry) #
One or more associations.
Destructuring the Response
createAssociationBatchResponse #
Arguments
:: Int | |
-> 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:
cabrsSuccessful
- Information about the associations that succeeded.cabrsFailed
- Information about the associations that failed.cabrsResponseStatus
- -- | The response status code.
data CreateAssociationBatchResponse #
See: createAssociationBatchResponse
smart constructor.
Response Lenses
cabrsSuccessful :: Lens' CreateAssociationBatchResponse [AssociationDescription] #
Information about the associations that succeeded.
cabrsFailed :: Lens' CreateAssociationBatchResponse [FailedCreateAssociation] #
Information about the associations that failed.
cabrsResponseStatus :: Lens' CreateAssociationBatchResponse Int #
- - | The response status code.