aws_sdk_rtbfabric/client/
get_outbound_external_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 [`GetOutboundExternalLink`](crate::operation::get_outbound_external_link::builders::GetOutboundExternalLinkFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_id(impl Into<String>)`](crate::operation::get_outbound_external_link::builders::GetOutboundExternalLinkFluentBuilder::gateway_id) / [`set_gateway_id(Option<String>)`](crate::operation::get_outbound_external_link::builders::GetOutboundExternalLinkFluentBuilder::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_outbound_external_link::builders::GetOutboundExternalLinkFluentBuilder::link_id) / [`set_link_id(Option<String>)`](crate::operation::get_outbound_external_link::builders::GetOutboundExternalLinkFluentBuilder::set_link_id):<br>required: **true**<br><p>The unique identifier of the link.</p><br>
8    /// - On success, responds with [`GetOutboundExternalLinkOutput`](crate::operation::get_outbound_external_link::GetOutboundExternalLinkOutput) with field(s):
9    ///   - [`gateway_id(String)`](crate::operation::get_outbound_external_link::GetOutboundExternalLinkOutput::gateway_id): <p>The unique identifier of the gateway.</p>
10    ///   - [`link_id(String)`](crate::operation::get_outbound_external_link::GetOutboundExternalLinkOutput::link_id): <p>The unique identifier of the link.</p>
11    ///   - [`status(LinkStatus)`](crate::operation::get_outbound_external_link::GetOutboundExternalLinkOutput::status): <p>The status of the request.</p>
12    ///   - [`public_endpoint(String)`](crate::operation::get_outbound_external_link::GetOutboundExternalLinkOutput::public_endpoint): <p>The public endpoint for the link.</p>
13    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_outbound_external_link::GetOutboundExternalLinkOutput::created_at): <p>The timestamp of when the outbound external link was created.</p>
14    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_outbound_external_link::GetOutboundExternalLinkOutput::updated_at): <p>The timestamp of when the outbound external link was updated.</p>
15    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_outbound_external_link::GetOutboundExternalLinkOutput::tags): <p>A map of the key-value pairs for the tag or tags assigned to the specified resource.</p>
16    /// - On failure, responds with [`SdkError<GetOutboundExternalLinkError>`](crate::operation::get_outbound_external_link::GetOutboundExternalLinkError)
17    pub fn get_outbound_external_link(&self) -> crate::operation::get_outbound_external_link::builders::GetOutboundExternalLinkFluentBuilder {
18        crate::operation::get_outbound_external_link::builders::GetOutboundExternalLinkFluentBuilder::new(self.handle.clone())
19    }
20}