#[non_exhaustive]pub struct EnableLoggingOutput {
pub logging_enabled: Option<bool>,
pub bucket_name: Option<String>,
pub s3_key_prefix: Option<String>,
pub last_successful_delivery_time: Option<DateTime>,
pub last_failure_time: Option<DateTime>,
pub last_failure_message: Option<String>,
pub log_destination_type: Option<LogDestinationType>,
pub log_exports: Option<Vec<String>>,
/* private fields */
}
Expand description
Describes the status of logging for a cluster.
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.logging_enabled: Option<bool>
true
if logging is on, false
if logging is off.
bucket_name: Option<String>
The name of the S3 bucket where the log files are stored.
s3_key_prefix: Option<String>
The prefix applied to the log file names.
last_successful_delivery_time: Option<DateTime>
The last time that logs were delivered.
last_failure_time: Option<DateTime>
The last time when logs failed to be delivered.
last_failure_message: Option<String>
The message indicating that logs failed to be delivered.
log_destination_type: Option<LogDestinationType>
The log destination type. An enum with possible values of s3
and cloudwatch
.
log_exports: Option<Vec<String>>
The collection of exported log types. Possible values are connectionlog
, useractivitylog
, and userlog
.
Implementations§
source§impl EnableLoggingOutput
impl EnableLoggingOutput
sourcepub fn logging_enabled(&self) -> Option<bool>
pub fn logging_enabled(&self) -> Option<bool>
true
if logging is on, false
if logging is off.
sourcepub fn bucket_name(&self) -> Option<&str>
pub fn bucket_name(&self) -> Option<&str>
The name of the S3 bucket where the log files are stored.
sourcepub fn s3_key_prefix(&self) -> Option<&str>
pub fn s3_key_prefix(&self) -> Option<&str>
The prefix applied to the log file names.
sourcepub fn last_successful_delivery_time(&self) -> Option<&DateTime>
pub fn last_successful_delivery_time(&self) -> Option<&DateTime>
The last time that logs were delivered.
sourcepub fn last_failure_time(&self) -> Option<&DateTime>
pub fn last_failure_time(&self) -> Option<&DateTime>
The last time when logs failed to be delivered.
sourcepub fn last_failure_message(&self) -> Option<&str>
pub fn last_failure_message(&self) -> Option<&str>
The message indicating that logs failed to be delivered.
sourcepub fn log_destination_type(&self) -> Option<&LogDestinationType>
pub fn log_destination_type(&self) -> Option<&LogDestinationType>
The log destination type. An enum with possible values of s3
and cloudwatch
.
sourcepub fn log_exports(&self) -> &[String]
pub fn log_exports(&self) -> &[String]
The collection of exported log types. Possible values are connectionlog
, useractivitylog
, and userlog
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .log_exports.is_none()
.
source§impl EnableLoggingOutput
impl EnableLoggingOutput
sourcepub fn builder() -> EnableLoggingOutputBuilder
pub fn builder() -> EnableLoggingOutputBuilder
Creates a new builder-style object to manufacture EnableLoggingOutput
.
Trait Implementations§
source§impl Clone for EnableLoggingOutput
impl Clone for EnableLoggingOutput
source§fn clone(&self) -> EnableLoggingOutput
fn clone(&self) -> EnableLoggingOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnableLoggingOutput
impl Debug for EnableLoggingOutput
source§impl PartialEq for EnableLoggingOutput
impl PartialEq for EnableLoggingOutput
source§fn eq(&self, other: &EnableLoggingOutput) -> bool
fn eq(&self, other: &EnableLoggingOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for EnableLoggingOutput
impl RequestId for EnableLoggingOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.