// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteDomain`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`identifier(impl Into<String>)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the Amazon Web Services domain that is to be deleted.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::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>
/// - [`skip_deletion_check(bool)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::skip_deletion_check) / [`set_skip_deletion_check(Option<bool>)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::set_skip_deletion_check):<br>required: **false**<br><p>Specifies whether to skip the check that prevents deletion of a domain that still contains resources. When you use this parameter, Amazon DataZone deletes the domain but might not remove its associated resources, which can leave orphaned resources behind. To delete a domain and fully clean up its associated resources, use <code>cascadeDelete</code> instead. You can't use this parameter together with <code>cascadeDelete</code>.</p><br>
/// - [`cascade_delete(bool)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::cascade_delete) / [`set_cascade_delete(Option<bool>)`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::set_cascade_delete):<br>required: **false**<br><p>Specifies whether to delete the domain along with all of its associated resources. When you use this parameter, Amazon DataZone deletes the domain and cleanly removes its associated resources without leaving orphaned resources behind. Amazon DataZone reports deletion progress in the <code>deleteProgress</code> field. Amazon DataZone reports any resources that it can't delete in the <code>failureReasons</code> field of the <code>GetDomain</code> response. You can't use this parameter together with <code>skipDeletionCheck</code>. If you don't specify a value, the default is <code>false</code>.</p><br>
/// - On success, responds with [`DeleteDomainOutput`](crate::operation::delete_domain::DeleteDomainOutput) with field(s):
/// - [`status(DomainStatus)`](crate::operation::delete_domain::DeleteDomainOutput::status): <p>The status of the domain.</p>
/// - On failure, responds with [`SdkError<DeleteDomainError>`](crate::operation::delete_domain::DeleteDomainError)
pub fn delete_domain(&self) -> crate::operation::delete_domain::builders::DeleteDomainFluentBuilder {
crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::new(self.handle.clone())
}
}