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 a control set in an Audit Manager assessment.
Synopsis
- data UpdateAssessmentControlSetStatus = UpdateAssessmentControlSetStatus' {}
- newUpdateAssessmentControlSetStatus :: Text -> Text -> ControlSetStatus -> Text -> UpdateAssessmentControlSetStatus
- updateAssessmentControlSetStatus_assessmentId :: Lens' UpdateAssessmentControlSetStatus Text
- updateAssessmentControlSetStatus_controlSetId :: Lens' UpdateAssessmentControlSetStatus Text
- updateAssessmentControlSetStatus_status :: Lens' UpdateAssessmentControlSetStatus ControlSetStatus
- updateAssessmentControlSetStatus_comment :: Lens' UpdateAssessmentControlSetStatus Text
- data UpdateAssessmentControlSetStatusResponse = UpdateAssessmentControlSetStatusResponse' {}
- newUpdateAssessmentControlSetStatusResponse :: Int -> UpdateAssessmentControlSetStatusResponse
- updateAssessmentControlSetStatusResponse_controlSet :: Lens' UpdateAssessmentControlSetStatusResponse (Maybe AssessmentControlSet)
- updateAssessmentControlSetStatusResponse_httpStatus :: Lens' UpdateAssessmentControlSetStatusResponse Int
Creating a Request
data UpdateAssessmentControlSetStatus Source #
See: newUpdateAssessmentControlSetStatus
smart constructor.
UpdateAssessmentControlSetStatus' | |
|
Instances
newUpdateAssessmentControlSetStatus Source #
:: Text | |
-> Text | |
-> ControlSetStatus | |
-> Text | |
-> UpdateAssessmentControlSetStatus |
Create a value of UpdateAssessmentControlSetStatus
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:UpdateAssessmentControlSetStatus'
, updateAssessmentControlSetStatus_assessmentId
- The identifier for the specified assessment.
$sel:controlSetId:UpdateAssessmentControlSetStatus'
, updateAssessmentControlSetStatus_controlSetId
- The identifier for the specified control set.
$sel:status:UpdateAssessmentControlSetStatus'
, updateAssessmentControlSetStatus_status
- The status of the control set that is being updated.
$sel:comment:UpdateAssessmentControlSetStatus'
, updateAssessmentControlSetStatus_comment
- The comment related to the status update.
Request Lenses
updateAssessmentControlSetStatus_assessmentId :: Lens' UpdateAssessmentControlSetStatus Text Source #
The identifier for the specified assessment.
updateAssessmentControlSetStatus_controlSetId :: Lens' UpdateAssessmentControlSetStatus Text Source #
The identifier for the specified control set.
updateAssessmentControlSetStatus_status :: Lens' UpdateAssessmentControlSetStatus ControlSetStatus Source #
The status of the control set that is being updated.
updateAssessmentControlSetStatus_comment :: Lens' UpdateAssessmentControlSetStatus Text Source #
The comment related to the status update.
Destructuring the Response
data UpdateAssessmentControlSetStatusResponse Source #
See: newUpdateAssessmentControlSetStatusResponse
smart constructor.
UpdateAssessmentControlSetStatusResponse' | |
|
Instances
newUpdateAssessmentControlSetStatusResponse Source #
Create a value of UpdateAssessmentControlSetStatusResponse
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:controlSet:UpdateAssessmentControlSetStatusResponse'
, updateAssessmentControlSetStatusResponse_controlSet
- The name of the updated control set returned by the
UpdateAssessmentControlSetStatus
API.
$sel:httpStatus:UpdateAssessmentControlSetStatusResponse'
, updateAssessmentControlSetStatusResponse_httpStatus
- The response's http status code.
Response Lenses
updateAssessmentControlSetStatusResponse_controlSet :: Lens' UpdateAssessmentControlSetStatusResponse (Maybe AssessmentControlSet) Source #
The name of the updated control set returned by the
UpdateAssessmentControlSetStatus
API.
updateAssessmentControlSetStatusResponse_httpStatus :: Lens' UpdateAssessmentControlSetStatusResponse Int Source #
The response's http status code.