aws_sdk_wisdom/client/
delete_assistant.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteAssistant`](crate::operation::delete_assistant::builders::DeleteAssistantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`DeleteAssistantOutput`](crate::operation::delete_assistant::DeleteAssistantOutput)
    /// - On failure, responds with [`SdkError<DeleteAssistantError>`](crate::operation::delete_assistant::DeleteAssistantError)
    pub fn delete_assistant(&self) -> crate::operation::delete_assistant::builders::DeleteAssistantFluentBuilder {
        crate::operation::delete_assistant::builders::DeleteAssistantFluentBuilder::new(self.handle.clone())
    }
}