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.
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.
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);
DeleteMetricPolicyCommandInput for command's
input
shape.DeleteMetricPolicyCommandOutput for command's
response
shape.config for MediaStoreClient's
config
shape.