[−][src]Struct rusoto_ec2::DescribeReservedInstancesOfferingsRequest
Contains the parameters for DescribeReservedInstancesOfferings.
Fields
availability_zone: Option<String>
The Availability Zone in which the Reserved Instance can be used.
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
.
filters: Option<Vec<Filter>>
One or more filters.
-
availability-zone
- The Availability Zone where the Reserved Instance can be used. -
duration
- The duration of the Reserved Instance (for example, one year or three years), in seconds (31536000
|94608000
). -
fixed-price
- The purchase price of the Reserved Instance (for example, 9800.0). -
instance-type
- The instance type that is covered by the reservation. -
marketplace
- Set totrue
to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed. -
product-description
- The Reserved Instance product platform description. Instances that include(Amazon VPC)
in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX
|Linux/UNIX (Amazon VPC)
|SUSE Linux
|SUSE Linux (Amazon VPC)
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux (Amazon VPC)
|Windows
|Windows (Amazon VPC)
|Windows with SQL Server Standard
|Windows with SQL Server Standard (Amazon VPC)
|Windows with SQL Server Web
|Windows with SQL Server Web (Amazon VPC)
|Windows with SQL Server Enterprise
|Windows with SQL Server Enterprise (Amazon VPC)
) -
reserved-instances-offering-id
- The Reserved Instances offering ID. -
scope
- The scope of the Reserved Instance (Availability Zone
orRegion
). -
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
include_marketplace: Option<bool>
Include Reserved Instance Marketplace offerings in the response.
instance_tenancy: Option<String>
The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).
Important: The host
value cannot be used with this parameter. Use the default
or dedicated
values only.
Default: default
instance_type: Option<String>
The instance type that the reservation will cover (for example, m1.small
). For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
max_duration: Option<i64>
The maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
max_instance_count: Option<i64>
The maximum number of instances to filter when searching for offerings.
Default: 20
max_results: Option<i64>
The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken
value. The maximum is 100.
Default: 100
min_duration: Option<i64>
The minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
next_token: Option<String>
The token to retrieve the next page of results.
offering_class: Option<String>
The offering class of the Reserved Instance. Can be standard
or convertible
.
offering_type: Option<String>
The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization
Reserved Instance offering type.
product_description: Option<String>
The Reserved Instance product platform description. Instances that include (Amazon VPC)
in the description are for use with Amazon VPC.
reserved_instances_offering_ids: Option<Vec<String>>
One or more Reserved Instances offering IDs.
Trait Implementations
impl Clone for DescribeReservedInstancesOfferingsRequest
[src]
pub fn clone(&self) -> DescribeReservedInstancesOfferingsRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DescribeReservedInstancesOfferingsRequest
[src]
impl Default for DescribeReservedInstancesOfferingsRequest
[src]
impl PartialEq<DescribeReservedInstancesOfferingsRequest> for DescribeReservedInstancesOfferingsRequest
[src]
pub fn eq(&self, other: &DescribeReservedInstancesOfferingsRequest) -> bool
[src]
pub fn ne(&self, other: &DescribeReservedInstancesOfferingsRequest) -> bool
[src]
impl StructuralPartialEq for DescribeReservedInstancesOfferingsRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for DescribeReservedInstancesOfferingsRequest
[src]
impl Send for DescribeReservedInstancesOfferingsRequest
[src]
impl Sync for DescribeReservedInstancesOfferingsRequest
[src]
impl Unpin for DescribeReservedInstancesOfferingsRequest
[src]
impl UnwindSafe for DescribeReservedInstancesOfferingsRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,