listDomains
abstract suspend fun listDomains(input: ListDomainsRequest = ListDomainsRequest { }): ListDomainsResponse
Returns the caller's domains: the account-scoped domain and the organization-scoped domain, if either exists. At most two domains are returned.
Samples
// The following example lists the caller s domains. At most two are returned the account scoped domain
// and the organization scoped domain so there is no nextToken. Payloads are shown as JSON on the wire
// they are CBOR encoded.
val resp = cloudWatchOmniClient.listDomains()Content copied to clipboard