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

Starts replicating a publishing participant from a source stage to a destination stage.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IVSRealTimeClient, StartParticipantReplicationCommand } from "@aws-sdk/client-ivs-realtime"; // ES Modules import * // const { IVSRealTimeClient, StartParticipantReplicationCommand } = 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 = { // StartParticipantReplicationRequest * sourceStageArn: "STRING_VALUE", // required * destinationStageArn: "STRING_VALUE", // required * participantId: "STRING_VALUE", // required * reconnectWindowSeconds: Number("int"), * attributes: { // ParticipantAttributes * "": "STRING_VALUE", * }, * }; * const command = new StartParticipantReplicationCommand(input); * const response = await client.send(command); * // { // StartParticipantReplicationResponse * // accessControlAllowOrigin: "STRING_VALUE", * // accessControlExposeHeaders: "STRING_VALUE", * // cacheControl: "STRING_VALUE", * // contentSecurityPolicy: "STRING_VALUE", * // strictTransportSecurity: "STRING_VALUE", * // xContentTypeOptions: "STRING_VALUE", * // xFrameOptions: "STRING_VALUE", * // }; * * ``` * * @param StartParticipantReplicationCommandInput - {@link StartParticipantReplicationCommandInput} * @returns {@link StartParticipantReplicationCommandOutput} * @see {@link StartParticipantReplicationCommandInput} for command's `input` shape. * @see {@link StartParticipantReplicationCommandOutput} for command's `response` shape. * @see {@link IVSRealTimeClientResolvedConfig | config} for IVSRealTimeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

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

* * @throws {@link InternalServerException} (server fault) *

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

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

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

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

* * @throws {@link IVSRealTimeServiceException} *

Base exception class for all service exceptions from IVSRealTime service.

* * * @public */ export declare class StartParticipantReplicationCommand extends StartParticipantReplicationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartParticipantReplicationRequest; output: StartParticipantReplicationResponse; }; sdk: { input: StartParticipantReplicationCommandInput; output: StartParticipantReplicationCommandOutput; }; }; }