:doc:`SupplyChain <../../supplychain>` / Client / create_data_lake_namespace

**************************
create_data_lake_namespace
**************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/supplychain-2024-01-01/CreateDataLakeNamespace>`_  


  **Request Syntax**
  ::

    response = client.create_data_lake_namespace(
        instanceId='string',
        name='string',
        description='string',
        tags={
            'string': 'string'
        }
    )
    
  :type instanceId: string
  :param instanceId: **[REQUIRED]** 

    The Amazon Web Services Supply Chain instance identifier.

    

  
  :type name: string
  :param name: **[REQUIRED]** 

    The name of the namespace. Noted you cannot create namespace with name starting with **asc**, **default**, **scn**, **aws**, **amazon**, **amzn**

    

  
  :type description: string
  :param description: 

    The description of the namespace.

    

  
  :type tags: dict
  :param tags: 

    The tags of the namespace.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  
  :rtype: 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**
  
  *   :py:class:`SupplyChain.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`SupplyChain.Client.exceptions.ThrottlingException`

  
  *   :py:class:`SupplyChain.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`SupplyChain.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`SupplyChain.Client.exceptions.ValidationException`

  
  *   :py:class:`SupplyChain.Client.exceptions.InternalServerException`

  
  *   :py:class:`SupplyChain.Client.exceptions.ConflictException`

  