getView

abstract suspend fun getView(input: GetViewRequest): GetViewResponse

Returns the definition and metadata of the specified view.

Samples

// The following example returns the definition and metadata of a view. Payloads are shown as JSON on
// the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.getView {
    name = "view.service_errors"
}