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 instance.
When you associate an SSM document with an instance, the configuration agent 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.
- createAssociation :: Text -> Text -> CreateAssociation
- data CreateAssociation
- caParameters :: Lens' CreateAssociation (HashMap Text [Text])
- caName :: Lens' CreateAssociation Text
- caInstanceId :: Lens' CreateAssociation Text
- createAssociationResponse :: Int -> CreateAssociationResponse
- data CreateAssociationResponse
- carsAssociationDescription :: Lens' CreateAssociationResponse (Maybe AssociationDescription)
- carsResponseStatus :: Lens' CreateAssociationResponse Int
Creating a Request
Creates a value of CreateAssociation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateAssociation Source #
See: createAssociation
smart constructor.
Request Lenses
caParameters :: Lens' CreateAssociation (HashMap Text [Text]) Source #
The parameters for the documents runtime configuration.
caInstanceId :: Lens' CreateAssociation Text Source #
The Windows Server instance ID.
Destructuring the Response
createAssociationResponse Source #
Creates a value of CreateAssociationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateAssociationResponse Source #
See: createAssociationResponse
smart constructor.
Response Lenses
carsAssociationDescription :: Lens' CreateAssociationResponse (Maybe AssociationDescription) Source #
Information about the association.
carsResponseStatus :: Lens' CreateAssociationResponse Int Source #
The response status code.