listViews
Lists the views in the caller's account and region. Returns a summary for each view, optionally filtered by view type. View definitions are not included — use GetView to retrieve them.
Samples
// The following example returns a page of view summaries, filtered to user created views. Definitions
// are not included call GetView to retrieve them. A nextToken is returned when more results are
// available. Payloads are shown as JSON on the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.listViews {
type = ViewType.fromValue("USER")
maxResults = 10
}Content copied to clipboard