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

Description

A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPricingPlans Source #

See: newListPricingPlans smart constructor.

Constructors

ListPricingPlans' 

Fields

Instances

Instances details
ToJSON ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

ToHeaders ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

ToPath ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

ToQuery ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

AWSPager ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

AWSRequest ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

Associated Types

type AWSResponse ListPricingPlans #

Generic ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

Associated Types

type Rep ListPricingPlans :: Type -> Type #

Read ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

Show ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

NFData ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

Methods

rnf :: ListPricingPlans -> () #

Eq ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

Hashable ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

type AWSResponse ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

type Rep ListPricingPlans Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

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

newListPricingPlans :: ListPricingPlans Source #

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

ListPricingPlans, listPricingPlans_billingPeriod - The preferred billing period to get pricing plan.

$sel:filters:ListPricingPlans', listPricingPlans_filters - A ListPricingPlansFilter that specifies the Amazon Resource Name (ARNs) of pricing plans to retrieve pricing plans information.

$sel:maxResults:ListPricingPlans', listPricingPlans_maxResults - The maximum number of pricing plans to retrieve.

ListPricingPlans, listPricingPlans_nextToken - The pagination token that's used on subsequent call to get pricing plans.

Request Lenses

listPricingPlans_billingPeriod :: Lens' ListPricingPlans (Maybe Text) Source #

The preferred billing period to get pricing plan.

listPricingPlans_filters :: Lens' ListPricingPlans (Maybe ListPricingPlansFilter) Source #

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

listPricingPlans_maxResults :: Lens' ListPricingPlans (Maybe Natural) Source #

The maximum number of pricing plans to retrieve.

listPricingPlans_nextToken :: Lens' ListPricingPlans (Maybe Text) Source #

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

Destructuring the Response

data ListPricingPlansResponse Source #

See: newListPricingPlansResponse smart constructor.

Constructors

ListPricingPlansResponse' 

Fields

Instances

Instances details
Generic ListPricingPlansResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

Associated Types

type Rep ListPricingPlansResponse :: Type -> Type #

Show ListPricingPlansResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

NFData ListPricingPlansResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

Eq ListPricingPlansResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

type Rep ListPricingPlansResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.ListPricingPlans

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

newListPricingPlansResponse Source #

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

ListPricingPlans, listPricingPlansResponse_billingPeriod - The billing period for which the described pricing plans are applicable.

ListPricingPlans, listPricingPlansResponse_nextToken - The pagination token that's used on subsequent calls to get pricing plans.

$sel:pricingPlans:ListPricingPlansResponse', listPricingPlansResponse_pricingPlans - A list of PricingPlanListElement retrieved.

$sel:httpStatus:ListPricingPlansResponse', listPricingPlansResponse_httpStatus - The response's http status code.

Response Lenses

listPricingPlansResponse_billingPeriod :: Lens' ListPricingPlansResponse (Maybe Text) Source #

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

listPricingPlansResponse_nextToken :: Lens' ListPricingPlansResponse (Maybe Text) Source #

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