aws_sdk_lexmodelbuilding/client/delete_intent.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 [`DeleteIntent`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::set_name):<br>required: **true**<br><p>The name of the intent. The name is case sensitive.</p><br>
7 /// - On success, responds with [`DeleteIntentOutput`](crate::operation::delete_intent::DeleteIntentOutput)
8 /// - On failure, responds with [`SdkError<DeleteIntentError>`](crate::operation::delete_intent::DeleteIntentError)
9 pub fn delete_intent(&self) -> crate::operation::delete_intent::builders::DeleteIntentFluentBuilder {
10 crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::new(self.handle.clone())
11 }
12}