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 list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.
This operation returns paginated results.
Synopsis
- data ListBillingGroups = ListBillingGroups' {}
- newListBillingGroups :: ListBillingGroups
- listBillingGroups_billingPeriod :: Lens' ListBillingGroups (Maybe Text)
- listBillingGroups_filters :: Lens' ListBillingGroups (Maybe ListBillingGroupsFilter)
- listBillingGroups_maxResults :: Lens' ListBillingGroups (Maybe Natural)
- listBillingGroups_nextToken :: Lens' ListBillingGroups (Maybe Text)
- data ListBillingGroupsResponse = ListBillingGroupsResponse' {}
- newListBillingGroupsResponse :: Int -> ListBillingGroupsResponse
- listBillingGroupsResponse_billingGroups :: Lens' ListBillingGroupsResponse (Maybe [BillingGroupListElement])
- listBillingGroupsResponse_nextToken :: Lens' ListBillingGroupsResponse (Maybe Text)
- listBillingGroupsResponse_httpStatus :: Lens' ListBillingGroupsResponse Int
Creating a Request
data ListBillingGroups Source #
See: newListBillingGroups
smart constructor.
ListBillingGroups' | |
|
Instances
newListBillingGroups :: ListBillingGroups Source #
Create a value of ListBillingGroups
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:ListBillingGroups'
, listBillingGroups_billingPeriod
- The preferred billing period to get billing groups.
$sel:filters:ListBillingGroups'
, listBillingGroups_filters
- A ListBillingGroupsFilter
that specifies the billing group and pricing
plan to retrieve billing group information.
$sel:maxResults:ListBillingGroups'
, listBillingGroups_maxResults
- The maximum number of billing groups to retrieve.
ListBillingGroups
, listBillingGroups_nextToken
- The pagination token that's used on subsequent calls to get billing
groups.
Request Lenses
listBillingGroups_billingPeriod :: Lens' ListBillingGroups (Maybe Text) Source #
The preferred billing period to get billing groups.
listBillingGroups_filters :: Lens' ListBillingGroups (Maybe ListBillingGroupsFilter) Source #
A ListBillingGroupsFilter
that specifies the billing group and pricing
plan to retrieve billing group information.
listBillingGroups_maxResults :: Lens' ListBillingGroups (Maybe Natural) Source #
The maximum number of billing groups to retrieve.
listBillingGroups_nextToken :: Lens' ListBillingGroups (Maybe Text) Source #
The pagination token that's used on subsequent calls to get billing groups.
Destructuring the Response
data ListBillingGroupsResponse Source #
See: newListBillingGroupsResponse
smart constructor.
ListBillingGroupsResponse' | |
|
Instances
newListBillingGroupsResponse Source #
Create a value of ListBillingGroupsResponse
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:
ListBillingGroupsResponse
, listBillingGroupsResponse_billingGroups
- A list of BillingGroupListElement
retrieved.
ListBillingGroups
, listBillingGroupsResponse_nextToken
- The pagination token that's used on subsequent calls to get billing
groups.
$sel:httpStatus:ListBillingGroupsResponse'
, listBillingGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listBillingGroupsResponse_billingGroups :: Lens' ListBillingGroupsResponse (Maybe [BillingGroupListElement]) Source #
A list of BillingGroupListElement
retrieved.
listBillingGroupsResponse_nextToken :: Lens' ListBillingGroupsResponse (Maybe Text) Source #
The pagination token that's used on subsequent calls to get billing groups.
listBillingGroupsResponse_httpStatus :: Lens' ListBillingGroupsResponse Int Source #
The response's http status code.