aws_sdk_devicefarm/client/get_network_profile.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 [`GetNetworkProfile`](crate::operation::get_network_profile::builders::GetNetworkProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetNetworkProfileOutput`](crate::operation::get_network_profile::GetNetworkProfileOutput) with field(s):
8 /// - [`network_profile(Option<NetworkProfile>)`](crate::operation::get_network_profile::GetNetworkProfileOutput::network_profile): <p>The network profile.</p>
9 /// - On failure, responds with [`SdkError<GetNetworkProfileError>`](crate::operation::get_network_profile::GetNetworkProfileError)
10 pub fn get_network_profile(&self) -> crate::operation::get_network_profile::builders::GetNetworkProfileFluentBuilder {
11 crate::operation::get_network_profile::builders::GetNetworkProfileFluentBuilder::new(self.handle.clone())
12 }
13}