S3Vectors / Client / get_vector_bucket_policy
get_vector_bucket_policy¶
- S3Vectors.Client.get_vector_bucket_policy(**kwargs)¶
- Note- Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change. - 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:GetVectorBucketPolicypermission to use this operation.- See also: AWS API Documentation - Request Syntax- response = client.get_vector_bucket_policy( vectorBucketName='string', vectorBucketArn='string' ) - Parameters:
- vectorBucketName (string) – The name of the vector bucket. 
- vectorBucketArn (string) – The ARN of the vector bucket. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'policy': 'string' } - Response Structure- (dict) – - policy (string) – - The - JSONthat defines the policy.
 
 
 - Exceptions- S3Vectors.Client.exceptions.ValidationException
- S3Vectors.Client.exceptions.ServiceUnavailableException
- S3Vectors.Client.exceptions.TooManyRequestsException
- S3Vectors.Client.exceptions.InternalServerException
- S3Vectors.Client.exceptions.AccessDeniedException
- S3Vectors.Client.exceptions.NotFoundException
- S3Vectors.Client.exceptions.ServiceQuotaExceededException