S3Tables / Client / get_table_policy

get_table_policy#

S3Tables.Client.get_table_policy(**kwargs)#

Gets details about a table policy.

See also: AWS API Documentation

Request Syntax

response = client.get_table_policy(
    tableBucketARN='string',
    namespace='string',
    name='string'
)
Parameters:
  • tableBucketARN (string) –

    [REQUIRED]

    The Amazon Resource Number (ARN) of the table bucket that contains the table.

  • namespace (string) –

    [REQUIRED]

    The namespace associated with the table.

  • name (string) –

    [REQUIRED]

    The name of the table.

Return type:

dict

Returns:

Response Syntax

{
    'resourcePolicy': 'string'
}

Response Structure

  • (dict) –

    • resourcePolicy (string) –

      The name of the resource policy.

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