listNamespaces
inline suspend fun ServiceDiscoveryClient.listNamespaces(crossinline block: ListNamespacesRequest.Builder.() -> Unit): ListNamespacesResponse
Lists summary information about the namespaces that were created by the current Amazon Web Services account.
Samples
fun main() {
//sampleStart
// Example List namespaces
val resp = serviceDiscoveryClient.listNamespaces()
//sampleEnd
}