Describes the data feed for Spot Instances. For more information, see Spot Instance data feed in the Amazon EC2 User Guide for Linux Instances.
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);
DescribeSpotDatafeedSubscriptionCommandInput for command's input shape.
input
DescribeSpotDatafeedSubscriptionCommandOutput for command's response shape.
response
config for EC2Client's config shape.
config
Describes the data feed for Spot Instances. For more information, see Spot Instance data feed in the Amazon EC2 User Guide for Linux Instances.
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);
DescribeSpotDatafeedSubscriptionCommandInput for command's
input
shape.DescribeSpotDatafeedSubscriptionCommandOutput for command's
response
shape.config for EC2Client's
config
shape.