Struct aws_sdk_osis::types::LogPublishingOptions
source · #[non_exhaustive]pub struct LogPublishingOptions { /* private fields */ }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.
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<LogPublishingOptions> for LogPublishingOptions
impl PartialEq<LogPublishingOptions> for LogPublishingOptions
source§fn eq(&self, other: &LogPublishingOptions) -> bool
fn eq(&self, other: &LogPublishingOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LogPublishingOptions
Auto Trait Implementations§
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