updateDomain
Updates a domain's name or identity provider configuration. Only the provided fields are changed; omitted fields are left unchanged. Renaming a domain also changes the endpoint URLs derived from its name.
Samples
// The following example performs a partial update that changes only the domain name the omitted fields
// are left unchanged. Renaming the domain also updates the endpoint URLs derived from its name, and
// updatedAt advances past createdAt. Payloads are shown as JSON on the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.updateDomain {
domainId = "d-1a2b3c4d5e"
name = "prod-observability-metrics"
}Content copied to clipboard