#[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§
source§impl 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
source§impl LogDeliveryConfiguration
impl LogDeliveryConfiguration
sourcepub fn builder() -> LogDeliveryConfigurationBuilder
pub fn builder() -> LogDeliveryConfigurationBuilder
Creates a new builder-style object to manufacture LogDeliveryConfiguration
.
Trait Implementations§
source§impl Clone for LogDeliveryConfiguration
impl Clone for LogDeliveryConfiguration
source§fn clone(&self) -> LogDeliveryConfiguration
fn clone(&self) -> LogDeliveryConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LogDeliveryConfiguration
impl Debug for LogDeliveryConfiguration
source§impl PartialEq for LogDeliveryConfiguration
impl PartialEq for LogDeliveryConfiguration
source§fn eq(&self, other: &LogDeliveryConfiguration) -> bool
fn eq(&self, other: &LogDeliveryConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogDeliveryConfiguration
Auto Trait Implementations§
impl Freeze for LogDeliveryConfiguration
impl RefUnwindSafe for LogDeliveryConfiguration
impl Send for LogDeliveryConfiguration
impl Sync for LogDeliveryConfiguration
impl Unpin for LogDeliveryConfiguration
impl UnwindSafe for LogDeliveryConfiguration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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>
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 more