getDomain

inline suspend fun CloudWatchOmniClient.getDomain(crossinline block: GetDomainRequest.Builder.() -> Unit): GetDomainResponse

Retrieves the details of a domain by ID.

Samples

// The following example retrieves the configuration and status of an Identity Center domain by its ID.
// Payloads are shown as JSON on the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.getDomain {
    domainId = "d-1a2b3c4d5e"
}