#[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
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) -> &[String]
pub fn reserved_instances_ids(&self) -> &[String]
The IDs of the Reserved Instances to modify.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .reserved_instances_ids.is_none()
.
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) -> &[ReservedInstancesConfiguration]
pub fn target_configurations(&self) -> &[ReservedInstancesConfiguration]
The configuration settings for the Reserved Instances to modify.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .target_configurations.is_none()
.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyReservedInstancesInput
impl Debug for ModifyReservedInstancesInput
source§impl PartialEq for ModifyReservedInstancesInput
impl PartialEq for ModifyReservedInstancesInput
source§fn eq(&self, other: &ModifyReservedInstancesInput) -> bool
fn eq(&self, other: &ModifyReservedInstancesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyReservedInstancesInput
Auto Trait Implementations§
impl Freeze for ModifyReservedInstancesInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more