aws_sdk_networkmanager/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 /// - [`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>
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 ID of the link.</p><br>
8 /// - [`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>
9 /// - [`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>
10 /// - [`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>
11 /// - [`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>
12 /// - On success, responds with [`UpdateLinkOutput`](crate::operation::update_link::UpdateLinkOutput) with field(s):
13 /// - [`link(Option<Link>)`](crate::operation::update_link::UpdateLinkOutput::link): <p>Information about the link.</p>
14 /// - On failure, responds with [`SdkError<UpdateLinkError>`](crate::operation::update_link::UpdateLinkError)
15 pub fn update_link(&self) -> crate::operation::update_link::builders::UpdateLinkFluentBuilder {
16 crate::operation::update_link::builders::UpdateLinkFluentBuilder::new(self.handle.clone())
17 }
18}