libZSservicesZSamazonka-opensearchZSamazonka-opensearch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpenSearch.Types.ReservedInstanceOffering

Description

 
Synopsis

Documentation

data ReservedInstanceOffering Source #

Details of a reserved OpenSearch instance offering.

See: newReservedInstanceOffering smart constructor.

Constructors

ReservedInstanceOffering' 

Fields

Instances

Instances details
Eq ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

Read ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

Show 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 #

NFData ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

Hashable ReservedInstanceOffering Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstanceOffering

FromJSON 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" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "ReservedInstanceOffering'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenSearchPartitionInstanceType))) :*: (S1 ('MetaSel ('Just "recurringCharges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecurringCharge])) :*: S1 ('MetaSel ('Just "usagePrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: ((S1 ('MetaSel ('Just "reservedInstanceOfferingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fixedPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "paymentOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservedInstancePaymentOption))))))

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 OpenSearch instance offering.

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

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

$sel:usagePrice:ReservedInstanceOffering', reservedInstanceOffering_usagePrice - The rate you are charged for each hour the domain that is using the offering is running.

$sel:reservedInstanceOfferingId:ReservedInstanceOffering', reservedInstanceOffering_reservedInstanceOfferingId - The OpenSearch reserved instance offering identifier.

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

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

$sel:paymentOption:ReservedInstanceOffering', reservedInstanceOffering_paymentOption - Payment option for the reserved OpenSearch instance offering

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

The currency code for the reserved OpenSearch 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 charge to your account regardless of whether you are creating any domains using the instance offering.

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

The rate you are charged for each hour the domain that is using the offering is running.

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

The OpenSearch reserved instance offering identifier.

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

The upfront fixed charge you will pay to purchase the specific reserved OpenSearch instance offering.

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

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