#[non_exhaustive]pub struct CreateReservedInstancesListingInput { /* private fields */ }
Expand description
Contains the parameters for CreateReservedInstancesListing.
Implementations§
source§impl CreateReservedInstancesListingInput
impl CreateReservedInstancesListingInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateReservedInstancesListing, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateReservedInstancesListing, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateReservedInstancesListing
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateReservedInstancesListingInput
.
source§impl CreateReservedInstancesListingInput
impl CreateReservedInstancesListingInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.
sourcepub fn instance_count(&self) -> Option<i32>
pub fn instance_count(&self) -> Option<i32>
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.
sourcepub fn price_schedules(&self) -> Option<&[PriceScheduleSpecification]>
pub fn price_schedules(&self) -> Option<&[PriceScheduleSpecification]>
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
sourcepub fn reserved_instances_id(&self) -> Option<&str>
pub fn reserved_instances_id(&self) -> Option<&str>
The ID of the active Standard Reserved Instance.
Trait Implementations§
source§impl Clone for CreateReservedInstancesListingInput
impl Clone for CreateReservedInstancesListingInput
source§fn clone(&self) -> CreateReservedInstancesListingInput
fn clone(&self) -> CreateReservedInstancesListingInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<CreateReservedInstancesListingInput> for CreateReservedInstancesListingInput
impl PartialEq<CreateReservedInstancesListingInput> for CreateReservedInstancesListingInput
source§fn eq(&self, other: &CreateReservedInstancesListingInput) -> bool
fn eq(&self, other: &CreateReservedInstancesListingInput) -> bool
self
and other
values to be equal, and is used
by ==
.