aws_sdk_apigatewaymanagement/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 /// - [`connection_id(impl Into<String>)`](crate::operation::get_connection::builders::GetConnectionFluentBuilder::connection_id) / [`set_connection_id(Option<String>)`](crate::operation::get_connection::builders::GetConnectionFluentBuilder::set_connection_id):<br>required: **true**<br>(undocumented)<br>
7 /// - On success, responds with [`GetConnectionOutput`](crate::operation::get_connection::GetConnectionOutput) with field(s):
8 /// - [`connected_at(Option<DateTime>)`](crate::operation::get_connection::GetConnectionOutput::connected_at): <p>The time in ISO 8601 format for when the connection was established.</p>
9 /// - [`identity(Option<Identity>)`](crate::operation::get_connection::GetConnectionOutput::identity): (undocumented)
10 /// - [`last_active_at(Option<DateTime>)`](crate::operation::get_connection::GetConnectionOutput::last_active_at): <p>The time in ISO 8601 format for when the connection was last active.</p>
11 /// - On failure, responds with [`SdkError<GetConnectionError>`](crate::operation::get_connection::GetConnectionError)
12 pub fn get_connection(&self) -> crate::operation::get_connection::builders::GetConnectionFluentBuilder {
13 crate::operation::get_connection::builders::GetConnectionFluentBuilder::new(self.handle.clone())
14 }
15}