Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetMetricPolicyCommand

Returns the metric policy for the specified container.

example

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);
see

GetMetricPolicyCommandInput for command's input shape.

see

GetMetricPolicyCommandOutput for command's response shape.

see

config for MediaStoreClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetMetricPolicyCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<GetMetricPolicyCommandInput, GetMetricPolicyCommandOutput>

Methods

Static getEndpointParameterInstructions