aws_sdk_rtbfabric/client/
get_link.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 [`GetLink`](crate::operation::get_link::builders::GetLinkFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_id(impl Into<String>)`](crate::operation::get_link::builders::GetLinkFluentBuilder::gateway_id) / [`set_gateway_id(Option<String>)`](crate::operation::get_link::builders::GetLinkFluentBuilder::set_gateway_id):<br>required: **true**<br><p>The unique identifier of the gateway.</p><br>
7    ///   - [`link_id(impl Into<String>)`](crate::operation::get_link::builders::GetLinkFluentBuilder::link_id) / [`set_link_id(Option<String>)`](crate::operation::get_link::builders::GetLinkFluentBuilder::set_link_id):<br>required: **true**<br><p>The unique identifier of the link.</p><br>
8    /// - On success, responds with [`GetLinkOutput`](crate::operation::get_link::GetLinkOutput) with field(s):
9    ///   - [`gateway_id(String)`](crate::operation::get_link::GetLinkOutput::gateway_id): <p>The unique identifier of the gateway.</p>
10    ///   - [`peer_gateway_id(String)`](crate::operation::get_link::GetLinkOutput::peer_gateway_id): <p>The unique identifier of the peer gateway.</p>
11    ///   - [`status(LinkStatus)`](crate::operation::get_link::GetLinkOutput::status): <p>The status of the link.</p>
12    ///   - [`created_at(DateTime)`](crate::operation::get_link::GetLinkOutput::created_at): <p>The timestamp of when the link was created.</p>
13    ///   - [`updated_at(DateTime)`](crate::operation::get_link::GetLinkOutput::updated_at): <p>The timestamp of when the link was updated.</p>
14    ///   - [`direction(Option<LinkDirection>)`](crate::operation::get_link::GetLinkOutput::direction): <p>The direction of the link.</p>
15    ///   - [`flow_modules(Option<Vec::<ModuleConfiguration>>)`](crate::operation::get_link::GetLinkOutput::flow_modules): <p>The configuration of flow modules.</p>
16    ///   - [`pending_flow_modules(Option<Vec::<ModuleConfiguration>>)`](crate::operation::get_link::GetLinkOutput::pending_flow_modules): <p>The configuration of pending flow modules.</p>
17    ///   - [`attributes(Option<LinkAttributes>)`](crate::operation::get_link::GetLinkOutput::attributes): <p>Attributes of the link.</p>
18    ///   - [`link_id(String)`](crate::operation::get_link::GetLinkOutput::link_id): <p>The unique identifier of the link.</p>
19    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_link::GetLinkOutput::tags): <p>A map of the key-value pairs for the tag or tags assigned to the specified resource.</p>
20    ///   - [`log_settings(Option<LinkLogSettings>)`](crate::operation::get_link::GetLinkOutput::log_settings): <p>Settings for the application logs.</p>
21    /// - On failure, responds with [`SdkError<GetLinkError>`](crate::operation::get_link::GetLinkError)
22    pub fn get_link(&self) -> crate::operation::get_link::builders::GetLinkFluentBuilder {
23        crate::operation::get_link::builders::GetLinkFluentBuilder::new(self.handle.clone())
24    }
25}