AgentRegistry / Paginator / ListDiscoverableRegistryRecords

ListDiscoverableRegistryRecords

class AgentRegistry.Paginator.ListDiscoverableRegistryRecords
paginator = client.get_paginator('list_discoverable_registry_records')
paginate(**kwargs)

Creates an iterator that will paginate through responses from AgentRegistry.Client.list_discoverable_registry_records().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    registryId='string',
    filters=[
        {
            'name': 'recordType'|'descriptorType',
            'values': [
                'string',
            ]
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • registryId (string) –

    [REQUIRED]

    Registry identifier that accepts either ARN or ID format

  • filters (list) –

    The filters to apply to the discoverable registry record list.

    • (dict) –

      A single filter applied to a ListDiscoverableRegistryRecords request.

      • name (string) – [REQUIRED]

        The attribute to filter on.

      • values (list) – [REQUIRED]

        The values to match for the attribute.

        • (string) –

          A single filter value. Constrained by length only; the accepted set of values is filter-specific and validated server-side so enum-style values such as READY or AWS_IAM are accepted.

  • 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

{
    'registryRecords': [
        {
            'registryArn': 'string',
            'recordArn': 'string',
            'recordId': 'string',
            'name': 'string',
            'description': 'string',
            'displayName': 'string',
            'recordType': 'MCP'|'AGENT'|'CUSTOM'|'SKILL',
            'recordVersion': 'string',
            'status': 'DRAFT'|'PENDING_APPROVAL'|'APPROVED'|'REJECTED'|'DEPRECATED'|'CREATING'|'UPDATING'|'CREATE_FAILED'|'UPDATE_FAILED',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • registryRecords (list) –

      The page of discoverable registry record summaries.

      • (dict) –

        Summary information about a discoverable registry record returned by ListDiscoverableRegistryRecords. This summary does not include descriptors.

        • registryArn (string) –

          Registry Amazon Resource Name

        • recordArn (string) –

          Registry Record Amazon Resource Name

        • recordId (string) –

          Registry Record unique identifier - 12-character alphanumeric string

        • name (string) –

          Registry Record name

        • description (string) –

          Description of the Resource

        • displayName (string) –

          Display name for a registry record

        • recordType (string) –

          Record type enum for registry record classification

        • recordVersion (string) –

          Version of the registry record

        • status (string) –

          Registry record status

        • createdAt (datetime) –

          Timestamp in ISO 8601 date-time format

        • updatedAt (datetime) –

          Timestamp in ISO 8601 date-time format

    • NextToken (string) –

      A token to resume pagination.