Copyright | (c) 2013-2015 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 configuration document with the specified instance.
When you associate a configuration document with an instance, the configuration agent on the instance processes the configuration document and configures the instance as specified.
If you associate a configuration document with an instance that already has an associated configuration document, we replace the current configuration document with the new configuration document.
See: AWS API Reference for CreateAssociation.
- createAssociation :: Text -> Text -> CreateAssociation
- data CreateAssociation
- 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
caName :: Lens' CreateAssociation Text Source
The name of the configuration document.
caInstanceId :: Lens' CreateAssociation Text Source
The ID of the instance.
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.