// Describes the Spot price history. For more information, see Spot Instance
// pricing history
// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances-history.html)
// in the Amazon EC2 User Guide for Linux Instances. 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.
Describes the Spot price history. For more information, see Spot Instance
pricing history

in the Amazon EC2 User Guide for Linux Instances. 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.
// Describes the Spot price history . For more information see Spot Instance // pricing history // ( https : // docs . aws . amazon . com / AWSEC2 / latest / UserGuide / using - spot - instances - history . html ) // in the Amazon EC2 User Guide for Linux Instances . 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 .
func (c *Client) DescribeSpotPriceHistory(ctx context.Context, params *DescribeSpotPriceHistoryInput, optFns ...func(*Options)) (*DescribeSpotPriceHistoryOutput, error) {
	if params == nil {
		params = &DescribeSpotPriceHistoryInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeSpotPriceHistory", params, optFns, addOperationDescribeSpotPriceHistoryMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeSpotPriceHistoryOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeSpotPriceHistory ( ctx context . Context , params * DescribeSpotPriceHistoryInput , optFns ... func ( * Options ) ) ( * DescribeSpotPriceHistoryOutput , error ) { if params == nil { params = & DescribeSpotPriceHistoryInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeSpotPriceHistoryMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeSpotPriceHistoryOutput ) out . ResultMetadata = metadata return out , nil }
Describes the Spot price history.
Describes the Spot price history .