Bedrock / Paginator / ListAutomatedReasoningPolicies

ListAutomatedReasoningPolicies

class Bedrock.Paginator.ListAutomatedReasoningPolicies
paginator = client.get_paginator('list_automated_reasoning_policies')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Bedrock.Client.list_automated_reasoning_policies().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    policyArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • policyArn (string) – Optional filter to list only the policy versions with the specified Amazon Resource Name (ARN). If not provided, the DRAFT versions for all policies are listed.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'automatedReasoningPolicySummaries': [
        {
            'policyArn': 'string',
            'name': 'string',
            'description': 'string',
            'version': 'string',
            'policyId': 'string',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • automatedReasoningPolicySummaries (list) –

      A list of Automated Reasoning policy summaries.

      • (dict) –

        Contains summary information about an Automated Reasoning policy, including metadata and timestamps.

        • policyArn (string) –

          The Amazon Resource Name (ARN) of the policy.

        • name (string) –

          The name of the policy.

        • description (string) –

          The description of the policy.

        • version (string) –

          The version of the policy.

        • policyId (string) –

          The unique identifier of the policy.

        • createdAt (datetime) –

          The timestamp when the policy was created.

        • updatedAt (datetime) –

          The timestamp when the policy was last updated.

    • NextToken (string) –

      A token to resume pagination.