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 |
Network.AWS.SSM.DeleteAssociation
Description
Disassociates the specified SSM document from the specified instance.
When you disassociate an SSM document from an instance, it does not change the configuration of the instance. To change the configuration state of an instance after you disassociate a document, you must create a new document with the desired configuration and associate it with the instance.
- deleteAssociation :: DeleteAssociation
- data DeleteAssociation
- daaAssociationId :: Lens' DeleteAssociation (Maybe Text)
- daaInstanceId :: Lens' DeleteAssociation (Maybe Text)
- daaName :: Lens' DeleteAssociation (Maybe Text)
- deleteAssociationResponse :: Int -> DeleteAssociationResponse
- data DeleteAssociationResponse
- delrsResponseStatus :: Lens' DeleteAssociationResponse Int
Creating a Request
deleteAssociation :: DeleteAssociation #
Creates a value of DeleteAssociation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
daaAssociationId
- The association ID that you want to delete.daaInstanceId
- The ID of the instance.daaName
- The name of the SSM document.
data DeleteAssociation #
See: deleteAssociation
smart constructor.
Instances
Request Lenses
daaAssociationId :: Lens' DeleteAssociation (Maybe Text) #
The association ID that you want to delete.
daaInstanceId :: Lens' DeleteAssociation (Maybe Text) #
The ID of the instance.
Destructuring the Response
Arguments
:: Int | |
-> DeleteAssociationResponse |
Creates a value of DeleteAssociationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delrsResponseStatus
- -- | The response status code.
data DeleteAssociationResponse #
See: deleteAssociationResponse
smart constructor.
Response Lenses
delrsResponseStatus :: Lens' DeleteAssociationResponse Int #
- - | The response status code.