Struct aws_sdk_iot::client::fluent_builders::SetV2LoggingLevel
source · pub struct SetV2LoggingLevel { /* private fields */ }
Expand description
Fluent builder constructing a request to SetV2LoggingLevel
.
Sets the logging level.
Requires permission to access the SetV2LoggingLevel action.
Implementations§
source§impl SetV2LoggingLevel
impl SetV2LoggingLevel
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<SetV2LoggingLevel, AwsResponseRetryClassifier>, SdkError<SetV2LoggingLevelError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<SetV2LoggingLevel, AwsResponseRetryClassifier>, SdkError<SetV2LoggingLevelError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<SetV2LoggingLevelOutput, SdkError<SetV2LoggingLevelError>>
pub async fn send(
self
) -> Result<SetV2LoggingLevelOutput, SdkError<SetV2LoggingLevelError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn log_target(self, input: LogTarget) -> Self
pub fn log_target(self, input: LogTarget) -> Self
The log target.
sourcepub fn set_log_target(self, input: Option<LogTarget>) -> Self
pub fn set_log_target(self, input: Option<LogTarget>) -> Self
The log target.
sourcepub fn set_log_level(self, input: Option<LogLevel>) -> Self
pub fn set_log_level(self, input: Option<LogLevel>) -> Self
The log level.
Trait Implementations§
source§impl Clone for SetV2LoggingLevel
impl Clone for SetV2LoggingLevel
source§fn clone(&self) -> SetV2LoggingLevel
fn clone(&self) -> SetV2LoggingLevel
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 more