aws_sdk_medialive/client/reboot_input_device.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`RebootInputDevice`](crate::operation::reboot_input_device::builders::RebootInputDeviceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`force(RebootInputDeviceForce)`](crate::operation::reboot_input_device::builders::RebootInputDeviceFluentBuilder::force) / [`set_force(Option<RebootInputDeviceForce>)`](crate::operation::reboot_input_device::builders::RebootInputDeviceFluentBuilder::set_force):<br>required: **false**<br>Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes.<br>
7 /// - [`input_device_id(impl Into<String>)`](crate::operation::reboot_input_device::builders::RebootInputDeviceFluentBuilder::input_device_id) / [`set_input_device_id(Option<String>)`](crate::operation::reboot_input_device::builders::RebootInputDeviceFluentBuilder::set_input_device_id):<br>required: **true**<br>The unique ID of the input device to reboot. For example, hd-123456789abcdef.<br>
8 /// - On success, responds with [`RebootInputDeviceOutput`](crate::operation::reboot_input_device::RebootInputDeviceOutput)
9 /// - On failure, responds with [`SdkError<RebootInputDeviceError>`](crate::operation::reboot_input_device::RebootInputDeviceError)
10 pub fn reboot_input_device(&self) -> crate::operation::reboot_input_device::builders::RebootInputDeviceFluentBuilder {
11 crate::operation::reboot_input_device::builders::RebootInputDeviceFluentBuilder::new(self.handle.clone())
12 }
13}