#[non_exhaustive]pub struct ElasticsearchSettings {
pub service_access_role_arn: Option<String>,
pub endpoint_uri: Option<String>,
pub full_load_error_percentage: Option<i32>,
pub error_retry_duration: Option<i32>,
}
Expand description
Provides information that defines an OpenSearch endpoint.
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.service_access_role_arn: Option<String>
The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole
action.
endpoint_uri: Option<String>
The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.
full_load_error_percentage: 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.
error_retry_duration: Option<i32>
The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.
Implementations
sourceimpl 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.
sourceimpl ElasticsearchSettings
impl ElasticsearchSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ElasticsearchSettings
Trait Implementations
sourceimpl Clone for ElasticsearchSettings
impl Clone for ElasticsearchSettings
sourcefn clone(&self) -> ElasticsearchSettings
fn clone(&self) -> ElasticsearchSettings
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 ElasticsearchSettings
impl Debug for ElasticsearchSettings
sourceimpl PartialEq<ElasticsearchSettings> for ElasticsearchSettings
impl PartialEq<ElasticsearchSettings> for ElasticsearchSettings
sourcefn eq(&self, other: &ElasticsearchSettings) -> bool
fn eq(&self, other: &ElasticsearchSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ElasticsearchSettings) -> bool
fn ne(&self, other: &ElasticsearchSettings) -> bool
This method tests for !=
.
impl StructuralPartialEq for ElasticsearchSettings
Auto Trait Implementations
impl RefUnwindSafe for ElasticsearchSettings
impl Send for ElasticsearchSettings
impl Sync for ElasticsearchSettings
impl Unpin for ElasticsearchSettings
impl UnwindSafe for ElasticsearchSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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