SupplyChain / Client / create_data_lake_namespace
create_data_lake_namespace¶
- SupplyChain.Client.create_data_lake_namespace(**kwargs)¶
Enables you to programmatically create an Amazon Web Services Supply Chain data lake namespace. Developers can create the namespaces for a given instance ID.
See also: AWS API Documentation
Request Syntax
response = client.create_data_lake_namespace( instanceId='string', name='string', description='string', tags={ 'string': 'string' } )
- Parameters:
instanceId (string) –
[REQUIRED]
The Amazon Web Services Supply Chain instance identifier.
name (string) –
[REQUIRED]
The name of the namespace. Noted you cannot create namespace with name starting with asc, default, scn, aws, amazon, amzn
description (string) – The description of the namespace.
tags (dict) –
The tags of the namespace.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'namespace': { 'instanceId': 'string', 'name': 'string', 'arn': 'string', 'description': 'string', 'createdTime': datetime(2015, 1, 1), 'lastModifiedTime': datetime(2015, 1, 1) } }
Response Structure
(dict) –
The response parameters of CreateDataLakeNamespace.
namespace (dict) –
The detail of created namespace.
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.
Exceptions