updateDomainForOrganization

Updates an organization domain's name or identity provider configuration. Call this operation in the Region where the domain was created. 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 organization domain name the
// omitted fields are left unchanged. The endpoint URLs derived from the name are updated, and updatedAt
// advances past createdAt. Payloads are shown as JSON on the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.updateDomainForOrganization {
    domainId = "d-9z8y7x6w5v"
    name = "prod-observability-org-metrics"
}