aws-sdk-bedrock 1.129.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 [`GetAutomatedReasoningPolicyTestCase`](crate::operation::get_automated_reasoning_policy_test_case::builders::GetAutomatedReasoningPolicyTestCaseFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`policy_arn(impl Into<String>)`](crate::operation::get_automated_reasoning_policy_test_case::builders::GetAutomatedReasoningPolicyTestCaseFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::get_automated_reasoning_policy_test_case::builders::GetAutomatedReasoningPolicyTestCaseFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test.</p><br>
    ///   - [`test_case_id(impl Into<String>)`](crate::operation::get_automated_reasoning_policy_test_case::builders::GetAutomatedReasoningPolicyTestCaseFluentBuilder::test_case_id) / [`set_test_case_id(Option<String>)`](crate::operation::get_automated_reasoning_policy_test_case::builders::GetAutomatedReasoningPolicyTestCaseFluentBuilder::set_test_case_id):<br>required: **true**<br><p>The unique identifier of the test to retrieve.</p><br>
    /// - On success, responds with [`GetAutomatedReasoningPolicyTestCaseOutput`](crate::operation::get_automated_reasoning_policy_test_case::GetAutomatedReasoningPolicyTestCaseOutput) with field(s):
    ///   - [`policy_arn(String)`](crate::operation::get_automated_reasoning_policy_test_case::GetAutomatedReasoningPolicyTestCaseOutput::policy_arn): <p>The Amazon Resource Name (ARN) of the policy that contains the test.</p>
    ///   - [`test_case(Option<AutomatedReasoningPolicyTestCase>)`](crate::operation::get_automated_reasoning_policy_test_case::GetAutomatedReasoningPolicyTestCaseOutput::test_case): <p>The test details including the content, query, expected result, and metadata.</p>
    /// - On failure, responds with [`SdkError<GetAutomatedReasoningPolicyTestCaseError>`](crate::operation::get_automated_reasoning_policy_test_case::GetAutomatedReasoningPolicyTestCaseError)
    pub fn get_automated_reasoning_policy_test_case(
        &self,
    ) -> crate::operation::get_automated_reasoning_policy_test_case::builders::GetAutomatedReasoningPolicyTestCaseFluentBuilder {
        crate::operation::get_automated_reasoning_policy_test_case::builders::GetAutomatedReasoningPolicyTestCaseFluentBuilder::new(
            self.handle.clone(),
        )
    }
}