aws_sdk_datazone/client/create_domain.rs
// 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><p>The name of the Amazon DataZone domain.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::set_description):<br>required: **false**<br><p>The description of the Amazon DataZone domain.</p><br>
/// - [`single_sign_on(SingleSignOn)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::single_sign_on) / [`set_single_sign_on(Option<SingleSignOn>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::set_single_sign_on):<br>required: **false**<br><p>The single-sign on configuration of the Amazon DataZone domain.</p><br>
/// - [`domain_execution_role(impl Into<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::domain_execution_role) / [`set_domain_execution_role(Option<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::set_domain_execution_role):<br>required: **true**<br><p>The domain execution role that is created when an Amazon DataZone domain is created. The domain execution role is created in the Amazon Web Services account that houses the Amazon DataZone domain.</p><br>
/// - [`kms_key_identifier(impl Into<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::kms_key_identifier) / [`set_kms_key_identifier(Option<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::set_kms_key_identifier):<br>required: **false**<br><p>The identifier of the Amazon Web Services Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data.</p><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><p>The tags specified for the Amazon DataZone domain.</p><br>
/// - [`domain_version(DomainVersion)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::domain_version) / [`set_domain_version(Option<DomainVersion>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::set_domain_version):<br>required: **false**<br><p>The version of the domain that is created.</p><br>
/// - [`service_role(impl Into<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::service_role) / [`set_service_role(Option<String>)`](crate::operation::create_domain::builders::CreateDomainFluentBuilder::set_service_role):<br>required: **false**<br><p>The service role of the domain that is created.</p><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><p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p><br>
/// - On success, responds with [`CreateDomainOutput`](crate::operation::create_domain::CreateDomainOutput) with field(s):
/// - [`id(String)`](crate::operation::create_domain::CreateDomainOutput::id): <p>The identifier of the Amazon DataZone domain.</p>
/// - [`root_domain_unit_id(Option<String>)`](crate::operation::create_domain::CreateDomainOutput::root_domain_unit_id): <p>The ID of the root domain unit.</p>
/// - [`name(Option<String>)`](crate::operation::create_domain::CreateDomainOutput::name): <p>The name of the Amazon DataZone domain.</p>
/// - [`description(Option<String>)`](crate::operation::create_domain::CreateDomainOutput::description): <p>The description of the Amazon DataZone domain.</p>
/// - [`single_sign_on(Option<SingleSignOn>)`](crate::operation::create_domain::CreateDomainOutput::single_sign_on): <p>The single-sign on configuration of the Amazon DataZone domain.</p>
/// - [`domain_execution_role(Option<String>)`](crate::operation::create_domain::CreateDomainOutput::domain_execution_role): <p>The domain execution role that is created when an Amazon DataZone domain is created. The domain execution role is created in the Amazon Web Services account that houses the Amazon DataZone domain.</p>
/// - [`arn(Option<String>)`](crate::operation::create_domain::CreateDomainOutput::arn): <p>The ARN of the Amazon DataZone domain.</p>
/// - [`kms_key_identifier(Option<String>)`](crate::operation::create_domain::CreateDomainOutput::kms_key_identifier): <p>The identifier of the Amazon Web Services Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data.</p>
/// - [`status(Option<DomainStatus>)`](crate::operation::create_domain::CreateDomainOutput::status): <p>The status of the Amazon DataZone domain.</p>
/// - [`portal_url(Option<String>)`](crate::operation::create_domain::CreateDomainOutput::portal_url): <p>The URL of the data portal for this Amazon DataZone domain.</p>
/// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_domain::CreateDomainOutput::tags): <p>The tags specified for the Amazon DataZone domain.</p>
/// - [`domain_version(Option<DomainVersion>)`](crate::operation::create_domain::CreateDomainOutput::domain_version): <p>The version of the domain that is created.</p>
/// - [`service_role(Option<String>)`](crate::operation::create_domain::CreateDomainOutput::service_role): <p>Te service role of the domain that is created.</p>
/// - 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())
}
}