aws_sdk_panorama/client/delete_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 [`DeleteDevice`](crate::operation::delete_device::builders::DeleteDeviceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`device_id(impl Into<String>)`](crate::operation::delete_device::builders::DeleteDeviceFluentBuilder::device_id) / [`set_device_id(Option<String>)`](crate::operation::delete_device::builders::DeleteDeviceFluentBuilder::set_device_id):<br>required: **true**<br><p>The device's ID.</p><br>
7 /// - On success, responds with [`DeleteDeviceOutput`](crate::operation::delete_device::DeleteDeviceOutput) with field(s):
8 /// - [`device_id(Option<String>)`](crate::operation::delete_device::DeleteDeviceOutput::device_id): <p>The device's ID.</p>
9 /// - On failure, responds with [`SdkError<DeleteDeviceError>`](crate::operation::delete_device::DeleteDeviceError)
10 pub fn delete_device(&self) -> crate::operation::delete_device::builders::DeleteDeviceFluentBuilder {
11 crate::operation::delete_device::builders::DeleteDeviceFluentBuilder::new(self.handle.clone())
12 }
13}