aws_sdk_devicefarm/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 /// - [`arn(impl Into<String>)`](crate::operation::get_device::builders::GetDeviceFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_device::builders::GetDeviceFluentBuilder::set_arn):<br>required: **true**<br><p>The device type's ARN.</p><br>
7 /// - On success, responds with [`GetDeviceOutput`](crate::operation::get_device::GetDeviceOutput) with field(s):
8 /// - [`device(Option<Device>)`](crate::operation::get_device::GetDeviceOutput::device): <p>An object that contains information about the requested device.</p>
9 /// - On failure, responds with [`SdkError<GetDeviceError>`](crate::operation::get_device::GetDeviceError)
10 pub fn get_device(&self) -> crate::operation::get_device::builders::GetDeviceFluentBuilder {
11 crate::operation::get_device::builders::GetDeviceFluentBuilder::new(self.handle.clone())
12 }
13}