Struct aws_sdk_ec2::input::DescribeSpotPriceHistoryInput
source · #[non_exhaustive]pub struct DescribeSpotPriceHistoryInput { /* private fields */ }
Expand description
Contains the parameters for DescribeSpotPriceHistory.
Implementations§
source§impl DescribeSpotPriceHistoryInput
impl DescribeSpotPriceHistoryInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSpotPriceHistory, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSpotPriceHistory, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeSpotPriceHistory
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeSpotPriceHistoryInput
.
source§impl DescribeSpotPriceHistoryInput
impl DescribeSpotPriceHistoryInput
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[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.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
Filters the results by the specified Availability Zone.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> 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
.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> 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).
sourcepub fn instance_types(&self) -> Option<&[InstanceType]>
pub fn instance_types(&self) -> Option<&[InstanceType]>
Filters the results by the specified instance types.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> 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.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of results.
sourcepub fn product_descriptions(&self) -> Option<&[String]>
pub fn product_descriptions(&self) -> Option<&[String]>
Filters the results by the specified basic product descriptions.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> 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).
Trait Implementations§
source§impl Clone for DescribeSpotPriceHistoryInput
impl Clone for DescribeSpotPriceHistoryInput
source§fn clone(&self) -> DescribeSpotPriceHistoryInput
fn clone(&self) -> DescribeSpotPriceHistoryInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<DescribeSpotPriceHistoryInput> for DescribeSpotPriceHistoryInput
impl PartialEq<DescribeSpotPriceHistoryInput> for DescribeSpotPriceHistoryInput
source§fn eq(&self, other: &DescribeSpotPriceHistoryInput) -> bool
fn eq(&self, other: &DescribeSpotPriceHistoryInput) -> bool
self
and other
values to be equal, and is used
by ==
.