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.ListPricingRulesAssociatedToPricingPlan

Description

Lists the pricing rules that are associated with a pricing plan.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPricingRulesAssociatedToPricingPlan Source #

Constructors

ListPricingRulesAssociatedToPricingPlan' 

Fields

Instances

Instances details
ToJSON ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

ToHeaders ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

ToPath ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

ToQuery ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

AWSPager ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

AWSRequest ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

Generic ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

Read ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

Show ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

NFData ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

Eq ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

Hashable ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

type AWSResponse ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

type Rep ListPricingRulesAssociatedToPricingPlan Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

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

newListPricingRulesAssociatedToPricingPlan Source #

Create a value of ListPricingRulesAssociatedToPricingPlan 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:

ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlan_billingPeriod - The billing period for which the pricing rule associations are to be listed.

$sel:maxResults:ListPricingRulesAssociatedToPricingPlan', listPricingRulesAssociatedToPricingPlan_maxResults - The optional maximum number of pricing rule associations to retrieve.

ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlan_nextToken - The optional pagination token returned by a previous call.

ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlan_pricingPlanArn - The Amazon Resource Name (ARN) of the pricing plan for which associations are to be listed.

Request Lenses

listPricingRulesAssociatedToPricingPlan_billingPeriod :: Lens' ListPricingRulesAssociatedToPricingPlan (Maybe Text) Source #

The billing period for which the pricing rule associations are to be listed.

listPricingRulesAssociatedToPricingPlan_maxResults :: Lens' ListPricingRulesAssociatedToPricingPlan (Maybe Natural) Source #

The optional maximum number of pricing rule associations to retrieve.

listPricingRulesAssociatedToPricingPlan_pricingPlanArn :: Lens' ListPricingRulesAssociatedToPricingPlan Text Source #

The Amazon Resource Name (ARN) of the pricing plan for which associations are to be listed.

Destructuring the Response

data ListPricingRulesAssociatedToPricingPlanResponse Source #

Constructors

ListPricingRulesAssociatedToPricingPlanResponse' 

Fields

Instances

Instances details
Generic ListPricingRulesAssociatedToPricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

Read ListPricingRulesAssociatedToPricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

Show ListPricingRulesAssociatedToPricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

NFData ListPricingRulesAssociatedToPricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

Eq ListPricingRulesAssociatedToPricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

type Rep ListPricingRulesAssociatedToPricingPlanResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan

type Rep ListPricingRulesAssociatedToPricingPlanResponse = D1 ('MetaData "ListPricingRulesAssociatedToPricingPlanResponse" "Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "ListPricingRulesAssociatedToPricingPlanResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "billingPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "pricingPlanArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pricingRuleArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newListPricingRulesAssociatedToPricingPlanResponse Source #

Create a value of ListPricingRulesAssociatedToPricingPlanResponse 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:

ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlanResponse_billingPeriod - The billing period for which the pricing rule associations are listed.

ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlanResponse_nextToken - The pagination token to be used on subsequent calls.

ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlanResponse_pricingPlanArn - The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.

$sel:pricingRuleArns:ListPricingRulesAssociatedToPricingPlanResponse', listPricingRulesAssociatedToPricingPlanResponse_pricingRuleArns - A list containing pricing rules that are associated with the requested pricing plan.

$sel:httpStatus:ListPricingRulesAssociatedToPricingPlanResponse', listPricingRulesAssociatedToPricingPlanResponse_httpStatus - The response's http status code.

Response Lenses

listPricingRulesAssociatedToPricingPlanResponse_pricingPlanArn :: Lens' ListPricingRulesAssociatedToPricingPlanResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.

listPricingRulesAssociatedToPricingPlanResponse_pricingRuleArns :: Lens' ListPricingRulesAssociatedToPricingPlanResponse (Maybe (NonEmpty Text)) Source #

A list containing pricing rules that are associated with the requested pricing plan.