deleteDomain

Removes a domain and all of its resources. Call this operation in the Region where the domain was created. A domain cannot be deleted while it contains spaces.

Samples

// The following example deletes a domain in the Region where it was created. The domain must not
// contain any spaces. A successful response returns an empty body. Payloads are shown as JSON on the wire
// they are CBOR encoded.
val resp = cloudWatchOmniClient.deleteDomain {
    domainId = "d-1a2b3c4d5e"
}