DescribeSpotPriceHistoryRequest
import type { DescribeSpotPriceHistoryRequest } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";
Contains the parameters for DescribeSpotPriceHistory.
interface DescribeSpotPriceHistoryRequest {
AvailabilityZone?: string | null;
DryRun?: boolean | null;
EndTime?: Date | number | null;
Filters?: Filter[] | null;
InstanceTypes?: InstanceType[] | null;
MaxResults?: number | null;
NextToken?: string | null;
ProductDescriptions?: string[] | null;
StartTime?: Date | number | null;
}§Properties
§
DryRun?: boolean | null
[src]Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
§
EndTime?: Date | number | null
[src]The date and time, up to the current date, from which to stop retrieving the price history data, in UTC format (for example, YYYY-MM-DD_T_HH:MM:_SS_Z).
§
One or more filters.
availability-zone
- The Availability Zone for which prices should be returned.instance-type
- The type of instance (for example,m3.medium
).product-description
- The product description for the Spot price (Linux/UNIX
|Red Hat Enterprise Linux
|SUSE Linux
|Windows
|Linux/UNIX (Amazon VPC)
|Red Hat Enterprise Linux (Amazon VPC)
|SUSE Linux (Amazon VPC)
|Windows (Amazon VPC)
).spot-price
- The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported).timestamp
- The time stamp of the Spot price history, in UTC format (for example, YYYY-MM-DD_T_HH:MM:_SS_Z). You can use wildcards (* and ?). Greater than or less than comparison is not supported.
§
InstanceTypes?: InstanceType[] | null
[src]Filters the results by the specified instance types.
§
MaxResults?: number | null
[src]The maximum number of results to return in a single call.
Specify a value between 1 and 1000.
The default value is 1000.
To retrieve the remaining results, make another call with the returned NextToken
value.