| 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.BillingConductor.ListCustomLineItems
Description
A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.
This operation returns paginated results.
Synopsis
- data ListCustomLineItems = ListCustomLineItems' {}
- newListCustomLineItems :: ListCustomLineItems
- listCustomLineItems_billingPeriod :: Lens' ListCustomLineItems (Maybe Text)
- listCustomLineItems_filters :: Lens' ListCustomLineItems (Maybe ListCustomLineItemsFilter)
- listCustomLineItems_maxResults :: Lens' ListCustomLineItems (Maybe Natural)
- listCustomLineItems_nextToken :: Lens' ListCustomLineItems (Maybe Text)
- data ListCustomLineItemsResponse = ListCustomLineItemsResponse' {}
- newListCustomLineItemsResponse :: Int -> ListCustomLineItemsResponse
- listCustomLineItemsResponse_customLineItems :: Lens' ListCustomLineItemsResponse (Maybe [CustomLineItemListElement])
- listCustomLineItemsResponse_nextToken :: Lens' ListCustomLineItemsResponse (Maybe Text)
- listCustomLineItemsResponse_httpStatus :: Lens' ListCustomLineItemsResponse Int
Creating a Request
data ListCustomLineItems Source #
See: newListCustomLineItems smart constructor.
Constructors
| ListCustomLineItems' | |
Fields
| |
Instances
newListCustomLineItems :: ListCustomLineItems Source #
Create a value of ListCustomLineItems 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:ListCustomLineItems', listCustomLineItems_billingPeriod - The preferred billing period to get custom line items (FFLIs).
$sel:filters:ListCustomLineItems', listCustomLineItems_filters - A ListCustomLineItemsFilter that specifies the custom line item names
and/or billing group Amazon Resource Names (ARNs) to retrieve FFLI
information.
$sel:maxResults:ListCustomLineItems', listCustomLineItems_maxResults - The maximum number of billing groups to retrieve.
ListCustomLineItems, listCustomLineItems_nextToken - The pagination token that's used on subsequent calls to get custom line
items (FFLIs).
Request Lenses
listCustomLineItems_billingPeriod :: Lens' ListCustomLineItems (Maybe Text) Source #
The preferred billing period to get custom line items (FFLIs).
listCustomLineItems_filters :: Lens' ListCustomLineItems (Maybe ListCustomLineItemsFilter) Source #
A ListCustomLineItemsFilter that specifies the custom line item names
and/or billing group Amazon Resource Names (ARNs) to retrieve FFLI
information.
listCustomLineItems_maxResults :: Lens' ListCustomLineItems (Maybe Natural) Source #
The maximum number of billing groups to retrieve.
listCustomLineItems_nextToken :: Lens' ListCustomLineItems (Maybe Text) Source #
The pagination token that's used on subsequent calls to get custom line items (FFLIs).
Destructuring the Response
data ListCustomLineItemsResponse Source #
See: newListCustomLineItemsResponse smart constructor.
Constructors
| ListCustomLineItemsResponse' | |
Fields
| |
Instances
newListCustomLineItemsResponse Source #
Create a value of ListCustomLineItemsResponse 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:customLineItems:ListCustomLineItemsResponse', listCustomLineItemsResponse_customLineItems - A list of FreeFormLineItemListElements received.
ListCustomLineItems, listCustomLineItemsResponse_nextToken - The pagination token that's used on subsequent calls to get custom line
items (FFLIs).
$sel:httpStatus:ListCustomLineItemsResponse', listCustomLineItemsResponse_httpStatus - The response's http status code.
Response Lenses
listCustomLineItemsResponse_customLineItems :: Lens' ListCustomLineItemsResponse (Maybe [CustomLineItemListElement]) Source #
A list of FreeFormLineItemListElements received.
listCustomLineItemsResponse_nextToken :: Lens' ListCustomLineItemsResponse (Maybe Text) Source #
The pagination token that's used on subsequent calls to get custom line items (FFLIs).
listCustomLineItemsResponse_httpStatus :: Lens' ListCustomLineItemsResponse Int Source #
The response's http status code.