aws_sdk_networkmanager/client/delete_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 [`DeleteLink`](crate::operation::delete_link::builders::DeleteLinkFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`global_network_id(impl Into<String>)`](crate::operation::delete_link::builders::DeleteLinkFluentBuilder::global_network_id) / [`set_global_network_id(Option<String>)`](crate::operation::delete_link::builders::DeleteLinkFluentBuilder::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::delete_link::builders::DeleteLinkFluentBuilder::link_id) / [`set_link_id(Option<String>)`](crate::operation::delete_link::builders::DeleteLinkFluentBuilder::set_link_id):<br>required: **true**<br><p>The ID of the link.</p><br>
8 /// - On success, responds with [`DeleteLinkOutput`](crate::operation::delete_link::DeleteLinkOutput) with field(s):
9 /// - [`link(Option<Link>)`](crate::operation::delete_link::DeleteLinkOutput::link): <p>Information about the link.</p>
10 /// - On failure, responds with [`SdkError<DeleteLinkError>`](crate::operation::delete_link::DeleteLinkError)
11 pub fn delete_link(&self) -> crate::operation::delete_link::builders::DeleteLinkFluentBuilder {
12 crate::operation::delete_link::builders::DeleteLinkFluentBuilder::new(self.handle.clone())
13 }
14}