| 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.CreateAssessmentReport
Description
Creates an assessment report for the specified assessment.
Synopsis
- data CreateAssessmentReport = CreateAssessmentReport' {
- description :: Maybe Text
- name :: Text
- assessmentId :: Text
- newCreateAssessmentReport :: Text -> Text -> CreateAssessmentReport
- createAssessmentReport_description :: Lens' CreateAssessmentReport (Maybe Text)
- createAssessmentReport_name :: Lens' CreateAssessmentReport Text
- createAssessmentReport_assessmentId :: Lens' CreateAssessmentReport Text
- data CreateAssessmentReportResponse = CreateAssessmentReportResponse' {}
- newCreateAssessmentReportResponse :: Int -> CreateAssessmentReportResponse
- createAssessmentReportResponse_assessmentReport :: Lens' CreateAssessmentReportResponse (Maybe AssessmentReport)
- createAssessmentReportResponse_httpStatus :: Lens' CreateAssessmentReportResponse Int
Creating a Request
data CreateAssessmentReport Source #
See: newCreateAssessmentReport smart constructor.
Constructors
| CreateAssessmentReport' | |
Fields
| |
Instances
newCreateAssessmentReport Source #
Arguments
| :: Text | |
| -> Text | |
| -> CreateAssessmentReport |
Create a value of CreateAssessmentReport 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:description:CreateAssessmentReport', createAssessmentReport_description - The description of the assessment report.
$sel:name:CreateAssessmentReport', createAssessmentReport_name - The name of the new assessment report.
$sel:assessmentId:CreateAssessmentReport', createAssessmentReport_assessmentId - The identifier for the specified assessment.
Request Lenses
createAssessmentReport_description :: Lens' CreateAssessmentReport (Maybe Text) Source #
The description of the assessment report.
createAssessmentReport_name :: Lens' CreateAssessmentReport Text Source #
The name of the new assessment report.
createAssessmentReport_assessmentId :: Lens' CreateAssessmentReport Text Source #
The identifier for the specified assessment.
Destructuring the Response
data CreateAssessmentReportResponse Source #
See: newCreateAssessmentReportResponse smart constructor.
Constructors
| CreateAssessmentReportResponse' | |
Fields
| |
Instances
newCreateAssessmentReportResponse Source #
Create a value of CreateAssessmentReportResponse 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:assessmentReport:CreateAssessmentReportResponse', createAssessmentReportResponse_assessmentReport - The new assessment report returned by the CreateAssessmentReport API.
$sel:httpStatus:CreateAssessmentReportResponse', createAssessmentReportResponse_httpStatus - The response's http status code.
Response Lenses
createAssessmentReportResponse_assessmentReport :: Lens' CreateAssessmentReportResponse (Maybe AssessmentReport) Source #
The new assessment report returned by the CreateAssessmentReport API.
createAssessmentReportResponse_httpStatus :: Lens' CreateAssessmentReportResponse Int Source #
The response's http status code.