| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.OpenSearch.Types.ReservedInstance
Description
Synopsis
- data ReservedInstance = ReservedInstance' {
- billingSubscriptionId :: Maybe Integer
- currencyCode :: Maybe Text
- duration :: Maybe Int
- fixedPrice :: Maybe Double
- instanceCount :: Maybe Int
- instanceType :: Maybe OpenSearchPartitionInstanceType
- paymentOption :: Maybe ReservedInstancePaymentOption
- recurringCharges :: Maybe [RecurringCharge]
- reservationName :: Maybe Text
- reservedInstanceId :: Maybe Text
- reservedInstanceOfferingId :: Maybe Text
- startTime :: Maybe POSIX
- state :: Maybe Text
- usagePrice :: Maybe Double
- newReservedInstance :: ReservedInstance
- reservedInstance_billingSubscriptionId :: Lens' ReservedInstance (Maybe Integer)
- reservedInstance_currencyCode :: Lens' ReservedInstance (Maybe Text)
- reservedInstance_duration :: Lens' ReservedInstance (Maybe Int)
- reservedInstance_fixedPrice :: Lens' ReservedInstance (Maybe Double)
- reservedInstance_instanceCount :: Lens' ReservedInstance (Maybe Int)
- reservedInstance_instanceType :: Lens' ReservedInstance (Maybe OpenSearchPartitionInstanceType)
- reservedInstance_paymentOption :: Lens' ReservedInstance (Maybe ReservedInstancePaymentOption)
- reservedInstance_recurringCharges :: Lens' ReservedInstance (Maybe [RecurringCharge])
- reservedInstance_reservationName :: Lens' ReservedInstance (Maybe Text)
- reservedInstance_reservedInstanceId :: Lens' ReservedInstance (Maybe Text)
- reservedInstance_reservedInstanceOfferingId :: Lens' ReservedInstance (Maybe Text)
- reservedInstance_startTime :: Lens' ReservedInstance (Maybe UTCTime)
- reservedInstance_state :: Lens' ReservedInstance (Maybe Text)
- reservedInstance_usagePrice :: Lens' ReservedInstance (Maybe Double)
Documentation
data ReservedInstance Source #
Details of an OpenSearch Reserved 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:billingSubscriptionId:ReservedInstance', reservedInstance_billingSubscriptionId - The unique identifier of the billing subscription.
$sel:currencyCode:ReservedInstance', reservedInstance_currencyCode - The currency code for the offering.
$sel:duration:ReservedInstance', reservedInstance_duration - The duration, in seconds, for which the OpenSearch instance is reserved.
$sel:fixedPrice:ReservedInstance', reservedInstance_fixedPrice - The upfront fixed charge you will paid to purchase the specific Reserved
Instance offering.
$sel:instanceCount:ReservedInstance', reservedInstance_instanceCount - The number of OpenSearch instances that have been reserved.
$sel:instanceType:ReservedInstance', reservedInstance_instanceType - The OpenSearch instance type offered by theReserved Instance offering.
$sel:paymentOption:ReservedInstance', reservedInstance_paymentOption - The payment option as defined in the Reserved Instance offering.
$sel:recurringCharges:ReservedInstance', reservedInstance_recurringCharges - The recurring charge to your account, regardless of whether you create
any domains using the Reserved Instance offering.
$sel:reservationName:ReservedInstance', reservedInstance_reservationName - The customer-specified identifier to track this reservation.
$sel:reservedInstanceId:ReservedInstance', reservedInstance_reservedInstanceId - The unique identifier for the reservation.
$sel:reservedInstanceOfferingId:ReservedInstance', reservedInstance_reservedInstanceOfferingId - The unique identifier of the Reserved Instance offering.
$sel:startTime:ReservedInstance', reservedInstance_startTime - The date and time when the reservation was purchased.
$sel:state:ReservedInstance', reservedInstance_state - The state of the Reserved Instance.
$sel:usagePrice:ReservedInstance', reservedInstance_usagePrice - The hourly rate at which you're charged for the domain using this
Reserved Instance.
reservedInstance_billingSubscriptionId :: Lens' ReservedInstance (Maybe Integer) Source #
The unique identifier of the billing subscription.
reservedInstance_currencyCode :: Lens' ReservedInstance (Maybe Text) Source #
The currency code for the offering.
reservedInstance_duration :: Lens' ReservedInstance (Maybe Int) Source #
The duration, in seconds, for which the OpenSearch instance is reserved.
reservedInstance_fixedPrice :: Lens' ReservedInstance (Maybe Double) Source #
The upfront fixed charge you will paid to purchase the specific Reserved Instance offering.
reservedInstance_instanceCount :: Lens' ReservedInstance (Maybe Int) Source #
The number of OpenSearch instances that have been reserved.
reservedInstance_instanceType :: Lens' ReservedInstance (Maybe OpenSearchPartitionInstanceType) Source #
The OpenSearch instance type offered by theReserved Instance offering.
reservedInstance_paymentOption :: Lens' ReservedInstance (Maybe ReservedInstancePaymentOption) Source #
The payment option as defined in the Reserved Instance offering.
reservedInstance_recurringCharges :: Lens' ReservedInstance (Maybe [RecurringCharge]) Source #
The recurring charge to your account, regardless of whether you create any domains using the Reserved Instance offering.
reservedInstance_reservationName :: Lens' ReservedInstance (Maybe Text) Source #
The customer-specified identifier to track this reservation.
reservedInstance_reservedInstanceId :: Lens' ReservedInstance (Maybe Text) Source #
The unique identifier for the reservation.
reservedInstance_reservedInstanceOfferingId :: Lens' ReservedInstance (Maybe Text) Source #
The unique identifier of the Reserved Instance offering.
reservedInstance_startTime :: Lens' ReservedInstance (Maybe UTCTime) Source #
The date and time when the reservation was purchased.
reservedInstance_state :: Lens' ReservedInstance (Maybe Text) Source #
The state of the Reserved Instance.
reservedInstance_usagePrice :: Lens' ReservedInstance (Maybe Double) Source #
The hourly rate at which you're charged for the domain using this Reserved Instance.