list_vector_buckets
¶
list_vector_buckets(
*,
config_overrides: Optional[S3VectorsClientConfig] = None,
max_results: Optional[ListVectorBucketsMaxResults] = None,
next_token: Optional[ListVectorBucketsNextToken] = None,
prefix: Optional[ListVectorBucketsPrefix] = None,
) -> ListVectorBucketsOutput
Returns a list of all the vector buckets that are owned by the authenticated sender of the request.
- Permissions
-
You must have the
s3vectors:ListVectorBucketspermission to use this operation.
Parameters:
-
max_results(Optional[ListVectorBucketsMaxResults], default:None) –The maximum number of vector buckets to be returned in the response.
-
next_token(Optional[ListVectorBucketsNextToken], default:None) –The previous pagination token.
-
prefix(Optional[ListVectorBucketsPrefix], default:None) –Limits the response to vector buckets that begin with the specified prefix.
Raises:
-
AccessDeniedException–Access denied.
-
InternalServerException–The request failed due to an internal server error.
-
RequestTimeoutException–The request timed out. Retry your request.
-
TooManyRequestsException–The request was denied due to request throttling.
-
ValidationException–The requested action isn't valid.
-
ServiceUnavailableException–The service is unavailable. Wait briefly and retry your request. If it continues to fail, increase your waiting time between retries.
-
UnknownServiceError–The service returned an error code this client does not model.