Struct aws_sdk_transfer::types::LoggingConfiguration
source · #[non_exhaustive]pub struct LoggingConfiguration {
pub logging_role: Option<String>,
pub log_group_name: Option<String>,
}
Expand description
Consists of the logging role and the log group name.
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.logging_role: Option<String>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.
log_group_name: Option<String>
The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
Implementations§
source§impl LoggingConfiguration
impl LoggingConfiguration
sourcepub fn logging_role(&self) -> Option<&str>
pub fn logging_role(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.
sourcepub fn log_group_name(&self) -> Option<&str>
pub fn log_group_name(&self) -> Option<&str>
The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.
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