aws_sdk_wisdom/client/
delete_assistant.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 [`DeleteAssistant`](crate::operation::delete_assistant::builders::DeleteAssistantFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`assistant_id(impl Into<String>)`](crate::operation::delete_assistant::builders::DeleteAssistantFluentBuilder::assistant_id) / [`set_assistant_id(Option<String>)`](crate::operation::delete_assistant::builders::DeleteAssistantFluentBuilder::set_assistant_id):<br>required: **true**<br><p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
7    /// - On success, responds with [`DeleteAssistantOutput`](crate::operation::delete_assistant::DeleteAssistantOutput)
8    /// - On failure, responds with [`SdkError<DeleteAssistantError>`](crate::operation::delete_assistant::DeleteAssistantError)
9    pub fn delete_assistant(&self) -> crate::operation::delete_assistant::builders::DeleteAssistantFluentBuilder {
10        crate::operation::delete_assistant::builders::DeleteAssistantFluentBuilder::new(self.handle.clone())
11    }
12}