aws_sdk_networkmanager/client/associate_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 [`AssociateLink`](crate::operation::associate_link::builders::AssociateLinkFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`global_network_id(impl Into<String>)`](crate::operation::associate_link::builders::AssociateLinkFluentBuilder::global_network_id) / [`set_global_network_id(Option<String>)`](crate::operation::associate_link::builders::AssociateLinkFluentBuilder::set_global_network_id):<br>required: **true**<br><p>The ID of the global network.</p><br>
7 /// - [`device_id(impl Into<String>)`](crate::operation::associate_link::builders::AssociateLinkFluentBuilder::device_id) / [`set_device_id(Option<String>)`](crate::operation::associate_link::builders::AssociateLinkFluentBuilder::set_device_id):<br>required: **true**<br><p>The ID of the device.</p><br>
8 /// - [`link_id(impl Into<String>)`](crate::operation::associate_link::builders::AssociateLinkFluentBuilder::link_id) / [`set_link_id(Option<String>)`](crate::operation::associate_link::builders::AssociateLinkFluentBuilder::set_link_id):<br>required: **true**<br><p>The ID of the link.</p><br>
9 /// - On success, responds with [`AssociateLinkOutput`](crate::operation::associate_link::AssociateLinkOutput) with field(s):
10 /// - [`link_association(Option<LinkAssociation>)`](crate::operation::associate_link::AssociateLinkOutput::link_association): <p>The link association.</p>
11 /// - On failure, responds with [`SdkError<AssociateLinkError>`](crate::operation::associate_link::AssociateLinkError)
12 pub fn associate_link(&self) -> crate::operation::associate_link::builders::AssociateLinkFluentBuilder {
13 crate::operation::associate_link::builders::AssociateLinkFluentBuilder::new(self.handle.clone())
14 }
15}