S3Tables / Client / create_namespace

create_namespace#

S3Tables.Client.create_namespace(**kwargs)#

Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see Table namespaces.

See also: AWS API Documentation

Request Syntax

response = client.create_namespace(
    tableBucketARN='string',
    namespace=[
        'string',
    ]
)
Parameters:
  • tableBucketARN (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the table bucket to create the namespace in.

  • namespace (list) –

    [REQUIRED]

    A name for the namespace.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'tableBucketARN': 'string',
    'namespace': [
        'string',
    ]
}

Response Structure

  • (dict) –

    • tableBucketARN (string) –

      The Amazon Resource Name (ARN) of the table bucket the namespace was created in.

    • namespace (list) –

      The name of the namespace.

      • (string) –

Exceptions