Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteMetricPolicyCommand

Deletes the metric policy that is associated with the specified container. If there is no metric policy associated with the container, MediaStore doesn't send metrics to CloudWatch.

example

Use a bare-bones client and the command you need to make an API call.

import { MediaStoreClient, DeleteMetricPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
// const { MediaStoreClient, DeleteMetricPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
const client = new MediaStoreClient(config);
const command = new DeleteMetricPolicyCommand(input);
const response = await client.send(command);
see

DeleteMetricPolicyCommandInput for command's input shape.

see

DeleteMetricPolicyCommandOutput for command's response shape.

see

config for MediaStoreClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DeleteMetricPolicyCommandInput

Readonly middlewareStack