// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreatePrivateDnsNamespace`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::set_name):<br>required: **true**<br><p>The name that you want to assign to this namespace. When you create a private DNS namespace, Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.</p><br>
/// - [`creator_request_id(impl Into<String>)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::creator_request_id) / [`set_creator_request_id(Option<String>)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::set_creator_request_id):<br>required: **false**<br><p>A unique string that identifies the request and that allows failed <code>CreatePrivateDnsNamespace</code> requests to be retried without the risk of running the operation twice. <code>CreatorRequestId</code> can be any unique string (for example, a date/timestamp).</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::set_description):<br>required: **false**<br><p>A description for the namespace.</p><br>
/// - [`vpc(impl Into<String>)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::vpc) / [`set_vpc(Option<String>)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::set_vpc):<br>required: **true**<br><p>The ID of the Amazon VPC that you want to associate the namespace with.</p><br>
/// - [`tags(Tag)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.</p><br>
/// - [`properties(PrivateDnsNamespaceProperties)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::properties) / [`set_properties(Option<PrivateDnsNamespaceProperties>)`](crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::set_properties):<br>required: **false**<br><p>Properties for the private DNS namespace.</p><br>
/// - On success, responds with [`CreatePrivateDnsNamespaceOutput`](crate::operation::create_private_dns_namespace::CreatePrivateDnsNamespaceOutput) with field(s):
/// - [`operation_id(Option<String>)`](crate::operation::create_private_dns_namespace::CreatePrivateDnsNamespaceOutput::operation_id): <p>A value that you can use to determine whether the request completed successfully. To get the status of the operation, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html">GetOperation</a>.</p>
/// - On failure, responds with [`SdkError<CreatePrivateDnsNamespaceError>`](crate::operation::create_private_dns_namespace::CreatePrivateDnsNamespaceError)
pub fn create_private_dns_namespace(&self) -> crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder {
crate::operation::create_private_dns_namespace::builders::CreatePrivateDnsNamespaceFluentBuilder::new(self.handle.clone())
}
}