aws_sdk_qconnect/client/delete_ai_agent_version.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 [`DeleteAIAgentVersion`](crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`DeleteAiAgentVersionOutput`](crate::operation::delete_ai_agent_version::DeleteAiAgentVersionOutput)
10 /// - On failure, responds with [`SdkError<DeleteAIAgentVersionError>`](crate::operation::delete_ai_agent_version::DeleteAIAgentVersionError)
11 pub fn delete_ai_agent_version(&self) -> crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder {
12 crate::operation::delete_ai_agent_version::builders::DeleteAIAgentVersionFluentBuilder::new(self.handle.clone())
13 }
14}