listDataLakeNamespaces

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.

Samples


fun main() { 
   //sampleStart 
   // List AWS Supply Chain namespaces
val resp = supplyChainClient.listDataLakeNamespaces {
    instanceId = "1877dd20-dee9-4639-8e99-cb67acf21fe5"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // List AWS Supply Chain namespaces using pagination
val resp = supplyChainClient.listDataLakeNamespaces {
    instanceId = "1877dd20-dee9-4639-8e99-cb67acf21fe5"
    maxResults = 1
    nextToken = "next_token_returned_from_previous_list_request"
} 
   //sampleEnd
}