list_tables
async
¶
list_tables(
table_bucket_arn: TableBucketARN,
*,
config_overrides: Optional[AsyncS3TablesClientConfig] = None,
namespace: Optional[NamespaceName] = None,
prefix: Optional[str] = None,
continuation_token: Optional[NextToken] = None,
max_tables: Optional[ListTablesLimit] = None,
) -> ListTablesResponse
List tables in the given table bucket. For more information, see S3 Tables in the Amazon Simple Storage Service User Guide.
- Permissions
-
You must have the
s3tables:ListTablespermission to use this operation.
Parameters:
-
table_bucket_arn(TableBucketARN) –The Amazon resource Name (ARN) of the table bucket.
-
namespace(Optional[NamespaceName], default:None) –The namespace of the tables.
-
prefix(Optional[str], default:None) –The prefix of the tables.
-
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_tables(Optional[ListTablesLimit], default:None) –The maximum number of tables to return.
Raises:
-
BadRequestException–The request is invalid or malformed.
-
ConflictException–The request conflicts with the resource's current state, such as a previous write, an existing table, or a migration that's in progress or already in the requested state. If the conflict is with a concurrent 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
3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 | |