1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateDeviceState`](crate::operation::update_device_state::builders::UpdateDeviceStateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`device_id(impl Into<String>)`](crate::operation::update_device_state::builders::UpdateDeviceStateFluentBuilder::device_id) / [`set_device_id(Option<String>)`](crate::operation::update_device_state::builders::UpdateDeviceStateFluentBuilder::set_device_id): <p>The unique identifier of the device.</p>
    ///   - [`enabled(bool)`](crate::operation::update_device_state::builders::UpdateDeviceStateFluentBuilder::enabled) / [`set_enabled(Option<bool>)`](crate::operation::update_device_state::builders::UpdateDeviceStateFluentBuilder::set_enabled): <p>If true, the device is enabled. If false, the device is disabled.</p>
    /// - On success, responds with [`UpdateDeviceStateOutput`](crate::operation::update_device_state::UpdateDeviceStateOutput)
    /// - On failure, responds with [`SdkError<UpdateDeviceStateError>`](crate::operation::update_device_state::UpdateDeviceStateError)
    pub fn update_device_state(&self) -> crate::operation::update_device_state::builders::UpdateDeviceStateFluentBuilder {
        crate::operation::update_device_state::builders::UpdateDeviceStateFluentBuilder::new(self.handle.clone())
    }
}