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 [`GetAutomatedReasoningPolicyTestResult`](crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetAutomatedReasoningPolicyTestResultOutput`](crate::operation::get_automated_reasoning_policy_test_result::GetAutomatedReasoningPolicyTestResultOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetAutomatedReasoningPolicyTestResultError>`](crate::operation::get_automated_reasoning_policy_test_result::GetAutomatedReasoningPolicyTestResultError)
    pub fn get_automated_reasoning_policy_test_result(
        &self,
    ) -> crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder {
        crate::operation::get_automated_reasoning_policy_test_result::builders::GetAutomatedReasoningPolicyTestResultFluentBuilder::new(
            self.handle.clone(),
        )
    }
}