// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteIntentVersion`](crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the intent.</p><br>
/// - [`version(impl Into<String>)`](crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder::version) / [`set_version(Option<String>)`](crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder::set_version):<br>required: **true**<br><p>The version of the intent to delete. You cannot delete the <code>$LATEST</code> version of the intent. To delete the <code>$LATEST</code> version, use the <code>DeleteIntent</code> operation.</p><br>
/// - On success, responds with [`DeleteIntentVersionOutput`](crate::operation::delete_intent_version::DeleteIntentVersionOutput)
/// - On failure, responds with [`SdkError<DeleteIntentVersionError>`](crate::operation::delete_intent_version::DeleteIntentVersionError)
pub fn delete_intent_version(&self) -> crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder {
crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder::new(self.handle.clone())
}
}