aws_sdk_interconnect/client/get_connection.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 [`GetConnection`](crate::operation::get_connection::builders::GetConnectionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identifier(impl Into<String>)`](crate::operation::get_connection::builders::GetConnectionFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_connection::builders::GetConnectionFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the requested <code>Connection</code></p><br>
7 /// - On success, responds with [`GetConnectionOutput`](crate::operation::get_connection::GetConnectionOutput) with field(s):
8 /// - [`connection(Option<Connection>)`](crate::operation::get_connection::GetConnectionOutput::connection): <p>The existing <code>Connection</code> resource.</p>
9 /// - On failure, responds with [`SdkError<GetConnectionError>`](crate::operation::get_connection::GetConnectionError)
10 pub fn get_connection(&self) -> crate::operation::get_connection::builders::GetConnectionFluentBuilder {
11 crate::operation::get_connection::builders::GetConnectionFluentBuilder::new(self.handle.clone())
12 }
13}