aws-sdk-bedrock 1.136.0

AWS SDK for Amazon Bedrock
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteAutomatedReasoningPolicy`](crate::operation::delete_automated_reasoning_policy::builders::DeleteAutomatedReasoningPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`policy_arn(impl Into<String>)`](crate::operation::delete_automated_reasoning_policy::builders::DeleteAutomatedReasoningPolicyFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::delete_automated_reasoning_policy::builders::DeleteAutomatedReasoningPolicyFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Automated Reasoning policy to delete.</p><br>
    ///   - [`force(bool)`](crate::operation::delete_automated_reasoning_policy::builders::DeleteAutomatedReasoningPolicyFluentBuilder::force) / [`set_force(Option<bool>)`](crate::operation::delete_automated_reasoning_policy::builders::DeleteAutomatedReasoningPolicyFluentBuilder::set_force):<br>required: **false**<br><p>Specifies whether to force delete the automated reasoning policy even if it has active resources. When <code>false</code>, Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. When <code>true</code>, Amazon Bedrock will delete the policy and all its artifacts without validation. Default is <code>false</code>.</p><br>
    /// - On success, responds with [`DeleteAutomatedReasoningPolicyOutput`](crate::operation::delete_automated_reasoning_policy::DeleteAutomatedReasoningPolicyOutput)
    /// - On failure, responds with [`SdkError<DeleteAutomatedReasoningPolicyError>`](crate::operation::delete_automated_reasoning_policy::DeleteAutomatedReasoningPolicyError)
    pub fn delete_automated_reasoning_policy(
        &self,
    ) -> crate::operation::delete_automated_reasoning_policy::builders::DeleteAutomatedReasoningPolicyFluentBuilder {
        crate::operation::delete_automated_reasoning_policy::builders::DeleteAutomatedReasoningPolicyFluentBuilder::new(self.handle.clone())
    }
}