#[non_exhaustive]pub struct DescribeLoggingStatusOutput {
pub logging_enabled: 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: 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 DescribeLoggingStatusOutput
impl DescribeLoggingStatusOutput
sourcepub fn logging_enabled(&self) -> bool
pub fn logging_enabled(&self) -> 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) -> Option<&[String]>
pub fn log_exports(&self) -> Option<&[String]>
The collection of exported log types. Possible values are connectionlog
, useractivitylog
, and userlog
.
source§impl DescribeLoggingStatusOutput
impl DescribeLoggingStatusOutput
sourcepub fn builder() -> DescribeLoggingStatusOutputBuilder
pub fn builder() -> DescribeLoggingStatusOutputBuilder
Creates a new builder-style object to manufacture DescribeLoggingStatusOutput
.
Trait Implementations§
source§impl Clone for DescribeLoggingStatusOutput
impl Clone for DescribeLoggingStatusOutput
source§fn clone(&self) -> DescribeLoggingStatusOutput
fn clone(&self) -> DescribeLoggingStatusOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeLoggingStatusOutput
impl Debug for DescribeLoggingStatusOutput
source§impl PartialEq for DescribeLoggingStatusOutput
impl PartialEq for DescribeLoggingStatusOutput
source§fn eq(&self, other: &DescribeLoggingStatusOutput) -> bool
fn eq(&self, other: &DescribeLoggingStatusOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeLoggingStatusOutput
impl RequestId for DescribeLoggingStatusOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.