Struct aws_sdk_osis::types::LogPublishingOptions
source · #[non_exhaustive]pub struct LogPublishingOptions {
pub is_logging_enabled: Option<bool>,
pub cloud_watch_log_destination: Option<CloudWatchLogDestination>,
}Expand description
Container for the values required to configure logging for the pipeline. If you don't specify these values, OpenSearch Ingestion will not publish logs from your application to CloudWatch Logs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.is_logging_enabled: Option<bool>Whether logs should be published.
cloud_watch_log_destination: Option<CloudWatchLogDestination>The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required if IsLoggingEnabled is set to true.
Implementations§
source§impl LogPublishingOptions
impl LogPublishingOptions
sourcepub fn is_logging_enabled(&self) -> Option<bool>
pub fn is_logging_enabled(&self) -> Option<bool>
Whether logs should be published.
sourcepub fn cloud_watch_log_destination(&self) -> Option<&CloudWatchLogDestination>
pub fn cloud_watch_log_destination(&self) -> Option<&CloudWatchLogDestination>
The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required if IsLoggingEnabled is set to true.
source§impl LogPublishingOptions
impl LogPublishingOptions
sourcepub fn builder() -> LogPublishingOptionsBuilder
pub fn builder() -> LogPublishingOptionsBuilder
Creates a new builder-style object to manufacture LogPublishingOptions.
Trait Implementations§
source§impl Clone for LogPublishingOptions
impl Clone for LogPublishingOptions
source§fn clone(&self) -> LogPublishingOptions
fn clone(&self) -> LogPublishingOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LogPublishingOptions
impl Debug for LogPublishingOptions
source§impl PartialEq for LogPublishingOptions
impl PartialEq for LogPublishingOptions
impl StructuralPartialEq for LogPublishingOptions
Auto Trait Implementations§
impl Freeze for LogPublishingOptions
impl RefUnwindSafe for LogPublishingOptions
impl Send for LogPublishingOptions
impl Sync for LogPublishingOptions
impl Unpin for LogPublishingOptions
impl UnwindSafe for LogPublishingOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.