1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateLink`](crate::operation::create_link::builders::CreateLinkFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`global_network_id(impl Into<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::global_network_id) / [`set_global_network_id(Option<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::set_global_network_id):<br>required: **true**<br><p>The ID of the global network.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::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::create_link::builders::CreateLinkFluentBuilder::type) / [`set_type(Option<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::set_type):<br>required: **false**<br><p>The type of the link.</p> <p>Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^</p><br>
    ///   - [`bandwidth(Bandwidth)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::bandwidth) / [`set_bandwidth(Option<Bandwidth>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::set_bandwidth):<br>required: **true**<br><p>The upload speed and download speed in Mbps.</p><br>
    ///   - [`provider(impl Into<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::provider) / [`set_provider(Option<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::set_provider):<br>required: **false**<br><p>The provider of the link.</p> <p>Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^</p><br>
    ///   - [`site_id(impl Into<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::site_id) / [`set_site_id(Option<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::set_site_id):<br>required: **true**<br><p>The ID of the site.</p><br>
    ///   - [`tags(Tag)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to apply to the resource during creation.</p><br>
    /// - On success, responds with [`CreateLinkOutput`](crate::operation::create_link::CreateLinkOutput) with field(s):
    ///   - [`link(Option<Link>)`](crate::operation::create_link::CreateLinkOutput::link): <p>Information about the link.</p>
    /// - On failure, responds with [`SdkError<CreateLinkError>`](crate::operation::create_link::CreateLinkError)
    pub fn create_link(&self) -> crate::operation::create_link::builders::CreateLinkFluentBuilder {
        crate::operation::create_link::builders::CreateLinkFluentBuilder::new(self.handle.clone())
    }
}