1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateLink`](crate::operation::update_link::builders::UpdateLinkFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`global_network_id(impl Into<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::global_network_id) / [`set_global_network_id(Option<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::set_global_network_id):<br>required: **true**<br><p>The ID of the global network.</p><br>
    ///   - [`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 ID of the link.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::set_description):<br>required: **false**<br><p>A description of the link.</p> <p>Constraints: Maximum length of 256 characters.</p><br>
    ///   - [`r#type(impl Into<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::type) / [`set_type(Option<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::set_type):<br>required: **false**<br><p>The type of the link.</p> <p>Constraints: Maximum length of 128 characters.</p><br>
    ///   - [`bandwidth(Bandwidth)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::bandwidth) / [`set_bandwidth(Option<Bandwidth>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::set_bandwidth):<br>required: **false**<br><p>The upload and download speed in Mbps.</p><br>
    ///   - [`provider(impl Into<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::provider) / [`set_provider(Option<String>)`](crate::operation::update_link::builders::UpdateLinkFluentBuilder::set_provider):<br>required: **false**<br><p>The provider of the link.</p> <p>Constraints: Maximum length of 128 characters.</p><br>
    /// - On success, responds with [`UpdateLinkOutput`](crate::operation::update_link::UpdateLinkOutput) with field(s):
    ///   - [`link(Option<Link>)`](crate::operation::update_link::UpdateLinkOutput::link): <p>Information about the link.</p>
    /// - On failure, responds with [`SdkError<UpdateLinkError>`](crate::operation::update_link::UpdateLinkError)
    pub fn update_link(&self) -> crate::operation::update_link::builders::UpdateLinkFluentBuilder {
        crate::operation::update_link::builders::UpdateLinkFluentBuilder::new(self.handle.clone())
    }
}