#[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
impl StructuralPartialEq for UpgradeDomainInput
Auto Trait Implementations§
impl Freeze for UpgradeDomainInput
impl RefUnwindSafe for UpgradeDomainInput
impl Send for UpgradeDomainInput
impl Sync for UpgradeDomainInput
impl Unpin for UpgradeDomainInput
impl UnwindSafe for UpgradeDomainInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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