start_participant_replication
async
¶
start_participant_replication(
source_stage_arn: StageArn,
destination_stage_arn: StageArn,
participant_id: ParticipantId,
*,
config_overrides: Optional[AsyncIVSRealTimeClientConfig] = 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/async_ivs_real_time.py
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 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 | |