deleteDomainForOrganization
inline suspend fun CloudWatchOmniClient.deleteDomainForOrganization(crossinline block: DeleteDomainForOrganizationRequest.Builder.() -> Unit): DeleteDomainForOrganizationResponse
Removes an organization 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 an organization 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.deleteDomainForOrganization {
domainId = "d-9z8y7x6w5v"
}Content copied to clipboard