start_participant_replication
¶
start_participant_replication(
source_stage_arn: StageArn,
destination_stage_arn: StageArn,
participant_id: ParticipantId,
*,
config_overrides: Optional[IVSRealTimeClientConfig] = None,
reconnect_window_seconds: Optional[ReconnectWindowSeconds] = None,
attributes: Optional[ParticipantAttributes] = None,
) -> StartParticipantReplicationResponse
Starts replicating a publishing participant from a source stage to a destination stage.
Parameters:
-
source_stage_arn(StageArn) –ARN of the stage where the participant is publishing.
-
destination_stage_arn(StageArn) –ARN of the stage to which the participant will be replicated.
-
participant_id(ParticipantId) –Participant ID of the publisher that will be replicated. This is assigned by IVS and returned by CreateParticipantToken or the
jti(JWT ID) used to create a self signed token. -
reconnect_window_seconds(Optional[ReconnectWindowSeconds], default:None) –If the participant disconnects and then reconnects within the specified interval, replication will continue to be
ACTIVE. Default: 0. -
attributes(Optional[ParticipantAttributes], default:None) –Application-provided attributes to set on the replicated participant in the destination stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
These attributes are merged with any attributes set for this participant when creating the token. If there is overlap in keys, the values in these attributes are replaced.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
PendingVerification–Your account is pending verification.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ivs_realtime/_services/ivs_real_time.py
2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 | |