Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Associates the specified Amazon Web Services Systems Manager document (SSM document) with the specified managed nodes or targets.
When you associate a document with one or more managed nodes using IDs or tags, Amazon Web Services Systems Manager Agent (SSM Agent) running on the managed node processes the document and configures the node as specified.
If you associate a document with a managed node that already has an associated document, the system returns the AssociationAlreadyExists exception.
Synopsis
- data CreateAssociationBatch = CreateAssociationBatch' {}
- newCreateAssociationBatch :: NonEmpty CreateAssociationBatchRequestEntry -> CreateAssociationBatch
- createAssociationBatch_entries :: Lens' CreateAssociationBatch (NonEmpty CreateAssociationBatchRequestEntry)
- data CreateAssociationBatchResponse = CreateAssociationBatchResponse' {}
- newCreateAssociationBatchResponse :: Int -> CreateAssociationBatchResponse
- createAssociationBatchResponse_failed :: Lens' CreateAssociationBatchResponse (Maybe [FailedCreateAssociation])
- createAssociationBatchResponse_successful :: Lens' CreateAssociationBatchResponse (Maybe [AssociationDescription])
- createAssociationBatchResponse_httpStatus :: Lens' CreateAssociationBatchResponse Int
Creating a Request
data CreateAssociationBatch Source #
See: newCreateAssociationBatch
smart constructor.
CreateAssociationBatch' | |
|
Instances
newCreateAssociationBatch Source #
Create a value of CreateAssociationBatch
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:entries:CreateAssociationBatch'
, createAssociationBatch_entries
- One or more associations.
Request Lenses
createAssociationBatch_entries :: Lens' CreateAssociationBatch (NonEmpty CreateAssociationBatchRequestEntry) Source #
One or more associations.
Destructuring the Response
data CreateAssociationBatchResponse Source #
See: newCreateAssociationBatchResponse
smart constructor.
CreateAssociationBatchResponse' | |
|
Instances
newCreateAssociationBatchResponse Source #
Create a value of CreateAssociationBatchResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failed:CreateAssociationBatchResponse'
, createAssociationBatchResponse_failed
- Information about the associations that failed.
$sel:successful:CreateAssociationBatchResponse'
, createAssociationBatchResponse_successful
- Information about the associations that succeeded.
$sel:httpStatus:CreateAssociationBatchResponse'
, createAssociationBatchResponse_httpStatus
- The response's http status code.
Response Lenses
createAssociationBatchResponse_failed :: Lens' CreateAssociationBatchResponse (Maybe [FailedCreateAssociation]) Source #
Information about the associations that failed.
createAssociationBatchResponse_successful :: Lens' CreateAssociationBatchResponse (Maybe [AssociationDescription]) Source #
Information about the associations that succeeded.
createAssociationBatchResponse_httpStatus :: Lens' CreateAssociationBatchResponse Int Source #
The response's http status code.