aws_sdk_networkmanager/client/
create_global_network.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 [`CreateGlobalNetwork`](crate::operation::create_global_network::builders::CreateGlobalNetworkFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`description(impl Into<String>)`](crate::operation::create_global_network::builders::CreateGlobalNetworkFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_global_network::builders::CreateGlobalNetworkFluentBuilder::set_description):<br>required: **false**<br><p>A description of the global network.</p> <p>Constraints: Maximum length of 256 characters.</p><br>
7    ///   - [`tags(Tag)`](crate::operation::create_global_network::builders::CreateGlobalNetworkFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_global_network::builders::CreateGlobalNetworkFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to apply to the resource during creation.</p><br>
8    /// - On success, responds with [`CreateGlobalNetworkOutput`](crate::operation::create_global_network::CreateGlobalNetworkOutput) with field(s):
9    ///   - [`global_network(Option<GlobalNetwork>)`](crate::operation::create_global_network::CreateGlobalNetworkOutput::global_network): <p>Information about the global network object.</p>
10    /// - On failure, responds with [`SdkError<CreateGlobalNetworkError>`](crate::operation::create_global_network::CreateGlobalNetworkError)
11    pub fn create_global_network(&self) -> crate::operation::create_global_network::builders::CreateGlobalNetworkFluentBuilder {
12        crate::operation::create_global_network::builders::CreateGlobalNetworkFluentBuilder::new(self.handle.clone())
13    }
14}