CmdID / aws / aws ivs-realtime
aws ivs-realtime stop-participant-replication
Stops a replicated participant session. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To stop replicating a participant from one stage to another stage
The following stop-participant-replication example stops replicating a participant from a source stage to a destination stage, with each stage specified by its ARN (Amazon Resource Name).
aws ivs-realtime stop-participant-replication --source-stage-arn arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh --destination-stage-arn arn:aws:ivs:us-west-2:123456789111:stage/bcdABCDefghi --participant-id abCDEf12GHIjIdentify--source-stage-arnARN of the stage where the participant is publishing.--destination-stage-arnARN of the stage where the participant has been replicated.--participant-idParticipant ID of the publisher that has been replicated.Its output
{
"accessControlAllowOrigin": "*",
"accessControlExposeHeaders": "Access-Control-Allow-Origin,Access-Control-Expose-Headers,Cache-Control,Content-Length,Content-Security-Policy,Content-Type,date,Strict-Transport-Security,x-amz-apigw-id,x-amzn-errormessage,x-amzn-errortype,x-amzn-requestid,x-amzn-trace-id,X-Content-Type-Options,X-Frame-Options",
"cacheControl": "no-store, no-cache",
"contentSecurityPolicy": "default-src 'self'; upgrade-insecure-requests;",
"strictTransportSecurity": "max-age:47304000; includeSubDomains",
"xContentTypeOptions": "nosniff",
"xFrameOptions": "DENY"
}For more information, see IVS Participant Replication in the Amazon IVS Real-Time Streaming User Guide.
Options
--destination-stage-arnARN of the stage where the participant has been replicated.--participant-idParticipant ID of the publisher that has been replicated.--source-stage-arnARN of the stage where the participant is publishing.