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 |
Returns a list of assessment reports created in Audit Manager.
Synopsis
- data ListAssessmentReports = ListAssessmentReports' {}
- newListAssessmentReports :: ListAssessmentReports
- listAssessmentReports_nextToken :: Lens' ListAssessmentReports (Maybe Text)
- listAssessmentReports_maxResults :: Lens' ListAssessmentReports (Maybe Natural)
- data ListAssessmentReportsResponse = ListAssessmentReportsResponse' {}
- newListAssessmentReportsResponse :: Int -> ListAssessmentReportsResponse
- listAssessmentReportsResponse_assessmentReports :: Lens' ListAssessmentReportsResponse (Maybe [AssessmentReportMetadata])
- listAssessmentReportsResponse_nextToken :: Lens' ListAssessmentReportsResponse (Maybe Text)
- listAssessmentReportsResponse_httpStatus :: Lens' ListAssessmentReportsResponse Int
Creating a Request
data ListAssessmentReports Source #
See: newListAssessmentReports
smart constructor.
Instances
newListAssessmentReports :: ListAssessmentReports Source #
Create a value of ListAssessmentReports
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:nextToken:ListAssessmentReports'
, listAssessmentReports_nextToken
- The pagination token used to fetch the next set of results.
$sel:maxResults:ListAssessmentReports'
, listAssessmentReports_maxResults
- Represents the maximum number of results per page, or per API request
call.
Request Lenses
listAssessmentReports_nextToken :: Lens' ListAssessmentReports (Maybe Text) Source #
The pagination token used to fetch the next set of results.
listAssessmentReports_maxResults :: Lens' ListAssessmentReports (Maybe Natural) Source #
Represents the maximum number of results per page, or per API request call.
Destructuring the Response
data ListAssessmentReportsResponse Source #
See: newListAssessmentReportsResponse
smart constructor.
ListAssessmentReportsResponse' | |
|
Instances
newListAssessmentReportsResponse Source #
Create a value of ListAssessmentReportsResponse
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:assessmentReports:ListAssessmentReportsResponse'
, listAssessmentReportsResponse_assessmentReports
- The list of assessment reports returned by the ListAssessmentReports
API.
$sel:nextToken:ListAssessmentReports'
, listAssessmentReportsResponse_nextToken
- The pagination token used to fetch the next set of results.
$sel:httpStatus:ListAssessmentReportsResponse'
, listAssessmentReportsResponse_httpStatus
- The response's http status code.
Response Lenses
listAssessmentReportsResponse_assessmentReports :: Lens' ListAssessmentReportsResponse (Maybe [AssessmentReportMetadata]) Source #
The list of assessment reports returned by the ListAssessmentReports
API.
listAssessmentReportsResponse_nextToken :: Lens' ListAssessmentReportsResponse (Maybe Text) Source #
The pagination token used to fetch the next set of results.
listAssessmentReportsResponse_httpStatus :: Lens' ListAssessmentReportsResponse Int Source #
The response's http status code.