aws_sdk_devicefarm/client/
list_network_profiles.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 [`ListNetworkProfiles`](crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the project for which you want to list network profiles.</p><br>
7    ///   - [`r#type(NetworkProfileType)`](crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder::type) / [`set_type(Option<NetworkProfileType>)`](crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder::set_type):<br>required: **false**<br><p>The type of network profile to return information about. Valid values are listed here.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder::set_next_token):<br>required: **false**<br><p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p><br>
9    /// - On success, responds with [`ListNetworkProfilesOutput`](crate::operation::list_network_profiles::ListNetworkProfilesOutput) with field(s):
10    ///   - [`network_profiles(Option<Vec::<NetworkProfile>>)`](crate::operation::list_network_profiles::ListNetworkProfilesOutput::network_profiles): <p>A list of the available network profiles.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_network_profiles::ListNetworkProfilesOutput::next_token): <p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p>
12    /// - On failure, responds with [`SdkError<ListNetworkProfilesError>`](crate::operation::list_network_profiles::ListNetworkProfilesError)
13    pub fn list_network_profiles(&self) -> crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder {
14        crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder::new(self.handle.clone())
15    }
16}