aws_sdk_rtbfabric/client/
update_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 [`UpdateLink`](crate::operation::update_link::builders::UpdateLinkFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_id(impl Into<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::gateway_id) / [`set_gateway_id(Option<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::set_gateway_id):<br>required: **true**<br><p>The unique identifier of the gateway.</p><br>
7    ///   - [`link_id(impl Into<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::link_id) / [`set_link_id(Option<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::set_link_id):<br>required: **true**<br><p>The unique identifier of the link.</p><br>
8    ///   - [`log_settings(LinkLogSettings)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::log_settings) / [`set_log_settings(Option<LinkLogSettings>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::set_log_settings):<br>required: **false**<br><p>Settings for the application logs.</p><br>
9    /// - On success, responds with [`UpdateLinkOutput`](crate::operation::update_link::UpdateLinkOutput) with field(s):
10    ///   - [`link_id(String)`](crate::operation::update_link::UpdateLinkOutput::link_id): <p>The unique identifier of the link.</p>
11    ///   - [`status(LinkStatus)`](crate::operation::update_link::UpdateLinkOutput::status): <p>The status of the request.</p>
12    /// - On failure, responds with [`SdkError<UpdateLinkError>`](crate::operation::update_link::UpdateLinkError)
13    pub fn update_link(&self) -> crate::operation::update_link::builders::UpdateLinkFluentBuilder {
14        crate::operation::update_link::builders::UpdateLinkFluentBuilder::new(self.handle.clone())
15    }
16}