aws_sdk_networkmanager/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    ///   - [`global_network_id(impl Into<String>)`](crate::operation::delete_device::builders::DeleteDeviceFluentBuilder::global_network_id) / [`set_global_network_id(Option<String>)`](crate::operation::delete_device::builders::DeleteDeviceFluentBuilder::set_global_network_id):<br>required: **true**<br><p>The ID of the global network.</p><br>
7    ///   - [`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 ID of the device.</p><br>
8    /// - On success, responds with [`DeleteDeviceOutput`](crate::operation::delete_device::DeleteDeviceOutput) with field(s):
9    ///   - [`device(Option<Device>)`](crate::operation::delete_device::DeleteDeviceOutput::device): <p>Information about the device.</p>
10    /// - On failure, responds with [`SdkError<DeleteDeviceError>`](crate::operation::delete_device::DeleteDeviceError)
11    pub fn delete_device(&self) -> crate::operation::delete_device::builders::DeleteDeviceFluentBuilder {
12        crate::operation::delete_device::builders::DeleteDeviceFluentBuilder::new(self.handle.clone())
13    }
14}