list_table_buckets
async
¶
list_table_buckets(
*,
config_overrides: Optional[AsyncS3TablesClientConfig] = 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/async_s3_tables.py
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 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 | |