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