S3Tables / Client / get_table_bucket_policy
get_table_bucket_policy#
- S3Tables.Client.get_table_bucket_policy(**kwargs)#
Gets details about a table bucket policy. For more information, see Viewing a table bucket policy in the Amazon Simple Storage Service User Guide.
Permissions
You must have the
s3tables:GetTableBucketPolicy
permission to use this operation.See also: AWS API Documentation
Request Syntax
response = client.get_table_bucket_policy( tableBucketARN='string' )
- Parameters:
tableBucketARN (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the table bucket.
- Return type:
dict
- Returns:
Response Syntax
{ 'resourcePolicy': 'string' }
Response Structure
(dict) –
resourcePolicy (string) –
The
JSON
that defines the policy.
Exceptions