1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutResourceLogLevel`](crate::operation::put_resource_log_level::builders::PutResourceLogLevelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_identifier(impl Into<String>)`](crate::operation::put_resource_log_level::builders::PutResourceLogLevelFluentBuilder::resource_identifier) / [`set_resource_identifier(Option<String>)`](crate::operation::put_resource_log_level::builders::PutResourceLogLevelFluentBuilder::set_resource_identifier):<br>required: **true**<br><p>The identifier of the resource. For a Wireless Device, it is the wireless device ID. For a wireless gateway, it is the wireless gateway ID.</p><br>
    ///   - [`resource_type(impl Into<String>)`](crate::operation::put_resource_log_level::builders::PutResourceLogLevelFluentBuilder::resource_type) / [`set_resource_type(Option<String>)`](crate::operation::put_resource_log_level::builders::PutResourceLogLevelFluentBuilder::set_resource_type):<br>required: **true**<br><p>The type of the resource, which can be <code>WirelessDevice</code> or <code>WirelessGateway</code>.</p><br>
    ///   - [`log_level(LogLevel)`](crate::operation::put_resource_log_level::builders::PutResourceLogLevelFluentBuilder::log_level) / [`set_log_level(Option<LogLevel>)`](crate::operation::put_resource_log_level::builders::PutResourceLogLevelFluentBuilder::set_log_level):<br>required: **true**<br><p>The log level for a log message. The log levels can be disabled, or set to <code>ERROR</code> to display less verbose logs containing only error information, or to <code>INFO</code> for more detailed logs.</p><br>
    /// - On success, responds with [`PutResourceLogLevelOutput`](crate::operation::put_resource_log_level::PutResourceLogLevelOutput)
    /// - On failure, responds with [`SdkError<PutResourceLogLevelError>`](crate::operation::put_resource_log_level::PutResourceLogLevelError)
    pub fn put_resource_log_level(&self) -> crate::operation::put_resource_log_level::builders::PutResourceLogLevelFluentBuilder {
        crate::operation::put_resource_log_level::builders::PutResourceLogLevelFluentBuilder::new(self.handle.clone())
    }
}