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

PutRumMetricsDestinationRequest

import type { PutRumMetricsDestinationRequest } from "https://aws-api.deno.dev/v0.4/services/rum.ts?docs=full";
interface PutRumMetricsDestinationRequest {
AppMonitorName: string;
Destination: MetricDestination;
DestinationArn?: string | null;
IamRoleArn?: string | null;
}

§Properties

§
AppMonitorName: string
[src]

The name of the CloudWatch RUM app monitor that will send the metrics.

§

Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.

§
DestinationArn?: string | null
[src]

Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.

§
IamRoleArn?: string | null
[src]

This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.

This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.