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