Struct aws_sdk_fsx::model::LustreLogConfiguration
source · [−]#[non_exhaustive]pub struct LustreLogConfiguration {
pub level: Option<LustreAccessAuditLogLevel>,
pub destination: Option<String>,
}
Expand description
The configuration for Lustre logging used to write the enabled logging events for your file system to Amazon CloudWatch Logs.
When logging is enabled, Lustre logs error and warning events from data repository operations such as automatic export and data repository tasks. To learn more about Lustre logging, see Logging with Amazon CloudWatch Logs.
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<LustreAccessAuditLogLevel>
The data repository events that are logged by Amazon FSx.
-
WARN_ONLY
- only warning events are logged. -
ERROR_ONLY
- only error events are logged. -
WARN_ERROR
- both warning events and error events are logged. -
DISABLED
- logging of data repository events is turned off.
destination: Option<String>
The Amazon Resource Name (ARN) that specifies the destination of the logs. The destination can be any Amazon CloudWatch Logs log group ARN. The destination ARN must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
Implementations
sourceimpl LustreLogConfiguration
impl LustreLogConfiguration
sourcepub fn level(&self) -> Option<&LustreAccessAuditLogLevel>
pub fn level(&self) -> Option<&LustreAccessAuditLogLevel>
The data repository events that are logged by Amazon FSx.
-
WARN_ONLY
- only warning events are logged. -
ERROR_ONLY
- only error events are logged. -
WARN_ERROR
- both warning events and error events are logged. -
DISABLED
- logging of data repository events is turned off.
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The Amazon Resource Name (ARN) that specifies the destination of the logs. The destination can be any Amazon CloudWatch Logs log group ARN. The destination ARN must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system.
sourceimpl LustreLogConfiguration
impl LustreLogConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LustreLogConfiguration
Trait Implementations
sourceimpl Clone for LustreLogConfiguration
impl Clone for LustreLogConfiguration
sourcefn clone(&self) -> LustreLogConfiguration
fn clone(&self) -> LustreLogConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LustreLogConfiguration
impl Debug for LustreLogConfiguration
sourceimpl PartialEq<LustreLogConfiguration> for LustreLogConfiguration
impl PartialEq<LustreLogConfiguration> for LustreLogConfiguration
sourcefn eq(&self, other: &LustreLogConfiguration) -> bool
fn eq(&self, other: &LustreLogConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LustreLogConfiguration) -> bool
fn ne(&self, other: &LustreLogConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for LustreLogConfiguration
Auto Trait Implementations
impl RefUnwindSafe for LustreLogConfiguration
impl Send for LustreLogConfiguration
impl Sync for LustreLogConfiguration
impl Unpin for LustreLogConfiguration
impl UnwindSafe for LustreLogConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more