aws_sdk_devicefarm/client/get_device_instance.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetDeviceInstance`](crate::operation::get_device_instance::builders::GetDeviceInstanceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`arn(impl Into<String>)`](crate::operation::get_device_instance::builders::GetDeviceInstanceFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_device_instance::builders::GetDeviceInstanceFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the instance you're requesting information about.</p><br>
/// - On success, responds with [`GetDeviceInstanceOutput`](crate::operation::get_device_instance::GetDeviceInstanceOutput) with field(s):
/// - [`device_instance(Option<DeviceInstance>)`](crate::operation::get_device_instance::GetDeviceInstanceOutput::device_instance): <p>An object that contains information about your device instance.</p>
/// - On failure, responds with [`SdkError<GetDeviceInstanceError>`](crate::operation::get_device_instance::GetDeviceInstanceError)
pub fn get_device_instance(&self) -> crate::operation::get_device_instance::builders::GetDeviceInstanceFluentBuilder {
crate::operation::get_device_instance::builders::GetDeviceInstanceFluentBuilder::new(self.handle.clone())
}
}