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 |
Lists the AWS Cost and Usage reports available to this account.
This operation returns paginated results.
Synopsis
- data DescribeReportDefinitions = DescribeReportDefinitions' {}
- newDescribeReportDefinitions :: DescribeReportDefinitions
- describeReportDefinitions_maxResults :: Lens' DescribeReportDefinitions (Maybe Natural)
- describeReportDefinitions_nextToken :: Lens' DescribeReportDefinitions (Maybe Text)
- data DescribeReportDefinitionsResponse = DescribeReportDefinitionsResponse' {}
- newDescribeReportDefinitionsResponse :: Int -> DescribeReportDefinitionsResponse
- describeReportDefinitionsResponse_nextToken :: Lens' DescribeReportDefinitionsResponse (Maybe Text)
- describeReportDefinitionsResponse_reportDefinitions :: Lens' DescribeReportDefinitionsResponse (Maybe [ReportDefinition])
- describeReportDefinitionsResponse_httpStatus :: Lens' DescribeReportDefinitionsResponse Int
Creating a Request
data DescribeReportDefinitions Source #
Requests a list of AWS Cost and Usage reports owned by the account.
See: newDescribeReportDefinitions
smart constructor.
Instances
newDescribeReportDefinitions :: DescribeReportDefinitions Source #
Create a value of DescribeReportDefinitions
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:DescribeReportDefinitions'
, describeReportDefinitions_maxResults
- Undocumented member.
DescribeReportDefinitions
, describeReportDefinitions_nextToken
- Undocumented member.
Request Lenses
describeReportDefinitions_maxResults :: Lens' DescribeReportDefinitions (Maybe Natural) Source #
Undocumented member.
describeReportDefinitions_nextToken :: Lens' DescribeReportDefinitions (Maybe Text) Source #
Undocumented member.
Destructuring the Response
data DescribeReportDefinitionsResponse Source #
If the action is successful, the service sends back an HTTP 200 response.
See: newDescribeReportDefinitionsResponse
smart constructor.
DescribeReportDefinitionsResponse' | |
|
Instances
newDescribeReportDefinitionsResponse Source #
Create a value of DescribeReportDefinitionsResponse
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:
DescribeReportDefinitions
, describeReportDefinitionsResponse_nextToken
- Undocumented member.
$sel:reportDefinitions:DescribeReportDefinitionsResponse'
, describeReportDefinitionsResponse_reportDefinitions
- A list of AWS Cost and Usage reports owned by the account.
$sel:httpStatus:DescribeReportDefinitionsResponse'
, describeReportDefinitionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeReportDefinitionsResponse_nextToken :: Lens' DescribeReportDefinitionsResponse (Maybe Text) Source #
Undocumented member.
describeReportDefinitionsResponse_reportDefinitions :: Lens' DescribeReportDefinitionsResponse (Maybe [ReportDefinition]) Source #
A list of AWS Cost and Usage reports owned by the account.
describeReportDefinitionsResponse_httpStatus :: Lens' DescribeReportDefinitionsResponse Int Source #
The response's http status code.