BedrockAgentCoreControl / Paginator / ListHarnesses

ListHarnesses

class BedrockAgentCoreControl.Paginator.ListHarnesses
paginator = client.get_paginator('list_harnesses')
paginate(**kwargs)

Creates an iterator that will paginate through responses from BedrockAgentCoreControl.Client.list_harnesses().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

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

{
    'harnesses': [
        {
            'harnessId': 'string',
            'harnessName': 'string',
            'arn': 'string',
            'status': 'CREATING'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'READY'|'DELETING'|'DELETE_FAILED',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • harnesses (list) –

      The list of harness summaries.

      • (dict) –

        Summary information about a harness.

        • harnessId (string) –

          The ID of the harness.

        • harnessName (string) –

          The name of the harness.

        • arn (string) –

          The ARN of the harness.

        • status (string) –

          The current status of the harness.

        • createdAt (datetime) –

          The timestamp when the harness was created.

        • updatedAt (datetime) –

          The timestamp when the harness was last updated.

    • NextToken (string) –

      A token to resume pagination.