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

Description

Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one or more of the offerings. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings. You can call this API by providing a specific reserved node offering and the number of nodes you want to reserve.

For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide.

Synopsis

Creating a Request

data PurchaseReservedNodeOffering Source #

See: newPurchaseReservedNodeOffering smart constructor.

Constructors

PurchaseReservedNodeOffering' 

Fields

Instances

Instances details
Eq PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

Read PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

Show PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

Generic PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

Associated Types

type Rep PurchaseReservedNodeOffering :: Type -> Type #

NFData PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

Hashable PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

AWSRequest PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

ToHeaders PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

ToPath PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

ToQuery PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

type Rep PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

type Rep PurchaseReservedNodeOffering = D1 ('MetaData "PurchaseReservedNodeOffering" "Amazonka.Redshift.PurchaseReservedNodeOffering" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "PurchaseReservedNodeOffering'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nodeCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "reservedNodeOfferingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PurchaseReservedNodeOffering Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

newPurchaseReservedNodeOffering Source #

Create a value of PurchaseReservedNodeOffering 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:nodeCount:PurchaseReservedNodeOffering', purchaseReservedNodeOffering_nodeCount - The number of reserved nodes that you want to purchase.

Default: 1

$sel:reservedNodeOfferingId:PurchaseReservedNodeOffering', purchaseReservedNodeOffering_reservedNodeOfferingId - The unique identifier of the reserved node offering you want to purchase.

Request Lenses

purchaseReservedNodeOffering_nodeCount :: Lens' PurchaseReservedNodeOffering (Maybe Int) Source #

The number of reserved nodes that you want to purchase.

Default: 1

purchaseReservedNodeOffering_reservedNodeOfferingId :: Lens' PurchaseReservedNodeOffering Text Source #

The unique identifier of the reserved node offering you want to purchase.

Destructuring the Response

data PurchaseReservedNodeOfferingResponse Source #

Constructors

PurchaseReservedNodeOfferingResponse' 

Fields

Instances

Instances details
Eq PurchaseReservedNodeOfferingResponse Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

Read PurchaseReservedNodeOfferingResponse Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

Show PurchaseReservedNodeOfferingResponse Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

Generic PurchaseReservedNodeOfferingResponse Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

NFData PurchaseReservedNodeOfferingResponse Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

type Rep PurchaseReservedNodeOfferingResponse Source # 
Instance details

Defined in Amazonka.Redshift.PurchaseReservedNodeOffering

type Rep PurchaseReservedNodeOfferingResponse = D1 ('MetaData "PurchaseReservedNodeOfferingResponse" "Amazonka.Redshift.PurchaseReservedNodeOffering" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "PurchaseReservedNodeOfferingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservedNode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservedNode)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPurchaseReservedNodeOfferingResponse Source #

Create a value of PurchaseReservedNodeOfferingResponse 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:reservedNode:PurchaseReservedNodeOfferingResponse', purchaseReservedNodeOfferingResponse_reservedNode - Undocumented member.

$sel:httpStatus:PurchaseReservedNodeOfferingResponse', purchaseReservedNodeOfferingResponse_httpStatus - The response's http status code.

Response Lenses