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.Types.PricingRuleListElement

Description

 
Synopsis

Documentation

data PricingRuleListElement Source #

A representation of a pricing rule.

See: newPricingRuleListElement smart constructor.

Constructors

PricingRuleListElement' 

Fields

Instances

Instances details
FromJSON PricingRuleListElement Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.PricingRuleListElement

Generic PricingRuleListElement Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.PricingRuleListElement

Associated Types

type Rep PricingRuleListElement :: Type -> Type #

Show PricingRuleListElement Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.PricingRuleListElement

NFData PricingRuleListElement Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.PricingRuleListElement

Methods

rnf :: PricingRuleListElement -> () #

Eq PricingRuleListElement Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.PricingRuleListElement

Hashable PricingRuleListElement Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.PricingRuleListElement

type Rep PricingRuleListElement Source # 
Instance details

Defined in Amazonka.BillingConductor.Types.PricingRuleListElement

type Rep PricingRuleListElement = D1 ('MetaData "PricingRuleListElement" "Amazonka.BillingConductor.Types.PricingRuleListElement" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "PricingRuleListElement'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "associatedPricingPlanCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "billingEntity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) :*: ((S1 ('MetaSel ('Just "modifierPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingRuleScope)))) :*: (S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tiering") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Tiering)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingRuleType)))))))

newPricingRuleListElement :: PricingRuleListElement Source #

Create a value of PricingRuleListElement 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:arn:PricingRuleListElement', pricingRuleListElement_arn - The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.

$sel:associatedPricingPlanCount:PricingRuleListElement', pricingRuleListElement_associatedPricingPlanCount - The pricing plans count that this pricing rule is associated with.

$sel:billingEntity:PricingRuleListElement', pricingRuleListElement_billingEntity - The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.

$sel:creationTime:PricingRuleListElement', pricingRuleListElement_creationTime - The time when the pricing rule was created.

$sel:description:PricingRuleListElement', pricingRuleListElement_description - The pricing rule description.

$sel:lastModifiedTime:PricingRuleListElement', pricingRuleListElement_lastModifiedTime - The most recent time when the pricing rule was modified.

$sel:modifierPercentage:PricingRuleListElement', pricingRuleListElement_modifierPercentage - A percentage modifier applied on the public pricing rates.

$sel:name:PricingRuleListElement', pricingRuleListElement_name - The name of a pricing rule.

$sel:scope:PricingRuleListElement', pricingRuleListElement_scope - The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.

$sel:service:PricingRuleListElement', pricingRuleListElement_service - If the Scope attribute is SERVICE, this attribute indicates which service the PricingRule is applicable for.

$sel:tiering:PricingRuleListElement', pricingRuleListElement_tiering - The set of tiering configurations for the pricing rule.

$sel:type':PricingRuleListElement', pricingRuleListElement_type - The type of pricing rule.

pricingRuleListElement_arn :: Lens' PricingRuleListElement (Maybe Text) Source #

The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.

pricingRuleListElement_associatedPricingPlanCount :: Lens' PricingRuleListElement (Maybe Natural) Source #

The pricing plans count that this pricing rule is associated with.

pricingRuleListElement_billingEntity :: Lens' PricingRuleListElement (Maybe Text) Source #

The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.

pricingRuleListElement_creationTime :: Lens' PricingRuleListElement (Maybe Integer) Source #

The time when the pricing rule was created.

pricingRuleListElement_lastModifiedTime :: Lens' PricingRuleListElement (Maybe Integer) Source #

The most recent time when the pricing rule was modified.

pricingRuleListElement_modifierPercentage :: Lens' PricingRuleListElement (Maybe Double) Source #

A percentage modifier applied on the public pricing rates.

pricingRuleListElement_scope :: Lens' PricingRuleListElement (Maybe PricingRuleScope) Source #

The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.

pricingRuleListElement_service :: Lens' PricingRuleListElement (Maybe Text) Source #

If the Scope attribute is SERVICE, this attribute indicates which service the PricingRule is applicable for.

pricingRuleListElement_tiering :: Lens' PricingRuleListElement (Maybe Tiering) Source #

The set of tiering configurations for the pricing rule.