aws_sdk_iotmanagedintegrations/client/
get_device_discovery.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 [`GetDeviceDiscovery`](crate::operation::get_device_discovery::builders::GetDeviceDiscoveryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::get_device_discovery::builders::GetDeviceDiscoveryFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_device_discovery::builders::GetDeviceDiscoveryFluentBuilder::set_identifier):<br>required: **true**<br><p>The id of the device discovery job request.</p><br>
7    /// - On success, responds with [`GetDeviceDiscoveryOutput`](crate::operation::get_device_discovery::GetDeviceDiscoveryOutput) with field(s):
8    ///   - [`id(String)`](crate::operation::get_device_discovery::GetDeviceDiscoveryOutput::id): <p>The id of the device discovery job request.</p>
9    ///   - [`arn(String)`](crate::operation::get_device_discovery::GetDeviceDiscoveryOutput::arn): <p>The Amazon Resource Name (ARN) of the device discovery job request.</p>
10    ///   - [`discovery_type(DiscoveryType)`](crate::operation::get_device_discovery::GetDeviceDiscoveryOutput::discovery_type): <p>The discovery type supporting the type of device to be discovered in the device discovery job request.</p>
11    ///   - [`status(DeviceDiscoveryStatus)`](crate::operation::get_device_discovery::GetDeviceDiscoveryOutput::status): <p>The status of the device discovery job request.</p>
12    ///   - [`started_at(DateTime)`](crate::operation::get_device_discovery::GetDeviceDiscoveryOutput::started_at): <p>The timestamp value for the start time of the device discovery.</p>
13    ///   - [`controller_id(Option<String>)`](crate::operation::get_device_discovery::GetDeviceDiscoveryOutput::controller_id): <p>The id of the end-user's IoT hub.</p>
14    ///   - [`connector_association_id(Option<String>)`](crate::operation::get_device_discovery::GetDeviceDiscoveryOutput::connector_association_id): <p>The ID tracking the current discovery process for one connector association.</p>
15    ///   - [`finished_at(Option<DateTime>)`](crate::operation::get_device_discovery::GetDeviceDiscoveryOutput::finished_at): <p>The timestamp value for the completion time of the device discovery.</p>
16    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_device_discovery::GetDeviceDiscoveryOutput::tags): <p>A set of key/value pairs that are used to manage the device discovery request.</p>
17    /// - On failure, responds with [`SdkError<GetDeviceDiscoveryError>`](crate::operation::get_device_discovery::GetDeviceDiscoveryError)
18    pub fn get_device_discovery(&self) -> crate::operation::get_device_discovery::builders::GetDeviceDiscoveryFluentBuilder {
19        crate::operation::get_device_discovery::builders::GetDeviceDiscoveryFluentBuilder::new(self.handle.clone())
20    }
21}