Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetResourceMetricsCommand

Retrieve Performance Insights metrics for a set of data sources over a time period. You can provide specific dimension groups and dimensions, and provide aggregation and filtering criteria for each group.

Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.

example

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

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

GetResourceMetricsCommandInput for command's input shape.

see

GetResourceMetricsCommandOutput for command's response shape.

see

config for PIClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetResourceMetricsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions