aws_sdk_qconnect/client/
delete_ai_guardrail.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteAIGuardrail`](crate::operation::delete_ai_guardrail::builders::DeleteAIGuardrailFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`assistant_id(impl Into<String>)`](crate::operation::delete_ai_guardrail::builders::DeleteAIGuardrailFluentBuilder::assistant_id) / [`set_assistant_id(Option<String>)`](crate::operation::delete_ai_guardrail::builders::DeleteAIGuardrailFluentBuilder::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_guardrail_id(impl Into<String>)`](crate::operation::delete_ai_guardrail::builders::DeleteAIGuardrailFluentBuilder::ai_guardrail_id) / [`set_ai_guardrail_id(Option<String>)`](crate::operation::delete_ai_guardrail::builders::DeleteAIGuardrailFluentBuilder::set_ai_guardrail_id):<br>required: **true**<br><p>The identifier of the Amazon Q in Connect AI Guardrail. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
    /// - On success, responds with [`DeleteAiGuardrailOutput`](crate::operation::delete_ai_guardrail::DeleteAiGuardrailOutput)
    /// - On failure, responds with [`SdkError<DeleteAIGuardrailError>`](crate::operation::delete_ai_guardrail::DeleteAIGuardrailError)
    pub fn delete_ai_guardrail(&self) -> crate::operation::delete_ai_guardrail::builders::DeleteAIGuardrailFluentBuilder {
        crate::operation::delete_ai_guardrail::builders::DeleteAIGuardrailFluentBuilder::new(self.handle.clone())
    }
}