#[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 ==
.