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 |
Edits an Audit Manager assessment.
Synopsis
- data UpdateAssessment = UpdateAssessment' {}
- newUpdateAssessment :: Text -> Scope -> UpdateAssessment
- updateAssessment_roles :: Lens' UpdateAssessment (Maybe [Role])
- updateAssessment_assessmentDescription :: Lens' UpdateAssessment (Maybe Text)
- updateAssessment_assessmentReportsDestination :: Lens' UpdateAssessment (Maybe AssessmentReportsDestination)
- updateAssessment_assessmentName :: Lens' UpdateAssessment (Maybe Text)
- updateAssessment_assessmentId :: Lens' UpdateAssessment Text
- updateAssessment_scope :: Lens' UpdateAssessment Scope
- data UpdateAssessmentResponse = UpdateAssessmentResponse' {}
- newUpdateAssessmentResponse :: Int -> UpdateAssessmentResponse
- updateAssessmentResponse_assessment :: Lens' UpdateAssessmentResponse (Maybe Assessment)
- updateAssessmentResponse_httpStatus :: Lens' UpdateAssessmentResponse Int
Creating a Request
data UpdateAssessment Source #
See: newUpdateAssessment
smart constructor.
UpdateAssessment' | |
|
Instances
Create a value of UpdateAssessment
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:roles:UpdateAssessment'
, updateAssessment_roles
- The list of roles for the specified assessment.
$sel:assessmentDescription:UpdateAssessment'
, updateAssessment_assessmentDescription
- The description of the specified assessment.
$sel:assessmentReportsDestination:UpdateAssessment'
, updateAssessment_assessmentReportsDestination
- The assessment report storage destination for the specified assessment
that is being updated.
$sel:assessmentName:UpdateAssessment'
, updateAssessment_assessmentName
- The name of the specified assessment to be updated.
$sel:assessmentId:UpdateAssessment'
, updateAssessment_assessmentId
- The identifier for the specified assessment.
$sel:scope:UpdateAssessment'
, updateAssessment_scope
- The scope of the specified assessment.
Request Lenses
updateAssessment_roles :: Lens' UpdateAssessment (Maybe [Role]) Source #
The list of roles for the specified assessment.
updateAssessment_assessmentDescription :: Lens' UpdateAssessment (Maybe Text) Source #
The description of the specified assessment.
updateAssessment_assessmentReportsDestination :: Lens' UpdateAssessment (Maybe AssessmentReportsDestination) Source #
The assessment report storage destination for the specified assessment that is being updated.
updateAssessment_assessmentName :: Lens' UpdateAssessment (Maybe Text) Source #
The name of the specified assessment to be updated.
updateAssessment_assessmentId :: Lens' UpdateAssessment Text Source #
The identifier for the specified assessment.
updateAssessment_scope :: Lens' UpdateAssessment Scope Source #
The scope of the specified assessment.
Destructuring the Response
data UpdateAssessmentResponse Source #
See: newUpdateAssessmentResponse
smart constructor.
UpdateAssessmentResponse' | |
|
Instances
newUpdateAssessmentResponse Source #
Create a value of UpdateAssessmentResponse
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:UpdateAssessmentResponse'
, updateAssessmentResponse_assessment
- The response object (name of the updated assessment) for the
UpdateAssessmentRequest
API.
$sel:httpStatus:UpdateAssessmentResponse'
, updateAssessmentResponse_httpStatus
- The response's http status code.
Response Lenses
updateAssessmentResponse_assessment :: Lens' UpdateAssessmentResponse (Maybe Assessment) Source #
The response object (name of the updated assessment) for the
UpdateAssessmentRequest
API.
updateAssessmentResponse_httpStatus :: Lens' UpdateAssessmentResponse Int Source #
The response's http status code.