v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1419110105.3 KB

Creates a bucket policy for a vector bucket. To specify the bucket, you must use either the vector bucket name or the vector bucket Amazon Resource Name (ARN).

Permissions

You must have the s3vectors:PutVectorBucketPolicy permission to use this operation.

post/PutVectorBucketPolicy

Request body

vectorBucketNamestring

The name of the vector bucket.

vectorBucketArnstring

The Amazon Resource Name (ARN) of the vector bucket.

policystring required

The <code>JSON</code> that defines the policy. For more information about bucket policies for S3 Vectors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-vectors-bucket-policy.html">Managing vector bucket policies</a> in the <i>Amazon S3 User Guide</i>.

Response

Success

PutVectorBucketPolicyOutput required