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

Description

 
Synopsis

Documentation

data ReservedNodeOffering Source #

Describes a reserved node offering.

See: newReservedNodeOffering smart constructor.

Constructors

ReservedNodeOffering' 

Fields

Instances

Instances details
Eq ReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNodeOffering

Read ReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNodeOffering

Show ReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNodeOffering

Generic ReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNodeOffering

Associated Types

type Rep ReservedNodeOffering :: Type -> Type #

NFData ReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNodeOffering

Methods

rnf :: ReservedNodeOffering -> () #

Hashable ReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNodeOffering

FromXML ReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNodeOffering

type Rep ReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.Types.ReservedNodeOffering

type Rep ReservedNodeOffering = D1 ('MetaData "ReservedNodeOffering" "Amazonka.Redshift.Types.ReservedNodeOffering" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "ReservedNodeOffering'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "reservedNodeOfferingType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservedNodeOfferingType)) :*: S1 ('MetaSel ('Just "currencyCode") '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)))))))

newReservedNodeOffering :: ReservedNodeOffering Source #

Create a value of ReservedNodeOffering 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:ReservedNodeOffering', reservedNodeOffering_reservedNodeOfferingType -

$sel:currencyCode:ReservedNodeOffering', reservedNodeOffering_currencyCode - The currency code for the compute nodes offering.

$sel:reservedNodeOfferingId:ReservedNodeOffering', reservedNodeOffering_reservedNodeOfferingId - The offering identifier.

$sel:recurringCharges:ReservedNodeOffering', reservedNodeOffering_recurringCharges - The charge to your account regardless of whether you are creating any clusters using the node offering. Recurring charges are only in effect for heavy-utilization reserved nodes.

$sel:offeringType:ReservedNodeOffering', reservedNodeOffering_offeringType - The anticipated utilization of the reserved node, as defined in the reserved node offering.

$sel:usagePrice:ReservedNodeOffering', reservedNodeOffering_usagePrice - The rate you are charged for each hour the cluster that is using the offering is running.

$sel:nodeType:ReservedNodeOffering', reservedNodeOffering_nodeType - The node type offered by the reserved node offering.

$sel:fixedPrice:ReservedNodeOffering', reservedNodeOffering_fixedPrice - The upfront fixed charge you will pay to purchase the specific reserved node offering.

$sel:duration:ReservedNodeOffering', reservedNodeOffering_duration - The duration, in seconds, for which the offering will reserve the node.

reservedNodeOffering_currencyCode :: Lens' ReservedNodeOffering (Maybe Text) Source #

The currency code for the compute nodes offering.

reservedNodeOffering_recurringCharges :: Lens' ReservedNodeOffering (Maybe [RecurringCharge]) Source #

The charge to your account regardless of whether you are creating any clusters using the node offering. Recurring charges are only in effect for heavy-utilization reserved nodes.

reservedNodeOffering_offeringType :: Lens' ReservedNodeOffering (Maybe Text) Source #

The anticipated utilization of the reserved node, as defined in the reserved node offering.

reservedNodeOffering_usagePrice :: Lens' ReservedNodeOffering (Maybe Double) Source #

The rate you are charged for each hour the cluster that is using the offering is running.

reservedNodeOffering_nodeType :: Lens' ReservedNodeOffering (Maybe Text) Source #

The node type offered by the reserved node offering.

reservedNodeOffering_fixedPrice :: Lens' ReservedNodeOffering (Maybe Double) Source #

The upfront fixed charge you will pay to purchase the specific reserved node offering.

reservedNodeOffering_duration :: Lens' ReservedNodeOffering (Maybe Int) Source #

The duration, in seconds, for which the offering will reserve the node.