pub struct CreateReservedInstancesListingRequest {
pub client_token: String,
pub instance_count: i64,
pub price_schedules: Vec<PriceScheduleSpecification>,
pub reserved_instances_id: String,
}Expand description
Contains the parameters for CreateReservedInstancesListing.
Fields§
§client_token: StringUnique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.
instance_count: i64The 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.
price_schedules: Vec<PriceScheduleSpecification>A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
reserved_instances_id: StringThe ID of the active Standard Reserved Instance.
Trait Implementations§
Source§impl Clone for CreateReservedInstancesListingRequest
impl Clone for CreateReservedInstancesListingRequest
Source§fn clone(&self) -> CreateReservedInstancesListingRequest
fn clone(&self) -> CreateReservedInstancesListingRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CreateReservedInstancesListingRequest
impl Default for CreateReservedInstancesListingRequest
Source§fn default() -> CreateReservedInstancesListingRequest
fn default() -> CreateReservedInstancesListingRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateReservedInstancesListingRequest
impl PartialEq for CreateReservedInstancesListingRequest
Source§fn eq(&self, other: &CreateReservedInstancesListingRequest) -> bool
fn eq(&self, other: &CreateReservedInstancesListingRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateReservedInstancesListingRequest
Auto Trait Implementations§
impl Freeze for CreateReservedInstancesListingRequest
impl RefUnwindSafe for CreateReservedInstancesListingRequest
impl Send for CreateReservedInstancesListingRequest
impl Sync for CreateReservedInstancesListingRequest
impl Unpin for CreateReservedInstancesListingRequest
impl UnwindSafe for CreateReservedInstancesListingRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more