MessageData
import type { MessageData } from "https://aws-api.deno.dev/v0.4/services/cloudwatch.ts?docs=full";
A message returned by the GetMetricData
API, including a code and a description.
If a cross-Region GetMetricData
operation fails with a code of Forbidden
and a value of Authentication too complex to retrieve cross region data
, you can correct the problem by running the GetMetricData
operation in the same Region where the metric data is.
interface MessageData {
Code?: string | null;
Value?: string | null;
}