Struct aws_sdk_ec2::model::ReservedInstancesModification
source · [−]#[non_exhaustive]pub struct ReservedInstancesModification {
pub client_token: Option<String>,
pub create_date: Option<DateTime>,
pub effective_date: Option<DateTime>,
pub modification_results: Option<Vec<ReservedInstancesModificationResult>>,
pub reserved_instances_ids: Option<Vec<ReservedInstancesId>>,
pub reserved_instances_modification_id: Option<String>,
pub status: Option<String>,
pub status_message: Option<String>,
pub update_date: Option<DateTime>,
}
Expand description
Describes a Reserved Instance modification.
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.client_token: Option<String>
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
create_date: Option<DateTime>
The time when the modification request was created.
effective_date: Option<DateTime>
The time for the modification to become effective.
modification_results: Option<Vec<ReservedInstancesModificationResult>>
Contains target configurations along with their corresponding new Reserved Instance IDs.
reserved_instances_ids: Option<Vec<ReservedInstancesId>>
The IDs of one or more Reserved Instances.
reserved_instances_modification_id: Option<String>
A unique ID for the Reserved Instance modification.
status: Option<String>
The status of the Reserved Instances modification request.
status_message: Option<String>
The reason for the status.
update_date: Option<DateTime>
The time when the modification request was last updated.
Implementations
sourceimpl ReservedInstancesModification
impl ReservedInstancesModification
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
sourcepub fn create_date(&self) -> Option<&DateTime>
pub fn create_date(&self) -> Option<&DateTime>
The time when the modification request was created.
sourcepub fn effective_date(&self) -> Option<&DateTime>
pub fn effective_date(&self) -> Option<&DateTime>
The time for the modification to become effective.
sourcepub fn modification_results(
&self
) -> Option<&[ReservedInstancesModificationResult]>
pub fn modification_results(
&self
) -> Option<&[ReservedInstancesModificationResult]>
Contains target configurations along with their corresponding new Reserved Instance IDs.
sourcepub fn reserved_instances_ids(&self) -> Option<&[ReservedInstancesId]>
pub fn reserved_instances_ids(&self) -> Option<&[ReservedInstancesId]>
The IDs of one or more Reserved Instances.
sourcepub fn reserved_instances_modification_id(&self) -> Option<&str>
pub fn reserved_instances_modification_id(&self) -> Option<&str>
A unique ID for the Reserved Instance modification.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the Reserved Instances modification request.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The reason for the status.
sourcepub fn update_date(&self) -> Option<&DateTime>
pub fn update_date(&self) -> Option<&DateTime>
The time when the modification request was last updated.
sourceimpl ReservedInstancesModification
impl ReservedInstancesModification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReservedInstancesModification
.
Trait Implementations
sourceimpl Clone for ReservedInstancesModification
impl Clone for ReservedInstancesModification
sourcefn clone(&self) -> ReservedInstancesModification
fn clone(&self) -> ReservedInstancesModification
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReservedInstancesModification
impl Debug for ReservedInstancesModification
sourceimpl PartialEq<ReservedInstancesModification> for ReservedInstancesModification
impl PartialEq<ReservedInstancesModification> for ReservedInstancesModification
sourcefn eq(&self, other: &ReservedInstancesModification) -> bool
fn eq(&self, other: &ReservedInstancesModification) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReservedInstancesModification) -> bool
fn ne(&self, other: &ReservedInstancesModification) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReservedInstancesModification
Auto Trait Implementations
impl RefUnwindSafe for ReservedInstancesModification
impl Send for ReservedInstancesModification
impl Sync for ReservedInstancesModification
impl Unpin for ReservedInstancesModification
impl UnwindSafe for ReservedInstancesModification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more