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 |
Retrieves a list of all reports and their configurations for your AWS account.
The maximum number of reports is one.
This operation returns paginated results.
Synopsis
- data ListReportDefinitions = ListReportDefinitions' {}
- newListReportDefinitions :: ListReportDefinitions
- listReportDefinitions_nextToken :: Lens' ListReportDefinitions (Maybe Text)
- listReportDefinitions_maxResults :: Lens' ListReportDefinitions (Maybe Natural)
- data ListReportDefinitionsResponse = ListReportDefinitionsResponse' {}
- newListReportDefinitionsResponse :: Int -> ListReportDefinitionsResponse
- listReportDefinitionsResponse_nextToken :: Lens' ListReportDefinitionsResponse (Maybe Text)
- listReportDefinitionsResponse_reportDefinitions :: Lens' ListReportDefinitionsResponse (Maybe [ReportDefinition])
- listReportDefinitionsResponse_httpStatus :: Lens' ListReportDefinitionsResponse Int
Creating a Request
data ListReportDefinitions Source #
See: newListReportDefinitions
smart constructor.
Instances
newListReportDefinitions :: ListReportDefinitions Source #
Create a value of ListReportDefinitions
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:ListReportDefinitions'
, listReportDefinitions_nextToken
- The token value from a previous call to access the next page of results.
$sel:maxResults:ListReportDefinitions'
, listReportDefinitions_maxResults
- The maximum number of results to return.
Request Lenses
listReportDefinitions_nextToken :: Lens' ListReportDefinitions (Maybe Text) Source #
The token value from a previous call to access the next page of results.
listReportDefinitions_maxResults :: Lens' ListReportDefinitions (Maybe Natural) Source #
The maximum number of results to return.
Destructuring the Response
data ListReportDefinitionsResponse Source #
See: newListReportDefinitionsResponse
smart constructor.
ListReportDefinitionsResponse' | |
|
Instances
newListReportDefinitionsResponse Source #
Create a value of ListReportDefinitionsResponse
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:ListReportDefinitions'
, listReportDefinitionsResponse_nextToken
- The value of the next token, if it exists. Null if there are no more
results.
$sel:reportDefinitions:ListReportDefinitionsResponse'
, listReportDefinitionsResponse_reportDefinitions
- The retrieved reports.
$sel:httpStatus:ListReportDefinitionsResponse'
, listReportDefinitionsResponse_httpStatus
- The response's http status code.
Response Lenses
listReportDefinitionsResponse_nextToken :: Lens' ListReportDefinitionsResponse (Maybe Text) Source #
The value of the next token, if it exists. Null if there are no more results.
listReportDefinitionsResponse_reportDefinitions :: Lens' ListReportDefinitionsResponse (Maybe [ReportDefinition]) Source #
The retrieved reports.
listReportDefinitionsResponse_httpStatus :: Lens' ListReportDefinitionsResponse Int Source #
The response's http status code.