S3Tables / Client / put_table_policy
put_table_policy#
- S3Tables.Client.put_table_policy(**kwargs)#
- Creates a new maintenance configuration or replaces an existing table policy for a table. - See also: AWS API Documentation - Request Syntax- response = client.put_table_policy( tableBucketARN='string', namespace='string', name='string', resourcePolicy='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. 
- resourcePolicy (string) – - [REQUIRED] - The name of the resource policy. 
 
- 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