Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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:
UpdateAssessmentStatus
, updateAssessmentStatus_assessmentId
- The unique identifier for the assessment.
UpdateAssessmentStatus
, updateAssessmentStatus_status
- The current status of the assessment.
Request Lenses
updateAssessmentStatus_assessmentId :: Lens' UpdateAssessmentStatus Text Source #
The unique identifier for the assessment.
updateAssessmentStatus_status :: Lens' UpdateAssessmentStatus AssessmentStatus Source #
The current status of the assessment.
Destructuring the Response
data UpdateAssessmentStatusResponse Source #
See: newUpdateAssessmentStatusResponse
smart constructor.
UpdateAssessmentStatusResponse' | |
|
Instances
Generic UpdateAssessmentStatusResponse Source # | |
Read UpdateAssessmentStatusResponse Source # | |
Show UpdateAssessmentStatusResponse Source # | |
Defined in Amazonka.AuditManager.UpdateAssessmentStatus | |
NFData UpdateAssessmentStatusResponse Source # | |
Defined in Amazonka.AuditManager.UpdateAssessmentStatus rnf :: UpdateAssessmentStatusResponse -> () # | |
Eq UpdateAssessmentStatusResponse Source # | |
type Rep UpdateAssessmentStatusResponse Source # | |
Defined in Amazonka.AuditManager.UpdateAssessmentStatus type Rep UpdateAssessmentStatusResponse = D1 ('MetaData "UpdateAssessmentStatusResponse" "Amazonka.AuditManager.UpdateAssessmentStatus" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" '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 that the UpdateAssessmentStatus
API
returned.
$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 that the UpdateAssessmentStatus
API
returned.
updateAssessmentStatusResponse_httpStatus :: Lens' UpdateAssessmentStatusResponse Int Source #
The response's http status code.