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 |
Deletes an assessment in Audit Manager.
Synopsis
- data DeleteAssessment = DeleteAssessment' {
- assessmentId :: Text
- newDeleteAssessment :: Text -> DeleteAssessment
- deleteAssessment_assessmentId :: Lens' DeleteAssessment Text
- data DeleteAssessmentResponse = DeleteAssessmentResponse' {
- httpStatus :: Int
- newDeleteAssessmentResponse :: Int -> DeleteAssessmentResponse
- deleteAssessmentResponse_httpStatus :: Lens' DeleteAssessmentResponse Int
Creating a Request
data DeleteAssessment Source #
See: newDeleteAssessment
smart constructor.
DeleteAssessment' | |
|
Instances
Create a value of DeleteAssessment
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:DeleteAssessment'
, deleteAssessment_assessmentId
- The identifier for the specified assessment.
Request Lenses
deleteAssessment_assessmentId :: Lens' DeleteAssessment Text Source #
The identifier for the specified assessment.
Destructuring the Response
data DeleteAssessmentResponse Source #
See: newDeleteAssessmentResponse
smart constructor.
DeleteAssessmentResponse' | |
|
Instances
newDeleteAssessmentResponse Source #
Create a value of DeleteAssessmentResponse
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:httpStatus:DeleteAssessmentResponse'
, deleteAssessmentResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAssessmentResponse_httpStatus :: Lens' DeleteAssessmentResponse Int Source #
The response's http status code.