:doc:`ivsrealtime <../../ivs-realtime>` / Client / stop_participant_replication

****************************
stop_participant_replication
****************************



.. py:method:: ivsrealtime.Client.stop_participant_replication(**kwargs)

  

  Stops a replicated participant session.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StopParticipantReplication>`_  


  **Request Syntax**
  ::

    response = client.stop_participant_replication(
        sourceStageArn='string',
        destinationStageArn='string',
        participantId='string'
    )
    
  :type sourceStageArn: string
  :param sourceStageArn: **[REQUIRED]** 

    ARN of the stage where the participant is publishing.

    

  
  :type destinationStageArn: string
  :param destinationStageArn: **[REQUIRED]** 

    ARN of the stage where the participant has been replicated.

    

  
  :type participantId: string
  :param participantId: **[REQUIRED]** 

    Participant ID of the publisher that has been replicated. This is assigned by IVS and returned by  CreateParticipantToken or the ``jti`` (JWT ID) used to `create a self signed token <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started-distribute-tokens.html#getting-started-distribute-tokens-self-signed>`__.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'accessControlAllowOrigin': 'string',
          'accessControlExposeHeaders': 'string',
          'cacheControl': 'string',
          'contentSecurityPolicy': 'string',
          'strictTransportSecurity': 'string',
          'xContentTypeOptions': 'string',
          'xFrameOptions': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **accessControlAllowOrigin** *(string) --* 
      

      - **accessControlExposeHeaders** *(string) --* 
      

      - **cacheControl** *(string) --* 
      

      - **contentSecurityPolicy** *(string) --* 
      

      - **strictTransportSecurity** *(string) --* 
      

      - **xContentTypeOptions** *(string) --* 
      

      - **xFrameOptions** *(string) --* 
  
  **Exceptions**
  
  *   :py:class:`ivsrealtime.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ivsrealtime.Client.exceptions.ValidationException`

  
  *   :py:class:`ivsrealtime.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`ivsrealtime.Client.exceptions.InternalServerException`

  