libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
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.ElastiCache.PurchaseReservedCacheNodesOffering

Description

Allows you to purchase a reserved cache node offering. Reserved nodes are not eligible for cancellation and are non-refundable. For more information, see Managing Costs with Reserved Nodes for Redis or Managing Costs with Reserved Nodes for Memcached.

Synopsis

Creating a Request

data PurchaseReservedCacheNodesOffering Source #

Represents the input of a PurchaseReservedCacheNodesOffering operation.

See: newPurchaseReservedCacheNodesOffering smart constructor.

Constructors

PurchaseReservedCacheNodesOffering' 

Fields

  • cacheNodeCount :: Maybe Int

    The number of cache node instances to reserve.

    Default: 1

  • reservedCacheNodeId :: Maybe Text

    A customer-specified identifier to track this reservation.

    The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.

    Example: myreservationID

  • tags :: Maybe [Tag]

    A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

  • reservedCacheNodesOfferingId :: Text

    The ID of the reserved cache node offering to purchase.

    Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Instances

Instances details
Eq PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

Read PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

Show PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

Generic PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

Associated Types

type Rep PurchaseReservedCacheNodesOffering :: Type -> Type #

NFData PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

Hashable PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

AWSRequest PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

ToHeaders PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

ToPath PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

ToQuery PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

type Rep PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

type Rep PurchaseReservedCacheNodesOffering = D1 ('MetaData "PurchaseReservedCacheNodesOffering" "Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "PurchaseReservedCacheNodesOffering'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cacheNodeCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "reservedCacheNodeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "reservedCacheNodesOfferingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse PurchaseReservedCacheNodesOffering Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

newPurchaseReservedCacheNodesOffering Source #

Create a value of PurchaseReservedCacheNodesOffering 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:cacheNodeCount:PurchaseReservedCacheNodesOffering', purchaseReservedCacheNodesOffering_cacheNodeCount - The number of cache node instances to reserve.

Default: 1

$sel:reservedCacheNodeId:PurchaseReservedCacheNodesOffering', purchaseReservedCacheNodesOffering_reservedCacheNodeId - A customer-specified identifier to track this reservation.

The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.

Example: myreservationID

$sel:tags:PurchaseReservedCacheNodesOffering', purchaseReservedCacheNodesOffering_tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

$sel:reservedCacheNodesOfferingId:PurchaseReservedCacheNodesOffering', purchaseReservedCacheNodesOffering_reservedCacheNodesOfferingId - The ID of the reserved cache node offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Request Lenses

purchaseReservedCacheNodesOffering_reservedCacheNodeId :: Lens' PurchaseReservedCacheNodesOffering (Maybe Text) Source #

A customer-specified identifier to track this reservation.

The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.

Example: myreservationID

purchaseReservedCacheNodesOffering_tags :: Lens' PurchaseReservedCacheNodesOffering (Maybe [Tag]) Source #

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

purchaseReservedCacheNodesOffering_reservedCacheNodesOfferingId :: Lens' PurchaseReservedCacheNodesOffering Text Source #

The ID of the reserved cache node offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Destructuring the Response

data PurchaseReservedCacheNodesOfferingResponse Source #

Instances

Instances details
Eq PurchaseReservedCacheNodesOfferingResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

Read PurchaseReservedCacheNodesOfferingResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

Show PurchaseReservedCacheNodesOfferingResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

Generic PurchaseReservedCacheNodesOfferingResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

NFData PurchaseReservedCacheNodesOfferingResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

type Rep PurchaseReservedCacheNodesOfferingResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering

type Rep PurchaseReservedCacheNodesOfferingResponse = D1 ('MetaData "PurchaseReservedCacheNodesOfferingResponse" "Amazonka.ElastiCache.PurchaseReservedCacheNodesOffering" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "PurchaseReservedCacheNodesOfferingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservedCacheNode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservedCacheNode)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses