amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.RecurringCharge

Description

 
Synopsis

Documentation

data RecurringCharge Source #

Describes a recurring charge.

See: newRecurringCharge smart constructor.

Constructors

RecurringCharge' 

Fields

Instances

Instances details
FromXML RecurringCharge Source # 
Instance details

Defined in Amazonka.EC2.Types.RecurringCharge

Generic RecurringCharge Source # 
Instance details

Defined in Amazonka.EC2.Types.RecurringCharge

Associated Types

type Rep RecurringCharge :: Type -> Type #

Read RecurringCharge Source # 
Instance details

Defined in Amazonka.EC2.Types.RecurringCharge

Show RecurringCharge Source # 
Instance details

Defined in Amazonka.EC2.Types.RecurringCharge

NFData RecurringCharge Source # 
Instance details

Defined in Amazonka.EC2.Types.RecurringCharge

Methods

rnf :: RecurringCharge -> () #

Eq RecurringCharge Source # 
Instance details

Defined in Amazonka.EC2.Types.RecurringCharge

Hashable RecurringCharge Source # 
Instance details

Defined in Amazonka.EC2.Types.RecurringCharge

type Rep RecurringCharge Source # 
Instance details

Defined in Amazonka.EC2.Types.RecurringCharge

type Rep RecurringCharge = D1 ('MetaData "RecurringCharge" "Amazonka.EC2.Types.RecurringCharge" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "RecurringCharge'" 'PrefixI 'True) (S1 ('MetaSel ('Just "amount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "frequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecurringChargeFrequency))))

newRecurringCharge :: RecurringCharge Source #

Create a value of RecurringCharge 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:amount:RecurringCharge', recurringCharge_amount - The amount of the recurring charge.

$sel:frequency:RecurringCharge', recurringCharge_frequency - The frequency of the recurring charge.

recurringCharge_amount :: Lens' RecurringCharge (Maybe Double) Source #

The amount of the recurring charge.