updateDataLakeDataset
inline suspend fun SupplyChainClient.updateDataLakeDataset(crossinline block: UpdateDataLakeDatasetRequest.Builder.() -> Unit): UpdateDataLakeDatasetResponse
Enables you to programmatically update an Amazon Web Services Supply Chain data lake dataset. Developers can update the description of a data lake dataset for a given instance ID, namespace, and dataset name.
Samples
fun main() {
//sampleStart
// Update description of an existing AWS Supply Chain inbound order dataset
val resp = supplyChainClient.updateDataLakeDataset {
instanceId = "1877dd20-dee9-4639-8e99-cb67acf21fe5"
namespace = "asc"
name = "inbound_order"
description = "This is an updated AWS Supply Chain inbound order dataset"
}
//sampleEnd
}
fun main() {
//sampleStart
// Update description of an existing custom dataset
val resp = supplyChainClient.updateDataLakeDataset {
instanceId = "1877dd20-dee9-4639-8e99-cb67acf21fe5"
namespace = "default"
name = "my_dataset"
description = "This is an updated custom dataset"
}
//sampleEnd
}