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 |
A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.
This operation returns paginated results.
Synopsis
- data ListBillingGroupCostReports = ListBillingGroupCostReports' {}
- newListBillingGroupCostReports :: ListBillingGroupCostReports
- listBillingGroupCostReports_billingPeriod :: Lens' ListBillingGroupCostReports (Maybe Text)
- listBillingGroupCostReports_filters :: Lens' ListBillingGroupCostReports (Maybe ListBillingGroupCostReportsFilter)
- listBillingGroupCostReports_maxResults :: Lens' ListBillingGroupCostReports (Maybe Natural)
- listBillingGroupCostReports_nextToken :: Lens' ListBillingGroupCostReports (Maybe Text)
- data ListBillingGroupCostReportsResponse = ListBillingGroupCostReportsResponse' {}
- newListBillingGroupCostReportsResponse :: Int -> ListBillingGroupCostReportsResponse
- listBillingGroupCostReportsResponse_billingGroupCostReports :: Lens' ListBillingGroupCostReportsResponse (Maybe [BillingGroupCostReportElement])
- listBillingGroupCostReportsResponse_nextToken :: Lens' ListBillingGroupCostReportsResponse (Maybe Text)
- listBillingGroupCostReportsResponse_httpStatus :: Lens' ListBillingGroupCostReportsResponse Int
Creating a Request
data ListBillingGroupCostReports Source #
See: newListBillingGroupCostReports
smart constructor.
ListBillingGroupCostReports' | |
|
Instances
newListBillingGroupCostReports :: ListBillingGroupCostReports Source #
Create a value of ListBillingGroupCostReports
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:billingPeriod:ListBillingGroupCostReports'
, listBillingGroupCostReports_billingPeriod
- The preferred billing period for your report.
$sel:filters:ListBillingGroupCostReports'
, listBillingGroupCostReports_filters
- A ListBillingGroupCostReportsFilter
to specify billing groups to
retrieve reports from.
$sel:maxResults:ListBillingGroupCostReports'
, listBillingGroupCostReports_maxResults
- The maximum number of reports to retrieve.
ListBillingGroupCostReports
, listBillingGroupCostReports_nextToken
- The pagination token that's used on subsequent calls to get reports.
Request Lenses
listBillingGroupCostReports_billingPeriod :: Lens' ListBillingGroupCostReports (Maybe Text) Source #
The preferred billing period for your report.
listBillingGroupCostReports_filters :: Lens' ListBillingGroupCostReports (Maybe ListBillingGroupCostReportsFilter) Source #
A ListBillingGroupCostReportsFilter
to specify billing groups to
retrieve reports from.
listBillingGroupCostReports_maxResults :: Lens' ListBillingGroupCostReports (Maybe Natural) Source #
The maximum number of reports to retrieve.
listBillingGroupCostReports_nextToken :: Lens' ListBillingGroupCostReports (Maybe Text) Source #
The pagination token that's used on subsequent calls to get reports.
Destructuring the Response
data ListBillingGroupCostReportsResponse Source #
See: newListBillingGroupCostReportsResponse
smart constructor.
ListBillingGroupCostReportsResponse' | |
|
Instances
newListBillingGroupCostReportsResponse Source #
Create a value of ListBillingGroupCostReportsResponse
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:billingGroupCostReports:ListBillingGroupCostReportsResponse'
, listBillingGroupCostReportsResponse_billingGroupCostReports
- A list of BillingGroupCostReportElement
retrieved.
ListBillingGroupCostReports
, listBillingGroupCostReportsResponse_nextToken
- The pagination token that's used on subsequent calls to get reports.
$sel:httpStatus:ListBillingGroupCostReportsResponse'
, listBillingGroupCostReportsResponse_httpStatus
- The response's http status code.
Response Lenses
listBillingGroupCostReportsResponse_billingGroupCostReports :: Lens' ListBillingGroupCostReportsResponse (Maybe [BillingGroupCostReportElement]) Source #
A list of BillingGroupCostReportElement
retrieved.
listBillingGroupCostReportsResponse_nextToken :: Lens' ListBillingGroupCostReportsResponse (Maybe Text) Source #
The pagination token that's used on subsequent calls to get reports.
listBillingGroupCostReportsResponse_httpStatus :: Lens' ListBillingGroupCostReportsResponse Int Source #
The response's http status code.