list_tables
¶
list_tables(
table_bucket_arn: TableBucketARN,
*,
config_overrides: Optional[S3TablesClientConfig] = 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/s3_tables.py
3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 | |