#[non_exhaustive]pub struct EnableLoggingOutput { /* private fields */ }
Expand description
Describes the status of logging for a cluster.
Implementations§
source§impl EnableLoggingOutput
impl EnableLoggingOutput
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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EnableLoggingOutput
impl Debug for EnableLoggingOutput
source§impl PartialEq<EnableLoggingOutput> for EnableLoggingOutput
impl PartialEq<EnableLoggingOutput> for EnableLoggingOutput
source§fn eq(&self, other: &EnableLoggingOutput) -> bool
fn eq(&self, other: &EnableLoggingOutput) -> bool
This method tests for
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>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for EnableLoggingOutput
Auto Trait Implementations§
impl RefUnwindSafe for EnableLoggingOutput
impl Send for EnableLoggingOutput
impl Sync for EnableLoggingOutput
impl Unpin for EnableLoggingOutput
impl UnwindSafe for EnableLoggingOutput
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
Mutably borrows from an owned value. Read more