Struct aws_sdk_iot::types::EnableIoTLoggingParams
source · #[non_exhaustive]pub struct EnableIoTLoggingParams {
pub role_arn_for_logging: String,
pub log_level: LogLevel,
}
Expand description
Parameters used when defining a mitigation action that enable Amazon Web Services IoT Core logging.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role_arn_for_logging: String
The Amazon Resource Name (ARN) of the IAM role used for logging.
log_level: LogLevel
Specifies the type of information to be logged.
Implementations§
source§impl EnableIoTLoggingParams
impl EnableIoTLoggingParams
sourcepub fn builder() -> EnableIoTLoggingParamsBuilder
pub fn builder() -> EnableIoTLoggingParamsBuilder
Creates a new builder-style object to manufacture EnableIoTLoggingParams
.
Trait Implementations§
source§impl Clone for EnableIoTLoggingParams
impl Clone for EnableIoTLoggingParams
source§fn clone(&self) -> EnableIoTLoggingParams
fn clone(&self) -> EnableIoTLoggingParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EnableIoTLoggingParams
impl Debug for EnableIoTLoggingParams
source§impl PartialEq for EnableIoTLoggingParams
impl PartialEq for EnableIoTLoggingParams
source§fn eq(&self, other: &EnableIoTLoggingParams) -> bool
fn eq(&self, other: &EnableIoTLoggingParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnableIoTLoggingParams
Auto Trait Implementations§
impl RefUnwindSafe for EnableIoTLoggingParams
impl Send for EnableIoTLoggingParams
impl Sync for EnableIoTLoggingParams
impl Unpin for EnableIoTLoggingParams
impl UnwindSafe for EnableIoTLoggingParams
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.