SupplyChain / Client / list_data_lake_namespaces
list_data_lake_namespaces¶
- SupplyChain.Client.list_data_lake_namespaces(**kwargs)¶
Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake namespaces. Developers can view the namespaces and the corresponding information such as description for a given instance ID. Note that this API only return custom namespaces, instance pre-defined namespaces are not included.
See also: AWS API Documentation
Request Syntax
response = client.list_data_lake_namespaces( instanceId='string', nextToken='string', maxResults=123 )
- Parameters:
instanceId (string) –
[REQUIRED]
The Amazon Web Services Supply Chain instance identifier.
nextToken (string) – The pagination token to fetch next page of namespaces.
maxResults (integer) – The max number of namespaces to fetch in this paginated request.
- Return type:
dict
- Returns:
Response Syntax
{ 'namespaces': [ { 'instanceId': 'string', 'name': 'string', 'arn': 'string', 'description': 'string', 'createdTime': datetime(2015, 1, 1), 'lastModifiedTime': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
The response parameters of ListDataLakeNamespaces.
namespaces (list) –
The list of fetched namespace details. Noted it only contains custom namespaces, pre-defined namespaces are not included.
(dict) –
The data lake namespace details.
instanceId (string) –
The Amazon Web Services Supply Chain instance identifier.
name (string) –
The name of the namespace.
arn (string) –
The arn of the namespace.
description (string) –
The description of the namespace.
createdTime (datetime) –
The creation time of the namespace.
lastModifiedTime (datetime) –
The last modified time of the namespace.
nextToken (string) –
The pagination token to fetch next page of namespaces.
Exceptions