aws_sdk_datazone/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 /// - [`domain_identifier(impl Into<String>)`](crate::operation::get_connection::builders::GetConnectionFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_connection::builders::GetConnectionFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where we get the connection.</p><br>
7 /// - [`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 connection ID.</p><br>
8 /// - [`with_secret(bool)`](crate::operation::get_connection::builders::GetConnectionFluentBuilder::with_secret) / [`set_with_secret(Option<bool>)`](crate::operation::get_connection::builders::GetConnectionFluentBuilder::set_with_secret):<br>required: **false**<br><p>Specifies whether a connection has a secret.</p><br>
9 /// - On success, responds with [`GetConnectionOutput`](crate::operation::get_connection::GetConnectionOutput) with field(s):
10 /// - [`connection_credentials(Option<ConnectionCredentials>)`](crate::operation::get_connection::GetConnectionOutput::connection_credentials): <p>Connection credentials.</p>
11 /// - [`connection_id(String)`](crate::operation::get_connection::GetConnectionOutput::connection_id): <p>The ID of the connection.</p>
12 /// - [`description(Option<String>)`](crate::operation::get_connection::GetConnectionOutput::description): <p>Connection description.</p>
13 /// - [`domain_id(String)`](crate::operation::get_connection::GetConnectionOutput::domain_id): <p>The domain ID of the connection.</p>
14 /// - [`domain_unit_id(String)`](crate::operation::get_connection::GetConnectionOutput::domain_unit_id): <p>The domain unit ID of the connection.</p>
15 /// - [`environment_id(Option<String>)`](crate::operation::get_connection::GetConnectionOutput::environment_id): <p>The ID of the environment.</p>
16 /// - [`environment_user_role(Option<String>)`](crate::operation::get_connection::GetConnectionOutput::environment_user_role): <p>The environment user role.</p>
17 /// - [`name(String)`](crate::operation::get_connection::GetConnectionOutput::name): <p>The name of the connection.</p>
18 /// - [`physical_endpoints(Vec::<PhysicalEndpoint>)`](crate::operation::get_connection::GetConnectionOutput::physical_endpoints): <p>The physical endpoints of the connection.</p>
19 /// - [`project_id(Option<String>)`](crate::operation::get_connection::GetConnectionOutput::project_id): <p>The ID of the project.</p>
20 /// - [`props(Option<ConnectionPropertiesOutput>)`](crate::operation::get_connection::GetConnectionOutput::props): <p>Connection props.</p>
21 /// - [`r#type(ConnectionType)`](crate::operation::get_connection::GetConnectionOutput::type): <p>The type of the connection.</p>
22 /// - On failure, responds with [`SdkError<GetConnectionError>`](crate::operation::get_connection::GetConnectionError)
23 pub fn get_connection(&self) -> crate::operation::get_connection::builders::GetConnectionFluentBuilder {
24 crate::operation::get_connection::builders::GetConnectionFluentBuilder::new(self.handle.clone())
25 }
26}