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 Kinesis 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 Kinesis 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 ==
.