Struct aws_sdk_docdb::types::PendingCloudwatchLogsExports
source · #[non_exhaustive]pub struct PendingCloudwatchLogsExports {
pub log_types_to_enable: Option<Vec<String>>,
pub log_types_to_disable: Option<Vec<String>>,
}Expand description
A list of the log types whose configuration is still pending. These log types are in the process of being activated or deactivated.
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_types_to_enable: Option<Vec<String>>Log types that are in the process of being deactivated. After they are deactivated, these log types aren't exported to CloudWatch Logs.
log_types_to_disable: Option<Vec<String>>Log types that are in the process of being enabled. After they are enabled, these log types are exported to Amazon CloudWatch Logs.
Implementations§
source§impl PendingCloudwatchLogsExports
impl PendingCloudwatchLogsExports
sourcepub fn log_types_to_enable(&self) -> &[String]
pub fn log_types_to_enable(&self) -> &[String]
Log types that are in the process of being deactivated. After they are deactivated, these log types aren't exported to CloudWatch Logs.
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_types_to_enable.is_none().
sourcepub fn log_types_to_disable(&self) -> &[String]
pub fn log_types_to_disable(&self) -> &[String]
Log types that are in the process of being enabled. After they are enabled, these log types are exported to Amazon CloudWatch Logs.
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_types_to_disable.is_none().
source§impl PendingCloudwatchLogsExports
impl PendingCloudwatchLogsExports
sourcepub fn builder() -> PendingCloudwatchLogsExportsBuilder
pub fn builder() -> PendingCloudwatchLogsExportsBuilder
Creates a new builder-style object to manufacture PendingCloudwatchLogsExports.
Trait Implementations§
source§impl Clone for PendingCloudwatchLogsExports
impl Clone for PendingCloudwatchLogsExports
source§fn clone(&self) -> PendingCloudwatchLogsExports
fn clone(&self) -> PendingCloudwatchLogsExports
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PendingCloudwatchLogsExports
impl Debug for PendingCloudwatchLogsExports
source§impl PartialEq for PendingCloudwatchLogsExports
impl PartialEq for PendingCloudwatchLogsExports
source§fn eq(&self, other: &PendingCloudwatchLogsExports) -> bool
fn eq(&self, other: &PendingCloudwatchLogsExports) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PendingCloudwatchLogsExports
Auto Trait Implementations§
impl Freeze for PendingCloudwatchLogsExports
impl RefUnwindSafe for PendingCloudwatchLogsExports
impl Send for PendingCloudwatchLogsExports
impl Sync for PendingCloudwatchLogsExports
impl Unpin for PendingCloudwatchLogsExports
impl UnwindSafe for PendingCloudwatchLogsExports
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