aws_sdk_elementalinference/client/delete_dictionary.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 [`DeleteDictionary`](crate::operation::delete_dictionary::builders::DeleteDictionaryFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::delete_dictionary::builders::DeleteDictionaryFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_dictionary::builders::DeleteDictionaryFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the dictionary to delete.</p><br>
7 /// - On success, responds with [`DeleteDictionaryOutput`](crate::operation::delete_dictionary::DeleteDictionaryOutput) with field(s):
8 /// - [`arn(String)`](crate::operation::delete_dictionary::DeleteDictionaryOutput::arn): <p>The ARN of the deleted dictionary.</p>
9 /// - [`id(String)`](crate::operation::delete_dictionary::DeleteDictionaryOutput::id): <p>The ID of the deleted dictionary.</p>
10 /// - [`status(DictionaryStatus)`](crate::operation::delete_dictionary::DeleteDictionaryOutput::status): <p>The status of the dictionary after deletion.</p>
11 /// - On failure, responds with [`SdkError<DeleteDictionaryError>`](crate::operation::delete_dictionary::DeleteDictionaryError)
12 pub fn delete_dictionary(&self) -> crate::operation::delete_dictionary::builders::DeleteDictionaryFluentBuilder {
13 crate::operation::delete_dictionary::builders::DeleteDictionaryFluentBuilder::new(self.handle.clone())
14 }
15}