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 get a list of all custom line item versions.
This operation returns paginated results.
Synopsis
- data ListCustomLineItemVersions = ListCustomLineItemVersions' {}
- newListCustomLineItemVersions :: Text -> ListCustomLineItemVersions
- listCustomLineItemVersions_filters :: Lens' ListCustomLineItemVersions (Maybe ListCustomLineItemVersionsFilter)
- listCustomLineItemVersions_maxResults :: Lens' ListCustomLineItemVersions (Maybe Natural)
- listCustomLineItemVersions_nextToken :: Lens' ListCustomLineItemVersions (Maybe Text)
- listCustomLineItemVersions_arn :: Lens' ListCustomLineItemVersions Text
- data ListCustomLineItemVersionsResponse = ListCustomLineItemVersionsResponse' {}
- newListCustomLineItemVersionsResponse :: Int -> ListCustomLineItemVersionsResponse
- listCustomLineItemVersionsResponse_customLineItemVersions :: Lens' ListCustomLineItemVersionsResponse (Maybe [CustomLineItemVersionListElement])
- listCustomLineItemVersionsResponse_nextToken :: Lens' ListCustomLineItemVersionsResponse (Maybe Text)
- listCustomLineItemVersionsResponse_httpStatus :: Lens' ListCustomLineItemVersionsResponse Int
Creating a Request
data ListCustomLineItemVersions Source #
See: newListCustomLineItemVersions
smart constructor.
ListCustomLineItemVersions' | |
|
Instances
newListCustomLineItemVersions Source #
Create a value of ListCustomLineItemVersions
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:filters:ListCustomLineItemVersions'
, listCustomLineItemVersions_filters
- A ListCustomLineItemVersionsFilter
that specifies the billing period
range in which the custom line item versions are applied.
$sel:maxResults:ListCustomLineItemVersions'
, listCustomLineItemVersions_maxResults
- The maximum number of custom line item versions to retrieve.
ListCustomLineItemVersions
, listCustomLineItemVersions_nextToken
- The pagination token that's used on subsequent calls to retrieve custom
line item versions.
ListCustomLineItemVersions
, listCustomLineItemVersions_arn
- The Amazon Resource Name (ARN) for the custom line item.
Request Lenses
listCustomLineItemVersions_filters :: Lens' ListCustomLineItemVersions (Maybe ListCustomLineItemVersionsFilter) Source #
A ListCustomLineItemVersionsFilter
that specifies the billing period
range in which the custom line item versions are applied.
listCustomLineItemVersions_maxResults :: Lens' ListCustomLineItemVersions (Maybe Natural) Source #
The maximum number of custom line item versions to retrieve.
listCustomLineItemVersions_nextToken :: Lens' ListCustomLineItemVersions (Maybe Text) Source #
The pagination token that's used on subsequent calls to retrieve custom line item versions.
listCustomLineItemVersions_arn :: Lens' ListCustomLineItemVersions Text Source #
The Amazon Resource Name (ARN) for the custom line item.
Destructuring the Response
data ListCustomLineItemVersionsResponse Source #
See: newListCustomLineItemVersionsResponse
smart constructor.
ListCustomLineItemVersionsResponse' | |
|
Instances
newListCustomLineItemVersionsResponse Source #
Create a value of ListCustomLineItemVersionsResponse
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:customLineItemVersions:ListCustomLineItemVersionsResponse'
, listCustomLineItemVersionsResponse_customLineItemVersions
- A list of CustomLineItemVersionListElements
that are received.
ListCustomLineItemVersions
, listCustomLineItemVersionsResponse_nextToken
- The pagination token that's used on subsequent calls to retrieve custom
line item versions.
$sel:httpStatus:ListCustomLineItemVersionsResponse'
, listCustomLineItemVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listCustomLineItemVersionsResponse_customLineItemVersions :: Lens' ListCustomLineItemVersionsResponse (Maybe [CustomLineItemVersionListElement]) Source #
A list of CustomLineItemVersionListElements
that are received.
listCustomLineItemVersionsResponse_nextToken :: Lens' ListCustomLineItemVersionsResponse (Maybe Text) Source #
The pagination token that's used on subsequent calls to retrieve custom line item versions.
listCustomLineItemVersionsResponse_httpStatus :: Lens' ListCustomLineItemVersionsResponse Int Source #
The response's http status code.