#[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 ==
.