BedrockAgentCoreControl / Paginator / ListHarnessVersions

ListHarnessVersions

class BedrockAgentCoreControl.Paginator.ListHarnessVersions
paginator = client.get_paginator('list_harness_versions')
paginate(**kwargs)

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

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the harness whose versions 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

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

Response Structure

  • (dict) –

    • harnessVersions (list) –

      The list of harness version summaries.

      • (dict) –

        Summary information about a single version of a harness.

        • harnessId (string) –

          The ID of the harness.

        • harnessName (string) –

          The name of the harness.

        • arn (string) –

          The ARN of the harness.

        • harnessVersion (string) –

          The version of the harness that this summary describes.

        • status (string) –

          The status of this harness version.

        • createdAt (datetime) –

          The timestamp when this harness version was created.

        • updatedAt (datetime) –

          The timestamp when this harness version was last updated.

        • failureReason (string) –

          Reason why the create or update operation for this harness version failed.

    • NextToken (string) –

      A token to resume pagination.