Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeInstanceTypeOfferingsCommand

Returns a list of all instance types offered. The results can be filtered by location (Region or Availability Zone). If no location is specified, the instance types offered in the current Region are returned.

example

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

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

DescribeInstanceTypeOfferingsCommandInput for command's input shape.

see

DescribeInstanceTypeOfferingsCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeInstanceTypeOfferingsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions