| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ApplicationCostProfiler.ListReportDefinitions
Description
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_maxResults :: Lens' ListReportDefinitions (Maybe Natural)
- listReportDefinitions_nextToken :: Lens' ListReportDefinitions (Maybe Text)
- 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.
Constructors
| ListReportDefinitions' | |
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:maxResults:ListReportDefinitions', listReportDefinitions_maxResults - The maximum number of results to return.
ListReportDefinitions, listReportDefinitions_nextToken - The token value from a previous call to access the next page of results.
Request Lenses
listReportDefinitions_maxResults :: Lens' ListReportDefinitions (Maybe Natural) Source #
The maximum number of results to return.
listReportDefinitions_nextToken :: Lens' ListReportDefinitions (Maybe Text) Source #
The token value from a previous call to access the next page of results.
Destructuring the Response
data ListReportDefinitionsResponse Source #
See: newListReportDefinitionsResponse smart constructor.
Constructors
| ListReportDefinitionsResponse' | |
Fields
| |
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:
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.