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): <p>The ID of the global network.</p>
/// - [`description(impl Into<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::set_description): <p>A description of the link.</p> <p>Constraints: Maximum length of 256 characters.</p>
/// - [`r#type(impl Into<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::type) / [`set_type(Option<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::set_type): <p>The type of the link.</p> <p>Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^</p>
/// - [`bandwidth(Bandwidth)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::bandwidth) / [`set_bandwidth(Option<Bandwidth>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::set_bandwidth): <p> The upload speed and download speed in Mbps. </p>
/// - [`provider(impl Into<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::provider) / [`set_provider(Option<String>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::set_provider): <p>The provider of the link.</p> <p>Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^</p>
/// - [`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): <p>The ID of the site.</p>
/// - [`tags(Vec<Tag>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_link::builders::CreateLinkFluentBuilder::set_tags): <p>The tags to apply to the resource during creation.</p>
/// - 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())
}
}