import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetApplicationDateRangeKpiRequest, GetApplicationDateRangeKpiResponse } from "../models/models_0"; import type { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetApplicationDateRangeKpiCommand}. */ export interface GetApplicationDateRangeKpiCommandInput extends GetApplicationDateRangeKpiRequest { } /** * @public * * The output of {@link GetApplicationDateRangeKpiCommand}. */ export interface GetApplicationDateRangeKpiCommandOutput extends GetApplicationDateRangeKpiResponse, __MetadataBearer { } declare const GetApplicationDateRangeKpiCommand_base: { new (input: GetApplicationDateRangeKpiCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetApplicationDateRangeKpiCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PinpointClient, GetApplicationDateRangeKpiCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import * // const { PinpointClient, GetApplicationDateRangeKpiCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import * // import type { PinpointClientConfig } from "@aws-sdk/client-pinpoint"; * const config = {}; // type is PinpointClientConfig * const client = new PinpointClient(config); * const input = { // GetApplicationDateRangeKpiRequest * ApplicationId: "STRING_VALUE", // required * EndTime: new Date("TIMESTAMP"), * KpiName: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * PageSize: "STRING_VALUE", * StartTime: new Date("TIMESTAMP"), * }; * const command = new GetApplicationDateRangeKpiCommand(input); * const response = await client.send(command); * // { // GetApplicationDateRangeKpiResponse * // ApplicationDateRangeKpiResponse: { // ApplicationDateRangeKpiResponse * // ApplicationId: "STRING_VALUE", // required * // EndTime: new Date("TIMESTAMP"), // required * // KpiName: "STRING_VALUE", // required * // KpiResult: { // BaseKpiResult * // Rows: [ // ListOfResultRow // required * // { // ResultRow * // GroupedBys: [ // ListOfResultRowValue // required * // { // ResultRowValue * // Key: "STRING_VALUE", // required * // Type: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // Values: [ // required * // { * // Key: "STRING_VALUE", // required * // Type: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // }, * // ], * // }, * // NextToken: "STRING_VALUE", * // StartTime: new Date("TIMESTAMP"), // required * // }, * // }; * * ``` * * @param GetApplicationDateRangeKpiCommandInput - {@link GetApplicationDateRangeKpiCommandInput} * @returns {@link GetApplicationDateRangeKpiCommandOutput} * @see {@link GetApplicationDateRangeKpiCommandInput} for command's `input` shape. * @see {@link GetApplicationDateRangeKpiCommandOutput} for command's `response` shape. * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

Provides information about an API request or response.

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

Provides information about an API request or response.

* * @throws {@link InternalServerErrorException} (server fault) *

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

* * @throws {@link PinpointServiceException} *

Base exception class for all service exceptions from Pinpoint service.

* * * @public */ export declare class GetApplicationDateRangeKpiCommand extends GetApplicationDateRangeKpiCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetApplicationDateRangeKpiRequest; output: GetApplicationDateRangeKpiResponse; }; sdk: { input: GetApplicationDateRangeKpiCommandInput; output: GetApplicationDateRangeKpiCommandOutput; }; }; }