aws_sdk_datazone/client/delete_account_pool.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 [`DeleteAccountPool`](crate::operation::delete_account_pool::builders::DeleteAccountPoolFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_identifier(impl Into<String>)`](crate::operation::delete_account_pool::builders::DeleteAccountPoolFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::delete_account_pool::builders::DeleteAccountPoolFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where the account pool is deleted.</p><br>
7 /// - [`identifier(impl Into<String>)`](crate::operation::delete_account_pool::builders::DeleteAccountPoolFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_account_pool::builders::DeleteAccountPoolFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the account pool to be deleted.</p><br>
8 /// - On success, responds with [`DeleteAccountPoolOutput`](crate::operation::delete_account_pool::DeleteAccountPoolOutput)
9 /// - On failure, responds with [`SdkError<DeleteAccountPoolError>`](crate::operation::delete_account_pool::DeleteAccountPoolError)
10 pub fn delete_account_pool(&self) -> crate::operation::delete_account_pool::builders::DeleteAccountPoolFluentBuilder {
11 crate::operation::delete_account_pool::builders::DeleteAccountPoolFluentBuilder::new(self.handle.clone())
12 }
13}