#[non_exhaustive]pub struct ElasticsearchSettings { /* private fields */ }
Expand description
Provides information that defines an OpenSearch endpoint.
Implementations§
source§impl ElasticsearchSettings
impl ElasticsearchSettings
sourcepub fn service_access_role_arn(&self) -> Option<&str>
pub fn service_access_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole
action.
sourcepub fn endpoint_uri(&self) -> Option<&str>
pub fn endpoint_uri(&self) -> Option<&str>
The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.
sourcepub fn full_load_error_percentage(&self) -> Option<i32>
pub fn full_load_error_percentage(&self) -> Option<i32>
The maximum percentage of records that can fail to be written before a full load operation stops.
To avoid early failure, this counter is only effective after 1000 records are transferred. OpenSearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.
sourcepub fn error_retry_duration(&self) -> Option<i32>
pub fn error_retry_duration(&self) -> Option<i32>
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
sourcepub fn use_new_mapping_type(&self) -> Option<bool>
pub fn use_new_mapping_type(&self) -> Option<bool>
Set this option to true
for DMS to migrate documentation using the documentation type _doc
. OpenSearch and an Elasticsearch cluster only support the _doc documentation type in versions 7. x and later. The default value is false
.
source§impl ElasticsearchSettings
impl ElasticsearchSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ElasticsearchSettings
.
Trait Implementations§
source§impl Clone for ElasticsearchSettings
impl Clone for ElasticsearchSettings
source§fn clone(&self) -> ElasticsearchSettings
fn clone(&self) -> ElasticsearchSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ElasticsearchSettings
impl Debug for ElasticsearchSettings
source§impl PartialEq<ElasticsearchSettings> for ElasticsearchSettings
impl PartialEq<ElasticsearchSettings> for ElasticsearchSettings
source§fn eq(&self, other: &ElasticsearchSettings) -> bool
fn eq(&self, other: &ElasticsearchSettings) -> bool
self
and other
values to be equal, and is used
by ==
.