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