aws-sdk-bedrock 1.145.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 [`ListAutomatedReasoningPolicyTestCases`](crate::operation::list_automated_reasoning_policy_test_cases::builders::ListAutomatedReasoningPolicyTestCasesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_automated_reasoning_policy_test_cases::builders::ListAutomatedReasoningPolicyTestCasesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`policy_arn(impl Into<String>)`](crate::operation::list_automated_reasoning_policy_test_cases::builders::ListAutomatedReasoningPolicyTestCasesFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::list_automated_reasoning_policy_test_cases::builders::ListAutomatedReasoningPolicyTestCasesFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to list tests.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_automated_reasoning_policy_test_cases::builders::ListAutomatedReasoningPolicyTestCasesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_automated_reasoning_policy_test_cases::builders::ListAutomatedReasoningPolicyTestCasesFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token from a previous request to retrieve the next page of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_automated_reasoning_policy_test_cases::builders::ListAutomatedReasoningPolicyTestCasesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_automated_reasoning_policy_test_cases::builders::ListAutomatedReasoningPolicyTestCasesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of tests to return in a single call.</p><br>
    /// - On success, responds with [`ListAutomatedReasoningPolicyTestCasesOutput`](crate::operation::list_automated_reasoning_policy_test_cases::ListAutomatedReasoningPolicyTestCasesOutput) with field(s):
    ///   - [`test_cases(Vec::<AutomatedReasoningPolicyTestCase>)`](crate::operation::list_automated_reasoning_policy_test_cases::ListAutomatedReasoningPolicyTestCasesOutput::test_cases): <p>A list of tests for the specified policy.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_automated_reasoning_policy_test_cases::ListAutomatedReasoningPolicyTestCasesOutput::next_token): <p>The pagination token to use in a subsequent request to retrieve the next page of results.</p>
    /// - On failure, responds with [`SdkError<ListAutomatedReasoningPolicyTestCasesError>`](crate::operation::list_automated_reasoning_policy_test_cases::ListAutomatedReasoningPolicyTestCasesError)
    pub fn list_automated_reasoning_policy_test_cases(
        &self,
    ) -> crate::operation::list_automated_reasoning_policy_test_cases::builders::ListAutomatedReasoningPolicyTestCasesFluentBuilder {
        crate::operation::list_automated_reasoning_policy_test_cases::builders::ListAutomatedReasoningPolicyTestCasesFluentBuilder::new(
            self.handle.clone(),
        )
    }
}