aws_sdk_bedrock/client/get_automated_reasoning_policy_test_result.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 [`GetAutomatedReasoningPolicyTestResult`](crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`policy_arn(impl Into<String>)`](crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Automated Reasoning policy.</p><br>
7 /// - [`build_workflow_id(impl Into<String>)`](crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder::build_workflow_id) / [`set_build_workflow_id(Option<String>)`](crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder::set_build_workflow_id):<br>required: **true**<br><p>The build workflow identifier. The build workflow must display a <code>COMPLETED</code> status to get results.</p><br>
8 /// - [`test_case_id(impl Into<String>)`](crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder::test_case_id) / [`set_test_case_id(Option<String>)`](crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder::set_test_case_id):<br>required: **true**<br><p>The unique identifier of the test for which to retrieve results.</p><br>
9 /// - On success, responds with [`GetAutomatedReasoningPolicyTestResultOutput`](crate::operation::get_automated_reasoning_policy_test_result::GetAutomatedReasoningPolicyTestResultOutput) with field(s):
10 /// - [`test_result(Option<AutomatedReasoningPolicyTestResult>)`](crate::operation::get_automated_reasoning_policy_test_result::GetAutomatedReasoningPolicyTestResultOutput::test_result): <p>The test result containing validation findings, execution status, and detailed analysis.</p>
11 /// - On failure, responds with [`SdkError<GetAutomatedReasoningPolicyTestResultError>`](crate::operation::get_automated_reasoning_policy_test_result::GetAutomatedReasoningPolicyTestResultError)
12 pub fn get_automated_reasoning_policy_test_result(
13 &self,
14 ) -> crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder {
15 crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder::new(
16 self.handle.clone(),
17 )
18 }
19}