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 |
Updates the status of the SSM document associated with the specified instance.
See: AWS API Reference for UpdateAssociationStatus.
- updateAssociationStatus :: Text -> Text -> AssociationStatus -> UpdateAssociationStatus
- data UpdateAssociationStatus
- uasName :: Lens' UpdateAssociationStatus Text
- uasInstanceId :: Lens' UpdateAssociationStatus Text
- uasAssociationStatus :: Lens' UpdateAssociationStatus AssociationStatus
- updateAssociationStatusResponse :: Int -> UpdateAssociationStatusResponse
- data UpdateAssociationStatusResponse
- uasrsAssociationDescription :: Lens' UpdateAssociationStatusResponse (Maybe AssociationDescription)
- uasrsResponseStatus :: Lens' UpdateAssociationStatusResponse Int
Creating a Request
updateAssociationStatus Source
:: Text | |
-> Text | |
-> AssociationStatus | |
-> UpdateAssociationStatus |
Creates a value of UpdateAssociationStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateAssociationStatus Source
See: updateAssociationStatus
smart constructor.
Request Lenses
uasName :: Lens' UpdateAssociationStatus Text Source
The name of the SSM document.
uasInstanceId :: Lens' UpdateAssociationStatus Text Source
The ID of the instance.
uasAssociationStatus :: Lens' UpdateAssociationStatus AssociationStatus Source
The association status.
Destructuring the Response
updateAssociationStatusResponse Source
Creates a value of UpdateAssociationStatusResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateAssociationStatusResponse Source
See: updateAssociationStatusResponse
smart constructor.
Response Lenses
uasrsAssociationDescription :: Lens' UpdateAssociationStatusResponse (Maybe AssociationDescription) Source
Information about the association.
uasrsResponseStatus :: Lens' UpdateAssociationStatusResponse Int Source
The response status code.