aws_sdk_proton/client/list_environment_account_connections.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListEnvironmentAccountConnections`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`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>
/// - [`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>
/// - [`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>
/// - [`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>
/// - [`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>
/// - On success, responds with [`ListEnvironmentAccountConnectionsOutput`](crate::operation::list_environment_account_connections::ListEnvironmentAccountConnectionsOutput) with field(s):
/// - [`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>
/// - [`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>
/// - On failure, responds with [`SdkError<ListEnvironmentAccountConnectionsError>`](crate::operation::list_environment_account_connections::ListEnvironmentAccountConnectionsError)
pub fn list_environment_account_connections(
&self,
) -> crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder {
crate::operation::list_environment_account_connections::builders::ListEnvironmentAccountConnectionsFluentBuilder::new(self.handle.clone())
}
}