import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetInsightEventsRequest, GetInsightEventsResult } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetInsightEventsCommand}. */ export interface GetInsightEventsCommandInput extends GetInsightEventsRequest { } /** * @public * * The output of {@link GetInsightEventsCommand}. */ export interface GetInsightEventsCommandOutput extends GetInsightEventsResult, __MetadataBearer { } declare const GetInsightEventsCommand_base: { new (input: GetInsightEventsCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetInsightEventsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

X-Ray reevaluates insights periodically until they're resolved, and records each intermediate state as an * event. You can review an insight's events in the Impact Timeline on the Inspect page in the X-Ray * console.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { XRayClient, GetInsightEventsCommand } from "@aws-sdk/client-xray"; // ES Modules import * // const { XRayClient, GetInsightEventsCommand } = require("@aws-sdk/client-xray"); // CommonJS import * // import type { XRayClientConfig } from "@aws-sdk/client-xray"; * const config = {}; // type is XRayClientConfig * const client = new XRayClient(config); * const input = { // GetInsightEventsRequest * InsightId: "STRING_VALUE", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new GetInsightEventsCommand(input); * const response = await client.send(command); * // { // GetInsightEventsResult * // InsightEvents: [ // InsightEventList * // { // InsightEvent * // Summary: "STRING_VALUE", * // EventTime: new Date("TIMESTAMP"), * // ClientRequestImpactStatistics: { // RequestImpactStatistics * // FaultCount: Number("long"), * // OkCount: Number("long"), * // TotalCount: Number("long"), * // }, * // RootCauseServiceRequestImpactStatistics: { * // FaultCount: Number("long"), * // OkCount: Number("long"), * // TotalCount: Number("long"), * // }, * // TopAnomalousServices: [ // AnomalousServiceList * // { // AnomalousService * // ServiceId: { // ServiceId * // Name: "STRING_VALUE", * // Names: [ // ServiceNames * // "STRING_VALUE", * // ], * // AccountId: "STRING_VALUE", * // Type: "STRING_VALUE", * // }, * // }, * // ], * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetInsightEventsCommandInput - {@link GetInsightEventsCommandInput} * @returns {@link GetInsightEventsCommandOutput} * @see {@link GetInsightEventsCommandInput} for command's `input` shape. * @see {@link GetInsightEventsCommandOutput} for command's `response` shape. * @see {@link XRayClientResolvedConfig | config} for XRayClient's `config` shape. * * @throws {@link InvalidRequestException} (client fault) *

The request is missing required parameters or has invalid parameters.

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

The request exceeds the maximum number of requests per second.

* * @throws {@link XRayServiceException} *

Base exception class for all service exceptions from XRay service.

* * * @public */ export declare class GetInsightEventsCommand extends GetInsightEventsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetInsightEventsRequest; output: GetInsightEventsResult; }; sdk: { input: GetInsightEventsCommandInput; output: GetInsightEventsCommandOutput; }; }; }