Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeSpotDatafeedSubscriptionCommand

Describes the data feed for Spot Instances. For more information, see Spot Instance data feed in the Amazon EC2 User Guide for Linux Instances.

example

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

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

DescribeSpotDatafeedSubscriptionCommandInput for command's input shape.

see

DescribeSpotDatafeedSubscriptionCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeSpotDatafeedSubscriptionCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions