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 |
Synopsis
- data ReservedNode = ReservedNode' {
- reservedNodeOfferingType :: Maybe ReservedNodeOfferingType
- state :: Maybe Text
- currencyCode :: Maybe Text
- startTime :: Maybe ISO8601
- nodeCount :: Maybe Int
- reservedNodeId :: Maybe Text
- reservedNodeOfferingId :: Maybe Text
- recurringCharges :: Maybe [RecurringCharge]
- offeringType :: Maybe Text
- usagePrice :: Maybe Double
- nodeType :: Maybe Text
- fixedPrice :: Maybe Double
- duration :: Maybe Int
- newReservedNode :: ReservedNode
- reservedNode_reservedNodeOfferingType :: Lens' ReservedNode (Maybe ReservedNodeOfferingType)
- reservedNode_state :: Lens' ReservedNode (Maybe Text)
- reservedNode_currencyCode :: Lens' ReservedNode (Maybe Text)
- reservedNode_startTime :: Lens' ReservedNode (Maybe UTCTime)
- reservedNode_nodeCount :: Lens' ReservedNode (Maybe Int)
- reservedNode_reservedNodeId :: Lens' ReservedNode (Maybe Text)
- reservedNode_reservedNodeOfferingId :: Lens' ReservedNode (Maybe Text)
- reservedNode_recurringCharges :: Lens' ReservedNode (Maybe [RecurringCharge])
- reservedNode_offeringType :: Lens' ReservedNode (Maybe Text)
- reservedNode_usagePrice :: Lens' ReservedNode (Maybe Double)
- reservedNode_nodeType :: Lens' ReservedNode (Maybe Text)
- reservedNode_fixedPrice :: Lens' ReservedNode (Maybe Double)
- reservedNode_duration :: Lens' ReservedNode (Maybe Int)
Documentation
data ReservedNode Source #
Describes a reserved node. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings.
See: newReservedNode
smart constructor.
ReservedNode' | |
|
Instances
newReservedNode :: ReservedNode Source #
Create a value of ReservedNode
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:reservedNodeOfferingType:ReservedNode'
, reservedNode_reservedNodeOfferingType
-
$sel:state:ReservedNode'
, reservedNode_state
- The state of the reserved compute node.
Possible Values:
- pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.
- active-This reserved node is owned by the caller and is available for use.
- payment-failed-Payment failed for the purchase attempt.
- retired-The reserved node is no longer available.
- exchanging-The owner is exchanging the reserved node for another reserved node.
$sel:currencyCode:ReservedNode'
, reservedNode_currencyCode
- The currency code for the reserved cluster.
$sel:startTime:ReservedNode'
, reservedNode_startTime
- The time the reservation started. You purchase a reserved node offering
for a duration. This is the start time of that duration.
$sel:nodeCount:ReservedNode'
, reservedNode_nodeCount
- The number of reserved compute nodes.
$sel:reservedNodeId:ReservedNode'
, reservedNode_reservedNodeId
- The unique identifier for the reservation.
$sel:reservedNodeOfferingId:ReservedNode'
, reservedNode_reservedNodeOfferingId
- The identifier for the reserved node offering.
$sel:recurringCharges:ReservedNode'
, reservedNode_recurringCharges
- The recurring charges for the reserved node.
$sel:offeringType:ReservedNode'
, reservedNode_offeringType
- The anticipated utilization of the reserved node, as defined in the
reserved node offering.
$sel:usagePrice:ReservedNode'
, reservedNode_usagePrice
- The hourly rate Amazon Redshift charges you for this reserved node.
$sel:nodeType:ReservedNode'
, reservedNode_nodeType
- The node type of the reserved node.
$sel:fixedPrice:ReservedNode'
, reservedNode_fixedPrice
- The fixed cost Amazon Redshift charges you for this reserved node.
$sel:duration:ReservedNode'
, reservedNode_duration
- The duration of the node reservation in seconds.
reservedNode_reservedNodeOfferingType :: Lens' ReservedNode (Maybe ReservedNodeOfferingType) Source #
reservedNode_state :: Lens' ReservedNode (Maybe Text) Source #
The state of the reserved compute node.
Possible Values:
- pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.
- active-This reserved node is owned by the caller and is available for use.
- payment-failed-Payment failed for the purchase attempt.
- retired-The reserved node is no longer available.
- exchanging-The owner is exchanging the reserved node for another reserved node.
reservedNode_currencyCode :: Lens' ReservedNode (Maybe Text) Source #
The currency code for the reserved cluster.
reservedNode_startTime :: Lens' ReservedNode (Maybe UTCTime) Source #
The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.
reservedNode_nodeCount :: Lens' ReservedNode (Maybe Int) Source #
The number of reserved compute nodes.
reservedNode_reservedNodeId :: Lens' ReservedNode (Maybe Text) Source #
The unique identifier for the reservation.
reservedNode_reservedNodeOfferingId :: Lens' ReservedNode (Maybe Text) Source #
The identifier for the reserved node offering.
reservedNode_recurringCharges :: Lens' ReservedNode (Maybe [RecurringCharge]) Source #
The recurring charges for the reserved node.
reservedNode_offeringType :: Lens' ReservedNode (Maybe Text) Source #
The anticipated utilization of the reserved node, as defined in the reserved node offering.
reservedNode_usagePrice :: Lens' ReservedNode (Maybe Double) Source #
The hourly rate Amazon Redshift charges you for this reserved node.
reservedNode_nodeType :: Lens' ReservedNode (Maybe Text) Source #
The node type of the reserved node.
reservedNode_fixedPrice :: Lens' ReservedNode (Maybe Double) Source #
The fixed cost Amazon Redshift charges you for this reserved node.
reservedNode_duration :: Lens' ReservedNode (Maybe Int) Source #
The duration of the node reservation in seconds.