aws_sdk_devicefarm/client/
get_device_pool.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDevicePool`](crate::operation::get_device_pool::builders::GetDevicePoolFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetDevicePoolOutput`](crate::operation::get_device_pool::GetDevicePoolOutput) with field(s):
    ///   - [`device_pool(Option<DevicePool>)`](crate::operation::get_device_pool::GetDevicePoolOutput::device_pool): <p>An object that contains information about the requested device pool.</p>
    /// - On failure, responds with [`SdkError<GetDevicePoolError>`](crate::operation::get_device_pool::GetDevicePoolError)
    pub fn get_device_pool(&self) -> crate::operation::get_device_pool::builders::GetDevicePoolFluentBuilder {
        crate::operation::get_device_pool::builders::GetDevicePoolFluentBuilder::new(self.handle.clone())
    }
}