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
pub 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
>
Creates a new builder-style object to manufacture UpgradeDomainInput
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).
The version of OpenSearch you intend to upgrade the domain to.
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more