#[non_exhaustive]pub struct UpgradeDomainInput {
pub domain_name: Option<String>,
pub target_version: Option<String>,
pub perform_check_only: Option<bool>,
pub advanced_options: Option<HashMap<String, String>>,
}Expand description
Container for the request parameters to the UpgradeDomain operation.
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.domain_name: Option<String>Name of the OpenSearch Service domain that you want to upgrade.
target_version: Option<String>OpenSearch or Elasticsearch version to which you want to upgrade, in the format Opensearch_X.Y or Elasticsearch_X.Y.
perform_check_only: Option<bool>When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
advanced_options: Option<HashMap<String, String>>Only supports the override_main_response_version parameter and not other advanced options. You can only include this option when upgrading to an OpenSearch version. Specifies whether the domain reports its version as 7.10 so that it continues to work with Elasticsearch OSS clients and plugins.
Implementations§
source§impl UpgradeDomainInput
impl UpgradeDomainInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
Name of the OpenSearch Service domain that you want to upgrade.
sourcepub fn target_version(&self) -> Option<&str>
pub fn target_version(&self) -> Option<&str>
OpenSearch or Elasticsearch version to which you want to upgrade, in the format Opensearch_X.Y or Elasticsearch_X.Y.
sourcepub fn perform_check_only(&self) -> Option<bool>
pub fn perform_check_only(&self) -> Option<bool>
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
sourcepub fn advanced_options(&self) -> Option<&HashMap<String, String>>
pub fn advanced_options(&self) -> Option<&HashMap<String, String>>
Only supports the override_main_response_version parameter and not other advanced options. You can only include this option when upgrading to an OpenSearch version. Specifies whether the domain reports its version as 7.10 so that it continues to work with Elasticsearch OSS clients and plugins.
source§impl UpgradeDomainInput
impl UpgradeDomainInput
sourcepub fn builder() -> UpgradeDomainInputBuilder
pub fn builder() -> UpgradeDomainInputBuilder
Creates a new builder-style object to manufacture UpgradeDomainInput.
Trait Implementations§
source§impl Clone for UpgradeDomainInput
impl Clone for UpgradeDomainInput
source§fn clone(&self) -> UpgradeDomainInput
fn clone(&self) -> UpgradeDomainInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpgradeDomainInput
impl Debug for UpgradeDomainInput
source§impl PartialEq for UpgradeDomainInput
impl PartialEq for UpgradeDomainInput
source§fn eq(&self, other: &UpgradeDomainInput) -> bool
fn eq(&self, other: &UpgradeDomainInput) -> bool
self and other values to be equal, and is used
by ==.