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