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

Lists all the replicas for a participant from a source stage.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IVSRealTimeClient, ListParticipantReplicasCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import * // const { IVSRealTimeClient, ListParticipantReplicasCommand } = 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 = { // ListParticipantReplicasRequest * sourceStageArn: "STRING_VALUE", // required * participantId: "STRING_VALUE", // required * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListParticipantReplicasCommand(input); * const response = await client.send(command); * // { // ListParticipantReplicasResponse * // replicas: [ // ParticipantReplicaList // required * // { // ParticipantReplica * // sourceStageArn: "STRING_VALUE", // required * // participantId: "STRING_VALUE", // required * // sourceSessionId: "STRING_VALUE", // required * // destinationStageArn: "STRING_VALUE", // required * // destinationSessionId: "STRING_VALUE", // required * // replicationState: "STRING_VALUE", // required * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListParticipantReplicasCommandInput - {@link ListParticipantReplicasCommandInput} * @returns {@link ListParticipantReplicasCommandOutput} * @see {@link ListParticipantReplicasCommandInput} for command's `input` shape. * @see {@link ListParticipantReplicasCommandOutput} 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 ListParticipantReplicasCommand extends ListParticipantReplicasCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListParticipantReplicasRequest; output: ListParticipantReplicasResponse; }; sdk: { input: ListParticipantReplicasCommandInput; output: ListParticipantReplicasCommandOutput; }; }; }