#[non_exhaustive]pub struct UpdateDomainConfigInput {Show 19 fields
pub domain_name: Option<String>,
pub cluster_config: Option<ClusterConfig>,
pub ebs_options: Option<EbsOptions>,
pub snapshot_options: Option<SnapshotOptions>,
pub vpc_options: Option<VpcOptions>,
pub cognito_options: Option<CognitoOptions>,
pub advanced_options: Option<HashMap<String, String>>,
pub access_policies: Option<String>,
pub ip_address_type: Option<IpAddressType>,
pub log_publishing_options: Option<HashMap<LogType, LogPublishingOption>>,
pub encryption_at_rest_options: Option<EncryptionAtRestOptions>,
pub domain_endpoint_options: Option<DomainEndpointOptions>,
pub node_to_node_encryption_options: Option<NodeToNodeEncryptionOptions>,
pub advanced_security_options: Option<AdvancedSecurityOptionsInput>,
pub auto_tune_options: Option<AutoTuneOptions>,
pub dry_run: Option<bool>,
pub dry_run_mode: Option<DryRunMode>,
pub off_peak_window_options: Option<OffPeakWindowOptions>,
pub software_update_options: Option<SoftwareUpdateOptions>,
}
Expand description
Container for the request parameters to the UpdateDomain
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>
The name of the domain that you're updating.
cluster_config: Option<ClusterConfig>
Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 instances.
ebs_options: Option<EbsOptions>
The type and size of the EBS volume to attach to instances in the domain.
snapshot_options: Option<SnapshotOptions>
Option to set the time, in UTC format, for the daily automated snapshot. Default value is 0
hours.
vpc_options: Option<VpcOptions>
Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.
cognito_options: Option<CognitoOptions>
Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.
advanced_options: Option<HashMap<String, String>>
Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:
-
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must disable this property. Default is true. -
"indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies the percentage of heap space allocated to field data. Default is unbounded. -
"indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more than the permitted number of clauses result in aTooManyClauses
error.
For more information, see Advanced cluster parameters.
access_policies: Option<String>
Identity and Access Management (IAM) access policy as a JSON-formatted string.
ip_address_type: Option<IpAddressType>
The type of IP addresses supported by the endpoint for the domain.
log_publishing_options: Option<HashMap<LogType, LogPublishingOption>>
Options to publish OpenSearch logs to Amazon CloudWatch Logs.
encryption_at_rest_options: Option<EncryptionAtRestOptions>
Encryption at rest options for the domain.
domain_endpoint_options: Option<DomainEndpointOptions>
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
node_to_node_encryption_options: Option<NodeToNodeEncryptionOptions>
Node-to-node encryption options for the domain.
advanced_security_options: Option<AdvancedSecurityOptionsInput>
Options for fine-grained access control.
auto_tune_options: Option<AutoTuneOptions>
Options for Auto-Tune.
dry_run: Option<bool>
This flag, when set to True, specifies whether the UpdateDomain
request should return the results of a dry run analysis without actually applying the change. A dry run determines what type of deployment the update will cause.
dry_run_mode: Option<DryRunMode>
The type of dry run to perform.
-
Basic
only returns the type of deployment (blue/green or dynamic) that the update will cause. -
Verbose
runs an additional check to validate the changes you're making. For more information, see Validating a domain update.
off_peak_window_options: Option<OffPeakWindowOptions>
Off-peak window options for the domain.
software_update_options: Option<SoftwareUpdateOptions>
Service software update options for the domain.
Implementations§
source§impl UpdateDomainConfigInput
impl UpdateDomainConfigInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain that you're updating.
sourcepub fn cluster_config(&self) -> Option<&ClusterConfig>
pub fn cluster_config(&self) -> Option<&ClusterConfig>
Changes that you want to make to the cluster configuration, such as the instance type and number of EC2 instances.
sourcepub fn ebs_options(&self) -> Option<&EbsOptions>
pub fn ebs_options(&self) -> Option<&EbsOptions>
The type and size of the EBS volume to attach to instances in the domain.
sourcepub fn snapshot_options(&self) -> Option<&SnapshotOptions>
pub fn snapshot_options(&self) -> Option<&SnapshotOptions>
Option to set the time, in UTC format, for the daily automated snapshot. Default value is 0
hours.
sourcepub fn vpc_options(&self) -> Option<&VpcOptions>
pub fn vpc_options(&self) -> Option<&VpcOptions>
Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.
sourcepub fn cognito_options(&self) -> Option<&CognitoOptions>
pub fn cognito_options(&self) -> Option<&CognitoOptions>
Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.
sourcepub fn advanced_options(&self) -> Option<&HashMap<String, String>>
pub fn advanced_options(&self) -> Option<&HashMap<String, String>>
Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:
-
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must disable this property. Default is true. -
"indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies the percentage of heap space allocated to field data. Default is unbounded. -
"indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more than the permitted number of clauses result in aTooManyClauses
error.
For more information, see Advanced cluster parameters.
sourcepub fn access_policies(&self) -> Option<&str>
pub fn access_policies(&self) -> Option<&str>
Identity and Access Management (IAM) access policy as a JSON-formatted string.
sourcepub fn ip_address_type(&self) -> Option<&IpAddressType>
pub fn ip_address_type(&self) -> Option<&IpAddressType>
The type of IP addresses supported by the endpoint for the domain.
sourcepub fn log_publishing_options(
&self
) -> Option<&HashMap<LogType, LogPublishingOption>>
pub fn log_publishing_options( &self ) -> Option<&HashMap<LogType, LogPublishingOption>>
Options to publish OpenSearch logs to Amazon CloudWatch Logs.
sourcepub fn encryption_at_rest_options(&self) -> Option<&EncryptionAtRestOptions>
pub fn encryption_at_rest_options(&self) -> Option<&EncryptionAtRestOptions>
Encryption at rest options for the domain.
sourcepub fn domain_endpoint_options(&self) -> Option<&DomainEndpointOptions>
pub fn domain_endpoint_options(&self) -> Option<&DomainEndpointOptions>
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
sourcepub fn node_to_node_encryption_options(
&self
) -> Option<&NodeToNodeEncryptionOptions>
pub fn node_to_node_encryption_options( &self ) -> Option<&NodeToNodeEncryptionOptions>
Node-to-node encryption options for the domain.
sourcepub fn advanced_security_options(&self) -> Option<&AdvancedSecurityOptionsInput>
pub fn advanced_security_options(&self) -> Option<&AdvancedSecurityOptionsInput>
Options for fine-grained access control.
sourcepub fn auto_tune_options(&self) -> Option<&AutoTuneOptions>
pub fn auto_tune_options(&self) -> Option<&AutoTuneOptions>
Options for Auto-Tune.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
This flag, when set to True, specifies whether the UpdateDomain
request should return the results of a dry run analysis without actually applying the change. A dry run determines what type of deployment the update will cause.
sourcepub fn dry_run_mode(&self) -> Option<&DryRunMode>
pub fn dry_run_mode(&self) -> Option<&DryRunMode>
The type of dry run to perform.
-
Basic
only returns the type of deployment (blue/green or dynamic) that the update will cause. -
Verbose
runs an additional check to validate the changes you're making. For more information, see Validating a domain update.
sourcepub fn off_peak_window_options(&self) -> Option<&OffPeakWindowOptions>
pub fn off_peak_window_options(&self) -> Option<&OffPeakWindowOptions>
Off-peak window options for the domain.
sourcepub fn software_update_options(&self) -> Option<&SoftwareUpdateOptions>
pub fn software_update_options(&self) -> Option<&SoftwareUpdateOptions>
Service software update options for the domain.
source§impl UpdateDomainConfigInput
impl UpdateDomainConfigInput
sourcepub fn builder() -> UpdateDomainConfigInputBuilder
pub fn builder() -> UpdateDomainConfigInputBuilder
Creates a new builder-style object to manufacture UpdateDomainConfigInput
.
Trait Implementations§
source§impl Clone for UpdateDomainConfigInput
impl Clone for UpdateDomainConfigInput
source§fn clone(&self) -> UpdateDomainConfigInput
fn clone(&self) -> UpdateDomainConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDomainConfigInput
impl Debug for UpdateDomainConfigInput
source§impl PartialEq for UpdateDomainConfigInput
impl PartialEq for UpdateDomainConfigInput
source§fn eq(&self, other: &UpdateDomainConfigInput) -> bool
fn eq(&self, other: &UpdateDomainConfigInput) -> bool
self
and other
values to be equal, and is used
by ==
.