v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1449192184.5 KB

Creates a new table policy 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:PutTablePolicy permission to use this operation.

put/tables/{tableBucketARN}/{namespace}/{name}/policy

Path parameters

tableBucketARNstring required

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

namespacestring required

The namespace associated with the table.

namestring required

The name of the table.

Request body

resourcePolicystring required

The <code>JSON</code> that defines the policy.

Response

Success