Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates the status of the Amazon Web Services Systems Manager document (SSM document) associated with the specified instance.
UpdateAssociationStatus
is primarily used by the Amazon Web Services
Systems Manager Agent (SSM Agent) to report status updates about your
associations and is only used for associations created with the
InstanceId
legacy parameter.
Synopsis
- data UpdateAssociationStatus = UpdateAssociationStatus' {}
- newUpdateAssociationStatus :: Text -> Text -> AssociationStatus -> UpdateAssociationStatus
- updateAssociationStatus_name :: Lens' UpdateAssociationStatus Text
- updateAssociationStatus_instanceId :: Lens' UpdateAssociationStatus Text
- updateAssociationStatus_associationStatus :: Lens' UpdateAssociationStatus AssociationStatus
- data UpdateAssociationStatusResponse = UpdateAssociationStatusResponse' {}
- newUpdateAssociationStatusResponse :: Int -> UpdateAssociationStatusResponse
- updateAssociationStatusResponse_associationDescription :: Lens' UpdateAssociationStatusResponse (Maybe AssociationDescription)
- updateAssociationStatusResponse_httpStatus :: Lens' UpdateAssociationStatusResponse Int
Creating a Request
data UpdateAssociationStatus Source #
See: newUpdateAssociationStatus
smart constructor.
UpdateAssociationStatus' | |
|
Instances
newUpdateAssociationStatus Source #
:: Text | |
-> Text | |
-> AssociationStatus | |
-> UpdateAssociationStatus |
Create a value of UpdateAssociationStatus
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:name:UpdateAssociationStatus'
, updateAssociationStatus_name
- The name of the SSM document.
$sel:instanceId:UpdateAssociationStatus'
, updateAssociationStatus_instanceId
- The instance ID.
$sel:associationStatus:UpdateAssociationStatus'
, updateAssociationStatus_associationStatus
- The association status.
Request Lenses
updateAssociationStatus_name :: Lens' UpdateAssociationStatus Text Source #
The name of the SSM document.
updateAssociationStatus_instanceId :: Lens' UpdateAssociationStatus Text Source #
The instance ID.
updateAssociationStatus_associationStatus :: Lens' UpdateAssociationStatus AssociationStatus Source #
The association status.
Destructuring the Response
data UpdateAssociationStatusResponse Source #
See: newUpdateAssociationStatusResponse
smart constructor.
UpdateAssociationStatusResponse' | |
|
Instances
Eq UpdateAssociationStatusResponse Source # | |
Read UpdateAssociationStatusResponse Source # | |
Show UpdateAssociationStatusResponse Source # | |
Defined in Amazonka.SSM.UpdateAssociationStatus | |
Generic UpdateAssociationStatusResponse Source # | |
NFData UpdateAssociationStatusResponse Source # | |
Defined in Amazonka.SSM.UpdateAssociationStatus rnf :: UpdateAssociationStatusResponse -> () # | |
type Rep UpdateAssociationStatusResponse Source # | |
Defined in Amazonka.SSM.UpdateAssociationStatus type Rep UpdateAssociationStatusResponse = D1 ('MetaData "UpdateAssociationStatusResponse" "Amazonka.SSM.UpdateAssociationStatus" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "UpdateAssociationStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "associationDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssociationDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateAssociationStatusResponse Source #
Create a value of UpdateAssociationStatusResponse
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:associationDescription:UpdateAssociationStatusResponse'
, updateAssociationStatusResponse_associationDescription
- Information about the association.
$sel:httpStatus:UpdateAssociationStatusResponse'
, updateAssociationStatusResponse_httpStatus
- The response's http status code.
Response Lenses
updateAssociationStatusResponse_associationDescription :: Lens' UpdateAssociationStatusResponse (Maybe AssociationDescription) Source #
Information about the association.
updateAssociationStatusResponse_httpStatus :: Lens' UpdateAssociationStatusResponse Int Source #
The response's http status code.