import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { BatchGetFrameMetricDataRequest, BatchGetFrameMetricDataResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link BatchGetFrameMetricDataCommand}. */ export interface BatchGetFrameMetricDataCommandInput extends BatchGetFrameMetricDataRequest { } /** * @public * * The output of {@link BatchGetFrameMetricDataCommand}. */ export interface BatchGetFrameMetricDataCommandOutput extends BatchGetFrameMetricDataResponse, __MetadataBearer { } declare const BatchGetFrameMetricDataCommand_base: { new (input: BatchGetFrameMetricDataCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchGetFrameMetricDataCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* Returns the time series of values for a requested list * of frame metrics from a time period.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeGuruProfilerClient, BatchGetFrameMetricDataCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import * // const { CodeGuruProfilerClient, BatchGetFrameMetricDataCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import * // import type { CodeGuruProfilerClientConfig } from "@aws-sdk/client-codeguruprofiler"; * const config = {}; // type is CodeGuruProfilerClientConfig * const client = new CodeGuruProfilerClient(config); * const input = { // BatchGetFrameMetricDataRequest * profilingGroupName: "STRING_VALUE", // required * startTime: new Date("TIMESTAMP"), * endTime: new Date("TIMESTAMP"), * period: "STRING_VALUE", * targetResolution: "STRING_VALUE", * frameMetrics: [ // FrameMetrics * { // FrameMetric * frameName: "STRING_VALUE", // required * type: "STRING_VALUE", // required * threadStates: [ // ThreadStates // required * "STRING_VALUE", * ], * }, * ], * }; * const command = new BatchGetFrameMetricDataCommand(input); * const response = await client.send(command); * // { // BatchGetFrameMetricDataResponse * // startTime: new Date("TIMESTAMP"), // required * // endTime: new Date("TIMESTAMP"), // required * // resolution: "STRING_VALUE", // required * // endTimes: [ // ListOfTimestamps // required * // { // TimestampStructure * // value: new Date("TIMESTAMP"), // required * // }, * // ], * // unprocessedEndTimes: { // UnprocessedEndTimeMap // required * // "": [ * // { * // value: new Date("TIMESTAMP"), // required * // }, * // ], * // }, * // frameMetricData: [ // FrameMetricData // required * // { // FrameMetricDatum * // frameMetric: { // FrameMetric * // frameName: "STRING_VALUE", // required * // type: "STRING_VALUE", // required * // threadStates: [ // ThreadStates // required * // "STRING_VALUE", * // ], * // }, * // values: [ // FrameMetricValues // required * // Number("double"), * // ], * // }, * // ], * // }; * * ``` * * @param BatchGetFrameMetricDataCommandInput - {@link BatchGetFrameMetricDataCommandInput} * @returns {@link BatchGetFrameMetricDataCommandOutput} * @see {@link BatchGetFrameMetricDataCommandInput} for command's `input` shape. * @see {@link BatchGetFrameMetricDataCommandOutput} for command's `response` shape. * @see {@link CodeGuruProfilerClientResolvedConfig | config} for CodeGuruProfilerClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

The server encountered an internal error and is unable to complete the request.

* * @throws {@link ResourceNotFoundException} (client fault) *

The resource specified in the request does not exist.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The parameter is not valid.

* * @throws {@link CodeGuruProfilerServiceException} *

Base exception class for all service exceptions from CodeGuruProfiler service.

* * * @public */ export declare class BatchGetFrameMetricDataCommand extends BatchGetFrameMetricDataCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchGetFrameMetricDataRequest; output: BatchGetFrameMetricDataResponse; }; sdk: { input: BatchGetFrameMetricDataCommandInput; output: BatchGetFrameMetricDataCommandOutput; }; }; }