S3Tables / Client / list_namespaces
list_namespaces¶
- S3Tables.Client.list_namespaces(**kwargs)¶
- Lists the namespaces within a table bucket. For more information, see Table namespaces in the Amazon Simple Storage Service User Guide. - Permissions - You must have the - s3tables:ListNamespacespermission to use this operation.- See also: AWS API Documentation - Request Syntax- response = client.list_namespaces( tableBucketARN='string', prefix='string', continuationToken='string', maxNamespaces=123 ) - Parameters:
- tableBucketARN (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the table bucket. 
- prefix (string) – The prefix of the namespaces. 
- 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.
- maxNamespaces (integer) – The maximum number of namespaces to return in the list. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'namespaces': [ { 'namespace': [ 'string', ], 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'ownerAccountId': 'string', 'namespaceId': 'string', 'tableBucketId': 'string' }, ], 'continuationToken': 'string' } - Response Structure- (dict) – - namespaces (list) – - A list of namespaces. - (dict) – - Contains details about a namespace. - namespace (list) – - The name of the namespace. - (string) – 
 
- createdAt (datetime) – - The date and time the namespace was created at. 
- createdBy (string) – - The ID of the account that created the namespace. 
- ownerAccountId (string) – - The ID of the account that owns the namespace. 
- namespaceId (string) – - The system-assigned unique identifier for the namespace. 
- tableBucketId (string) – - The system-assigned unique identifier for the table bucket that contains this namespace. 
 
 
- continuationToken (string) – - The - ContinuationTokenfor pagination of the list results.
 
 
 - Exceptions