Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetReservedInstancesExchangeQuoteCommand

Returns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance. If the exchange cannot be performed, the reason is returned in the response. Use AcceptReservedInstancesExchangeQuote to perform the exchange.

example

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

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

GetReservedInstancesExchangeQuoteCommandInput for command's input shape.

see

GetReservedInstancesExchangeQuoteCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetReservedInstancesExchangeQuoteCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions