Struct aws_sdk_opensearch::types::LogPublishingOption
source · #[non_exhaustive]pub struct LogPublishingOption {
pub cloud_watch_logs_log_group_arn: Option<String>,
pub enabled: Option<bool>,
}
Expand description
Specifies whether the Amazon OpenSearch Service domain publishes the OpenSearch application and slow logs to Amazon CloudWatch. For more information, see Monitoring OpenSearch logs with Amazon CloudWatch Logs.
After you enable log publishing, you still have to enable the collection of slow logs using the OpenSearch REST API.
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.cloud_watch_logs_log_group_arn: Option<String>
The Amazon Resource Name (ARN) of the CloudWatch Logs group to publish logs to.
enabled: Option<bool>
Whether the log should be published.
Implementations§
source§impl LogPublishingOption
impl LogPublishingOption
sourcepub fn builder() -> LogPublishingOptionBuilder
pub fn builder() -> LogPublishingOptionBuilder
Creates a new builder-style object to manufacture LogPublishingOption
.
Trait Implementations§
source§impl Clone for LogPublishingOption
impl Clone for LogPublishingOption
source§fn clone(&self) -> LogPublishingOption
fn clone(&self) -> LogPublishingOption
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 LogPublishingOption
impl Debug for LogPublishingOption
source§impl PartialEq for LogPublishingOption
impl PartialEq for LogPublishingOption
source§fn eq(&self, other: &LogPublishingOption) -> bool
fn eq(&self, other: &LogPublishingOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogPublishingOption
Auto Trait Implementations§
impl RefUnwindSafe for LogPublishingOption
impl Send for LogPublishingOption
impl Sync for LogPublishingOption
impl Unpin for LogPublishingOption
impl UnwindSafe for LogPublishingOption
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> 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>
Creates a shared type from an unshared type.