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

CreateSpotDatafeedSubscription

Description

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 about Spot Instances, see Spot Instances in the Amazon Elastic Compute Cloud User Guide.

Request Parameters

Bucket

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

Prefix

A prefix for the datafeed file names.

Type: String

Default: None

Required: No

Response Elements

The following elements are returned in a CreateSpotDatafeedSubscriptionResponse element.

requestId

The ID of the request.

Type: xsd:string

spotDatafeedSubscription

Type: SpotDatafeedSubscriptionType

Examples

Example Request

This example creates the data feed for the account.

Example Response