aws_sdk_datazone/client/create_connection.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateConnection`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`aws_location(AwsLocation)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::aws_location) / [`set_aws_location(Option<AwsLocation>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::set_aws_location):<br>required: **false**<br><p>The location where the connection is created.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::set_description):<br>required: **false**<br><p>A connection description.</p><br>
/// - [`domain_identifier(impl Into<String>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where the connection is created.</p><br>
/// - [`environment_identifier(impl Into<String>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::environment_identifier) / [`set_environment_identifier(Option<String>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::set_environment_identifier):<br>required: **true**<br><p>The ID of the environment where the connection is created.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::set_name):<br>required: **true**<br><p>The connection name.</p><br>
/// - [`props(ConnectionPropertiesInput)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::props) / [`set_props(Option<ConnectionPropertiesInput>)`](crate::operation::create_connection::builders::CreateConnectionFluentBuilder::set_props):<br>required: **false**<br><p>The connection props.</p><br>
/// - On success, responds with [`CreateConnectionOutput`](crate::operation::create_connection::CreateConnectionOutput) with field(s):
/// - [`connection_id(String)`](crate::operation::create_connection::CreateConnectionOutput::connection_id): <p>The ID of the connection.</p>
/// - [`description(Option<String>)`](crate::operation::create_connection::CreateConnectionOutput::description): <p>The connection description.</p>
/// - [`domain_id(String)`](crate::operation::create_connection::CreateConnectionOutput::domain_id): <p>The ID of the domain where the connection is created.</p>
/// - [`domain_unit_id(String)`](crate::operation::create_connection::CreateConnectionOutput::domain_unit_id): <p>The ID of the domain unit where the connection is created.</p>
/// - [`environment_id(Option<String>)`](crate::operation::create_connection::CreateConnectionOutput::environment_id): <p>The ID of the environment where the connection is created.</p>
/// - [`name(String)`](crate::operation::create_connection::CreateConnectionOutput::name): <p>The connection name.</p>
/// - [`physical_endpoints(Vec::<PhysicalEndpoint>)`](crate::operation::create_connection::CreateConnectionOutput::physical_endpoints): <p>The physical endpoints of the connection.</p>
/// - [`project_id(Option<String>)`](crate::operation::create_connection::CreateConnectionOutput::project_id): <p>The ID of the project where the connection is created.</p>
/// - [`props(Option<ConnectionPropertiesOutput>)`](crate::operation::create_connection::CreateConnectionOutput::props): <p>The connection props.</p>
/// - [`r#type(ConnectionType)`](crate::operation::create_connection::CreateConnectionOutput::type): <p>The connection type.</p>
/// - On failure, responds with [`SdkError<CreateConnectionError>`](crate::operation::create_connection::CreateConnectionError)
pub fn create_connection(&self) -> crate::operation::create_connection::builders::CreateConnectionFluentBuilder {
crate::operation::create_connection::builders::CreateConnectionFluentBuilder::new(self.handle.clone())
}
}