aws_sdk_devicefarm/client/
list_network_profiles.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListNetworkProfiles`](crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`ListNetworkProfilesOutput`](crate::operation::list_network_profiles::ListNetworkProfilesOutput) with field(s):
    ///   - [`network_profiles(Option<Vec::<NetworkProfile>>)`](crate::operation::list_network_profiles::ListNetworkProfilesOutput::network_profiles): <p>A list of the available network profiles.</p>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<ListNetworkProfilesError>`](crate::operation::list_network_profiles::ListNetworkProfilesError)
    pub fn list_network_profiles(&self) -> crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder {
        crate::operation::list_network_profiles::builders::ListNetworkProfilesFluentBuilder::new(self.handle.clone())
    }
}