S3Tables / Client / put_table_bucket_policy
put_table_bucket_policy¶
- S3Tables.Client.put_table_bucket_policy(**kwargs)¶
- Creates a new maintenance configuration or replaces an existing table bucket policy for a table bucket. For more information, see Adding a table bucket policy in the Amazon Simple Storage Service User Guide. - Permissions - You must have the - s3tables:PutTableBucketPolicypermission to use this operation.- See also: AWS API Documentation - Request Syntax- response = client.put_table_bucket_policy( tableBucketARN='string', resourcePolicy='string' ) - Parameters:
- tableBucketARN (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the table bucket. 
- resourcePolicy (string) – - [REQUIRED] - The - JSONthat defines the policy.
 
- Returns:
- None 
 - Exceptions