S3Tables / Client / list_namespaces

list_namespaces#

S3Tables.Client.list_namespaces(**kwargs)#

Lists the namespaces within a table bucket.

See also: AWS API Documentation

Request Syntax

response = client.list_namespaces(
    tableBucketARN='string',
    prefix='string',
    continuationToken='string',
    maxNamespaces=123
)
Parameters:
  • tableBucketARN (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the table bucket.

  • prefix (string) – The prefix of the namespaces.

  • continuationToken (string) – ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results.

  • maxNamespaces (integer) – The maximum number of namespaces to return in the list.

Return type:

dict

Returns:

Response Syntax

{
    'namespaces': [
        {
            'namespace': [
                'string',
            ],
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'ownerAccountId': 'string'
        },
    ],
    'continuationToken': 'string'
}

Response Structure

  • (dict) –

    • namespaces (list) –

      A list of namespaces.

      • (dict) –

        Contains details about a namespace.

        • namespace (list) –

          The name of the namespace.

          • (string) –

        • createdAt (datetime) –

          The date and time the namespace was created at.

        • createdBy (string) –

          The ID of the account that created the namespace.

        • ownerAccountId (string) –

          The ID of the account that owns the namespace.

    • continuationToken (string) –

      The ContinuationToken for pagination of the list results.

Exceptions