aws_sdk_datazone/client/delete_domain.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 [`DeleteDomain`](crate::operation::delete_domain::builders::DeleteDomainFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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 the optional flag to delete all child entities within the domain.</p><br>
9 /// - On success, responds with [`DeleteDomainOutput`](crate::operation::delete_domain::DeleteDomainOutput) with field(s):
10 /// - [`status(DomainStatus)`](crate::operation::delete_domain::DeleteDomainOutput::status): <p>The status of the domain.</p>
11 /// - On failure, responds with [`SdkError<DeleteDomainError>`](crate::operation::delete_domain::DeleteDomainError)
12 pub fn delete_domain(&self) -> crate::operation::delete_domain::builders::DeleteDomainFluentBuilder {
13 crate::operation::delete_domain::builders::DeleteDomainFluentBuilder::new(self.handle.clone())
14 }
15}