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