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 an assessment in Audit Manager.
Synopsis
- data UpdateAssessmentStatus = UpdateAssessmentStatus' {}
- newUpdateAssessmentStatus :: Text -> AssessmentStatus -> UpdateAssessmentStatus
- updateAssessmentStatus_assessmentId :: Lens' UpdateAssessmentStatus Text
- updateAssessmentStatus_status :: Lens' UpdateAssessmentStatus AssessmentStatus
- data UpdateAssessmentStatusResponse = UpdateAssessmentStatusResponse' {}
- newUpdateAssessmentStatusResponse :: Int -> UpdateAssessmentStatusResponse
- updateAssessmentStatusResponse_assessment :: Lens' UpdateAssessmentStatusResponse (Maybe Assessment)
- updateAssessmentStatusResponse_httpStatus :: Lens' UpdateAssessmentStatusResponse Int
Creating a Request
data UpdateAssessmentStatus Source #
See: newUpdateAssessmentStatus
smart constructor.
UpdateAssessmentStatus' | |
|
Instances
newUpdateAssessmentStatus Source #
Create a value of UpdateAssessmentStatus
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:assessmentId:UpdateAssessmentStatus'
, updateAssessmentStatus_assessmentId
- The identifier for the specified assessment.
$sel:status:UpdateAssessmentStatus'
, updateAssessmentStatus_status
- The current status of the specified assessment.
Request Lenses
updateAssessmentStatus_assessmentId :: Lens' UpdateAssessmentStatus Text Source #
The identifier for the specified assessment.
updateAssessmentStatus_status :: Lens' UpdateAssessmentStatus AssessmentStatus Source #
The current status of the specified assessment.
Destructuring the Response
data UpdateAssessmentStatusResponse Source #
See: newUpdateAssessmentStatusResponse
smart constructor.
UpdateAssessmentStatusResponse' | |
|
Instances
Eq UpdateAssessmentStatusResponse Source # | |
Read UpdateAssessmentStatusResponse Source # | |
Show UpdateAssessmentStatusResponse Source # | |
Defined in Amazonka.AuditManager.UpdateAssessmentStatus | |
Generic UpdateAssessmentStatusResponse Source # | |
NFData UpdateAssessmentStatusResponse Source # | |
Defined in Amazonka.AuditManager.UpdateAssessmentStatus rnf :: UpdateAssessmentStatusResponse -> () # | |
type Rep UpdateAssessmentStatusResponse Source # | |
Defined in Amazonka.AuditManager.UpdateAssessmentStatus type Rep UpdateAssessmentStatusResponse = D1 ('MetaData "UpdateAssessmentStatusResponse" "Amazonka.AuditManager.UpdateAssessmentStatus" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "UpdateAssessmentStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assessment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Assessment)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateAssessmentStatusResponse Source #
Create a value of UpdateAssessmentStatusResponse
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:assessment:UpdateAssessmentStatusResponse'
, updateAssessmentStatusResponse_assessment
- The name of the updated assessment returned by the
UpdateAssessmentStatus
API.
$sel:httpStatus:UpdateAssessmentStatusResponse'
, updateAssessmentStatusResponse_httpStatus
- The response's http status code.
Response Lenses
updateAssessmentStatusResponse_assessment :: Lens' UpdateAssessmentStatusResponse (Maybe Assessment) Source #
The name of the updated assessment returned by the
UpdateAssessmentStatus
API.
updateAssessmentStatusResponse_httpStatus :: Lens' UpdateAssessmentStatusResponse Int Source #
The response's http status code.