aws-sdk-bedrock 1.143.0

AWS SDK for Amazon Bedrock
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAutomatedReasoningPolicy`](crate::operation::get_automated_reasoning_policy::builders::GetAutomatedReasoningPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`policy_arn(impl Into<String>)`](crate::operation::get_automated_reasoning_policy::builders::GetAutomatedReasoningPolicyFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::get_automated_reasoning_policy::builders::GetAutomatedReasoningPolicyFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Automated Reasoning policy to retrieve. Can be either the unversioned ARN for the draft policy or an ARN for a specific policy version.</p><br>
    /// - On success, responds with [`GetAutomatedReasoningPolicyOutput`](crate::operation::get_automated_reasoning_policy::GetAutomatedReasoningPolicyOutput) with field(s):
    ///   - [`policy_arn(String)`](crate::operation::get_automated_reasoning_policy::GetAutomatedReasoningPolicyOutput::policy_arn): <p>The Amazon Resource Name (ARN) of the policy.</p>
    ///   - [`name(String)`](crate::operation::get_automated_reasoning_policy::GetAutomatedReasoningPolicyOutput::name): <p>The name of the policy.</p>
    ///   - [`version(String)`](crate::operation::get_automated_reasoning_policy::GetAutomatedReasoningPolicyOutput::version): <p>The version of the policy.</p>
    ///   - [`policy_id(String)`](crate::operation::get_automated_reasoning_policy::GetAutomatedReasoningPolicyOutput::policy_id): <p>The unique identifier of the policy.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_automated_reasoning_policy::GetAutomatedReasoningPolicyOutput::description): <p>The description of the policy.</p>
    ///   - [`definition_hash(String)`](crate::operation::get_automated_reasoning_policy::GetAutomatedReasoningPolicyOutput::definition_hash): <p>The hash of the policy definition used as a concurrency token.</p>
    ///   - [`kms_key_arn(Option<String>)`](crate::operation::get_automated_reasoning_policy::GetAutomatedReasoningPolicyOutput::kms_key_arn): <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the automated reasoning policy and its associated artifacts. If a KMS key is not provided during the initial CreateAutomatedReasoningPolicyRequest, the kmsKeyArn won't be included in the GetAutomatedReasoningPolicyResponse.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_automated_reasoning_policy::GetAutomatedReasoningPolicyOutput::created_at): <p>The timestamp when the policy was created.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::get_automated_reasoning_policy::GetAutomatedReasoningPolicyOutput::updated_at): <p>The timestamp when the policy was last updated.</p>
    /// - On failure, responds with [`SdkError<GetAutomatedReasoningPolicyError>`](crate::operation::get_automated_reasoning_policy::GetAutomatedReasoningPolicyError)
    pub fn get_automated_reasoning_policy(
        &self,
    ) -> crate::operation::get_automated_reasoning_policy::builders::GetAutomatedReasoningPolicyFluentBuilder {
        crate::operation::get_automated_reasoning_policy::builders::GetAutomatedReasoningPolicyFluentBuilder::new(self.handle.clone())
    }
}