amazonka-elasticsearch-2.0: Amazon Elasticsearch 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.ElasticSearch.Types.ReservedElasticsearchInstance

Description

 
Synopsis

Documentation

data ReservedElasticsearchInstance Source #

Details of a reserved Elasticsearch instance.

See: newReservedElasticsearchInstance smart constructor.

Constructors

ReservedElasticsearchInstance' 

Fields

Instances

Instances details
FromJSON ReservedElasticsearchInstance Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.ReservedElasticsearchInstance

Generic ReservedElasticsearchInstance Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.ReservedElasticsearchInstance

Associated Types

type Rep ReservedElasticsearchInstance :: Type -> Type #

Read ReservedElasticsearchInstance Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.ReservedElasticsearchInstance

Show ReservedElasticsearchInstance Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.ReservedElasticsearchInstance

NFData ReservedElasticsearchInstance Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.ReservedElasticsearchInstance

Eq ReservedElasticsearchInstance Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.ReservedElasticsearchInstance

Hashable ReservedElasticsearchInstance Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.ReservedElasticsearchInstance

type Rep ReservedElasticsearchInstance Source # 
Instance details

Defined in Amazonka.ElasticSearch.Types.ReservedElasticsearchInstance

type Rep ReservedElasticsearchInstance = D1 ('MetaData "ReservedElasticsearchInstance" "Amazonka.ElasticSearch.Types.ReservedElasticsearchInstance" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" 'False) (C1 ('MetaCons "ReservedElasticsearchInstance'" '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 "elasticsearchInstanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "elasticsearchInstanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ESPartitionInstanceType)) :*: (S1 ('MetaSel ('Just "fixedPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "paymentOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservedElasticsearchInstancePaymentOption))))) :*: ((S1 ('MetaSel ('Just "recurringCharges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecurringCharge])) :*: (S1 ('MetaSel ('Just "reservationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reservedElasticsearchInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "reservedElasticsearchInstanceOfferingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "usagePrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))))

newReservedElasticsearchInstance :: ReservedElasticsearchInstance Source #

Create a value of ReservedElasticsearchInstance 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:ReservedElasticsearchInstance', reservedElasticsearchInstance_currencyCode - The currency code for the reserved Elasticsearch instance offering.

$sel:duration:ReservedElasticsearchInstance', reservedElasticsearchInstance_duration - The duration, in seconds, for which the Elasticsearch instance is reserved.

$sel:elasticsearchInstanceCount:ReservedElasticsearchInstance', reservedElasticsearchInstance_elasticsearchInstanceCount - The number of Elasticsearch instances that have been reserved.

$sel:elasticsearchInstanceType:ReservedElasticsearchInstance', reservedElasticsearchInstance_elasticsearchInstanceType - The Elasticsearch instance type offered by the reserved instance offering.

$sel:fixedPrice:ReservedElasticsearchInstance', reservedElasticsearchInstance_fixedPrice - The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.

$sel:paymentOption:ReservedElasticsearchInstance', reservedElasticsearchInstance_paymentOption - The payment option as defined in the reserved Elasticsearch instance offering.

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

$sel:reservationName:ReservedElasticsearchInstance', reservedElasticsearchInstance_reservationName - The customer-specified identifier to track this reservation.

$sel:reservedElasticsearchInstanceId:ReservedElasticsearchInstance', reservedElasticsearchInstance_reservedElasticsearchInstanceId - The unique identifier for the reservation.

$sel:reservedElasticsearchInstanceOfferingId:ReservedElasticsearchInstance', reservedElasticsearchInstance_reservedElasticsearchInstanceOfferingId - The offering identifier.

$sel:startTime:ReservedElasticsearchInstance', reservedElasticsearchInstance_startTime - The time the reservation started.

$sel:state:ReservedElasticsearchInstance', reservedElasticsearchInstance_state - The state of the reserved Elasticsearch instance.

$sel:usagePrice:ReservedElasticsearchInstance', reservedElasticsearchInstance_usagePrice - The rate you are charged for each hour for the domain that is using this reserved instance.

reservedElasticsearchInstance_currencyCode :: Lens' ReservedElasticsearchInstance (Maybe Text) Source #

The currency code for the reserved Elasticsearch instance offering.

reservedElasticsearchInstance_duration :: Lens' ReservedElasticsearchInstance (Maybe Int) Source #

The duration, in seconds, for which the Elasticsearch instance is reserved.

reservedElasticsearchInstance_elasticsearchInstanceCount :: Lens' ReservedElasticsearchInstance (Maybe Int) Source #

The number of Elasticsearch instances that have been reserved.

reservedElasticsearchInstance_elasticsearchInstanceType :: Lens' ReservedElasticsearchInstance (Maybe ESPartitionInstanceType) Source #

The Elasticsearch instance type offered by the reserved instance offering.

reservedElasticsearchInstance_fixedPrice :: Lens' ReservedElasticsearchInstance (Maybe Double) Source #

The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.

reservedElasticsearchInstance_paymentOption :: Lens' ReservedElasticsearchInstance (Maybe ReservedElasticsearchInstancePaymentOption) Source #

The payment option as defined in the reserved Elasticsearch instance offering.

reservedElasticsearchInstance_recurringCharges :: Lens' ReservedElasticsearchInstance (Maybe [RecurringCharge]) Source #

The charge to your account regardless of whether you are creating any domains using the instance offering.

reservedElasticsearchInstance_reservationName :: Lens' ReservedElasticsearchInstance (Maybe Text) Source #

The customer-specified identifier to track this reservation.

reservedElasticsearchInstance_state :: Lens' ReservedElasticsearchInstance (Maybe Text) Source #

The state of the reserved Elasticsearch instance.

reservedElasticsearchInstance_usagePrice :: Lens' ReservedElasticsearchInstance (Maybe Double) Source #

The rate you are charged for each hour for the domain that is using this reserved instance.