Struct aws_sdk_pipes::types::PipeLogConfiguration
source · #[non_exhaustive]pub struct PipeLogConfiguration {
pub s3_log_destination: Option<S3LogDestination>,
pub firehose_log_destination: Option<FirehoseLogDestination>,
pub cloudwatch_logs_log_destination: Option<CloudwatchLogsLogDestination>,
pub level: Option<LogLevel>,
pub include_execution_data: Option<Vec<IncludeExecutionDataOption>>,
}
Expand description
The logging configuration settings for the pipe.
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.s3_log_destination: Option<S3LogDestination>
The Amazon S3 logging configuration settings for the pipe.
firehose_log_destination: Option<FirehoseLogDestination>
The Amazon Data Firehose logging configuration settings for the pipe.
cloudwatch_logs_log_destination: Option<CloudwatchLogsLogDestination>
The Amazon CloudWatch Logs logging configuration settings for the pipe.
level: Option<LogLevel>
The level of logging detail to include. This applies to all log destinations for the pipe.
include_execution_data: Option<Vec<IncludeExecutionDataOption>>
Whether the execution data (specifically, the payload
, awsRequest
, and awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
Implementations§
source§impl PipeLogConfiguration
impl PipeLogConfiguration
sourcepub fn s3_log_destination(&self) -> Option<&S3LogDestination>
pub fn s3_log_destination(&self) -> Option<&S3LogDestination>
The Amazon S3 logging configuration settings for the pipe.
sourcepub fn firehose_log_destination(&self) -> Option<&FirehoseLogDestination>
pub fn firehose_log_destination(&self) -> Option<&FirehoseLogDestination>
The Amazon Data Firehose logging configuration settings for the pipe.
sourcepub fn cloudwatch_logs_log_destination(
&self,
) -> Option<&CloudwatchLogsLogDestination>
pub fn cloudwatch_logs_log_destination( &self, ) -> Option<&CloudwatchLogsLogDestination>
The Amazon CloudWatch Logs logging configuration settings for the pipe.
sourcepub fn level(&self) -> Option<&LogLevel>
pub fn level(&self) -> Option<&LogLevel>
The level of logging detail to include. This applies to all log destinations for the pipe.
sourcepub fn include_execution_data(&self) -> &[IncludeExecutionDataOption]
pub fn include_execution_data(&self) -> &[IncludeExecutionDataOption]
Whether the execution data (specifically, the payload
, awsRequest
, and awsResponse
fields) is included in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .include_execution_data.is_none()
.
source§impl PipeLogConfiguration
impl PipeLogConfiguration
sourcepub fn builder() -> PipeLogConfigurationBuilder
pub fn builder() -> PipeLogConfigurationBuilder
Creates a new builder-style object to manufacture PipeLogConfiguration
.
Trait Implementations§
source§impl Clone for PipeLogConfiguration
impl Clone for PipeLogConfiguration
source§fn clone(&self) -> PipeLogConfiguration
fn clone(&self) -> PipeLogConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipeLogConfiguration
impl Debug for PipeLogConfiguration
source§impl PartialEq for PipeLogConfiguration
impl PartialEq for PipeLogConfiguration
source§fn eq(&self, other: &PipeLogConfiguration) -> bool
fn eq(&self, other: &PipeLogConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PipeLogConfiguration
Auto Trait Implementations§
impl Freeze for PipeLogConfiguration
impl RefUnwindSafe for PipeLogConfiguration
impl Send for PipeLogConfiguration
impl Sync for PipeLogConfiguration
impl Unpin for PipeLogConfiguration
impl UnwindSafe for PipeLogConfiguration
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