aws_sdk_qconnect/client/
delete_ai_agent_version.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteAIAgentVersion`](crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`assistant_id(impl Into<String>)`](crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder::assistant_id) / [`set_assistant_id(Option<String>)`](crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder::set_assistant_id):<br>required: **true**<br><p>The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
    ///   - [`ai_agent_id(impl Into<String>)`](crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder::ai_agent_id) / [`set_ai_agent_id(Option<String>)`](crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder::set_ai_agent_id):<br>required: **true**<br><p>The identifier of the Amazon Q in Connect AI Agent. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
    ///   - [`version_number(i64)`](crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder::version_number) / [`set_version_number(Option<i64>)`](crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder::set_version_number):<br>required: **true**<br><p>The version number of the AI Agent version.</p><br>
    /// - On success, responds with [`DeleteAiAgentVersionOutput`](crate::operation::delete_ai_agent_version::DeleteAiAgentVersionOutput)
    /// - On failure, responds with [`SdkError<DeleteAIAgentVersionError>`](crate::operation::delete_ai_agent_version::DeleteAIAgentVersionError)
    pub fn delete_ai_agent_version(&self) -> crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder {
        crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder::new(self.handle.clone())
    }
}