#[non_exhaustive]pub struct ModifyReservedInstancesInput {
pub reserved_instances_ids: Option<Vec<String>>,
pub client_token: Option<String>,
pub target_configurations: Option<Vec<ReservedInstancesConfiguration>>,
}
Expand description
Contains the parameters for ModifyReservedInstances.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.reserved_instances_ids: Option<Vec<String>>
The IDs of the Reserved Instances to modify.
client_token: Option<String>
A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
target_configurations: Option<Vec<ReservedInstancesConfiguration>>
The configuration settings for the Reserved Instances to modify.
Implementations§
source§impl ModifyReservedInstancesInput
impl ModifyReservedInstancesInput
sourcepub fn reserved_instances_ids(&self) -> Option<&[String]>
pub fn reserved_instances_ids(&self) -> Option<&[String]>
The IDs of the Reserved Instances to modify.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
sourcepub fn target_configurations(&self) -> Option<&[ReservedInstancesConfiguration]>
pub fn target_configurations(&self) -> Option<&[ReservedInstancesConfiguration]>
The configuration settings for the Reserved Instances to modify.
source§impl ModifyReservedInstancesInput
impl ModifyReservedInstancesInput
sourcepub fn builder() -> ModifyReservedInstancesInputBuilder
pub fn builder() -> ModifyReservedInstancesInputBuilder
Creates a new builder-style object to manufacture ModifyReservedInstancesInput
.
Trait Implementations§
source§impl Clone for ModifyReservedInstancesInput
impl Clone for ModifyReservedInstancesInput
source§fn clone(&self) -> ModifyReservedInstancesInput
fn clone(&self) -> ModifyReservedInstancesInput
Returns a copy 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 Debug for ModifyReservedInstancesInput
impl Debug for ModifyReservedInstancesInput
source§impl PartialEq<ModifyReservedInstancesInput> for ModifyReservedInstancesInput
impl PartialEq<ModifyReservedInstancesInput> for ModifyReservedInstancesInput
source§fn eq(&self, other: &ModifyReservedInstancesInput) -> bool
fn eq(&self, other: &ModifyReservedInstancesInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyReservedInstancesInput
Auto Trait Implementations§
impl RefUnwindSafe for ModifyReservedInstancesInput
impl Send for ModifyReservedInstancesInput
impl Sync for ModifyReservedInstancesInput
impl Unpin for ModifyReservedInstancesInput
impl UnwindSafe for ModifyReservedInstancesInput
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