{
  "version": "1.0",
  "examples": {
    "CreateAccessGrant": [
      {
        "input": {
          "name": "analyst-read-access",
          "clientToken": "3f2a9c1e-7b04-4d8a-9e15-6c2b8d0f4a73",
          "domainId": "d-1a2b3c4d5e",
          "permission": "CUSTOM",
          "principal": {
            "principalId": "94b6c7d8-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
            "principalType": "IDC_USER"
          },
          "scopedActions": [
            {
              "actions": [
                "cloudwatch:GetOmniDashboard",
                "cloudwatch:UpdateOmniDashboard"
              ],
              "resources": [
                {
                  "resourceArns": [
                    "arn:aws:cloudwatch:us-east-1:123456789012:omni-dashboard/c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f"
                  ],
                  "resourceType": "OmniDashboard"
                }
              ]
            }
          ],
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
          "tags": {
            "Team": "observability"
          }
        },
        "output": {
          "accessGrant": {
            "name": "analyst-read-access",
            "accountId": "123456789012",
            "createdAt": "2026-09-16T14:22:31Z",
            "createdBy": "arn:aws:iam::123456789012:role/ObservabilityAdmin",
            "domainId": "d-1a2b3c4d5e",
            "grantArn": "arn:aws:cloudwatch:us-east-1:123456789012:access-grant/7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
            "grantId": "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
            "grantType": "CUSTOMER_MANAGED",
            "permission": "CUSTOM",
            "principal": {
              "principalId": "94b6c7d8-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
              "principalType": "IDC_USER"
            },
            "scopedActions": [
              {
                "actions": [
                  "cloudwatch:GetOmniDashboard",
                  "cloudwatch:UpdateOmniDashboard"
                ],
                "resources": [
                  {
                    "resourceArns": [
                      "arn:aws:cloudwatch:us-east-1:123456789012:omni-dashboard/c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f"
                    ],
                    "resourceType": "OmniDashboard"
                  }
                ]
              }
            ],
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example creates a custom access grant that authorizes an Identity Center user to read and update a specific dashboard in a space. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Create an access grant"
      }
    ],
    "CreateAccessProfile": [
      {
        "input": {
          "name": "Analyst read-only profile",
          "clientToken": "3f2a9c1e-7b04-4d8a-9e15-6c2b8d0f4a73",
          "description": "Read-only access for analysts.",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
          "tags": {
            "Team": "observability"
          }
        },
        "output": {
          "accessProfile": {
            "name": "Analyst read-only profile",
            "arn": "arn:aws:cloudwatch:us-east-1:123456789012:access-profile/analyst-readonly",
            "assumeStatus": "ALLOWED",
            "createdAt": "2026-09-16T14:22:31Z",
            "description": "Read-only access for analysts.",
            "profileId": "analyst-readonly",
            "profileType": "CUSTOMER_MANAGED",
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example creates a customer-managed access profile in a space. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Create an access profile"
      }
    ],
    "CreateAlert": [
      {
        "input": {
          "name": "service-error-count-elevated",
          "clientToken": "3f2a9c1e-7b04-4d8a-9e15-6c2b8d0f4a73",
          "description": "Alerts when a service logs more errors than its accepted rate.",
          "notificationRules": [
            {
              "target": {
                "metadata": {
                  "channel": "oncall-alerts"
                },
                "type": "slack",
                "arn": "arn:aws:cloudwatch:us-east-1:123456789012:integration/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
              },
              "trigger": {
                "stateValues": [
                  "CRITICAL"
                ]
              }
            }
          ],
          "notificationsEnabled": true,
          "profileId": "analyst-readonly",
          "rule": {
            "telemetryRule": {
              "condition": {
                "comparator": "GT",
                "criticalThreshold": 200.0,
                "thresholdField": "error_count",
                "thresholdMode": "FIELD_VALUE",
                "warningThreshold": 50.0
              },
              "evaluation": {
                "intervalSeconds": 300,
                "pendingDurationSeconds": 600,
                "recoveryDurationSeconds": 300
              },
              "noData": {
                "treatAs": "NODATA"
              },
              "query": {
                "expression": "SELECT resource['attributes']['service.name'] AS service, COUNT(*) AS error_count FROM \"logs.default\" WHERE severityText = 'ERROR' GROUP BY service",
                "language": "SQL"
              }
            }
          },
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
          "tags": {
            "Team": "observability"
          }
        },
        "output": {
          "alert": {
            "name": "service-error-count-elevated",
            "accountId": "123456789012",
            "alertArn": "arn:aws:cloudwatch:us-east-1:123456789012:alert/c3d4e5f67a8b4c9d8e0f1a2b3c4d5e6f",
            "alertId": "c3d4e5f67a8b4c9d8e0f1a2b3c4d5e6f",
            "createdAt": "2026-09-16T14:22:31Z",
            "description": "Alerts when a service logs more errors than its accepted rate.",
            "notificationRules": [
              {
                "target": {
                  "metadata": {
                    "channel": "oncall-alerts"
                  },
                  "type": "slack",
                  "arn": "arn:aws:cloudwatch:us-east-1:123456789012:integration/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
                },
                "trigger": {
                  "stateValues": [
                    "CRITICAL"
                  ]
                }
              }
            ],
            "notificationStatus": "ENABLED",
            "profileId": "analyst-readonly",
            "rule": {
              "telemetryRule": {
                "condition": {
                  "comparator": "GT",
                  "criticalThreshold": 200.0,
                  "thresholdField": "error_count",
                  "thresholdMode": "FIELD_VALUE",
                  "warningThreshold": 50.0
                },
                "evaluation": {
                  "intervalSeconds": 300,
                  "pendingDurationSeconds": 600,
                  "recoveryDurationSeconds": 300
                },
                "noData": {
                  "treatAs": "NODATA"
                },
                "query": {
                  "expression": "SELECT resource['attributes']['service.name'] AS service, COUNT(*) AS error_count FROM \"logs.default\" WHERE severityText = 'ERROR' GROUP BY service",
                  "language": "SQL"
                }
              }
            },
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example creates an alert whose threshold is compared against a named field of each result row, so every service the query groups by is tracked as its own contributor. FIELD_VALUE requires thresholdField. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Create an alert on a field value"
      },
      {
        "input": {
          "name": "service-checkout-5xx-responses",
          "description": "Counts checkout responses that returned a server error.",
          "notificationsEnabled": false,
          "profileId": "analyst-readonly",
          "rule": {
            "telemetryRule": {
              "condition": {
                "comparator": "GT",
                "criticalThreshold": 50.0,
                "thresholdMode": "COUNT_OF_RESULTS",
                "warningThreshold": 10.0
              },
              "evaluation": {
                "intervalSeconds": 60,
                "pendingDurationSeconds": 120
              },
              "noData": {
                "treatAs": "OK"
              },
              "query": {
                "expression": "SELECT * FROM \"logs.default\" WHERE resource['attributes']['service.name'] = 'checkout' AND attributes['http.response.status_code'] >= 500",
                "language": "SQL"
              }
            }
          },
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "alert": {
            "name": "service-checkout-5xx-responses",
            "accountId": "123456789012",
            "alertArn": "arn:aws:cloudwatch:us-east-1:123456789012:alert/d4e5f6a78b9c4d0e9f1a2b3c4d5e6f70",
            "alertId": "d4e5f6a78b9c4d0e9f1a2b3c4d5e6f70",
            "createdAt": "2026-09-16T14:22:31Z",
            "description": "Counts checkout responses that returned a server error.",
            "notificationStatus": "DISABLED",
            "profileId": "analyst-readonly",
            "rule": {
              "telemetryRule": {
                "condition": {
                  "comparator": "GT",
                  "criticalThreshold": 50.0,
                  "thresholdMode": "COUNT_OF_RESULTS",
                  "warningThreshold": 10.0
                },
                "evaluation": {
                  "intervalSeconds": 60,
                  "pendingDurationSeconds": 120
                },
                "noData": {
                  "treatAs": "OK"
                },
                "query": {
                  "expression": "SELECT * FROM \"logs.default\" WHERE resource['attributes']['service.name'] = 'checkout' AND attributes['http.response.status_code'] >= 500",
                  "language": "SQL"
                }
              }
            },
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example creates an alert whose threshold is compared against how many rows the query returns, rather than a value within them. COUNT_OF_RESULTS takes no thresholdField. Notifications are created disabled, so the alert evaluates and records state without sending anything, and an empty result set is treated as OK rather than as missing data. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-2",
        "title": "Create an alert on the number of matching rows"
      },
      {
        "input": {
          "name": "checkout-error-rate-promql",
          "description": "Alerts on the checkout server error rate over a five-minute window.",
          "notificationRules": [
            {
              "target": {
                "type": "sns",
                "arn": "arn:aws:sns:us-east-1:123456789012:checkout-oncall"
              },
              "trigger": {
                "stateValues": [
                  "WARNING",
                  "CRITICAL"
                ]
              }
            }
          ],
          "profileId": "analyst-readonly",
          "rule": {
            "telemetryRule": {
              "condition": {
                "comparator": "GT",
                "criticalThreshold": 0.1,
                "thresholdField": "value",
                "thresholdMode": "FIELD_VALUE",
                "warningThreshold": 0.05
              },
              "evaluation": {
                "intervalSeconds": 300,
                "pendingDurationSeconds": 300
              },
              "noData": {
                "treatAs": "NODATA"
              },
              "query": {
                "expression": "sum by (service_name) (rate(http_server_errors_total{service_name=\"checkout\"}[5m]))",
                "language": "PROMQL"
              }
            }
          },
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "alert": {
            "name": "checkout-error-rate-promql",
            "accountId": "123456789012",
            "alertArn": "arn:aws:cloudwatch:us-east-1:123456789012:alert/e5f6a78b9c0d4e1f8a2b3c4d5e6f7081",
            "alertId": "e5f6a78b9c0d4e1f8a2b3c4d5e6f7081",
            "createdAt": "2026-09-16T14:22:31Z",
            "description": "Alerts on the checkout server error rate over a five-minute window.",
            "notificationRules": [
              {
                "target": {
                  "type": "sns",
                  "arn": "arn:aws:sns:us-east-1:123456789012:checkout-oncall"
                },
                "trigger": {
                  "stateValues": [
                    "WARNING",
                    "CRITICAL"
                  ]
                }
              }
            ],
            "notificationStatus": "ENABLED",
            "profileId": "analyst-readonly",
            "rule": {
              "telemetryRule": {
                "condition": {
                  "comparator": "GT",
                  "criticalThreshold": 0.1,
                  "thresholdField": "value",
                  "thresholdMode": "FIELD_VALUE",
                  "warningThreshold": 0.05
                },
                "evaluation": {
                  "intervalSeconds": 300,
                  "pendingDurationSeconds": 300
                },
                "noData": {
                  "treatAs": "NODATA"
                },
                "query": {
                  "expression": "sum by (service_name) (rate(http_server_errors_total{service_name=\"checkout\"}[5m]))",
                  "language": "PROMQL"
                }
              }
            },
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example creates an alert from a PromQL expression instead of SQL. A PromQL rule compares against the series value, which is carried as the `value` field, so the condition is FIELD_VALUE with thresholdField set to `value`. Notifications go to an Amazon SNS topic, whose ARN is the topic itself rather than an integration. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-3",
        "title": "Create an alert from a PromQL query"
      }
    ],
    "CreateDomain": [
      {
        "input": {
          "name": "prod-observability",
          "clientToken": "3f2a9c1e-7b04-4d8a-9e15-6c2b8d0f4a73",
          "identityProviderConfiguration": {
            "identityCenterConfiguration": {
              "identityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-1234567890abcdef"
            }
          },
          "identityProviders": [
            "IDC"
          ],
          "tags": {
            "Team": "observability"
          }
        },
        "output": {
          "domain": {
            "name": "prod-observability",
            "createdAt": "2026-09-16T14:22:31Z",
            "customEndpointUrls": [
              "https://prod-observability.cloudwatch-omni.global.app.aws"
            ],
            "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:domain/d-1a2b3c4d5e",
            "domainEndpointUrl": "https://d-1a2b3c4d5e.cloudwatch-omni.global.app.aws",
            "domainId": "d-1a2b3c4d5e",
            "identityCenterApplicationArn": "arn:aws:sso::123456789012:application/ssoins-1234567890abcdef/apl-0f9e8d7c6b5a4938",
            "identityProviderConfiguration": {
              "identityCenterConfiguration": {
                "identityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-1234567890abcdef"
              }
            },
            "identityProviders": [
              "IDC"
            ],
            "region": "us-east-1",
            "status": "ACTIVE",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example creates an Identity Center domain and configures it with an Identity Center instance. The name must be 3-63 characters of lowercase letters, numbers, and hyphens, and the endpoint URLs are derived from it. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Create a domain"
      }
    ],
    "CreateDomainAccessGrantForOrganization": [
      {
        "input": {
          "name": "org-domain-admin",
          "clientToken": "3f2a9c1e-7b04-4d8a-9e15-6c2b8d0f4a73",
          "domainId": "d-1a2b3c4d5e",
          "permission": "ADMIN",
          "principal": {
            "principalId": "94b6c7d8-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
            "principalType": "IDC_USER"
          },
          "tags": {
            "Team": "observability"
          }
        },
        "output": {
          "accessGrant": {
            "name": "org-domain-admin",
            "createdAt": "2026-09-16T14:22:31Z",
            "createdBy": "arn:aws:iam::123456789012:role/ObservabilityAdmin",
            "domainId": "d-1a2b3c4d5e",
            "grantArn": "arn:aws:cloudwatch:us-east-1:123456789012:organization-access-grant/7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
            "grantId": "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
            "grantType": "CUSTOMER_MANAGED",
            "permission": "ADMIN",
            "principal": {
              "principalId": "94b6c7d8-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
              "principalType": "IDC_USER"
            },
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example grants an Identity Center user administrative access to an organization domain. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Create an organization domain access grant"
      }
    ],
    "CreateDomainForOrganization": [
      {
        "input": {
          "name": "prod-observability-org",
          "clientToken": "3f2a9c1e-7b04-4d8a-9e15-6c2b8d0f4a73",
          "domainAccessRoleArn": "arn:aws:iam::123456789012:role/CloudWatchOrganizationDomainAccessRole",
          "identityProviderConfiguration": {
            "identityCenterConfiguration": {
              "identityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-1234567890abcdef"
            }
          },
          "identityProviders": [
            "IDC"
          ],
          "tags": {
            "Team": "observability"
          }
        },
        "output": {
          "organizationDomain": {
            "name": "prod-observability-org",
            "createdAt": "2026-09-16T14:22:31Z",
            "customEndpointUrls": [
              "https://prod-observability-org.cloudwatch-omni.global.app.aws"
            ],
            "domainAccessRoleArn": "arn:aws:iam::123456789012:role/CloudWatchOrganizationDomainAccessRole",
            "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:organization-domain/d-9z8y7x6w5v",
            "domainEndpointUrl": "https://d-9z8y7x6w5v.cloudwatch-omni.global.app.aws",
            "domainId": "d-9z8y7x6w5v",
            "identityCenterApplicationArn": "arn:aws:sso::123456789012:application/ssoins-1234567890abcdef/apl-0f9e8d7c6b5a4938",
            "identityProviderConfiguration": {
              "identityCenterConfiguration": {
                "identityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-1234567890abcdef"
              }
            },
            "identityProviders": [
              "IDC"
            ],
            "organizationId": "o-a1b2c3d4e5",
            "ownerAccountId": "123456789012",
            "region": "us-east-1",
            "status": "ACTIVE",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example creates an organization-scoped domain from the organization's management account, configures it with an Identity Center instance, and supplies an IAM role in the management account for domain access. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Create an organization domain"
      }
    ],
    "CreateIntegration": [
      {
        "input": {
          "name": "my-aws-integration",
          "clientToken": "b3f8c7d6-5b4a-4c3d-9e2f-1a0b2c3d4e5f",
          "integrationType": "AWS_INTEGRATION",
          "roleArn": "arn:aws:iam::123456789012:role/service-role/CloudWatchIntegrationRole"
        },
        "output": {
          "integration": {
            "name": "my-aws-integration",
            "createdAt": "2026-09-16T00:03:00Z",
            "integrationArn": "arn:aws:cloudwatch:us-east-1:123456789012:integration/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "integrationId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "integrationType": "AWS_INTEGRATION",
            "roleArn": "arn:aws:iam::123456789012:role/service-role/CloudWatchIntegrationRole",
            "status": "ACTIVE",
            "updatedAt": "2026-09-16T00:03:00Z"
          }
        },
        "description": "The following example creates an AWS_INTEGRATION named my-aws-integration, authorized by an IAM role. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Create an AWS integration"
      }
    ],
    "CreateOmniDashboard": [
      {
        "input": {
          "name": "service-health-overview",
          "body": "{\"widgets\":[{\"type\":\"metric\",\"x\":0,\"y\":0,\"width\":12,\"height\":6,\"properties\":{\"metrics\":[[\"AWS/Lambda\",\"Errors\",\"FunctionName\",\"OrderProcessor\"]],\"region\":\"us-east-1\",\"title\":\"Lambda Errors\"}}]}",
          "clientToken": "3f2a9c1e-7b04-4d8a-9e15-6c2b8d0f4a73",
          "description": "Overview of service health metrics.",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
          "tags": {
            "Team": "observability"
          }
        },
        "output": {
          "omniDashboard": {
            "name": "service-health-overview",
            "arn": "arn:aws:cloudwatch:us-east-1:123456789012:omni-dashboard/c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
            "body": "{\"widgets\":[{\"type\":\"metric\",\"x\":0,\"y\":0,\"width\":12,\"height\":6,\"properties\":{\"metrics\":[[\"AWS/Lambda\",\"Errors\",\"FunctionName\",\"OrderProcessor\"]],\"region\":\"us-east-1\",\"title\":\"Lambda Errors\"}}]}",
            "createdAt": "2026-09-16T14:22:31Z",
            "createdBy": "arn:aws:iam::123456789012:role/ObservabilityAdmin",
            "dashboardId": "c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
            "description": "Overview of service health metrics.",
            "tags": {
              "Team": "observability"
            },
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example creates a dashboard in a space from a JSON dashboard definition. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Create a dashboard"
      }
    ],
    "CreateOneTimeDeepLinkCode": [
      {
        "input": {
          "domainId": "d-1a2b3c4d5e",
          "redirectUrl": "https://d-1a2b3c4d5e.cloudwatch-omni.global.app.aws/auth/callback",
          "ttlSeconds": 300
        },
        "output": {
          "code": "dlc-EXAMPLE1234567890",
          "deepLinkUrl": "https://d-1a2b3c4d5e.cloudwatch-omni.global.app.aws/deeplink?code=EXAMPLE1234567890",
          "expiresAt": "2026-09-16T14:27:31Z"
        },
        "description": "The following example creates a one-time deep-link code for a domain that remains valid for 300 seconds and, once used, redirects the browser to the domain's /auth/callback path. Direct the user's browser to the returned deepLinkUrl before it expires; the code can be used only once. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Create a one-time deep-link code"
      }
    ],
    "CreateSpace": [
      {
        "input": {
          "name": "prod-observability",
          "agentCoreEvaluationRoleArn": "arn:aws:iam::123456789012:role/CloudWatchAgentCoreEvaluationRole",
          "clientToken": "3f2a9c1e-7b04-4d8a-9e15-6c2b8d0f4a73",
          "dataAccessRoleArn": "arn:aws:iam::123456789012:role/CloudWatchSpaceDataAccessRole",
          "domainId": "d-1a2b3c4d5e",
          "encryptionConfiguration": {
            "encryptionStrategy": "CUSTOMER_MANAGED",
            "kmsKeyArn": "arn:aws:kms:us-east-1:123456789012:key/1a2b3c4d-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
          },
          "tags": {
            "Team": "observability"
          }
        },
        "output": {
          "space": {
            "name": "prod-observability",
            "agentCoreEvaluationRoleArn": "arn:aws:iam::123456789012:role/CloudWatchAgentCoreEvaluationRole",
            "createdAt": "2026-09-16T14:22:31Z",
            "dataAccessRoleArn": "arn:aws:iam::123456789012:role/CloudWatchSpaceDataAccessRole",
            "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:domain/d-1a2b3c4d5e",
            "encryptionConfiguration": {
              "encryptionStrategy": "CUSTOMER_MANAGED",
              "kmsKeyArn": "arn:aws:kms:us-east-1:123456789012:key/1a2b3c4d-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
            },
            "ownerAccountId": "123456789012",
            "region": "us-east-1",
            "spaceArn": "arn:aws:cloudwatch:us-east-1:123456789012:space/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "status": "ACTIVE",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example creates a space in a domain and encrypts its data at rest with a customer managed KMS key. The name must be 3-64 characters of lowercase letters, numbers, and hyphens. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Create a space"
      }
    ],
    "CreateView": [
      {
        "input": {
          "name": "view.service_errors",
          "clientToken": "3f2a9c1e-7b04-4d8a-9e15-6c2b8d0f4a73",
          "definition": "SELECT resource['attributes']['service.name'] AS service, COUNT(*) AS error_count FROM \"logs.default\" WHERE severityText = 'ERROR' GROUP BY service",
          "description": "Error counts by service",
          "tags": {
            "Team": "observability"
          }
        },
        "output": {
          "name": "view.service_errors",
          "type": "USER",
          "arn": "arn:aws:cloudwatch:us-east-1:123456789012:view/view.service_errors",
          "createdAt": "2026-09-16T14:22:31Z",
          "definition": "SELECT resource['attributes']['service.name'] AS service, COUNT(*) AS error_count FROM \"logs.default\" WHERE severityText = 'ERROR' GROUP BY service",
          "description": "Error counts by service",
          "updatedAt": "2026-09-16T14:22:31Z"
        },
        "description": "The following example creates a user view that saves an error-count-by-service query. View names must begin with the view. prefix and be unique within the account and Region. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Create a view"
      }
    ],
    "DeleteAccessGrant": [
      {
        "input": {
          "grantId": "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d"
        },
        "output": {},
        "description": "The following example deletes an access grant by ID, revoking the access it granted. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Delete an access grant"
      }
    ],
    "DeleteAccessProfile": [
      {
        "input": {
          "profileId": "analyst-readonly",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {},
        "description": "The following example deletes an access profile from a space. An access profile cannot be deleted while access grants reference it. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Delete an access profile"
      }
    ],
    "DeleteAlert": [
      {
        "input": {
          "alertId": "c3d4e5f67a8b4c9d8e0f1a2b3c4d5e6f",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {},
        "description": "The following example removes an alert from a space. Deleting an alert that has already been removed succeeds without error. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Delete an alert"
      }
    ],
    "DeleteDomain": [
      {
        "input": {
          "domainId": "d-1a2b3c4d5e"
        },
        "output": {},
        "description": "The following example deletes a domain in the Region where it was created. The domain must not contain any spaces. A successful response returns an empty body. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Delete a domain"
      }
    ],
    "DeleteDomainAccessGrantForOrganization": [
      {
        "input": {
          "grantId": "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d"
        },
        "output": {},
        "description": "The following example deletes an organization domain access grant by ID, revoking the access it granted. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Delete an organization domain access grant"
      }
    ],
    "DeleteDomainForOrganization": [
      {
        "input": {
          "domainId": "d-9z8y7x6w5v"
        },
        "output": {},
        "description": "The following example deletes an organization domain in the Region where it was created. The domain must not contain any spaces. A successful response returns an empty body. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Delete an organization domain"
      }
    ],
    "DeleteIntegration": [
      {
        "input": {
          "identifier": {
            "integrationId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
          }
        },
        "output": {},
        "description": "The following example deletes the integration identified by its id. DeleteIntegration is idempotent and returns an empty response. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Delete an integration by id"
      }
    ],
    "DeleteOmniDashboard": [
      {
        "input": {
          "dashboardId": "c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {},
        "description": "The following example removes a dashboard from a space. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Delete a dashboard"
      }
    ],
    "DeleteSpace": [
      {
        "input": {
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {},
        "description": "The following example removes a space and all of its resources. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Delete a space"
      }
    ],
    "DeleteView": [
      {
        "input": {
          "name": "view.service_errors"
        },
        "output": {},
        "description": "The following example deletes a view. The response body is empty. Queries that reference the view fail after it is deleted. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Delete a view"
      }
    ],
    "GetAccessGrant": [
      {
        "input": {
          "grantId": "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d"
        },
        "output": {
          "accessGrant": {
            "name": "analyst-read-access",
            "accountId": "123456789012",
            "createdAt": "2026-09-16T14:22:31Z",
            "createdBy": "arn:aws:iam::123456789012:role/ObservabilityAdmin",
            "domainId": "d-1a2b3c4d5e",
            "grantArn": "arn:aws:cloudwatch:us-east-1:123456789012:access-grant/7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
            "grantId": "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
            "grantType": "CUSTOMER_MANAGED",
            "permission": "CUSTOM",
            "principal": {
              "principalId": "94b6c7d8-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
              "principalType": "IDC_USER"
            },
            "scopedActions": [
              {
                "actions": [
                  "cloudwatch:GetOmniDashboard",
                  "cloudwatch:UpdateOmniDashboard"
                ],
                "resources": [
                  {
                    "resourceArns": [
                      "arn:aws:cloudwatch:us-east-1:123456789012:omni-dashboard/c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f"
                    ],
                    "resourceType": "OmniDashboard"
                  }
                ]
              }
            ],
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example retrieves the full detail of a single access grant by ID. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get an access grant"
      }
    ],
    "GetAccessProfile": [
      {
        "input": {
          "profileId": "analyst-readonly",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "accessProfile": {
            "name": "Analyst read-only profile",
            "arn": "arn:aws:cloudwatch:us-east-1:123456789012:access-profile/analyst-readonly",
            "assumeStatus": "ALLOWED",
            "createdAt": "2026-09-16T14:22:31Z",
            "description": "Read-only access for analysts.",
            "profileId": "analyst-readonly",
            "profileType": "CUSTOMER_MANAGED",
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example retrieves an access profile by ID, including whether the calling principal is currently allowed to assume it. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get an access profile"
      }
    ],
    "GetAlert": [
      {
        "input": {
          "alertId": "c3d4e5f67a8b4c9d8e0f1a2b3c4d5e6f",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "alert": {
            "name": "service-error-count-elevated",
            "accountId": "123456789012",
            "alertArn": "arn:aws:cloudwatch:us-east-1:123456789012:alert/c3d4e5f67a8b4c9d8e0f1a2b3c4d5e6f",
            "alertId": "c3d4e5f67a8b4c9d8e0f1a2b3c4d5e6f",
            "createdAt": "2026-09-16T14:22:31Z",
            "description": "Alerts when a service logs more errors than its accepted rate.",
            "notificationRules": [
              {
                "target": {
                  "metadata": {
                    "channel": "oncall-alerts"
                  },
                  "type": "slack",
                  "arn": "arn:aws:cloudwatch:us-east-1:123456789012:integration/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
                },
                "trigger": {
                  "stateValues": [
                    "CRITICAL"
                  ]
                }
              }
            ],
            "notificationStatus": "ENABLED",
            "profileId": "analyst-readonly",
            "rule": {
              "telemetryRule": {
                "condition": {
                  "comparator": "GT",
                  "criticalThreshold": 200.0,
                  "thresholdField": "error_count",
                  "thresholdMode": "FIELD_VALUE",
                  "warningThreshold": 50.0
                },
                "evaluation": {
                  "intervalSeconds": 300,
                  "pendingDurationSeconds": 600,
                  "recoveryDurationSeconds": 300
                },
                "noData": {
                  "treatAs": "NODATA"
                },
                "query": {
                  "expression": "SELECT resource['attributes']['service.name'] AS service, COUNT(*) AS error_count FROM \"logs.default\" WHERE severityText = 'ERROR' GROUP BY service",
                  "language": "SQL"
                }
              }
            },
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "state": {
              "value": "CRITICAL",
              "contributorSummary": {
                "criticalCount": 1,
                "warningCount": 3
              },
              "transitionedAt": "2026-09-17T09:11:52Z"
            },
            "updatedAt": "2026-09-17T09:11:52Z"
          }
        },
        "description": "The following example retrieves an alert by its identifier, including the live evaluation state that CreateAlert does not report. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Retrieve an alert"
      }
    ],
    "GetContextGraph": [
      {
        "input": {
          "depth": 1,
          "endTime": "2026-09-16T01:00:00Z",
          "includeMetadata": false,
          "maxResults": 100,
          "nodeFilters": {
            "namespace": [
              "ecommerce"
            ],
            "nodeType": "SERVICE"
          },
          "startTime": "2026-09-16T00:00:00Z"
        },
        "output": {
          "nextToken": "eyJvZmZzZXQiOjEwMH0=",
          "nodes": [
            {
              "name": "checkout-service",
              "edges": [
                {
                  "operations": [
                    "POST /charges"
                  ],
                  "edgeId": "edge:checkout-service->payments-service",
                  "edgeType": "CALLS",
                  "firstObservedAt": "2026-09-16T00:03:00Z",
                  "from": "svc:checkout-service",
                  "lastObservedAt": "2026-09-16T00:58:00Z",
                  "signalTypes": [
                    "TRACES"
                  ],
                  "sources": [
                    "TELEMETRY"
                  ],
                  "to": "svc:payments-service"
                }
              ],
              "firstObservedAt": "2026-09-16T00:03:00Z",
              "lastObservedAt": "2026-09-16T00:58:00Z",
              "nodeId": "svc:checkout-service",
              "nodeProperties": {
                "cloudProvider": "aws",
                "namespace": "ecommerce",
                "region": "us-east-1",
                "sourceAccountId": "123456789012"
              },
              "nodeType": "SERVICE",
              "signalTypes": [
                "TRACES"
              ],
              "sources": [
                "TELEMETRY"
              ]
            },
            {
              "name": "payments-service",
              "firstObservedAt": "2026-09-16T00:01:00Z",
              "lastObservedAt": "2026-09-16T00:59:00Z",
              "nodeId": "svc:payments-service",
              "nodeProperties": {
                "cloudProvider": "aws",
                "namespace": "ecommerce",
                "region": "us-east-1",
                "sourceAccountId": "123456789012"
              },
              "nodeType": "SERVICE",
              "signalTypes": [
                "TRACES"
              ],
              "sources": [
                "TELEMETRY"
              ]
            }
          ]
        },
        "description": "The following example returns context graph nodes matching the filter and traverses one hop out to their direct dependencies, over a one-hour window. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Query a service and its immediate dependencies"
      },
      {
        "input": {
          "depth": 0,
          "endTime": "2026-09-16T01:00:00Z",
          "includeMetadata": true,
          "maxResults": 1,
          "nodeFilters": {
            "nodeId": "svc:checkout-service"
          },
          "startTime": "2026-09-16T00:00:00Z"
        },
        "output": {
          "nodes": [
            {
              "metadata": {
                "metrics": [
                  {
                    "name": "traces.span.metrics.calls",
                    "aggregationTemporality": "cumulative",
                    "attributes": {
                      "@instrumentation.@name": "otel.cloudwatch.spanmetrics",
                      "@resource.service.name": "checkout-service",
                      "@resource.service.namespace": "ecommerce"
                    },
                    "metricType": "sum",
                    "monotonicity": "monotonic",
                    "semantics": {
                      "unit": "{request}"
                    }
                  }
                ]
              },
              "name": "checkout-service",
              "firstObservedAt": "2026-09-16T00:03:00Z",
              "lastObservedAt": "2026-09-16T00:58:00Z",
              "nodeId": "svc:checkout-service",
              "nodeProperties": {
                "cloudProvider": "aws",
                "namespace": "ecommerce",
                "region": "us-east-1",
                "sourceAccountId": "123456789012"
              },
              "nodeType": "SERVICE",
              "signalTypes": [
                "METRICS"
              ],
              "sources": [
                "TELEMETRY"
              ]
            }
          ]
        },
        "description": "The following example returns aggregation metadata for a metric stream observed on a service over a one-hour window. The metric attributes identify its producing service and instrumentation scope; additional data point dimensions can identify multiple time series. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-2",
        "title": "Return metric aggregation metadata"
      }
    ],
    "GetDomain": [
      {
        "input": {
          "domainId": "d-1a2b3c4d5e"
        },
        "output": {
          "domain": {
            "name": "prod-observability",
            "createdAt": "2026-09-16T14:22:31Z",
            "customEndpointUrls": [
              "https://prod-observability.cloudwatch-omni.global.app.aws"
            ],
            "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:domain/d-1a2b3c4d5e",
            "domainEndpointUrl": "https://d-1a2b3c4d5e.cloudwatch-omni.global.app.aws",
            "domainId": "d-1a2b3c4d5e",
            "identityCenterApplicationArn": "arn:aws:sso::123456789012:application/ssoins-1234567890abcdef/apl-0f9e8d7c6b5a4938",
            "identityProviderConfiguration": {
              "identityCenterConfiguration": {
                "identityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-1234567890abcdef"
              }
            },
            "identityProviders": [
              "IDC"
            ],
            "region": "us-east-1",
            "status": "ACTIVE",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example retrieves the configuration and status of an Identity Center domain by its ID. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get a domain"
      }
    ],
    "GetDomainAccessGrantForOrganization": [
      {
        "input": {
          "grantId": "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d"
        },
        "output": {
          "accessGrant": {
            "name": "org-domain-admin",
            "createdAt": "2026-09-16T14:22:31Z",
            "createdBy": "arn:aws:iam::123456789012:role/ObservabilityAdmin",
            "domainId": "d-1a2b3c4d5e",
            "grantArn": "arn:aws:cloudwatch:us-east-1:123456789012:organization-access-grant/7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
            "grantId": "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
            "grantType": "CUSTOMER_MANAGED",
            "permission": "ADMIN",
            "principal": {
              "principalId": "94b6c7d8-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
              "principalType": "IDC_USER"
            },
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example retrieves the full detail of a single organization domain access grant by ID. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get an organization domain access grant"
      }
    ],
    "GetDomainForOrganization": [
      {
        "input": {
          "domainId": "d-9z8y7x6w5v"
        },
        "output": {
          "organizationDomain": {
            "name": "prod-observability-org",
            "createdAt": "2026-09-16T14:22:31Z",
            "customEndpointUrls": [
              "https://prod-observability-org.cloudwatch-omni.global.app.aws"
            ],
            "domainAccessRoleArn": "arn:aws:iam::123456789012:role/CloudWatchOrganizationDomainAccessRole",
            "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:organization-domain/d-9z8y7x6w5v",
            "domainEndpointUrl": "https://d-9z8y7x6w5v.cloudwatch-omni.global.app.aws",
            "domainId": "d-9z8y7x6w5v",
            "identityCenterApplicationArn": "arn:aws:sso::123456789012:application/ssoins-1234567890abcdef/apl-0f9e8d7c6b5a4938",
            "identityProviderConfiguration": {
              "identityCenterConfiguration": {
                "identityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-1234567890abcdef"
              }
            },
            "identityProviders": [
              "IDC"
            ],
            "organizationId": "o-a1b2c3d4e5",
            "ownerAccountId": "123456789012",
            "region": "us-east-1",
            "status": "ACTIVE",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example retrieves the configuration and status of an organization-scoped domain by its ID. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get an organization domain"
      }
    ],
    "GetIntegration": [
      {
        "input": {
          "identifier": {
            "integrationId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
          }
        },
        "output": {
          "integration": {
            "name": "my-aws-integration",
            "createdAt": "2026-09-16T00:03:00Z",
            "integrationArn": "arn:aws:cloudwatch:us-east-1:123456789012:integration/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "integrationId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "integrationType": "AWS_INTEGRATION",
            "roleArn": "arn:aws:iam::123456789012:role/service-role/CloudWatchIntegrationRole",
            "status": "ACTIVE",
            "updatedAt": "2026-09-16T00:03:00Z"
          }
        },
        "description": "The following example returns the integration with the given id. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get an integration by id"
      }
    ],
    "GetIntelligenceConfiguration": [
      {
        "input": {},
        "output": {
          "accountId": "123456789012",
          "createdAt": "2026-01-15T08:30:00Z",
          "kmsKeyArn": "arn:aws:kms:us-east-1:123456789012:key/1a2b3c4d-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
          "updatedAt": "2026-09-16T12:00:00Z"
        },
        "description": "The following example retrieves the intelligence configuration for the calling account. The request carries no parameters; the account is taken from the caller identity. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Retrieve the intelligence configuration"
      }
    ],
    "GetOmniDashboard": [
      {
        "input": {
          "dashboardId": "c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "omniDashboard": {
            "name": "service-health-overview",
            "arn": "arn:aws:cloudwatch:us-east-1:123456789012:omni-dashboard/c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
            "body": "{\"widgets\":[{\"type\":\"metric\",\"x\":0,\"y\":0,\"width\":12,\"height\":6,\"properties\":{\"metrics\":[[\"AWS/Lambda\",\"Errors\",\"FunctionName\",\"OrderProcessor\"]],\"region\":\"us-east-1\",\"title\":\"Lambda Errors\"}}]}",
            "createdAt": "2026-09-16T14:22:31Z",
            "createdBy": "arn:aws:iam::123456789012:role/ObservabilityAdmin",
            "dashboardId": "c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
            "description": "Overview of service health metrics.",
            "tags": {
              "Team": "observability"
            },
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example retrieves a dashboard by ID within a space, including its full body. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get a dashboard"
      }
    ],
    "GetSpace": [
      {
        "input": {
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "space": {
            "name": "prod-observability",
            "agentCoreEvaluationRoleArn": "arn:aws:iam::123456789012:role/CloudWatchAgentCoreEvaluationRole",
            "createdAt": "2026-09-16T14:22:31Z",
            "dataAccessRoleArn": "arn:aws:iam::123456789012:role/CloudWatchSpaceDataAccessRole",
            "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:domain/d-1a2b3c4d5e",
            "encryptionConfiguration": {
              "encryptionStrategy": "CUSTOMER_MANAGED",
              "kmsKeyArn": "arn:aws:kms:us-east-1:123456789012:key/1a2b3c4d-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
            },
            "ownerAccountId": "123456789012",
            "region": "us-east-1",
            "spaceArn": "arn:aws:cloudwatch:us-east-1:123456789012:space/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "status": "ACTIVE",
            "updatedAt": "2026-09-16T14:22:31Z"
          }
        },
        "description": "The following example retrieves the details of a space by ID. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get a space"
      }
    ],
    "GetSpaceCredentialsForOrganization": [
      {
        "input": {
          "context": {
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
          },
          "credentialType": "SPACE_OPERATION"
        },
        "output": {
          "credentials": {
            "accessKeyId": "ASIAIOSFODNN7EXAMPLE",
            "expiration": "2026-09-16T15:22:31Z",
            "secretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
            "sessionToken": "IQoJb3JpZ2luX2VjEXAMPLESESSIONTOKEN1234567890"
          }
        },
        "description": "The following example returns temporary, space-scoped AWS credentials for an existing space in an organization member account, selected by spaceId. The credentials are valid for one hour, as reflected by the expiration timestamp. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get space credentials for an organization member account"
      }
    ],
    "GetSpaceDataAccess": [
      {
        "input": {
          "auditContext": {
            "source": "logs-console"
          },
          "durationSeconds": 3600,
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
          "targetScopes": [
            {
              "actions": [
                "logs:StartQuery",
                "logs:GetQueryResults"
              ]
            },
            {
              "actions": [
                "cloudwatch:GetMetricData"
              ]
            }
          ]
        },
        "output": {
          "credentials": {
            "accessKeyId": "ASIAIOSFODNN7EXAMPLE",
            "expiration": "2026-10-20T19:22:31Z",
            "secretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
            "sessionToken": "EXAMPLE-SESSION-TOKEN"
          }
        },
        "description": "The following example requests credentials that allow running log queries and reading metric data in a space. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get data credentials for log queries"
      }
    ],
    "GetTelemetryQueryResults": [
      {
        "input": {
          "maxResults": 100,
          "queryId": "3b2a1c0d-7e6f-4a5b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "rows": [
            {
              "error_count": "42",
              "service.name": "checkout-service"
            },
            {
              "error_count": "7",
              "service.name": "payments-service"
            }
          ],
          "statistics": {
            "bytesScanned": 1048576.0,
            "partialResults": {
              "partialResultsDetected": false
            },
            "percentComplete": 100,
            "recordsMatched": 49,
            "recordsScanned": 20000
          },
          "status": "Complete"
        },
        "description": "The following example retrieves a page of results for a completed query, along with execution statistics. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get telemetry query results"
      }
    ],
    "GetView": [
      {
        "input": {
          "name": "view.service_errors"
        },
        "output": {
          "name": "view.service_errors",
          "type": "USER",
          "arn": "arn:aws:cloudwatch:us-east-1:123456789012:view/view.service_errors",
          "createdAt": "2026-09-16T14:22:31Z",
          "definition": "SELECT resource['attributes']['service.name'] AS service, COUNT(*) AS error_count FROM \"logs.default\" WHERE severityText = 'ERROR' GROUP BY service",
          "description": "Error counts by service",
          "updatedAt": "2026-09-16T14:22:31Z"
        },
        "description": "The following example returns the definition and metadata of a view. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Get a view"
      }
    ],
    "ListAccessGrants": [
      {
        "input": {
          "domainId": "d-1a2b3c4d5e",
          "maxResults": 50,
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "items": [
            {
              "name": "analyst-read-access",
              "domainId": "d-1a2b3c4d5e",
              "grantArn": "arn:aws:cloudwatch:us-east-1:123456789012:access-grant/7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
              "grantId": "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
              "grantType": "CUSTOMER_MANAGED",
              "permission": "CUSTOM",
              "principal": {
                "principalId": "94b6c7d8-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
                "principalType": "IDC_USER"
              },
              "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
            },
            {
              "name": "oncall-read-write",
              "domainId": "d-1a2b3c4d5e",
              "grantArn": "arn:aws:cloudwatch:us-east-1:123456789012:access-grant/8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
              "grantId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
              "grantType": "CUSTOMER_MANAGED",
              "permission": "READ_WRITE_DELETE",
              "principal": {
                "principalId": "2f5a8c1b-6d3e-4f7a-8b9c-0d1e2f3a4b5c",
                "principalType": "IDC_GROUP"
              },
              "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
            }
          ],
          "nextToken": "eyJvZmZzZXQiOjIwfQ=="
        },
        "description": "The following example lists the first page of access grants in a space and returns a nextToken to retrieve the next page. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "List access grants in a space"
      }
    ],
    "ListAccessProfiles": [
      {
        "input": {
          "maxResults": 50,
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "items": [
            {
              "name": "Analyst read-only profile",
              "arn": "arn:aws:cloudwatch:us-east-1:123456789012:access-profile/analyst-readonly",
              "description": "Read-only access for analysts.",
              "profileId": "analyst-readonly",
              "profileType": "CUSTOMER_MANAGED"
            },
            {
              "name": "On-call admin profile",
              "arn": "arn:aws:cloudwatch:us-east-1:123456789012:access-profile/oncall-admin",
              "description": "Full access for on-call responders.",
              "profileId": "oncall-admin",
              "profileType": "CUSTOMER_MANAGED"
            }
          ],
          "nextToken": "eyJvZmZzZXQiOjIwfQ=="
        },
        "description": "The following example lists the first page of access profiles in a space and returns a nextToken to retrieve the next page. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "List access profiles in a space"
      }
    ],
    "ListAlerts": [
      {
        "input": {
          "filterCriteria": {
            "namePrefix": "service-",
            "stateValue": [
              "WARNING",
              "CRITICAL"
            ]
          },
          "maxResults": 50,
          "sortBy": "STATE",
          "sortOrder": "DESC",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "items": [
            {
              "name": "service-error-count-elevated",
              "alertArn": "arn:aws:cloudwatch:us-east-1:123456789012:alert/c3d4e5f67a8b4c9d8e0f1a2b3c4d5e6f",
              "alertId": "c3d4e5f67a8b4c9d8e0f1a2b3c4d5e6f",
              "createdAt": "2026-09-16T14:22:31Z",
              "notificationStatus": "ENABLED",
              "profileId": "analyst-readonly",
              "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
              "state": {
                "value": "CRITICAL",
                "contributorSummary": {
                  "criticalCount": 1,
                  "warningCount": 3
                },
                "transitionedAt": "2026-09-17T09:11:52Z"
              },
              "updatedAt": "2026-09-17T09:11:52Z"
            },
            {
              "name": "service-checkout-5xx-responses",
              "alertArn": "arn:aws:cloudwatch:us-east-1:123456789012:alert/d4e5f6a78b9c4d0e9f1a2b3c4d5e6f70",
              "alertId": "d4e5f6a78b9c4d0e9f1a2b3c4d5e6f70",
              "createdAt": "2026-09-16T14:22:31Z",
              "notificationStatus": "DISABLED",
              "profileId": "analyst-readonly",
              "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
              "state": {
                "value": "WARNING",
                "data": {
                  "thresholdBreached": 14.0
                },
                "transitionedAt": "2026-09-17T09:11:52Z"
              },
              "updatedAt": "2026-09-16T14:22:31Z"
            }
          ],
          "nextToken": "eyJvZmZzZXQiOjIwfQ=="
        },
        "description": "The following example lists the first page of alerts in a space, sorted by state, and returns a nextToken to retrieve the next page. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "List alerts in a space"
      }
    ],
    "ListDomainAccessGrantsForOrganization": [
      {
        "input": {
          "domainId": "d-1a2b3c4d5e",
          "maxResults": 50
        },
        "output": {
          "items": [
            {
              "name": "org-domain-admin",
              "createdAt": "2026-09-16T14:22:31Z",
              "domainId": "d-1a2b3c4d5e",
              "grantArn": "arn:aws:cloudwatch:us-east-1:123456789012:organization-access-grant/7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
              "grantId": "7f3e9d21-4c8b-4f6a-b1d2-3e4f5a6b7c8d",
              "grantType": "CUSTOMER_MANAGED",
              "permission": "ADMIN",
              "principal": {
                "principalId": "94b6c7d8-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
                "principalType": "IDC_USER"
              },
              "updatedAt": "2026-09-16T14:22:31Z"
            },
            {
              "name": "org-domain-admin-group",
              "createdAt": "2026-09-16T14:22:31Z",
              "domainId": "d-1a2b3c4d5e",
              "grantArn": "arn:aws:cloudwatch:us-east-1:123456789012:organization-access-grant/8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
              "grantId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
              "grantType": "CUSTOMER_MANAGED",
              "permission": "ADMIN",
              "principal": {
                "principalId": "2f5a8c1b-6d3e-4f7a-8b9c-0d1e2f3a4b5c",
                "principalType": "IDC_GROUP"
              },
              "updatedAt": "2026-09-16T14:22:31Z"
            }
          ],
          "nextToken": "eyJvZmZzZXQiOjIwfQ=="
        },
        "description": "The following example lists the first page of organization domain access grants and returns a nextToken to retrieve the next page. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "List organization domain access grants"
      }
    ],
    "ListDomains": [
      {
        "input": {},
        "output": {
          "items": [
            {
              "name": "prod-observability",
              "createdAt": "2026-09-16T14:22:31Z",
              "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:domain/d-1a2b3c4d5e",
              "domainId": "d-1a2b3c4d5e",
              "identityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-1234567890abcdef",
              "region": "us-east-1",
              "status": "ACTIVE",
              "updatedAt": "2026-09-16T14:22:31Z"
            },
            {
              "name": "prod-observability-org",
              "createdAt": "2026-09-16T14:22:31Z",
              "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:organization-domain/d-9z8y7x6w5v",
              "domainId": "d-9z8y7x6w5v",
              "identityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-1234567890abcdef",
              "region": "us-east-1",
              "status": "ACTIVE",
              "updatedAt": "2026-09-16T14:22:31Z"
            }
          ]
        },
        "description": "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.",
        "id": "example-1",
        "title": "List domains"
      }
    ],
    "ListIntegrations": [
      {
        "input": {
          "integrationType": "AWS_INTEGRATION",
          "maxResults": 20
        },
        "output": {
          "items": [
            {
              "name": "my-aws-integration",
              "createdAt": "2026-09-16T00:03:00Z",
              "integrationArn": "arn:aws:cloudwatch:us-east-1:123456789012:integration/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
              "integrationId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
              "integrationType": "AWS_INTEGRATION",
              "status": "ACTIVE",
              "updatedAt": "2026-09-16T00:03:00Z"
            }
          ],
          "nextToken": "eyJvZmZzZXQiOjIwfQ=="
        },
        "description": "The following example lists up to 20 AWS_INTEGRATION integrations in the account. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "List integrations of a type"
      }
    ],
    "ListOmniDashboards": [
      {
        "input": {
          "maxResults": 50,
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "items": [
            {
              "name": "service-health-overview",
              "arn": "arn:aws:cloudwatch:us-east-1:123456789012:omni-dashboard/c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
              "createdAt": "2026-09-16T14:22:31Z",
              "createdBy": "arn:aws:iam::123456789012:role/ObservabilityAdmin",
              "dashboardId": "c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
              "description": "Overview of service health metrics.",
              "updatedAt": "2026-09-16T14:22:31Z"
            },
            {
              "name": "cost-explorer-dashboard",
              "arn": "arn:aws:cloudwatch:us-east-1:123456789012:omni-dashboard/d4e5f6a7-8b9c-4d0e-9f1a-2b3c4d5e6f70",
              "createdAt": "2026-09-16T14:22:31Z",
              "createdBy": "arn:aws:iam::123456789012:role/ObservabilityAdmin",
              "dashboardId": "d4e5f6a7-8b9c-4d0e-9f1a-2b3c4d5e6f70",
              "description": "Monthly cost breakdown by service.",
              "updatedAt": "2026-09-16T14:22:31Z"
            }
          ],
          "nextToken": "eyJvZmZzZXQiOjIwfQ=="
        },
        "description": "The following example lists the first page of dashboards in a space and returns a nextToken to retrieve the next page. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "List dashboards in a space"
      }
    ],
    "ListSpaces": [
      {
        "input": {
          "domainId": "d-1a2b3c4d5e",
          "maxResults": 50
        },
        "output": {
          "items": [
            {
              "name": "prod-observability",
              "createdAt": "2026-09-16T14:22:31Z",
              "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:domain/d-1a2b3c4d5e",
              "ownerAccountId": "123456789012",
              "region": "us-east-1",
              "spaceArn": "arn:aws:cloudwatch:us-east-1:123456789012:space/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
              "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
              "status": "ACTIVE",
              "updatedAt": "2026-09-16T14:22:31Z"
            },
            {
              "name": "staging-observability",
              "createdAt": "2026-09-16T14:22:31Z",
              "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:domain/d-1a2b3c4d5e",
              "ownerAccountId": "123456789012",
              "region": "us-east-1",
              "spaceArn": "arn:aws:cloudwatch:us-east-1:123456789012:space/b2c3d4e5-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
              "spaceId": "b2c3d4e5-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
              "status": "ACTIVE",
              "updatedAt": "2026-09-16T14:22:31Z"
            }
          ],
          "nextToken": "eyJvZmZzZXQiOjIwfQ=="
        },
        "description": "The following example lists the first page of spaces in a domain and returns a nextToken to retrieve the next page. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "List spaces in a domain"
      }
    ],
    "ListSpacesForOrganization": [
      {
        "input": {
          "maxResults": 50
        },
        "output": {
          "items": [
            {
              "name": "prod-observability",
              "createdAt": "2026-09-16T14:22:31Z",
              "ownerAccountId": "111122223333",
              "region": "us-east-1",
              "spaceArn": "arn:aws:cloudwatch:us-east-1:111122223333:space/c1d2e3f4-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
              "spaceId": "c1d2e3f4-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
              "status": "ACTIVE",
              "updatedAt": "2026-09-16T14:22:31Z"
            },
            {
              "name": "prod-observability",
              "createdAt": "2026-09-16T14:22:31Z",
              "ownerAccountId": "444455556666",
              "region": "us-east-1",
              "spaceArn": "arn:aws:cloudwatch:us-east-1:444455556666:space/d4e5f6a7-8b9c-4d0e-8f1a-2b3c4d5e6f7a",
              "spaceId": "d4e5f6a7-8b9c-4d0e-8f1a-2b3c4d5e6f7a",
              "status": "ACTIVE",
              "updatedAt": "2026-09-16T14:22:31Z"
            }
          ],
          "nextToken": "eyJvZmZzZXQiOjIwfQ=="
        },
        "description": "The following example lists the first page of spaces across all member accounts in the organization. The results include spaces owned by different accounts, along with a nextToken to retrieve the next page. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "List spaces across the organization"
      }
    ],
    "ListTelemetryFields": [
      {
        "input": {
          "dataSetName": "default",
          "telemetryType": "LOGS"
        },
        "output": {
          "fields": [
            {
              "name": "@timestamp"
            },
            {
              "name": "@message"
            },
            {
              "name": "attributes",
              "children": [
                {
                  "name": "http.method"
                },
                {
                  "name": "http.status_code"
                }
              ]
            }
          ]
        },
        "description": "The following example lists the log fields available in the specified dataset. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "List fields for a dataset"
      }
    ],
    "ListTelemetryQuerySessions": [
      {
        "input": {
          "maxResults": 10
        },
        "output": {
          "nextToken": "eyJvZmZzZXQiOjEwfQ==",
          "sessions": [
            {
              "createdAt": "2026-09-16T00:00:00Z",
              "lastActivityAt": "2026-09-16T00:05:00Z",
              "sessionId": "9f8c7d6e-5b4a-4c3d-9e2f-1a0b2c3d4e5f",
              "sessionName": "prod-latency-investigation"
            }
          ]
        },
        "description": "The following example lists the query sessions owned by the caller. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "List telemetry query sessions"
      }
    ],
    "ListViews": [
      {
        "input": {
          "type": "USER",
          "maxResults": 10
        },
        "output": {
          "items": [
            {
              "name": "view.service_errors",
              "type": "USER",
              "createdAt": "2026-09-16T14:22:31Z",
              "description": "Error counts by service",
              "updatedAt": "2026-09-16T14:22:31Z"
            }
          ],
          "nextToken": "eyJvZmZzZXQiOjEwfQ=="
        },
        "description": "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.",
        "id": "example-1",
        "title": "List the views in an account and Region"
      }
    ],
    "PutIntelligenceConfiguration": [
      {
        "input": {
          "clientToken": "b3f8c7d6-5b4a-4c3d-9e2f-1a0b2c3d4e5f",
          "kmsKeyArn": "arn:aws:kms:us-east-1:123456789012:key/1a2b3c4d-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "accountId": "123456789012",
          "createdAt": "2026-01-15T08:30:00Z",
          "kmsKeyArn": "arn:aws:kms:us-east-1:123456789012:key/1a2b3c4d-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
          "updatedAt": "2026-09-16T12:00:00Z"
        },
        "description": "The following example sets the customer-managed KMS key used to encrypt the account's intelligence data. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Configure a customer-managed KMS key"
      }
    ],
    "SearchPrincipals": [
      {
        "input": {
          "domainId": "d-1a2b3c4d5e",
          "searchQuery": "jane"
        },
        "output": {
          "results": [
            {
              "displayName": "Jane Doe",
              "principalId": "94b6c7d8-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
              "principalType": "USER",
              "userName": "jane.doe"
            },
            {
              "displayName": "Jane's Analysts",
              "principalId": "2f5a8c1b-6d3e-4f7a-8b9c-0d1e2f3a4b5c",
              "principalType": "GROUP"
            }
          ]
        },
        "description": "The following example searches a domain for principals whose name matches a text query. No nextToken is returned, so there are no more results. To grant access to a result, pass its principalId to CreateAccessGrant with a principalType of IDC_USER for a user or IDC_GROUP for a group. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Search principals by name"
      }
    ],
    "StartTelemetryQuery": [
      {
        "input": {
          "queryString": "SELECT `@timestamp`, `@message` FROM \"logs.default\" WHERE `@timestamp` BETWEEN NOW() - INTERVAL '1 HOUR' AND NOW() ORDER BY `@timestamp` DESC LIMIT 100",
          "sessionId": "9f8c7d6e-5b4a-4c3d-9e2f-1a0b2c3d4e5f"
        },
        "output": {
          "queryId": "3b2a1c0d-7e6f-4a5b-8c9d-0e1f2a3b4c5d",
          "sessionId": "9f8c7d6e-5b4a-4c3d-9e2f-1a0b2c3d4e5f"
        },
        "description": "The following example submits a SQL query within a session and returns the query ID used to poll for results. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Start a telemetry query"
      }
    ],
    "StartTelemetryQuerySession": [
      {
        "input": {
          "sessionName": "prod-latency-investigation"
        },
        "output": {
          "sessionId": "9f8c7d6e-5b4a-4c3d-9e2f-1a0b2c3d4e5f"
        },
        "description": "The following example starts a session for grouping telemetry queries and returns its session ID. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Start a telemetry query session"
      }
    ],
    "StopTelemetryQuery": [
      {
        "input": {
          "queryId": "3b2a1c0d-7e6f-4a5b-8c9d-0e1f2a3b4c5d"
        },
        "output": {},
        "description": "The following example stops a running query by its ID. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Stop a running telemetry query"
      }
    ],
    "StopTelemetryQuerySession": [
      {
        "input": {
          "sessionId": "9f8c7d6e-5b4a-4c3d-9e2f-1a0b2c3d4e5f"
        },
        "output": {},
        "description": "The following example terminates the specified session. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Stop a telemetry query session"
      }
    ],
    "UpdateAccessProfile": [
      {
        "input": {
          "description": "Read-only access for analysts and on-call responders.",
          "profileId": "analyst-readonly",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "accessProfile": {
            "name": "Analyst read-only profile",
            "arn": "arn:aws:cloudwatch:us-east-1:123456789012:access-profile/analyst-readonly",
            "createdAt": "2026-09-16T14:22:31Z",
            "description": "Read-only access for analysts and on-call responders.",
            "profileId": "analyst-readonly",
            "profileType": "CUSTOMER_MANAGED",
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "updatedAt": "2026-09-17T09:11:52Z"
          }
        },
        "description": "The following example updates only the description of an access profile; the name is left unchanged. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Update an access profile description"
      }
    ],
    "UpdateAlert": [
      {
        "input": {
          "alertId": "c3d4e5f67a8b4c9d8e0f1a2b3c4d5e6f",
          "rule": {
            "telemetryRule": {
              "condition": {
                "comparator": "GT",
                "criticalThreshold": 400.0,
                "thresholdField": "error_count",
                "thresholdMode": "FIELD_VALUE",
                "warningThreshold": 100.0
              }
            }
          },
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {},
        "description": "The following example replaces only the condition of an alert's rule; the query, the evaluation cadence and the notification rules are left unchanged. A supplied condition is replaced whole rather than merged, so every threshold to keep is sent again. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Raise an alert's thresholds"
      }
    ],
    "UpdateDomain": [
      {
        "input": {
          "name": "prod-observability-metrics",
          "domainId": "d-1a2b3c4d5e"
        },
        "output": {
          "domain": {
            "name": "prod-observability-metrics",
            "createdAt": "2026-09-16T14:22:31Z",
            "customEndpointUrls": [
              "https://prod-observability-metrics.cloudwatch-omni.global.app.aws"
            ],
            "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:domain/d-1a2b3c4d5e",
            "domainEndpointUrl": "https://d-1a2b3c4d5e.cloudwatch-omni.global.app.aws",
            "domainId": "d-1a2b3c4d5e",
            "identityCenterApplicationArn": "arn:aws:sso::123456789012:application/ssoins-1234567890abcdef/apl-0f9e8d7c6b5a4938",
            "identityProviderConfiguration": {
              "identityCenterConfiguration": {
                "identityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-1234567890abcdef"
              }
            },
            "identityProviders": [
              "IDC"
            ],
            "region": "us-east-1",
            "status": "ACTIVE",
            "updatedAt": "2026-09-17T09:11:52Z"
          }
        },
        "description": "The following example performs a partial update that changes only the domain name; the omitted fields are left unchanged. Renaming the domain also updates the endpoint URLs derived from its name, and updatedAt advances past createdAt. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Rename a domain"
      }
    ],
    "UpdateDomainForOrganization": [
      {
        "input": {
          "name": "prod-observability-org-metrics",
          "domainId": "d-9z8y7x6w5v"
        },
        "output": {
          "organizationDomain": {
            "name": "prod-observability-org-metrics",
            "createdAt": "2026-09-16T14:22:31Z",
            "customEndpointUrls": [
              "https://prod-observability-org-metrics.cloudwatch-omni.global.app.aws"
            ],
            "domainAccessRoleArn": "arn:aws:iam::123456789012:role/CloudWatchOrganizationDomainAccessRole",
            "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:organization-domain/d-9z8y7x6w5v",
            "domainEndpointUrl": "https://d-9z8y7x6w5v.cloudwatch-omni.global.app.aws",
            "domainId": "d-9z8y7x6w5v",
            "identityCenterApplicationArn": "arn:aws:sso::123456789012:application/ssoins-1234567890abcdef/apl-0f9e8d7c6b5a4938",
            "identityProviderConfiguration": {
              "identityCenterConfiguration": {
                "identityCenterInstanceArn": "arn:aws:sso:::instance/ssoins-1234567890abcdef"
              }
            },
            "identityProviders": [
              "IDC"
            ],
            "organizationId": "o-a1b2c3d4e5",
            "ownerAccountId": "123456789012",
            "region": "us-east-1",
            "status": "ACTIVE",
            "updatedAt": "2026-09-17T09:11:52Z"
          }
        },
        "description": "The following example performs a partial update that changes only the organization domain name; the omitted fields are left unchanged. The endpoint URLs derived from the name are updated, and updatedAt advances past createdAt. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Rename an organization domain"
      }
    ],
    "UpdateIntegration": [
      {
        "input": {
          "identifier": {
            "integrationId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
          },
          "integrationAttributes": {
            "notificationChannel": "ops-oncall"
          }
        },
        "output": {
          "integration": {
            "name": "my-aws-integration",
            "createdAt": "2026-09-16T00:03:00Z",
            "integrationArn": "arn:aws:cloudwatch:us-east-1:123456789012:integration/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "integrationAttributes": {
              "notificationChannel": "ops-oncall"
            },
            "integrationId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "integrationType": "AWS_INTEGRATION",
            "status": "ACTIVE",
            "updatedAt": "2026-09-16T12:00:00Z"
          }
        },
        "description": "The following example replaces the provider-specific attributes of the integration identified by its id. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Update an integration's attributes"
      }
    ],
    "UpdateOmniDashboard": [
      {
        "input": {
          "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\"}}]}",
          "dashboardId": "c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "omniDashboard": {
            "name": "service-health-overview",
            "arn": "arn:aws:cloudwatch:us-east-1:123456789012:omni-dashboard/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\"}}]}",
            "createdAt": "2026-09-16T14:22:31Z",
            "createdBy": "arn:aws:iam::123456789012:role/ObservabilityAdmin",
            "dashboardId": "c3d4e5f6-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
            "description": "Overview of service health metrics.",
            "tags": {
              "Team": "observability"
            },
            "updatedAt": "2026-09-17T09:11:52Z"
          }
        },
        "description": "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.",
        "id": "example-1",
        "title": "Update a dashboard body"
      }
    ],
    "UpdateSpace": [
      {
        "input": {
          "name": "prod-observability-team",
          "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
        },
        "output": {
          "space": {
            "name": "prod-observability-team",
            "agentCoreEvaluationRoleArn": "arn:aws:iam::123456789012:role/CloudWatchAgentCoreEvaluationRole",
            "createdAt": "2026-09-16T14:22:31Z",
            "dataAccessRoleArn": "arn:aws:iam::123456789012:role/CloudWatchSpaceDataAccessRole",
            "domainArn": "arn:aws:cloudwatch:us-east-1:123456789012:domain/d-1a2b3c4d5e",
            "encryptionConfiguration": {
              "encryptionStrategy": "CUSTOMER_MANAGED",
              "kmsKeyArn": "arn:aws:kms:us-east-1:123456789012:key/1a2b3c4d-5e6f-4a3b-8c9d-0e1f2a3b4c5d"
            },
            "ownerAccountId": "123456789012",
            "region": "us-east-1",
            "spaceArn": "arn:aws:cloudwatch:us-east-1:123456789012:space/a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "spaceId": "a1b2c3d4-5e6f-4a3b-8c9d-0e1f2a3b4c5d",
            "status": "ACTIVE",
            "updatedAt": "2026-09-17T09:11:52Z"
          }
        },
        "description": "The following example updates only the name of a space; omitted fields are left unchanged. The response returns the full space with a later updatedAt timestamp. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Rename a space"
      }
    ],
    "UpdateView": [
      {
        "input": {
          "name": "view.service_errors",
          "definition": "SELECT resource['attributes']['service.name'] AS service, COUNT(*) AS error_count FROM \"logs.default\" WHERE status['code'] IN ('2', 'ERROR') GROUP BY service"
        },
        "output": {
          "name": "view.service_errors",
          "type": "USER",
          "arn": "arn:aws:cloudwatch:us-east-1:123456789012:view/view.service_errors",
          "createdAt": "2026-09-16T14:22:31Z",
          "definition": "SELECT resource['attributes']['service.name'] AS service, COUNT(*) AS error_count FROM \"logs.default\" WHERE status['code'] IN ('2', 'ERROR') GROUP BY service",
          "description": "Error counts by service",
          "updatedAt": "2026-09-17T09:11:52Z"
        },
        "description": "The following example changes only the definition; the omitted description is left unchanged. Managed views cannot be updated. The response carries the view's effective configuration. Payloads are shown as JSON; on the wire they are CBOR-encoded.",
        "id": "example-1",
        "title": "Update a view's definition"
      }
    ]
  }
}
