Struct aws_sdk_firehose::model::SplunkDestinationUpdate
source · [−]#[non_exhaustive]pub struct SplunkDestinationUpdate {
pub hec_endpoint: Option<String>,
pub hec_endpoint_type: Option<HecEndpointType>,
pub hec_token: Option<String>,
pub hec_acknowledgment_timeout_in_seconds: Option<i32>,
pub retry_options: Option<SplunkRetryOptions>,
pub s3_backup_mode: Option<SplunkS3BackupMode>,
pub s3_update: Option<S3DestinationUpdate>,
pub processing_configuration: Option<ProcessingConfiguration>,
pub cloud_watch_logging_options: Option<CloudWatchLoggingOptions>,
}
Expand description
Describes an update for a destination in Splunk.
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.hec_endpoint: Option<String>
The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends your data.
hec_endpoint_type: Option<HecEndpointType>
This type can be either "Raw" or "Event."
hec_token: Option<String>
A GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.
hec_acknowledgment_timeout_in_seconds: Option<i32>
The amount of time that Kinesis Data Firehose waits to receive an acknowledgment from Splunk after it sends data. At the end of the timeout period, Kinesis Data Firehose either tries to send the data again or considers it an error, based on your retry settings.
retry_options: Option<SplunkRetryOptions>
The retry behavior in case Kinesis Data Firehose is unable to deliver data to Splunk or if it doesn't receive an acknowledgment of receipt from Splunk.
s3_backup_mode: Option<SplunkS3BackupMode>
Specifies how you want Kinesis Data Firehose to back up documents to Amazon S3. When set to FailedDocumentsOnly
, Kinesis Data Firehose writes any data that could not be indexed to the configured Amazon S3 destination. When set to AllEvents
, Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. The default value is FailedEventsOnly
.
You can update this backup mode from FailedEventsOnly
to AllEvents
. You can't update it from AllEvents
to FailedEventsOnly
.
s3_update: Option<S3DestinationUpdate>
Your update to the configuration of the backup Amazon S3 location.
processing_configuration: Option<ProcessingConfiguration>
The data processing configuration.
cloud_watch_logging_options: Option<CloudWatchLoggingOptions>
The Amazon CloudWatch logging options for your delivery stream.
Implementations
sourceimpl SplunkDestinationUpdate
impl SplunkDestinationUpdate
sourcepub fn hec_endpoint(&self) -> Option<&str>
pub fn hec_endpoint(&self) -> Option<&str>
The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends your data.
sourcepub fn hec_endpoint_type(&self) -> Option<&HecEndpointType>
pub fn hec_endpoint_type(&self) -> Option<&HecEndpointType>
This type can be either "Raw" or "Event."
sourcepub fn hec_token(&self) -> Option<&str>
pub fn hec_token(&self) -> Option<&str>
A GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.
sourcepub fn hec_acknowledgment_timeout_in_seconds(&self) -> Option<i32>
pub fn hec_acknowledgment_timeout_in_seconds(&self) -> Option<i32>
The amount of time that Kinesis Data Firehose waits to receive an acknowledgment from Splunk after it sends data. At the end of the timeout period, Kinesis Data Firehose either tries to send the data again or considers it an error, based on your retry settings.
sourcepub fn retry_options(&self) -> Option<&SplunkRetryOptions>
pub fn retry_options(&self) -> Option<&SplunkRetryOptions>
The retry behavior in case Kinesis Data Firehose is unable to deliver data to Splunk or if it doesn't receive an acknowledgment of receipt from Splunk.
sourcepub fn s3_backup_mode(&self) -> Option<&SplunkS3BackupMode>
pub fn s3_backup_mode(&self) -> Option<&SplunkS3BackupMode>
Specifies how you want Kinesis Data Firehose to back up documents to Amazon S3. When set to FailedDocumentsOnly
, Kinesis Data Firehose writes any data that could not be indexed to the configured Amazon S3 destination. When set to AllEvents
, Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. The default value is FailedEventsOnly
.
You can update this backup mode from FailedEventsOnly
to AllEvents
. You can't update it from AllEvents
to FailedEventsOnly
.
sourcepub fn s3_update(&self) -> Option<&S3DestinationUpdate>
pub fn s3_update(&self) -> Option<&S3DestinationUpdate>
Your update to the configuration of the backup Amazon S3 location.
sourcepub fn processing_configuration(&self) -> Option<&ProcessingConfiguration>
pub fn processing_configuration(&self) -> Option<&ProcessingConfiguration>
The data processing configuration.
sourcepub fn cloud_watch_logging_options(&self) -> Option<&CloudWatchLoggingOptions>
pub fn cloud_watch_logging_options(&self) -> Option<&CloudWatchLoggingOptions>
The Amazon CloudWatch logging options for your delivery stream.
sourceimpl SplunkDestinationUpdate
impl SplunkDestinationUpdate
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SplunkDestinationUpdate
Trait Implementations
sourceimpl Clone for SplunkDestinationUpdate
impl Clone for SplunkDestinationUpdate
sourcefn clone(&self) -> SplunkDestinationUpdate
fn clone(&self) -> SplunkDestinationUpdate
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 SplunkDestinationUpdate
impl Debug for SplunkDestinationUpdate
sourceimpl PartialEq<SplunkDestinationUpdate> for SplunkDestinationUpdate
impl PartialEq<SplunkDestinationUpdate> for SplunkDestinationUpdate
sourcefn eq(&self, other: &SplunkDestinationUpdate) -> bool
fn eq(&self, other: &SplunkDestinationUpdate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SplunkDestinationUpdate) -> bool
fn ne(&self, other: &SplunkDestinationUpdate) -> bool
This method tests for !=
.
impl StructuralPartialEq for SplunkDestinationUpdate
Auto Trait Implementations
impl RefUnwindSafe for SplunkDestinationUpdate
impl Send for SplunkDestinationUpdate
impl Sync for SplunkDestinationUpdate
impl Unpin for SplunkDestinationUpdate
impl UnwindSafe for SplunkDestinationUpdate
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