aws_sdk_devicefarm/client/
get_device_pool.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 [`GetDevicePool`](crate::operation::get_device_pool::builders::GetDevicePoolFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::get_device_pool::builders::GetDevicePoolFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_device_pool::builders::GetDevicePoolFluentBuilder::set_arn):<br>required: **true**<br><p>The device pool's ARN.</p><br>
7    /// - On success, responds with [`GetDevicePoolOutput`](crate::operation::get_device_pool::GetDevicePoolOutput) with field(s):
8    ///   - [`device_pool(Option<DevicePool>)`](crate::operation::get_device_pool::GetDevicePoolOutput::device_pool): <p>An object that contains information about the requested device pool.</p>
9    /// - On failure, responds with [`SdkError<GetDevicePoolError>`](crate::operation::get_device_pool::GetDevicePoolError)
10    pub fn get_device_pool(&self) -> crate::operation::get_device_pool::builders::GetDevicePoolFluentBuilder {
11        crate::operation::get_device_pool::builders::GetDevicePoolFluentBuilder::new(self.handle.clone())
12    }
13}