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.ReservedInstance

Description

 
Synopsis

Documentation

data ReservedInstance Source #

Details of a reserved OpenSearch instance.

See: newReservedInstance smart constructor.

Constructors

ReservedInstance' 

Fields

Instances

Instances details
Eq ReservedInstance Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstance

Read ReservedInstance Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstance

Show ReservedInstance Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstance

Generic ReservedInstance Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstance

Associated Types

type Rep ReservedInstance :: Type -> Type #

NFData ReservedInstance Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstance

Methods

rnf :: ReservedInstance -> () #

Hashable ReservedInstance Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstance

FromJSON ReservedInstance Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstance

type Rep ReservedInstance Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ReservedInstance

type Rep ReservedInstance = D1 ('MetaData "ReservedInstance" "Amazonka.OpenSearch.Types.ReservedInstance" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "ReservedInstance'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenSearchPartitionInstanceType))) :*: (S1 ('MetaSel ('Just "reservationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "billingSubscriptionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) :*: ((S1 ('MetaSel ('Just "recurringCharges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecurringCharge])) :*: (S1 ('MetaSel ('Just "usagePrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "reservedInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((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)))))))

newReservedInstance :: ReservedInstance Source #

Create a value of ReservedInstance 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:state:ReservedInstance', reservedInstance_state - The state of the reserved OpenSearch instance.

$sel:currencyCode:ReservedInstance', reservedInstance_currencyCode - The currency code for the reserved OpenSearch instance offering.

$sel:instanceCount:ReservedInstance', reservedInstance_instanceCount - The number of OpenSearch instances that have been reserved.

$sel:startTime:ReservedInstance', reservedInstance_startTime - The time the reservation started.

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

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

$sel:billingSubscriptionId:ReservedInstance', reservedInstance_billingSubscriptionId - Undocumented member.

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

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

$sel:reservedInstanceId:ReservedInstance', reservedInstance_reservedInstanceId - The unique identifier for the reservation.

$sel:reservedInstanceOfferingId:ReservedInstance', reservedInstance_reservedInstanceOfferingId - The offering identifier.

$sel:fixedPrice:ReservedInstance', reservedInstance_fixedPrice - The upfront fixed charge you will paid to purchase the specific reserved OpenSearch instance offering.

$sel:duration:ReservedInstance', reservedInstance_duration - The duration, in seconds, for which the OpenSearch instance is reserved.

$sel:paymentOption:ReservedInstance', reservedInstance_paymentOption - The payment option as defined in the reserved OpenSearch instance offering.

reservedInstance_state :: Lens' ReservedInstance (Maybe Text) Source #

The state of the reserved OpenSearch instance.

reservedInstance_currencyCode :: Lens' ReservedInstance (Maybe Text) Source #

The currency code for the reserved OpenSearch instance offering.

reservedInstance_instanceCount :: Lens' ReservedInstance (Maybe Int) Source #

The number of OpenSearch instances that have been reserved.

reservedInstance_startTime :: Lens' ReservedInstance (Maybe UTCTime) Source #

The time the reservation started.

reservedInstance_instanceType :: Lens' ReservedInstance (Maybe OpenSearchPartitionInstanceType) Source #

The OpenSearch instance type offered by the reserved instance offering.

reservedInstance_reservationName :: Lens' ReservedInstance (Maybe Text) Source #

The customer-specified identifier to track this reservation.

reservedInstance_recurringCharges :: Lens' ReservedInstance (Maybe [RecurringCharge]) Source #

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

reservedInstance_usagePrice :: Lens' ReservedInstance (Maybe Double) Source #

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

reservedInstance_reservedInstanceId :: Lens' ReservedInstance (Maybe Text) Source #

The unique identifier for the reservation.

reservedInstance_fixedPrice :: Lens' ReservedInstance (Maybe Double) Source #

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

reservedInstance_duration :: Lens' ReservedInstance (Maybe Int) Source #

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

reservedInstance_paymentOption :: Lens' ReservedInstance (Maybe ReservedInstancePaymentOption) Source #

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