aws_sdk_proton/client/get_environment_account_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 [`GetEnvironmentAccountConnection`](crate::operation::get_environment_account_connection::builders::GetEnvironmentAccountConnectionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::get_environment_account_connection::builders::GetEnvironmentAccountConnectionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_environment_account_connection::builders::GetEnvironmentAccountConnectionFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the environment account connection that you want to get the detailed data for.</p><br>
7 /// - On success, responds with [`GetEnvironmentAccountConnectionOutput`](crate::operation::get_environment_account_connection::GetEnvironmentAccountConnectionOutput) with field(s):
8 /// - [`environment_account_connection(Option<EnvironmentAccountConnection>)`](crate::operation::get_environment_account_connection::GetEnvironmentAccountConnectionOutput::environment_account_connection): <p>The detailed data of the requested environment account connection.</p>
9 /// - On failure, responds with [`SdkError<GetEnvironmentAccountConnectionError>`](crate::operation::get_environment_account_connection::GetEnvironmentAccountConnectionError)
10 pub fn get_environment_account_connection(
11 &self,
12 ) -> crate::operation::get_environment_account_connection::builders::GetEnvironmentAccountConnectionFluentBuilder {
13 crate::operation::get_environment_account_connection::builders::GetEnvironmentAccountConnectionFluentBuilder::new(self.handle.clone())
14 }
15}