createDataLakeNamespace
inline suspend fun SupplyChainClient.createDataLakeNamespace(crossinline block: CreateDataLakeNamespaceRequest.Builder.() -> Unit): CreateDataLakeNamespaceResponse
Enables you to programmatically create an Amazon Web Services Supply Chain data lake namespace. Developers can create the namespaces for a given instance ID.
Samples
fun main() {
//sampleStart
// Create a data lake namespace
val resp = supplyChainClient.createDataLakeNamespace {
instanceId = "1877dd20-dee9-4639-8e99-cb67acf21fe5"
name = "my_namespace"
description = "This is my AWS Supply Chain namespace"
tags = mapOf<String, String>(
"tagKey1" to "tagValue1",
"tagKey2" to "tagValue2"
)
}
//sampleEnd
}