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

CreateCustomMetricRequest

import type { CreateCustomMetricRequest } from "https://aws-api.deno.dev/v0.3/services/iot.ts?docs=full";
interface CreateCustomMetricRequest {
clientRequestToken: string;
displayName?: string | null;
metricName: string;
metricType: CustomMetricType;
tags?: Tag[] | null;
}

§Properties

§
clientRequestToken: string
[src]

Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

§
displayName?: string | null
[src]

Field represents a friendly name in the console for the custom metric; it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated once defined.

§
metricName: string
[src]

The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws:. Cannot be updated once defined.

§

The type of the custom metric. Types include string-list, ip-address-list, number-list, and number.

§
tags?: Tag[] | null
[src]

Metadata that can be used to manage the custom metric.