getView

inline suspend fun CloudWatchOmniClient.getView(crossinline block: GetViewRequest.Builder.() -> Unit): 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"
}