#[non_exhaustive]pub struct LogDeliveryConfiguration {
pub log_type: Option<LogType>,
pub destination_type: Option<DestinationType>,
pub destination_details: Option<DestinationDetails>,
pub log_format: Option<LogFormat>,
pub status: Option<LogDeliveryConfigurationStatus>,
pub message: Option<String>,
}
Expand description
Returns the destination, format and type of the logs.
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.log_type: Option<LogType>
Refers to slow-log or engine-log.
destination_type: Option<DestinationType>
Returns the destination type, either cloudwatch-logs
or kinesis-firehose
.
destination_details: Option<DestinationDetails>
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
log_format: Option<LogFormat>
Returns the log format, either JSON or TEXT.
status: Option<LogDeliveryConfigurationStatus>
Returns the log delivery configuration status. Values are one of enabling
| disabling
| modifying
| active
| error
message: Option<String>
Returns an error message for the log delivery configuration.
Implementations
sourceimpl LogDeliveryConfiguration
impl LogDeliveryConfiguration
sourcepub fn destination_type(&self) -> Option<&DestinationType>
pub fn destination_type(&self) -> Option<&DestinationType>
Returns the destination type, either cloudwatch-logs
or kinesis-firehose
.
sourcepub fn destination_details(&self) -> Option<&DestinationDetails>
pub fn destination_details(&self) -> Option<&DestinationDetails>
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
sourcepub fn log_format(&self) -> Option<&LogFormat>
pub fn log_format(&self) -> Option<&LogFormat>
Returns the log format, either JSON or TEXT.
sourcepub fn status(&self) -> Option<&LogDeliveryConfigurationStatus>
pub fn status(&self) -> Option<&LogDeliveryConfigurationStatus>
Returns the log delivery configuration status. Values are one of enabling
| disabling
| modifying
| active
| error
sourceimpl LogDeliveryConfiguration
impl LogDeliveryConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LogDeliveryConfiguration
Trait Implementations
sourceimpl Clone for LogDeliveryConfiguration
impl Clone for LogDeliveryConfiguration
sourcefn clone(&self) -> LogDeliveryConfiguration
fn clone(&self) -> LogDeliveryConfiguration
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 LogDeliveryConfiguration
impl Debug for LogDeliveryConfiguration
sourceimpl PartialEq<LogDeliveryConfiguration> for LogDeliveryConfiguration
impl PartialEq<LogDeliveryConfiguration> for LogDeliveryConfiguration
sourcefn eq(&self, other: &LogDeliveryConfiguration) -> bool
fn eq(&self, other: &LogDeliveryConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LogDeliveryConfiguration) -> bool
fn ne(&self, other: &LogDeliveryConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for LogDeliveryConfiguration
Auto Trait Implementations
impl RefUnwindSafe for LogDeliveryConfiguration
impl Send for LogDeliveryConfiguration
impl Sync for LogDeliveryConfiguration
impl Unpin for LogDeliveryConfiguration
impl UnwindSafe for LogDeliveryConfiguration
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> 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