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