S3Tables / Client / list_tables
list_tables¶
- S3Tables.Client.list_tables(**kwargs)¶
- 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.- See also: AWS API Documentation - Request Syntax- response = client.list_tables( tableBucketARN='string', namespace='string', prefix='string', continuationToken='string', maxTables=123 ) - Parameters:
- tableBucketARN (string) – - [REQUIRED] - The Amazon resource Name (ARN) of the table bucket. 
- namespace (string) – The namespace of the tables. 
- prefix (string) – The prefix of the tables. 
- continuationToken (string) – - 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 this- ContinuationTokenfor pagination of the list results.
- maxTables (integer) – The maximum number of tables to return. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'tables': [ { 'namespace': [ 'string', ], 'name': 'string', 'type': 'customer'|'aws', 'tableARN': 'string', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'namespaceId': 'string', 'tableBucketId': 'string' }, ], 'continuationToken': 'string' } - Response Structure- (dict) – - tables (list) – - A list of tables. - (dict) – - Contains details about a table. - namespace (list) – - The name of the namespace. - (string) – 
 
- name (string) – - The name of the table. 
- type (string) – - The type of the table. 
- tableARN (string) – - The Amazon Resource Name (ARN) of the table. 
- createdAt (datetime) – - The date and time the table was created at. 
- modifiedAt (datetime) – - The date and time the table was last modified at. 
- namespaceId (string) – - The unique identifier for the namespace that contains this table. 
- tableBucketId (string) – - The unique identifier for the table bucket that contains this table. 
 
 
- continuationToken (string) – - You can use this - ContinuationTokenfor pagination of the list results.
 
 
 - Exceptions- S3Tables.Client.exceptions.InternalServerErrorException
- S3Tables.Client.exceptions.ForbiddenException
- S3Tables.Client.exceptions.NotFoundException
- S3Tables.Client.exceptions.TooManyRequestsException
- S3Tables.Client.exceptions.ConflictException
- S3Tables.Client.exceptions.BadRequestException