updateOmniDashboard

Updates an existing dashboard within a space. Only the provided fields are changed; omitted fields are left unchanged.

Samples

// The following example updates only the body of a dashboard the name and description are left
// unchanged. Payloads are shown as JSON on the wire they are CBOR encoded.
val resp = cloudWatchOmniClient.updateOmniDashboard {
    spaceId = "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
    dashboardId = "c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f"
    body = "{\"widgets\":[{\"type\":\"metric\",\"x\":0,\"y\":0,\"width\":24,\"height\":6,\"properties\":{\"metrics\":[[\"AWS/Lambda\",\"Errors\",\"FunctionName\",\"OrderProcessor\"],[\"AWS/Lambda\",\"Throttles\",\"FunctionName\",\"OrderProcessor\"]],\"region\":\"us-east-1\",\"title\":\"Lambda Errors and Throttles\"}}]}"
}