aws_sdk_braket/client/
get_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 [`GetDevice`](crate::operation::get_device::builders::GetDeviceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`device_arn(impl Into<String>)`](crate::operation::get_device::builders::GetDeviceFluentBuilder::device_arn) / [`set_device_arn(Option<String>)`](crate::operation::get_device::builders::GetDeviceFluentBuilder::set_device_arn):<br>required: **true**<br><p>The ARN of the device to retrieve.</p><br>
7    /// - On success, responds with [`GetDeviceOutput`](crate::operation::get_device::GetDeviceOutput) with field(s):
8    ///   - [`device_arn(String)`](crate::operation::get_device::GetDeviceOutput::device_arn): <p>The ARN of the device.</p>
9    ///   - [`device_name(String)`](crate::operation::get_device::GetDeviceOutput::device_name): <p>The name of the device.</p>
10    ///   - [`provider_name(String)`](crate::operation::get_device::GetDeviceOutput::provider_name): <p>The name of the partner company for the device.</p>
11    ///   - [`device_type(DeviceType)`](crate::operation::get_device::GetDeviceOutput::device_type): <p>The type of the device.</p>
12    ///   - [`device_status(DeviceStatus)`](crate::operation::get_device::GetDeviceOutput::device_status): <p>The status of the device.</p>
13    ///   - [`device_capabilities(String)`](crate::operation::get_device::GetDeviceOutput::device_capabilities): <p>Details about the capabilities of the device.</p>
14    ///   - [`device_queue_info(Option<Vec::<DeviceQueueInfo>>)`](crate::operation::get_device::GetDeviceOutput::device_queue_info): <p>The number of quantum tasks and hybrid jobs currently queued on the device.</p>
15    /// - On failure, responds with [`SdkError<GetDeviceError>`](crate::operation::get_device::GetDeviceError)
16    pub fn get_device(&self) -> crate::operation::get_device::builders::GetDeviceFluentBuilder {
17        crate::operation::get_device::builders::GetDeviceFluentBuilder::new(self.handle.clone())
18    }
19}