Struct aws_sdk_iot::input::SetV2LoggingOptionsInput [−][src]
#[non_exhaustive]pub struct SetV2LoggingOptionsInput {
pub role_arn: Option<String>,
pub default_log_level: Option<LogLevel>,
pub disable_all_logs: bool,
}
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: Option<String>
The ARN of the role that allows IoT to write to Cloudwatch logs.
default_log_level: Option<LogLevel>
The default logging level.
disable_all_logs: bool
If true all logs are disabled. The default is false.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetV2LoggingOptions, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetV2LoggingOptions, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SetV2LoggingOptions
>
Creates a new builder-style object to manufacture SetV2LoggingOptionsInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetV2LoggingOptionsInput
impl Send for SetV2LoggingOptionsInput
impl Sync for SetV2LoggingOptionsInput
impl Unpin for SetV2LoggingOptionsInput
impl UnwindSafe for SetV2LoggingOptionsInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more