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.ListAssessments
Description
Returns a list of current and past assessments from Audit Manager.
Synopsis
- data ListAssessments = ListAssessments' {}
- newListAssessments :: ListAssessments
- listAssessments_nextToken :: Lens' ListAssessments (Maybe Text)
- listAssessments_maxResults :: Lens' ListAssessments (Maybe Natural)
- data ListAssessmentsResponse = ListAssessmentsResponse' {}
- newListAssessmentsResponse :: Int -> ListAssessmentsResponse
- listAssessmentsResponse_nextToken :: Lens' ListAssessmentsResponse (Maybe Text)
- listAssessmentsResponse_assessmentMetadata :: Lens' ListAssessmentsResponse (Maybe [AssessmentMetadataItem])
- listAssessmentsResponse_httpStatus :: Lens' ListAssessmentsResponse Int
Creating a Request
data ListAssessments Source #
See: newListAssessments
smart constructor.
Constructors
ListAssessments' | |
Instances
newListAssessments :: ListAssessments Source #
Create a value of ListAssessments
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:ListAssessments'
, listAssessments_nextToken
- The pagination token used to fetch the next set of results.
$sel:maxResults:ListAssessments'
, listAssessments_maxResults
- Represents the maximum number of results per page, or per API request
call.
Request Lenses
listAssessments_nextToken :: Lens' ListAssessments (Maybe Text) Source #
The pagination token used to fetch the next set of results.
listAssessments_maxResults :: Lens' ListAssessments (Maybe Natural) Source #
Represents the maximum number of results per page, or per API request call.
Destructuring the Response
data ListAssessmentsResponse Source #
See: newListAssessmentsResponse
smart constructor.
Constructors
ListAssessmentsResponse' | |
Fields
|
Instances
newListAssessmentsResponse Source #
Create a value of ListAssessmentsResponse
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:ListAssessments'
, listAssessmentsResponse_nextToken
- The pagination token used to fetch the next set of results.
$sel:assessmentMetadata:ListAssessmentsResponse'
, listAssessmentsResponse_assessmentMetadata
- The metadata associated with the assessment.
$sel:httpStatus:ListAssessmentsResponse'
, listAssessmentsResponse_httpStatus
- The response's http status code.
Response Lenses
listAssessmentsResponse_nextToken :: Lens' ListAssessmentsResponse (Maybe Text) Source #
The pagination token used to fetch the next set of results.
listAssessmentsResponse_assessmentMetadata :: Lens' ListAssessmentsResponse (Maybe [AssessmentMetadataItem]) Source #
The metadata associated with the assessment.
listAssessmentsResponse_httpStatus :: Lens' ListAssessmentsResponse Int Source #
The response's http status code.