amazonka-billingconductor-2.0: Amazon BillingConductor SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

Description

List the resources that are associated to a custom line item.

This operation returns paginated results.

Synopsis

Creating a Request

data ListResourcesAssociatedToCustomLineItem Source #

Constructors

ListResourcesAssociatedToCustomLineItem' 

Fields

Instances

Instances details
ToJSON ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

ToHeaders ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

ToPath ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

ToQuery ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

AWSPager ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

AWSRequest ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

Generic ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

Read ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

Show ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

NFData ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

Eq ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

Hashable ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

type AWSResponse ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

type Rep ListResourcesAssociatedToCustomLineItem Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

type Rep ListResourcesAssociatedToCustomLineItem = D1 ('MetaData "ListResourcesAssociatedToCustomLineItem" "Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "ListResourcesAssociatedToCustomLineItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "billingPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ListResourcesAssociatedToCustomLineItemFilter))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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 #

Constructors

ListResourcesAssociatedToCustomLineItemResponse' 

Fields

Instances

Instances details
Generic ListResourcesAssociatedToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

Read ListResourcesAssociatedToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

Show ListResourcesAssociatedToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

NFData ListResourcesAssociatedToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

Eq ListResourcesAssociatedToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

type Rep ListResourcesAssociatedToCustomLineItemResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem

type Rep ListResourcesAssociatedToCustomLineItemResponse = D1 ('MetaData "ListResourcesAssociatedToCustomLineItemResponse" "Amazonka.BillingConductor.ListResourcesAssociatedToCustomLineItem" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "ListResourcesAssociatedToCustomLineItemResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "associatedResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ListResourcesAssociatedToCustomLineItemResponseElement]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListResourcesAssociatedToCustomLineItemResponse Source #

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_nextToken :: Lens' ListResourcesAssociatedToCustomLineItemResponse (Maybe Text) Source #

The pagination token to be used in subsequent requests to retrieve additional results.