Struct aws_sdk_opensearch::client::fluent_builders::UpgradeDomain [−][src]
pub struct UpgradeDomain<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpgradeDomain
.
Allows you to either upgrade your domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.
Implementations
impl<C, M, R> UpgradeDomain<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpgradeDomain<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpgradeDomainOutput, SdkError<UpgradeDomainError>> where
R::Policy: SmithyRetryPolicy<UpgradeDomainInputOperationOutputAlias, UpgradeDomainOutput, UpgradeDomainError, UpgradeDomainInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpgradeDomainOutput, SdkError<UpgradeDomainError>> where
R::Policy: SmithyRetryPolicy<UpgradeDomainInputOperationOutputAlias, UpgradeDomainOutput, UpgradeDomainError, UpgradeDomainInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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 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.
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.
When true, indicates that an upgrade eligibility check needs to be performed. Does not actually perform the upgrade.
Adds a key-value pair to AdvancedOptions
.
To override the contents of this collection use set_advanced_options
.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpgradeDomain<C, M, R>
impl<C, M, R> Unpin for UpgradeDomain<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpgradeDomain<C, M, R>
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