Returns the metric policy for the specified container.
Use a bare-bones client and the command you need to make an API call.
import { MediaStoreClient, GetMetricPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import // const { MediaStoreClient, GetMetricPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import const client = new MediaStoreClient(config); const command = new GetMetricPolicyCommand(input); const response = await client.send(command);
GetMetricPolicyCommandInput for command's input shape.
input
GetMetricPolicyCommandOutput for command's response shape.
response
config for MediaStoreClient's config shape.
config
Returns the metric policy for the specified container.
Use a bare-bones client and the command you need to make an API call.
import { MediaStoreClient, GetMetricPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import // const { MediaStoreClient, GetMetricPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import const client = new MediaStoreClient(config); const command = new GetMetricPolicyCommand(input); const response = await client.send(command);
GetMetricPolicyCommandInput for command's
input
shape.GetMetricPolicyCommandOutput for command's
response
shape.config for MediaStoreClient's
config
shape.