updateHttpNamespace

Updates an HTTP namespace.

Samples

import aws.sdk.kotlin.services.servicediscovery.model.HttpNamespaceChange

fun main() { 
   //sampleStart 
   // The following example updates the description of a HTTP namespace.
val resp = serviceDiscoveryClient.updateHttpNamespace {
    id = "ns-vh4nbmEXAMPLE"
    namespace = HttpNamespaceChange {
        description = "The updated namespace description."
    }
} 
   //sampleEnd
}
import aws.sdk.kotlin.services.servicediscovery.model.HttpNamespaceChange

fun main() { 
   //sampleStart 
   // This example updates an HTTP namespace using a namespace ARN instead of namespace ID.
val resp = serviceDiscoveryClient.updateHttpNamespace {
    id = "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-vh4nbmexample"
    namespace = HttpNamespaceChange {
        description = "Updated description for shared HTTP namespace."
    }
} 
   //sampleEnd
}