#[non_exhaustive]pub struct AwsRedshiftClusterLoggingStatus {
pub bucket_name: Option<String>,
pub last_failure_message: Option<String>,
pub last_failure_time: Option<String>,
pub last_successful_delivery_time: Option<String>,
pub logging_enabled: Option<bool>,
pub s3_key_prefix: Option<String>,
}
Expand description
Provides information about the logging status of the 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.bucket_name: Option<String>
The name of the S3 bucket where the log files are stored.
last_failure_message: Option<String>
The message indicating that the logs failed to be delivered.
last_failure_time: Option<String>
The last time when logs failed to be delivered.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
last_successful_delivery_time: Option<String>
The last time that logs were delivered successfully.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
logging_enabled: Option<bool>
Indicates whether logging is enabled.
s3_key_prefix: Option<String>
Provides the prefix applied to the log file names.
Implementations§
source§impl AwsRedshiftClusterLoggingStatus
impl AwsRedshiftClusterLoggingStatus
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 last_failure_message(&self) -> Option<&str>
pub fn last_failure_message(&self) -> Option<&str>
The message indicating that the logs failed to be delivered.
sourcepub fn last_failure_time(&self) -> Option<&str>
pub fn last_failure_time(&self) -> Option<&str>
The last time when logs failed to be delivered.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn last_successful_delivery_time(&self) -> Option<&str>
pub fn last_successful_delivery_time(&self) -> Option<&str>
The last time that logs were delivered successfully.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn logging_enabled(&self) -> Option<bool>
pub fn logging_enabled(&self) -> Option<bool>
Indicates whether logging is enabled.
sourcepub fn s3_key_prefix(&self) -> Option<&str>
pub fn s3_key_prefix(&self) -> Option<&str>
Provides the prefix applied to the log file names.
source§impl AwsRedshiftClusterLoggingStatus
impl AwsRedshiftClusterLoggingStatus
sourcepub fn builder() -> AwsRedshiftClusterLoggingStatusBuilder
pub fn builder() -> AwsRedshiftClusterLoggingStatusBuilder
Creates a new builder-style object to manufacture AwsRedshiftClusterLoggingStatus
.
Trait Implementations§
source§impl Clone for AwsRedshiftClusterLoggingStatus
impl Clone for AwsRedshiftClusterLoggingStatus
source§fn clone(&self) -> AwsRedshiftClusterLoggingStatus
fn clone(&self) -> AwsRedshiftClusterLoggingStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsRedshiftClusterLoggingStatus
impl PartialEq for AwsRedshiftClusterLoggingStatus
source§fn eq(&self, other: &AwsRedshiftClusterLoggingStatus) -> bool
fn eq(&self, other: &AwsRedshiftClusterLoggingStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsRedshiftClusterLoggingStatus
Auto Trait Implementations§
impl Freeze for AwsRedshiftClusterLoggingStatus
impl RefUnwindSafe for AwsRedshiftClusterLoggingStatus
impl Send for AwsRedshiftClusterLoggingStatus
impl Sync for AwsRedshiftClusterLoggingStatus
impl Unpin for AwsRedshiftClusterLoggingStatus
impl UnwindSafe for AwsRedshiftClusterLoggingStatus
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> 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