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 |
List the resources that are associated to a custom line item.
This operation returns paginated results.
Synopsis
- data ListResourcesAssociatedToCustomLineItem = ListResourcesAssociatedToCustomLineItem' {}
- newListResourcesAssociatedToCustomLineItem :: Text -> ListResourcesAssociatedToCustomLineItem
- listResourcesAssociatedToCustomLineItem_billingPeriod :: Lens' ListResourcesAssociatedToCustomLineItem (Maybe Text)
- listResourcesAssociatedToCustomLineItem_filters :: Lens' ListResourcesAssociatedToCustomLineItem (Maybe ListResourcesAssociatedToCustomLineItemFilter)
- listResourcesAssociatedToCustomLineItem_maxResults :: Lens' ListResourcesAssociatedToCustomLineItem (Maybe Natural)
- listResourcesAssociatedToCustomLineItem_nextToken :: Lens' ListResourcesAssociatedToCustomLineItem (Maybe Text)
- listResourcesAssociatedToCustomLineItem_arn :: Lens' ListResourcesAssociatedToCustomLineItem Text
- data ListResourcesAssociatedToCustomLineItemResponse = ListResourcesAssociatedToCustomLineItemResponse' {}
- newListResourcesAssociatedToCustomLineItemResponse :: Int -> ListResourcesAssociatedToCustomLineItemResponse
- listResourcesAssociatedToCustomLineItemResponse_arn :: Lens' ListResourcesAssociatedToCustomLineItemResponse (Maybe Text)
- listResourcesAssociatedToCustomLineItemResponse_associatedResources :: Lens' ListResourcesAssociatedToCustomLineItemResponse (Maybe [ListResourcesAssociatedToCustomLineItemResponseElement])
- listResourcesAssociatedToCustomLineItemResponse_nextToken :: Lens' ListResourcesAssociatedToCustomLineItemResponse (Maybe Text)
- listResourcesAssociatedToCustomLineItemResponse_httpStatus :: Lens' ListResourcesAssociatedToCustomLineItemResponse Int
Creating a Request
data ListResourcesAssociatedToCustomLineItem Source #
See: newListResourcesAssociatedToCustomLineItem
smart constructor.
ListResourcesAssociatedToCustomLineItem' | |
|
Instances
newListResourcesAssociatedToCustomLineItem Source #
Create a value of ListResourcesAssociatedToCustomLineItem
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:ListResourcesAssociatedToCustomLineItem'
, listResourcesAssociatedToCustomLineItem_billingPeriod
- The billing period for which the resource associations will be listed.
$sel:filters:ListResourcesAssociatedToCustomLineItem'
, listResourcesAssociatedToCustomLineItem_filters
- (Optional) A ListResourcesAssociatedToCustomLineItemFilter
that can
specify the types of resources that should be retrieved.
$sel:maxResults:ListResourcesAssociatedToCustomLineItem'
, listResourcesAssociatedToCustomLineItem_maxResults
- (Optional) The maximum number of resource associations to be retrieved.
ListResourcesAssociatedToCustomLineItem
, listResourcesAssociatedToCustomLineItem_nextToken
- (Optional) The pagination token that's returned by a previous request.
ListResourcesAssociatedToCustomLineItem
, listResourcesAssociatedToCustomLineItem_arn
- The ARN of the custom line item for which the resource associations will
be listed.
Request Lenses
listResourcesAssociatedToCustomLineItem_billingPeriod :: Lens' ListResourcesAssociatedToCustomLineItem (Maybe Text) Source #
The billing period for which the resource associations will be listed.
listResourcesAssociatedToCustomLineItem_filters :: Lens' ListResourcesAssociatedToCustomLineItem (Maybe ListResourcesAssociatedToCustomLineItemFilter) Source #
(Optional) A ListResourcesAssociatedToCustomLineItemFilter
that can
specify the types of resources that should be retrieved.
listResourcesAssociatedToCustomLineItem_maxResults :: Lens' ListResourcesAssociatedToCustomLineItem (Maybe Natural) Source #
(Optional) The maximum number of resource associations to be retrieved.
listResourcesAssociatedToCustomLineItem_nextToken :: Lens' ListResourcesAssociatedToCustomLineItem (Maybe Text) Source #
(Optional) The pagination token that's returned by a previous request.
listResourcesAssociatedToCustomLineItem_arn :: Lens' ListResourcesAssociatedToCustomLineItem Text Source #
The ARN of the custom line item for which the resource associations will be listed.
Destructuring the Response
data ListResourcesAssociatedToCustomLineItemResponse Source #
See: newListResourcesAssociatedToCustomLineItemResponse
smart constructor.
ListResourcesAssociatedToCustomLineItemResponse' | |
|
Instances
newListResourcesAssociatedToCustomLineItemResponse Source #
:: Int |
|
-> ListResourcesAssociatedToCustomLineItemResponse |
Create a value of ListResourcesAssociatedToCustomLineItemResponse
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:
ListResourcesAssociatedToCustomLineItem
, listResourcesAssociatedToCustomLineItemResponse_arn
- The custom line item ARN for which the resource associations are listed.
$sel:associatedResources:ListResourcesAssociatedToCustomLineItemResponse'
, listResourcesAssociatedToCustomLineItemResponse_associatedResources
- A list of ListResourcesAssociatedToCustomLineItemResponseElement
for
each resource association retrieved.
ListResourcesAssociatedToCustomLineItem
, listResourcesAssociatedToCustomLineItemResponse_nextToken
- The pagination token to be used in subsequent requests to retrieve
additional results.
$sel:httpStatus:ListResourcesAssociatedToCustomLineItemResponse'
, listResourcesAssociatedToCustomLineItemResponse_httpStatus
- The response's http status code.
Response Lenses
listResourcesAssociatedToCustomLineItemResponse_arn :: Lens' ListResourcesAssociatedToCustomLineItemResponse (Maybe Text) Source #
The custom line item ARN for which the resource associations are listed.
listResourcesAssociatedToCustomLineItemResponse_associatedResources :: Lens' ListResourcesAssociatedToCustomLineItemResponse (Maybe [ListResourcesAssociatedToCustomLineItemResponseElement]) Source #
A list of ListResourcesAssociatedToCustomLineItemResponseElement
for
each resource association retrieved.
listResourcesAssociatedToCustomLineItemResponse_nextToken :: Lens' ListResourcesAssociatedToCustomLineItemResponse (Maybe Text) Source #
The pagination token to be used in subsequent requests to retrieve additional results.
listResourcesAssociatedToCustomLineItemResponse_httpStatus :: Lens' ListResourcesAssociatedToCustomLineItemResponse Int Source #
The response's http status code.