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