libZSservicesZSamazonka-redshiftZSamazonka-redshift
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.Redshift.Types.ReservedNode

Description

 
Synopsis

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.

Constructors

ReservedNode' 

Fields

Instances

Instances details
Eq ReservedNode Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNode

Read ReservedNode Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNode

Show ReservedNode Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNode

Generic ReservedNode Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNode

Associated Types

type Rep ReservedNode :: Type -> Type #

NFData ReservedNode Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNode

Methods

rnf :: ReservedNode -> () #

Hashable ReservedNode Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNode

FromXML ReservedNode Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNode

type Rep ReservedNode Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNode

type Rep ReservedNode = D1 ('MetaData "ReservedNode" "Amazonka.Redshift.Types.ReservedNode" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "ReservedNode'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "reservedNodeOfferingType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservedNodeOfferingType)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "nodeCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "reservedNodeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "reservedNodeOfferingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "recurringCharges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecurringCharge])) :*: S1 ('MetaSel ('Just "offeringType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "usagePrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "nodeType") '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)))))))

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