pub struct ElasticsearchDestinationUpdate {
pub buffering_hints: Option<ElasticsearchBufferingHints>,
pub cloud_watch_logging_options: Option<CloudWatchLoggingOptions>,
pub cluster_endpoint: Option<String>,
pub domain_arn: Option<String>,
pub index_name: Option<String>,
pub index_rotation_period: Option<String>,
pub processing_configuration: Option<ProcessingConfiguration>,
pub retry_options: Option<ElasticsearchRetryOptions>,
pub role_arn: Option<String>,
pub s3_update: Option<S3DestinationUpdate>,
pub type_name: Option<String>,
}
Expand description
Describes an update for a destination in Amazon ES.
Fields
buffering_hints: Option<ElasticsearchBufferingHints>
The buffering options. If no value is specified, ElasticsearchBufferingHints
object default values are used.
cloud_watch_logging_options: Option<CloudWatchLoggingOptions>
The CloudWatch logging options for your delivery stream.
cluster_endpoint: Option<String>
The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint
or the DomainARN
field.
domain_arn: Option<String>
The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeElasticsearchDomain
, DescribeElasticsearchDomains
, and DescribeElasticsearchDomainConfig
after assuming the IAM role specified in RoleARN
. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
Specify either ClusterEndpoint
or DomainARN
.
index_name: Option<String>
The Elasticsearch index name.
index_rotation_period: Option<String>
The Elasticsearch index rotation period. Index rotation appends a timestamp to IndexName
to facilitate the expiration of old data. For more information, see Index Rotation for the Amazon ES Destination. Default value is OneDay
.
processing_configuration: Option<ProcessingConfiguration>
The data processing configuration.
retry_options: Option<ElasticsearchRetryOptions>
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Grant Kinesis Data Firehose Access to an Amazon S3 Destination and Amazon Resource Names (ARNs) and AWS Service Namespaces.
s3_update: Option<S3DestinationUpdate>
The Amazon S3 destination.
type_name: Option<String>
The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per index. If you try to specify a new type for an existing index that already has another type, Kinesis Data Firehose returns an error during runtime.
If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream, Kinesis Data Firehose still delivers data to Elasticsearch with the old index name and type name. If you want to update your delivery stream with a new index name, provide an empty string for TypeName
.
Trait Implementations
sourceimpl Clone for ElasticsearchDestinationUpdate
impl Clone for ElasticsearchDestinationUpdate
sourcefn clone(&self) -> ElasticsearchDestinationUpdate
fn clone(&self) -> ElasticsearchDestinationUpdate
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 Default for ElasticsearchDestinationUpdate
impl Default for ElasticsearchDestinationUpdate
sourcefn default() -> ElasticsearchDestinationUpdate
fn default() -> ElasticsearchDestinationUpdate
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ElasticsearchDestinationUpdate> for ElasticsearchDestinationUpdate
impl PartialEq<ElasticsearchDestinationUpdate> for ElasticsearchDestinationUpdate
sourcefn eq(&self, other: &ElasticsearchDestinationUpdate) -> bool
fn eq(&self, other: &ElasticsearchDestinationUpdate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ElasticsearchDestinationUpdate) -> bool
fn ne(&self, other: &ElasticsearchDestinationUpdate) -> bool
This method tests for !=
.
impl StructuralPartialEq for ElasticsearchDestinationUpdate
Auto Trait Implementations
impl RefUnwindSafe for ElasticsearchDestinationUpdate
impl Send for ElasticsearchDestinationUpdate
impl Sync for ElasticsearchDestinationUpdate
impl Unpin for ElasticsearchDestinationUpdate
impl UnwindSafe for ElasticsearchDestinationUpdate
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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