AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Describes the Spot price history. The prices returned are listed in chronological order, from the oldest to the most recent, for up to the past 90 days. For more information, see Spot Instance Pricing History in the Amazon Elastic Compute Cloud User Guide.

When you specify a start and end time, this operation returns the prices of the instance types within the time range that you specified and the time when the price changed. The price is valid within the time period that you specified; the response merely indicates the last time that the price changed.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract DescribeSpotPriceHistoryResponse DescribeSpotPriceHistory(
         DescribeSpotPriceHistoryRequest request
)

Parameters

request
Type: Amazon.EC2.Model.DescribeSpotPriceHistoryRequest

Container for the necessary parameters to execute the DescribeSpotPriceHistory service method.

Return Value
Type: Amazon.EC2.Model.DescribeSpotPriceHistoryResponse
The response from the DescribeSpotPriceHistory service method, as returned by EC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5