Schemas / Client / list_registries

list_registries#

Schemas.Client.list_registries(**kwargs)#

List the registries.

See also: AWS API Documentation

Request Syntax

response = client.list_registries(
    Limit=123,
    NextToken='string',
    RegistryNamePrefix='string',
    Scope='string'
)
Parameters:
  • Limit (integer) –

  • NextToken (string) – The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

  • RegistryNamePrefix (string) – Specifying this limits the results to only those registry names that start with the specified prefix.

  • Scope (string) – Can be set to Local or AWS to limit responses to your custom registries, or the ones provided by AWS.

Return type:

dict

Returns:

Response Syntax

{
    'NextToken': 'string',
    'Registries': [
        {
            'RegistryArn': 'string',
            'RegistryName': 'string',
            'Tags': {
                'string': 'string'
            }
        },
    ]
}

Response Structure

  • (dict) –

    200 response

    • NextToken (string) –

      The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

    • Registries (list) –

      An array of registry summaries.

      • (dict) –

        • RegistryArn (string) –

          The ARN of the registry.

        • RegistryName (string) –

          The name of the registry.

        • Tags (dict) –

          Tags associated with the registry.

          • (string) –

            • (string) –

Exceptions

  • Schemas.Client.exceptions.ServiceUnavailableException

  • Schemas.Client.exceptions.BadRequestException

  • Schemas.Client.exceptions.UnauthorizedException

  • Schemas.Client.exceptions.InternalServerErrorException

  • Schemas.Client.exceptions.ForbiddenException