aws_sdk_bedrock/client/get_automated_reasoning_policy_test_case.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 [`GetAutomatedReasoningPolicyTestCase`](crate::operation::get_automated_reasoning_policy_test_case::builders::GetAutomatedReasoningPolicyTestCaseFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`GetAutomatedReasoningPolicyTestCaseOutput`](crate::operation::get_automated_reasoning_policy_test_case::GetAutomatedReasoningPolicyTestCaseOutput) with field(s):
9 /// - [`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>
10 /// - [`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>
11 /// - On failure, responds with [`SdkError<GetAutomatedReasoningPolicyTestCaseError>`](crate::operation::get_automated_reasoning_policy_test_case::GetAutomatedReasoningPolicyTestCaseError)
12 pub fn get_automated_reasoning_policy_test_case(
13 &self,
14 ) -> crate::operation::get_automated_reasoning_policy_test_case::builders::GetAutomatedReasoningPolicyTestCaseFluentBuilder {
15 crate::operation::get_automated_reasoning_policy_test_case::builders::GetAutomatedReasoningPolicyTestCaseFluentBuilder::new(
16 self.handle.clone(),
17 )
18 }
19}