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 |
Amazonka.AuditManager.UpdateAssessmentStatus
Description
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.
Constructors
UpdateAssessmentStatus' | |
Fields
|
Instances
newUpdateAssessmentStatus Source #
Arguments
:: Text | |
-> AssessmentStatus | |
-> UpdateAssessmentStatus |
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.
Constructors
UpdateAssessmentStatusResponse' | |
Fields
|
Instances
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.