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

Description

Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPricingRules Source #

See: newListPricingRules smart constructor.

Constructors

ListPricingRules' 

Fields

Instances

Instances details
ToJSON ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

ToHeaders ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

ToPath ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

ToQuery ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

AWSPager ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

AWSRequest ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

Associated Types

type AWSResponse ListPricingRules #

Generic ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

Associated Types

type Rep ListPricingRules :: Type -> Type #

Read ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

Show ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

NFData ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

Methods

rnf :: ListPricingRules -> () #

Eq ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

Hashable ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

type AWSResponse ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

type Rep ListPricingRules Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

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

newListPricingRules :: ListPricingRules Source #

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

ListPricingRules, listPricingRules_billingPeriod - The preferred billing period to get the pricing plan.

$sel:filters:ListPricingRules', listPricingRules_filters - A DescribePricingRuleFilter that specifies the Amazon Resource Name (ARNs) of pricing rules to retrieve pricing rules information.

$sel:maxResults:ListPricingRules', listPricingRules_maxResults - The maximum number of pricing rules to retrieve.

ListPricingRules, listPricingRules_nextToken - The pagination token that's used on subsequent call to get pricing rules.

Request Lenses

listPricingRules_billingPeriod :: Lens' ListPricingRules (Maybe Text) Source #

The preferred billing period to get the pricing plan.

listPricingRules_filters :: Lens' ListPricingRules (Maybe ListPricingRulesFilter) Source #

A DescribePricingRuleFilter that specifies the Amazon Resource Name (ARNs) of pricing rules to retrieve pricing rules information.

listPricingRules_maxResults :: Lens' ListPricingRules (Maybe Natural) Source #

The maximum number of pricing rules to retrieve.

listPricingRules_nextToken :: Lens' ListPricingRules (Maybe Text) Source #

The pagination token that's used on subsequent call to get pricing rules.

Destructuring the Response

data ListPricingRulesResponse Source #

See: newListPricingRulesResponse smart constructor.

Constructors

ListPricingRulesResponse' 

Fields

Instances

Instances details
Generic ListPricingRulesResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

Associated Types

type Rep ListPricingRulesResponse :: Type -> Type #

Show ListPricingRulesResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

NFData ListPricingRulesResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

Eq ListPricingRulesResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

type Rep ListPricingRulesResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingRules

type Rep ListPricingRulesResponse = D1 ('MetaData "ListPricingRulesResponse" "Amazonka.BillingConductor.ListPricingRules" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "ListPricingRulesResponse'" '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 "pricingRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PricingRuleListElement])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPricingRulesResponse Source #

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

ListPricingRules, listPricingRulesResponse_billingPeriod - The billing period for which the described pricing rules are applicable.

ListPricingRules, listPricingRulesResponse_nextToken - The pagination token that's used on subsequent calls to get pricing rules.

$sel:pricingRules:ListPricingRulesResponse', listPricingRulesResponse_pricingRules - A list containing the described pricing rules.

$sel:httpStatus:ListPricingRulesResponse', listPricingRulesResponse_httpStatus - The response's http status code.

Response Lenses

listPricingRulesResponse_billingPeriod :: Lens' ListPricingRulesResponse (Maybe Text) Source #

The billing period for which the described pricing rules are applicable.

listPricingRulesResponse_nextToken :: Lens' ListPricingRulesResponse (Maybe Text) Source #

The pagination token that's used on subsequent calls to get pricing rules.