aws_sdk_devicefarm/client/
get_network_profile.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 [`GetNetworkProfile`](crate::operation::get_network_profile::builders::GetNetworkProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`arn(impl Into<String>)`](crate::operation::get_network_profile::builders::GetNetworkProfileFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_network_profile::builders::GetNetworkProfileFluentBuilder::set_arn):<br>required: **true**<br><p>The ARN of the network profile to return information about.</p><br>
    /// - On success, responds with [`GetNetworkProfileOutput`](crate::operation::get_network_profile::GetNetworkProfileOutput) with field(s):
    ///   - [`network_profile(Option<NetworkProfile>)`](crate::operation::get_network_profile::GetNetworkProfileOutput::network_profile): <p>The network profile.</p>
    /// - On failure, responds with [`SdkError<GetNetworkProfileError>`](crate::operation::get_network_profile::GetNetworkProfileError)
    pub fn get_network_profile(&self) -> crate::operation::get_network_profile::builders::GetNetworkProfileFluentBuilder {
        crate::operation::get_network_profile::builders::GetNetworkProfileFluentBuilder::new(self.handle.clone())
    }
}