Amazon Elastic Compute Cloud
API Reference (API Version 2014-10-01)
Did this page help you?  Yes | No |  Tell us about it...
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.



Creates the datafeed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per account. For more information, see Spot Instances in the Amazon EC2 User Guide for Linux Instances.

Request Parameters

For information about the common parameters that all actions use, see Common Query Parameters.


The Amazon S3 bucket in which to store the Spot Instance datafeed.

Type: String

Default: None

Constraints: Must be a valid bucket associated with your account.

Required: Yes


A prefix for the datafeed file names.

Type: String

Default: None

Required: No

Response Elements

The following elements are returned in a CreateSpotDatafeedSubscriptionResponse element.


The ID of the request.

Type: xsd:string


The Spot Instance datafeed subscription.

Type: SpotDatafeedSubscriptionType


Example Request

This example request creates the data feed for the account.

Example Response

<CreateSpotDatafeedSubscriptionResponse xmlns="">