aws_sdk_datazone/client/list_connections.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListConnections`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where you want to list connections.</p><br>
/// - [`max_results(i32)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of connections to return in a single call to ListConnections. When the number of connections to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListConnections to list the next set of connections.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::set_next_token):<br>required: **false**<br><p>When the number of connections is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of connections, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListConnections to list the next set of connections.</p><br>
/// - [`sort_by(SortFieldConnection)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::sort_by) / [`set_sort_by(Option<SortFieldConnection>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::set_sort_by):<br>required: **false**<br><p>Specifies how you want to sort the listed connections.</p><br>
/// - [`sort_order(SortOrder)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrder>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::set_sort_order):<br>required: **false**<br><p>Specifies the sort order for the listed connections.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::set_name):<br>required: **false**<br><p>The name of the connection.</p><br>
/// - [`environment_identifier(impl Into<String>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::environment_identifier) / [`set_environment_identifier(Option<String>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::set_environment_identifier):<br>required: **false**<br><p>The ID of the environment where you want to list connections.</p><br>
/// - [`project_identifier(impl Into<String>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::project_identifier) / [`set_project_identifier(Option<String>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::set_project_identifier):<br>required: **true**<br><p>The ID of the project where you want to list connections.</p><br>
/// - [`r#type(ConnectionType)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::type) / [`set_type(Option<ConnectionType>)`](crate::operation::list_connections::builders::ListConnectionsFluentBuilder::set_type):<br>required: **false**<br><p>The type of connection.</p><br>
/// - On success, responds with [`ListConnectionsOutput`](crate::operation::list_connections::ListConnectionsOutput) with field(s):
/// - [`items(Vec::<ConnectionSummary>)`](crate::operation::list_connections::ListConnectionsOutput::items): <p>The results of the ListConnections action.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_connections::ListConnectionsOutput::next_token): <p>When the number of connections is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of connections, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListConnections to list the next set of connections.</p>
/// - On failure, responds with [`SdkError<ListConnectionsError>`](crate::operation::list_connections::ListConnectionsError)
pub fn list_connections(&self) -> crate::operation::list_connections::builders::ListConnectionsFluentBuilder {
crate::operation::list_connections::builders::ListConnectionsFluentBuilder::new(self.handle.clone())
}
}