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 |
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
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.
Request Lenses
cabEntries :: Lens' CreateAssociationBatch (NonEmpty CreateAssociationBatchRequestEntry) Source #
One or more associations.
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:
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.
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.