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 { GetParticipantRequest, GetParticipantResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetParticipantCommand}. */ export interface GetParticipantCommandInput extends GetParticipantRequest { } /** * @public * * The output of {@link GetParticipantCommand}. */ export interface GetParticipantCommandOutput extends GetParticipantResponse, __MetadataBearer { } declare const GetParticipantCommand_base: { new (input: GetParticipantCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetParticipantCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets information about the specified participant token.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IVSRealTimeClient, GetParticipantCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import * // const { IVSRealTimeClient, GetParticipantCommand } = 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 = { // GetParticipantRequest * stageArn: "STRING_VALUE", // required * sessionId: "STRING_VALUE", // required * participantId: "STRING_VALUE", // required * }; * const command = new GetParticipantCommand(input); * const response = await client.send(command); * // { // GetParticipantResponse * // participant: { // Participant * // participantId: "STRING_VALUE", * // userId: "STRING_VALUE", * // state: "STRING_VALUE", * // firstJoinTime: new Date("TIMESTAMP"), * // attributes: { // ParticipantAttributes * // "": "STRING_VALUE", * // }, * // published: true || false, * // ispName: "STRING_VALUE", * // osName: "STRING_VALUE", * // osVersion: "STRING_VALUE", * // browserName: "STRING_VALUE", * // browserVersion: "STRING_VALUE", * // sdkVersion: "STRING_VALUE", * // recordingS3BucketName: "STRING_VALUE", * // recordingS3Prefix: "STRING_VALUE", * // recordingState: "STRING_VALUE", * // protocol: "UNKNOWN" || "WHIP" || "RTMP" || "RTMPS", * // replicationType: "STRING_VALUE", * // replicationState: "STRING_VALUE", * // sourceStageArn: "STRING_VALUE", * // sourceSessionId: "STRING_VALUE", * // redundantIngest: true || false, * // ingestConfigurationArn: "STRING_VALUE", * // }, * // }; * * ``` * * @param GetParticipantCommandInput - {@link GetParticipantCommandInput} * @returns {@link GetParticipantCommandOutput} * @see {@link GetParticipantCommandInput} for command's `input` shape. * @see {@link GetParticipantCommandOutput} for command's `response` shape. * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

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

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

* * @throws {@link IVSRealTimeServiceException} *

Base exception class for all service exceptions from IVSRealTime service.

* * * @public */ export declare class GetParticipantCommand extends GetParticipantCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetParticipantRequest; output: GetParticipantResponse; }; sdk: { input: GetParticipantCommandInput; output: GetParticipantCommandOutput; }; }; }