1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateDevice`](crate::operation::update_device::builders::UpdateDeviceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::update_device::builders::UpdateDeviceFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_device::builders::UpdateDeviceFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the device to update.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_device::builders::UpdateDeviceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_device::builders::UpdateDeviceFluentBuilder::set_name):<br>required: **false**<br><p>The name of the device to update.</p><br>
    ///   - [`desired_software_set_id(impl Into<String>)`](crate::operation::update_device::builders::UpdateDeviceFluentBuilder::desired_software_set_id) / [`set_desired_software_set_id(Option<String>)`](crate::operation::update_device::builders::UpdateDeviceFluentBuilder::set_desired_software_set_id):<br>required: **false**<br><p>The ID of the software set to apply.</p><br>
    ///   - [`software_set_update_schedule(SoftwareSetUpdateSchedule)`](crate::operation::update_device::builders::UpdateDeviceFluentBuilder::software_set_update_schedule) / [`set_software_set_update_schedule(Option<SoftwareSetUpdateSchedule>)`](crate::operation::update_device::builders::UpdateDeviceFluentBuilder::set_software_set_update_schedule):<br>required: **false**<br><p>An option to define if software updates should be applied within a maintenance window.</p><br>
    ///   - [`kms_key_arn(impl Into<String>)`](crate::operation::update_device::builders::UpdateDeviceFluentBuilder::kms_key_arn) / [`set_kms_key_arn(Option<String>)`](crate::operation::update_device::builders::UpdateDeviceFluentBuilder::set_kms_key_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the Key Management Service key to use for the update.</p><br>
    /// - On success, responds with [`UpdateDeviceOutput`](crate::operation::update_device::UpdateDeviceOutput) with field(s):
    ///   - [`device(Option<DeviceSummary>)`](crate::operation::update_device::UpdateDeviceOutput::device): <p>Describes a device.</p>
    /// - On failure, responds with [`SdkError<UpdateDeviceError>`](crate::operation::update_device::UpdateDeviceError)
    pub fn update_device(&self) -> crate::operation::update_device::builders::UpdateDeviceFluentBuilder {
        crate::operation::update_device::builders::UpdateDeviceFluentBuilder::new(self.handle.clone())
    }
}