aws_sdk_cognitoidentityprovider/client/delete_user_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 [`DeleteUserPool`](crate::operation::delete_user_pool::builders::DeleteUserPoolFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`user_pool_id(impl Into<String>)`](crate::operation::delete_user_pool::builders::DeleteUserPoolFluentBuilder::user_pool_id) / [`set_user_pool_id(Option<String>)`](crate::operation::delete_user_pool::builders::DeleteUserPoolFluentBuilder::set_user_pool_id):<br>required: **true**<br><p>The ID of the user pool that you want to delete.</p><br>
7 /// - On success, responds with [`DeleteUserPoolOutput`](crate::operation::delete_user_pool::DeleteUserPoolOutput)
8 /// - On failure, responds with [`SdkError<DeleteUserPoolError>`](crate::operation::delete_user_pool::DeleteUserPoolError)
9 pub fn delete_user_pool(&self) -> crate::operation::delete_user_pool::builders::DeleteUserPoolFluentBuilder {
10 crate::operation::delete_user_pool::builders::DeleteUserPoolFluentBuilder::new(self.handle.clone())
11 }
12}