aws_sdk_directconnect/client/
describe_hosted_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 [`DescribeHostedConnections`](crate::operation::describe_hosted_connections::builders::DescribeHostedConnectionsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`connection_id(impl Into<String>)`](crate::operation::describe_hosted_connections::builders::DescribeHostedConnectionsFluentBuilder::connection_id) / [`set_connection_id(Option<String>)`](crate::operation::describe_hosted_connections::builders::DescribeHostedConnectionsFluentBuilder::set_connection_id):<br>required: **true**<br><p>The ID of the interconnect or LAG.</p><br>
7    /// - On success, responds with [`DescribeHostedConnectionsOutput`](crate::operation::describe_hosted_connections::DescribeHostedConnectionsOutput) with field(s):
8    ///   - [`connections(Option<Vec::<Connection>>)`](crate::operation::describe_hosted_connections::DescribeHostedConnectionsOutput::connections): <p>The connections.</p>
9    /// - On failure, responds with [`SdkError<DescribeHostedConnectionsError>`](crate::operation::describe_hosted_connections::DescribeHostedConnectionsError)
10    pub fn describe_hosted_connections(&self) -> crate::operation::describe_hosted_connections::builders::DescribeHostedConnectionsFluentBuilder {
11        crate::operation::describe_hosted_connections::builders::DescribeHostedConnectionsFluentBuilder::new(self.handle.clone())
12    }
13}