import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient"; import type { DescribeReplayRequest, DescribeReplayResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeReplayCommand}. */ export interface DescribeReplayCommandInput extends DescribeReplayRequest { } /** * @public * * The output of {@link DescribeReplayCommand}. */ export interface DescribeReplayCommandOutput extends DescribeReplayResponse, __MetadataBearer { } declare const DescribeReplayCommand_base: { new (input: DescribeReplayCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeReplayCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves details about a replay. Use DescribeReplay to determine the * progress of a running replay. A replay processes events to replay based on the time in the * event, and replays them using 1 minute intervals. If you use StartReplay and * specify an EventStartTime and an EventEndTime that covers a 20 * minute time range, the events are replayed from the first minute of that 20 minute range * first. Then the events from the second minute are replayed. You can use * DescribeReplay to determine the progress of a replay. The value returned for * EventLastReplayedTime indicates the time within the specified time range * associated with the last event replayed.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EventBridgeClient, DescribeReplayCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import * // const { EventBridgeClient, DescribeReplayCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import * // import type { EventBridgeClientConfig } from "@aws-sdk/client-eventbridge"; * const config = {}; // type is EventBridgeClientConfig * const client = new EventBridgeClient(config); * const input = { // DescribeReplayRequest * ReplayName: "STRING_VALUE", // required * }; * const command = new DescribeReplayCommand(input); * const response = await client.send(command); * // { // DescribeReplayResponse * // ReplayName: "STRING_VALUE", * // ReplayArn: "STRING_VALUE", * // Description: "STRING_VALUE", * // State: "STARTING" || "RUNNING" || "CANCELLING" || "COMPLETED" || "CANCELLED" || "FAILED", * // StateReason: "STRING_VALUE", * // EventSourceArn: "STRING_VALUE", * // Destination: { // ReplayDestination * // Arn: "STRING_VALUE", // required * // FilterArns: [ // ReplayDestinationFilters * // "STRING_VALUE", * // ], * // }, * // EventStartTime: new Date("TIMESTAMP"), * // EventEndTime: new Date("TIMESTAMP"), * // EventLastReplayedTime: new Date("TIMESTAMP"), * // ReplayStartTime: new Date("TIMESTAMP"), * // ReplayEndTime: new Date("TIMESTAMP"), * // }; * * ``` * * @param DescribeReplayCommandInput - {@link DescribeReplayCommandInput} * @returns {@link DescribeReplayCommandOutput} * @see {@link DescribeReplayCommandInput} for command's `input` shape. * @see {@link DescribeReplayCommandOutput} for command's `response` shape. * @see {@link EventBridgeClientResolvedConfig | config} for EventBridgeClient's `config` shape. * * @throws {@link InternalException} (server fault) *

This exception occurs due to unexpected causes.

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

An entity that you specified does not exist.

* * @throws {@link EventBridgeServiceException} *

Base exception class for all service exceptions from EventBridge service.

* * * @public */ export declare class DescribeReplayCommand extends DescribeReplayCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeReplayRequest; output: DescribeReplayResponse; }; sdk: { input: DescribeReplayCommandInput; output: DescribeReplayCommandOutput; }; }; }