| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.OpenSearch.Types.ReservedInstance
Description
Synopsis
- data ReservedInstance = ReservedInstance' {
- state :: Maybe Text
- currencyCode :: Maybe Text
- instanceCount :: Maybe Int
- startTime :: Maybe POSIX
- instanceType :: Maybe OpenSearchPartitionInstanceType
- reservationName :: Maybe Text
- billingSubscriptionId :: Maybe Integer
- recurringCharges :: Maybe [RecurringCharge]
- usagePrice :: Maybe Double
- reservedInstanceId :: Maybe Text
- reservedInstanceOfferingId :: Maybe Text
- fixedPrice :: Maybe Double
- duration :: Maybe Int
- paymentOption :: Maybe ReservedInstancePaymentOption
- newReservedInstance :: ReservedInstance
- reservedInstance_state :: Lens' ReservedInstance (Maybe Text)
- reservedInstance_currencyCode :: Lens' ReservedInstance (Maybe Text)
- reservedInstance_instanceCount :: Lens' ReservedInstance (Maybe Int)
- reservedInstance_startTime :: Lens' ReservedInstance (Maybe UTCTime)
- reservedInstance_instanceType :: Lens' ReservedInstance (Maybe OpenSearchPartitionInstanceType)
- reservedInstance_reservationName :: Lens' ReservedInstance (Maybe Text)
- reservedInstance_billingSubscriptionId :: Lens' ReservedInstance (Maybe Integer)
- reservedInstance_recurringCharges :: Lens' ReservedInstance (Maybe [RecurringCharge])
- reservedInstance_usagePrice :: Lens' ReservedInstance (Maybe Double)
- reservedInstance_reservedInstanceId :: Lens' ReservedInstance (Maybe Text)
- reservedInstance_reservedInstanceOfferingId :: Lens' ReservedInstance (Maybe Text)
- reservedInstance_fixedPrice :: Lens' ReservedInstance (Maybe Double)
- reservedInstance_duration :: Lens' ReservedInstance (Maybe Int)
- reservedInstance_paymentOption :: Lens' ReservedInstance (Maybe ReservedInstancePaymentOption)
Documentation
data ReservedInstance Source #
Details of a reserved OpenSearch instance.
See: newReservedInstance smart constructor.
Constructors
| ReservedInstance' | |
Fields
| |
Instances
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_billingSubscriptionId :: Lens' ReservedInstance (Maybe Integer) Source #
Undocumented member.
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_reservedInstanceOfferingId :: Lens' ReservedInstance (Maybe Text) Source #
The offering identifier.
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.