import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IVSRealTimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IVSRealTimeClient"; import type { ListParticipantEventsRequest, ListParticipantEventsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListParticipantEventsCommand}. */ export interface ListParticipantEventsCommandInput extends ListParticipantEventsRequest { } /** * @public * * The output of {@link ListParticipantEventsCommand}. */ export interface ListParticipantEventsCommandOutput extends ListParticipantEventsResponse, __MetadataBearer { } declare const ListParticipantEventsCommand_base: { new (input: ListParticipantEventsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListParticipantEventsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists events for a specified participant that occurred during a specified stage * session.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IVSRealTimeClient, ListParticipantEventsCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import * // const { IVSRealTimeClient, ListParticipantEventsCommand } = require("@aws-sdk/client-ivs-realtime"); // CommonJS import * // import type { IVSRealTimeClientConfig } from "@aws-sdk/client-ivs-realtime"; * const config = {}; // type is IVSRealTimeClientConfig * const client = new IVSRealTimeClient(config); * const input = { // ListParticipantEventsRequest * stageArn: "STRING_VALUE", // required * sessionId: "STRING_VALUE", // required * participantId: "STRING_VALUE", // required * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListParticipantEventsCommand(input); * const response = await client.send(command); * // { // ListParticipantEventsResponse * // events: [ // EventList // required * // { // Event * // name: "STRING_VALUE", * // participantId: "STRING_VALUE", * // eventTime: new Date("TIMESTAMP"), * // remoteParticipantId: "STRING_VALUE", * // errorCode: "INSUFFICIENT_CAPABILITIES" || "QUOTA_EXCEEDED" || "PUBLISHER_NOT_FOUND" || "BITRATE_EXCEEDED" || "RESOLUTION_EXCEEDED" || "STREAM_DURATION_EXCEEDED" || "INVALID_AUDIO_CODEC" || "INVALID_VIDEO_CODEC" || "INVALID_PROTOCOL" || "INVALID_STREAM_KEY" || "REUSE_OF_STREAM_KEY" || "B_FRAME_PRESENT" || "INVALID_INPUT" || "INTERNAL_SERVER_EXCEPTION", * // destinationStageArn: "STRING_VALUE", * // destinationSessionId: "STRING_VALUE", * // replica: true || false, * // previousToken: { // ExchangedParticipantToken * // capabilities: [ // ParticipantTokenCapabilities * // "STRING_VALUE", * // ], * // attributes: { // ParticipantTokenAttributes * // "": "STRING_VALUE", * // }, * // userId: "STRING_VALUE", * // expirationTime: new Date("TIMESTAMP"), * // }, * // newToken: { * // capabilities: [ * // "STRING_VALUE", * // ], * // attributes: { * // "": "STRING_VALUE", * // }, * // userId: "STRING_VALUE", * // expirationTime: new Date("TIMESTAMP"), * // }, * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListParticipantEventsCommandInput - {@link ListParticipantEventsCommandInput} * @returns {@link ListParticipantEventsCommandOutput} * @see {@link ListParticipantEventsCommandInput} for command's `input` shape. * @see {@link ListParticipantEventsCommandOutput} for command's `response` shape. * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

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

* * @throws {@link IVSRealTimeServiceException} *

Base exception class for all service exceptions from IVSRealTime service.

* * * @public */ export declare class ListParticipantEventsCommand extends ListParticipantEventsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListParticipantEventsRequest; output: ListParticipantEventsResponse; }; sdk: { input: ListParticipantEventsCommandInput; output: ListParticipantEventsCommandOutput; }; }; }