list_table_buckets
¶
list_table_buckets(
*,
config_overrides: Optional[S3TablesClientConfig] = None,
prefix: Optional[str] = None,
continuation_token: Optional[NextToken] = None,
max_buckets: Optional[ListTableBucketsLimit] = None,
type: Optional[TableBucketType] = None,
) -> ListTableBucketsResponse
Lists table buckets for your account. For more information, see S3 Table buckets in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:ListTableBucketspermission to use this operation.
Parameters:
-
prefix(Optional[str], default:None) –The prefix of the table buckets.
-
continuation_token(Optional[NextToken], default:None) –ContinuationTokenindicates to Amazon S3 that the list is being continued on this bucket with a token.ContinuationTokenis obfuscated and is not a real key. You can use thisContinuationTokenfor pagination of the list results. -
max_buckets(Optional[ListTableBucketsLimit], default:None) –The maximum number of table buckets to return in the list.
-
type(Optional[TableBucketType], default:None) –The type of table buckets to filter by in the list.
Raises:
-
AccessDeniedException–The action cannot be performed because you do not have the required permission.
-
BadRequestException–The request is invalid or malformed.
-
ConflictException–The request failed because there is a conflict with a previous write. You can retry the request.
-
ForbiddenException–The caller isn't authorized to make the request.
-
InternalServerErrorException–The request failed due to an internal server error.
-
NotFoundException–The request was rejected because the specified resource could not be found.
-
TooManyRequestsException–The limit on the number of requests per second was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_s3tables/_services/s3_tables.py
1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 | |