#[non_exhaustive]pub struct SplunkDestinationDescription {
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_destination_description: Option<S3DestinationDescription>,
pub processing_configuration: Option<ProcessingConfiguration>,
pub cloud_watch_logging_options: Option<CloudWatchLoggingOptions>,
}
Expand description
Describes 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 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 it 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>
Defines how documents should be delivered 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 AllDocuments
, Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. Default value is FailedDocumentsOnly
.
s3_destination_description: Option<S3DestinationDescription>
The Amazon S3 destination.>
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 SplunkDestinationDescription
impl SplunkDestinationDescription
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 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 it 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>
Defines how documents should be delivered 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 AllDocuments
, Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. Default value is FailedDocumentsOnly
.
sourcepub fn s3_destination_description(&self) -> Option<&S3DestinationDescription>
pub fn s3_destination_description(&self) -> Option<&S3DestinationDescription>
The Amazon S3 destination.>
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 SplunkDestinationDescription
impl SplunkDestinationDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SplunkDestinationDescription
Trait Implementations
sourceimpl Clone for SplunkDestinationDescription
impl Clone for SplunkDestinationDescription
sourcefn clone(&self) -> SplunkDestinationDescription
fn clone(&self) -> SplunkDestinationDescription
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 SplunkDestinationDescription
impl Debug for SplunkDestinationDescription
sourceimpl PartialEq<SplunkDestinationDescription> for SplunkDestinationDescription
impl PartialEq<SplunkDestinationDescription> for SplunkDestinationDescription
sourcefn eq(&self, other: &SplunkDestinationDescription) -> bool
fn eq(&self, other: &SplunkDestinationDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SplunkDestinationDescription) -> bool
fn ne(&self, other: &SplunkDestinationDescription) -> bool
This method tests for !=
.
impl StructuralPartialEq for SplunkDestinationDescription
Auto Trait Implementations
impl RefUnwindSafe for SplunkDestinationDescription
impl Send for SplunkDestinationDescription
impl Sync for SplunkDestinationDescription
impl Unpin for SplunkDestinationDescription
impl UnwindSafe for SplunkDestinationDescription
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