---
title: "POST /GetVectorBucketPolicy"
method: POST
path: "/GetVectorBucketPolicy"
---

# POST /GetVectorBucketPolicy

`POST /GetVectorBucketPolicy`

Gets details about a vector bucket policy. 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:GetVectorBucketPolicy` permission to use this operation.

## Request body

- object
  - `vectorBucketName` string — The name of the vector bucket.
  - `vectorBucketArn` string — The ARN of the vector bucket.

## Response `200`

Success

- GetVectorBucketPolicyOutput
  - `policy` string — The <code>JSON</code> that defines the policy.

## Other responses

- `480` — ValidationException
- `481` — ServiceUnavailableException
- `482` — TooManyRequestsException
- `483` — InternalServerException
- `484` — AccessDeniedException
- `485` — RequestTimeoutException
- `486` — NotFoundException

---

[API](https://skmtc.net/aws/apis/s3vectors.md) · [All operations](https://skmtc.net/aws/apis/s3vectors/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/s3vectors/versions/dc31037cd75b/schema)
