Struct aws_sdk_sfn::types::LoggingConfiguration
source · #[non_exhaustive]pub struct LoggingConfiguration {
pub level: Option<LogLevel>,
pub include_execution_data: bool,
pub destinations: Option<Vec<LogDestination>>,
}Expand description
The LoggingConfiguration data type is used to set CloudWatch Logs options.
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.level: Option<LogLevel>Defines which category of execution history events are logged.
include_execution_data: boolDetermines whether execution data is included in your log. When set to false, data is excluded.
destinations: Option<Vec<LogDestination>>An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.
Implementations§
source§impl LoggingConfiguration
impl LoggingConfiguration
sourcepub fn level(&self) -> Option<&LogLevel>
pub fn level(&self) -> Option<&LogLevel>
Defines which category of execution history events are logged.
sourcepub fn include_execution_data(&self) -> bool
pub fn include_execution_data(&self) -> bool
Determines whether execution data is included in your log. When set to false, data is excluded.
sourcepub fn destinations(&self) -> &[LogDestination]
pub fn destinations(&self) -> &[LogDestination]
An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .destinations.is_none().
source§impl LoggingConfiguration
impl LoggingConfiguration
sourcepub fn builder() -> LoggingConfigurationBuilder
pub fn builder() -> LoggingConfigurationBuilder
Creates a new builder-style object to manufacture LoggingConfiguration.
Trait Implementations§
source§impl Clone for LoggingConfiguration
impl Clone for LoggingConfiguration
source§fn clone(&self) -> LoggingConfiguration
fn clone(&self) -> LoggingConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LoggingConfiguration
impl Debug for LoggingConfiguration
source§impl PartialEq for LoggingConfiguration
impl PartialEq for LoggingConfiguration
source§fn eq(&self, other: &LoggingConfiguration) -> bool
fn eq(&self, other: &LoggingConfiguration) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LoggingConfiguration
Auto Trait Implementations§
impl Freeze for LoggingConfiguration
impl RefUnwindSafe for LoggingConfiguration
impl Send for LoggingConfiguration
impl Sync for LoggingConfiguration
impl Unpin for LoggingConfiguration
impl UnwindSafe for LoggingConfiguration
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