Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MessageData

import type { MessageData } from "https://aws-api.deno.dev/v0.3/services/cloudwatch.ts?docs=full";

A message returned by the GetMetricDataAPI, 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;
}

§Properties

§
Code?: string | null
[src]

The error code or status code associated with the message.

§
Value?: string | null
[src]

The message text.