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
2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 | |