aws_sdk_bedrock/client/
export_automated_reasoning_policy_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 [`ExportAutomatedReasoningPolicyVersion`](crate::operation::export_automated_reasoning_policy_version::builders::ExportAutomatedReasoningPolicyVersionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`policy_arn(impl Into<String>)`](crate::operation::export_automated_reasoning_policy_version::builders::ExportAutomatedReasoningPolicyVersionFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::export_automated_reasoning_policy_version::builders::ExportAutomatedReasoningPolicyVersionFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Automated Reasoning policy to export. Can be either the unversioned ARN for the draft policy or a versioned ARN for a specific policy version.</p><br>
7    /// - On success, responds with [`ExportAutomatedReasoningPolicyVersionOutput`](crate::operation::export_automated_reasoning_policy_version::ExportAutomatedReasoningPolicyVersionOutput) with field(s):
8    ///   - [`policy_definition(Option<AutomatedReasoningPolicyDefinition>)`](crate::operation::export_automated_reasoning_policy_version::ExportAutomatedReasoningPolicyVersionOutput::policy_definition): <p>The exported policy definition containing the formal logic rules, variables, and custom variable types.</p>
9    /// - On failure, responds with [`SdkError<ExportAutomatedReasoningPolicyVersionError>`](crate::operation::export_automated_reasoning_policy_version::ExportAutomatedReasoningPolicyVersionError)
10    pub fn export_automated_reasoning_policy_version(
11        &self,
12    ) -> crate::operation::export_automated_reasoning_policy_version::builders::ExportAutomatedReasoningPolicyVersionFluentBuilder {
13        crate::operation::export_automated_reasoning_policy_version::builders::ExportAutomatedReasoningPolicyVersionFluentBuilder::new(
14            self.handle.clone(),
15        )
16    }
17}