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

*************************
list_data_lake_namespaces
*************************



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


  **Request Syntax**
  ::

    response = client.list_data_lake_namespaces(
        instanceId='string',
        nextToken='string',
        maxResults=123
    )
    
  :type instanceId: string
  :param instanceId: **[REQUIRED]** 

    The Amazon Web Services Supply Chain instance identifier.

    

  
  :type nextToken: string
  :param nextToken: 

    The pagination token to fetch next page of namespaces.

    

  
  :type maxResults: integer
  :param maxResults: 

    The max number of namespaces to fetch in this paginated request.

    

  
  
  :rtype: 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**
  
  *   :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`

  