Struct aws_sdk_opensearch::types::UpgradeHistory
source · #[non_exhaustive]pub struct UpgradeHistory {
pub upgrade_name: Option<String>,
pub start_timestamp: Option<DateTime>,
pub upgrade_status: Option<UpgradeStatus>,
pub steps_list: Option<Vec<UpgradeStepItem>>,
}
Expand description
History of the last 10 upgrades and upgrade eligibility checks for an Amazon OpenSearch Service domain.
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.upgrade_name: Option<String>
A string that describes the upgrade.
start_timestamp: Option<DateTime>
UTC timestamp at which the upgrade API call was made, in the format yyyy-MM-ddTHH:mm:ssZ
.
upgrade_status: Option<UpgradeStatus>
The current status of the upgrade. The status can take one of the following values:
-
In Progress
-
Succeeded
-
Succeeded with Issues
-
Failed
steps_list: Option<Vec<UpgradeStepItem>>
A list of each step performed as part of a specific upgrade or upgrade eligibility check.
Implementations§
source§impl UpgradeHistory
impl UpgradeHistory
sourcepub fn upgrade_name(&self) -> Option<&str>
pub fn upgrade_name(&self) -> Option<&str>
A string that describes the upgrade.
sourcepub fn start_timestamp(&self) -> Option<&DateTime>
pub fn start_timestamp(&self) -> Option<&DateTime>
UTC timestamp at which the upgrade API call was made, in the format yyyy-MM-ddTHH:mm:ssZ
.
sourcepub fn upgrade_status(&self) -> Option<&UpgradeStatus>
pub fn upgrade_status(&self) -> Option<&UpgradeStatus>
The current status of the upgrade. The status can take one of the following values:
-
In Progress
-
Succeeded
-
Succeeded with Issues
-
Failed
sourcepub fn steps_list(&self) -> &[UpgradeStepItem]
pub fn steps_list(&self) -> &[UpgradeStepItem]
A list of each step performed as part of a specific upgrade or upgrade eligibility check.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .steps_list.is_none()
.
source§impl UpgradeHistory
impl UpgradeHistory
sourcepub fn builder() -> UpgradeHistoryBuilder
pub fn builder() -> UpgradeHistoryBuilder
Creates a new builder-style object to manufacture UpgradeHistory
.
Trait Implementations§
source§impl Clone for UpgradeHistory
impl Clone for UpgradeHistory
source§fn clone(&self) -> UpgradeHistory
fn clone(&self) -> UpgradeHistory
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpgradeHistory
impl Debug for UpgradeHistory
source§impl PartialEq for UpgradeHistory
impl PartialEq for UpgradeHistory
source§fn eq(&self, other: &UpgradeHistory) -> bool
fn eq(&self, other: &UpgradeHistory) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpgradeHistory
Auto Trait Implementations§
impl Freeze for UpgradeHistory
impl RefUnwindSafe for UpgradeHistory
impl Send for UpgradeHistory
impl Sync for UpgradeHistory
impl Unpin for UpgradeHistory
impl UnwindSafe for UpgradeHistory
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