listDataLakeDatasets
abstract suspend fun listDataLakeDatasets(input: ListDataLakeDatasetsRequest): ListDataLakeDatasetsResponse
Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake datasets. Developers can view the datasets and the corresponding information such as namespace, schema, and so on for a given instance ID and namespace.
Samples
// List AWS Supply Chain datasets
val resp = supplyChainClient.listDataLakeDatasets {
instanceId = "1877dd20-dee9-4639-8e99-cb67acf21fe5"
namespace = "asc"
}Content copied to clipboard
// List custom datasets using pagination
val resp = supplyChainClient.listDataLakeDatasets {
instanceId = "1877dd20-dee9-4639-8e99-cb67acf21fe5"
namespace = "default"
maxResults = 2
nextToken = "next_token_returned_from_previous_list_request"
}Content copied to clipboard