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. For more information, see Adding a table policy in the Amazon Simple Storage Service User Guide. - Permissions - You must have the - s3tables:PutTablePolicypermission to use this operation.- 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 Name (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 - JSONthat defines the policy.
 
- Returns:
- None 
 - Exceptions