1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRelay`](crate::operation::get_relay::builders::GetRelayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`relay_id(impl Into<String>)`](crate::operation::get_relay::builders::GetRelayFluentBuilder::relay_id) / [`set_relay_id(Option<String>)`](crate::operation::get_relay::builders::GetRelayFluentBuilder::set_relay_id):<br>required: **true**<br><p>A unique relay identifier.</p><br>
    /// - On success, responds with [`GetRelayOutput`](crate::operation::get_relay::GetRelayOutput) with field(s):
    ///   - [`relay_id(String)`](crate::operation::get_relay::GetRelayOutput::relay_id): <p>The unique relay identifier.</p>
    ///   - [`relay_arn(Option<String>)`](crate::operation::get_relay::GetRelayOutput::relay_arn): <p>The Amazon Resource Name (ARN) of the relay.</p>
    ///   - [`relay_name(Option<String>)`](crate::operation::get_relay::GetRelayOutput::relay_name): <p>The unique name of the relay.</p>
    ///   - [`server_name(Option<String>)`](crate::operation::get_relay::GetRelayOutput::server_name): <p>The destination relay server address.</p>
    ///   - [`server_port(Option<i32>)`](crate::operation::get_relay::GetRelayOutput::server_port): <p>The destination relay server port.</p>
    ///   - [`authentication(Option<RelayAuthentication>)`](crate::operation::get_relay::GetRelayOutput::authentication): <p>The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.</p>
    ///   - [`created_timestamp(Option<DateTime>)`](crate::operation::get_relay::GetRelayOutput::created_timestamp): <p>The timestamp of when the relay was created.</p>
    ///   - [`last_modified_timestamp(Option<DateTime>)`](crate::operation::get_relay::GetRelayOutput::last_modified_timestamp): <p>The timestamp of when relay was last updated.</p>
    /// - On failure, responds with [`SdkError<GetRelayError>`](crate::operation::get_relay::GetRelayError)
    pub fn get_relay(&self) -> crate::operation::get_relay::builders::GetRelayFluentBuilder {
        crate::operation::get_relay::builders::GetRelayFluentBuilder::new(self.handle.clone())
    }
}