Struct aws_sdk_opensearch::input::UpgradeDomainInput
source · [−]#[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
operation. UpgradeDomain
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>
The name of an domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
target_version: Option<String>
The version of OpenSearch you intend to upgrade the domain to.
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>>
Exposes select native OpenSearch configuration values from opensearch.yml
. Currently, the following advanced options are available:
- Option to allow references to indices in an HTTP request body. Must be
false
when configuring access to individual sub-resources. By default, the value istrue
. See Advanced cluster parameters for more information. - Option to specify the percentage of heap space allocated to field data. By default, this setting is unbounded.
For more information, see Advanced cluster parameters.
Implementations
sourceimpl UpgradeDomainInput
impl UpgradeDomainInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpgradeDomain, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpgradeDomain, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpgradeDomain
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpgradeDomainInput
sourceimpl UpgradeDomainInput
impl UpgradeDomainInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of an domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn target_version(&self) -> Option<&str>
pub fn target_version(&self) -> Option<&str>
The version of OpenSearch you intend to upgrade the domain to.
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>>
Exposes select native OpenSearch configuration values from opensearch.yml
. Currently, the following advanced options are available:
- Option to allow references to indices in an HTTP request body. Must be
false
when configuring access to individual sub-resources. By default, the value istrue
. See Advanced cluster parameters for more information. - Option to specify the percentage of heap space allocated to field data. By default, this setting is unbounded.
For more information, see Advanced cluster parameters.
Trait Implementations
sourceimpl Clone for UpgradeDomainInput
impl Clone for UpgradeDomainInput
sourcefn clone(&self) -> UpgradeDomainInput
fn clone(&self) -> UpgradeDomainInput
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 UpgradeDomainInput
impl Debug for UpgradeDomainInput
sourceimpl PartialEq<UpgradeDomainInput> for UpgradeDomainInput
impl PartialEq<UpgradeDomainInput> for UpgradeDomainInput
sourcefn eq(&self, other: &UpgradeDomainInput) -> bool
fn eq(&self, other: &UpgradeDomainInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpgradeDomainInput) -> bool
fn ne(&self, other: &UpgradeDomainInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpgradeDomainInput
Auto Trait Implementations
impl RefUnwindSafe for UpgradeDomainInput
impl Send for UpgradeDomainInput
impl Sync for UpgradeDomainInput
impl Unpin for UpgradeDomainInput
impl UnwindSafe for UpgradeDomainInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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