aws_sdk_proton/client/list_environment_account_connections.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 [`ListEnvironmentAccountConnections`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`requested_by(EnvironmentAccountConnectionRequesterAccountType)`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::requested_by) / [`set_requested_by(Option<EnvironmentAccountConnectionRequesterAccountType>)`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::set_requested_by):<br>required: **true**<br><p>The type of account making the <code>ListEnvironmentAccountConnections</code> request.</p><br>
8 /// - [`environment_name(impl Into<String>)`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::set_environment_name):<br>required: **false**<br><p>The environment name that's associated with each listed environment account connection.</p><br>
9 /// - [`statuses(EnvironmentAccountConnectionStatus)`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::statuses) / [`set_statuses(Option<Vec::<EnvironmentAccountConnectionStatus>>)`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::set_statuses):<br>required: **false**<br><p>The status details for each listed environment account connection.</p><br>
10 /// - [`next_token(impl Into<String>)`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token that indicates the location of the next environment account connection in the array of environment account connections, after the list of environment account connections that was previously requested.</p><br>
11 /// - [`max_results(i32)`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of environment account connections to list.</p><br>
12 /// - On success, responds with [`ListEnvironmentAccountConnectionsOutput`](crate::operation::list_environment_account_connections::ListEnvironmentAccountConnectionsOutput) with field(s):
13 /// - [`environment_account_connections(Vec::<EnvironmentAccountConnectionSummary>)`](crate::operation::list_environment_account_connections::ListEnvironmentAccountConnectionsOutput::environment_account_connections): <p>An array of environment account connections with details that's returned by Proton.</p>
14 /// - [`next_token(Option<String>)`](crate::operation::list_environment_account_connections::ListEnvironmentAccountConnectionsOutput::next_token): <p>A token that indicates the location of the next environment account connection in the array of environment account connections, after the current requested list of environment account connections.</p>
15 /// - On failure, responds with [`SdkError<ListEnvironmentAccountConnectionsError>`](crate::operation::list_environment_account_connections::ListEnvironmentAccountConnectionsError)
16 pub fn list_environment_account_connections(
17 &self,
18 ) -> crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder {
19 crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::new(self.handle.clone())
20 }
21}