Struct aws_sdk_ec2::input::DescribeSpotPriceHistoryInput [−][src]
#[non_exhaustive]pub struct DescribeSpotPriceHistoryInput {
pub filters: Option<Vec<Filter>>,
pub availability_zone: Option<String>,
pub dry_run: Option<bool>,
pub end_time: Option<DateTime>,
pub instance_types: Option<Vec<InstanceType>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub product_descriptions: Option<Vec<String>>,
pub start_time: Option<DateTime>,
}
Expand description
Contains the parameters for DescribeSpotPriceHistory.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.filters: Option<Vec<Filter>>
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-DDTHH:MM:SSZ). You can use wildcards (* and ?). Greater than or less than comparison is not supported.
availability_zone: Option<String>
Filters the results by the specified Availability Zone.
dry_run: Option<bool>
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
.
end_time: Option<DateTime>
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-DDTHH:MM:SSZ).
instance_types: Option<Vec<InstanceType>>
Filters the results by the specified instance types.
max_results: Option<i32>
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.
next_token: Option<String>
The token for the next set of results.
product_descriptions: Option<Vec<String>>
Filters the results by the specified basic product descriptions.
start_time: Option<DateTime>
The date and time, up to the past 90 days, from which to start retrieving the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSpotPriceHistory, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSpotPriceHistory, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeSpotPriceHistory
>
Creates a new builder-style object to manufacture DescribeSpotPriceHistoryInput
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-DDTHH:MM:SSZ). You can use wildcards (* and ?). Greater than or less than comparison is not supported.
Filters the results by the specified Availability Zone.
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
.
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-DDTHH:MM:SSZ).
Filters the results by the specified instance types.
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.
The token for the next set of results.
Filters the results by the specified basic product descriptions.
The date and time, up to the past 90 days, from which to start retrieving the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for DescribeSpotPriceHistoryInput
impl Sync for DescribeSpotPriceHistoryInput
impl Unpin for DescribeSpotPriceHistoryInput
impl UnwindSafe for DescribeSpotPriceHistoryInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more