S3Tables / Client / rename_table

rename_table#

S3Tables.Client.rename_table(**kwargs)#

Renames a table or a namespace.

See also: AWS API Documentation

Request Syntax

response = client.rename_table(
    tableBucketARN='string',
    namespace='string',
    name='string',
    newNamespaceName='string',
    newName='string',
    versionToken='string'
)
Parameters:
  • tableBucketARN (string) –

    [REQUIRED]

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

  • namespace (string) –

    [REQUIRED]

    The namespace associated with the table.

  • name (string) –

    [REQUIRED]

    The current name of the table.

  • newNamespaceName (string) – The new name for the namespace.

  • newName (string) – The new name for the table.

  • versionToken (string) – The version token of the table.

Returns:

None

Exceptions

  • S3Tables.Client.exceptions.InternalServerErrorException

  • S3Tables.Client.exceptions.ForbiddenException

  • S3Tables.Client.exceptions.NotFoundException

  • S3Tables.Client.exceptions.TooManyRequestsException

  • S3Tables.Client.exceptions.ConflictException

  • S3Tables.Client.exceptions.BadRequestException