Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PurchaseReservedCacheNodesOfferingCommand

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.

example

Use a bare-bones client and the command you need to make an API call.

import { ElastiCacheClient, PurchaseReservedCacheNodesOfferingCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
// const { ElastiCacheClient, PurchaseReservedCacheNodesOfferingCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
const client = new ElastiCacheClient(config);
const command = new PurchaseReservedCacheNodesOfferingCommand(input);
const response = await client.send(command);
see

PurchaseReservedCacheNodesOfferingCommandInput for command's input shape.

see

PurchaseReservedCacheNodesOfferingCommandOutput for command's response shape.

see

config for ElastiCacheClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: PurchaseReservedCacheNodesOfferingCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions

  • Returns EndpointParameterInstructions