amazonka-opensearch-2.0: Amazon OpenSearch Service 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.OpenSearch.Types.ReservedInstanceOffering

Description

 
Synopsis

Documentation

data ReservedInstanceOffering Source #

Details of an OpenSearch Reserved Instance offering.

See: newReservedInstanceOffering smart constructor.

Constructors

ReservedInstanceOffering' 

Fields

Instances

Instances details
FromJSON ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

Generic ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

Associated Types

type Rep ReservedInstanceOffering :: Type -> Type #

Read ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

Show ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

NFData ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

Eq ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

Hashable ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

type Rep ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

type Rep ReservedInstanceOffering = D1 ('MetaData "ReservedInstanceOffering" "Amazonka.OpenSearch.Types.ReservedInstanceOffering" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "ReservedInstanceOffering'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "fixedPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenSearchPartitionInstanceType)))) :*: ((S1 ('MetaSel ('Just "paymentOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservedInstancePaymentOption)) :*: S1 ('MetaSel ('Just "recurringCharges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecurringCharge]))) :*: (S1 ('MetaSel ('Just "reservedInstanceOfferingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "usagePrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))))

newReservedInstanceOffering :: ReservedInstanceOffering Source #

Create a value of ReservedInstanceOffering 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:currencyCode:ReservedInstanceOffering', reservedInstanceOffering_currencyCode - The currency code for the Reserved Instance offering.

$sel:duration:ReservedInstanceOffering', reservedInstanceOffering_duration - The duration, in seconds, for which the offering will reserve the OpenSearch instance.

$sel:fixedPrice:ReservedInstanceOffering', reservedInstanceOffering_fixedPrice - The upfront fixed charge you will pay to purchase the specific Reserved Instance offering.

$sel:instanceType:ReservedInstanceOffering', reservedInstanceOffering_instanceType - The OpenSearch instance type offered by the Reserved Instance offering.

$sel:paymentOption:ReservedInstanceOffering', reservedInstanceOffering_paymentOption - Payment option for the Reserved Instance offering

$sel:recurringCharges:ReservedInstanceOffering', reservedInstanceOffering_recurringCharges - The recurring charge to your account, regardless of whether you creates any domains using the offering.

$sel:reservedInstanceOfferingId:ReservedInstanceOffering', reservedInstanceOffering_reservedInstanceOfferingId - The unique identifier of the Reserved Instance offering.

$sel:usagePrice:ReservedInstanceOffering', reservedInstanceOffering_usagePrice - The hourly rate at which you're charged for the domain using this Reserved Instance.

reservedInstanceOffering_currencyCode :: Lens' ReservedInstanceOffering (Maybe Text) Source #

The currency code for the Reserved Instance offering.

reservedInstanceOffering_duration :: Lens' ReservedInstanceOffering (Maybe Int) Source #

The duration, in seconds, for which the offering will reserve the OpenSearch instance.

reservedInstanceOffering_fixedPrice :: Lens' ReservedInstanceOffering (Maybe Double) Source #

The upfront fixed charge you will pay to purchase the specific Reserved Instance offering.

reservedInstanceOffering_instanceType :: Lens' ReservedInstanceOffering (Maybe OpenSearchPartitionInstanceType) Source #

The OpenSearch instance type offered by the Reserved Instance offering.

reservedInstanceOffering_recurringCharges :: Lens' ReservedInstanceOffering (Maybe [RecurringCharge]) Source #

The recurring charge to your account, regardless of whether you creates any domains using the offering.

reservedInstanceOffering_reservedInstanceOfferingId :: Lens' ReservedInstanceOffering (Maybe Text) Source #

The unique identifier of the Reserved Instance offering.

reservedInstanceOffering_usagePrice :: Lens' ReservedInstanceOffering (Maybe Double) Source #

The hourly rate at which you're charged for the domain using this Reserved Instance.