// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateDomain`](crate::operation::create_domain::builders::CreateDomainFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::set_name):<br>required: **true**<br>A name that identifies the domain. Must be 3-63 characters: lowercase letters, numbers, and hyphens. It must begin and end with a letter or number and cannot contain consecutive hyphens.<br>
/// - [`identity_providers(IdentityProvider)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::identity_providers) / [`set_identity_providers(Option<Vec::<IdentityProvider>>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::set_identity_providers):<br>required: **true**<br>The identity providers to configure for the domain.<br>
/// - [`identity_provider_configuration(IdentityProviderConfiguration)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::identity_provider_configuration) / [`set_identity_provider_configuration(Option<IdentityProviderConfiguration>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::set_identity_provider_configuration):<br>required: **false**<br>Identity provider configuration for the domain.<br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::set_tags):<br>required: **false**<br>The tags to associate with the domain.<br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::set_client_token):<br>required: **false**<br>Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a duplicate.<br>
/// - On success, responds with [`CreateDomainOutput`](crate::operation::create_domain::CreateDomainOutput) with field(s):
/// - [`domain(Option<Domain>)`](crate::operation::create_domain::CreateDomainOutput::domain): The details of the created domain.
/// - On failure, responds with [`SdkError<CreateDomainError>`](crate::operation::create_domain::CreateDomainError)
pub fn create_domain(&self) -> crate::operation::create_domain::builders::CreateDomainFluentBuilder {
crate::operation::create_domain::builders::CreateDomainFluentBuilder::new(self.handle.clone())
}
}