ivsrealtime / Client / list_participants
list_participants¶
- ivsrealtime.Client.list_participants(**kwargs)¶
- Lists all participants in a specified stage session. - See also: AWS API Documentation - Request Syntax- response = client.list_participants( stageArn='string', sessionId='string', filterByUserId='string', filterByPublished=True|False, filterByState='CONNECTED'|'DISCONNECTED', nextToken='string', maxResults=123, filterByRecordingState='STARTING'|'ACTIVE'|'STOPPING'|'STOPPED'|'FAILED' ) - Parameters:
- stageArn (string) – - [REQUIRED] - Stage ARN. 
- sessionId (string) – - [REQUIRED] - ID of the session within the stage. 
- filterByUserId (string) – Filters the response list to match the specified user ID. Only one of - filterByUserId,- filterByPublished,- filterByState, or- filterByRecordingStatecan be provided per request. A- userIdis a customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems.
- filterByPublished (boolean) – Filters the response list to only show participants who published during the stage session. Only one of - filterByUserId,- filterByPublished,- filterByState, or- filterByRecordingStatecan be provided per request.
- filterByState (string) – Filters the response list to only show participants in the specified state. Only one of - filterByUserId,- filterByPublished,- filterByState, or- filterByRecordingStatecan be provided per request.
- nextToken (string) – The first participant to retrieve. This is used for pagination; see the - nextTokenresponse field.
- maxResults (integer) – Maximum number of results to return. Default: 50. 
- filterByRecordingState (string) – Filters the response list to only show participants with the specified recording state. Only one of - filterByUserId,- filterByPublished,- filterByState, or- filterByRecordingStatecan be provided per request.
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'participants': [ { 'participantId': 'string', 'userId': 'string', 'state': 'CONNECTED'|'DISCONNECTED', 'firstJoinTime': datetime(2015, 1, 1), 'published': True|False, 'recordingState': 'STARTING'|'ACTIVE'|'STOPPING'|'STOPPED'|'FAILED'|'DISABLED', 'replicationType': 'SOURCE'|'REPLICA'|'NONE', 'replicationState': 'ACTIVE'|'STOPPED', 'sourceStageArn': 'string', 'sourceSessionId': 'string' }, ], 'nextToken': 'string' } - Response Structure- (dict) – - participants (list) – - List of the matching participants (summary information only). - (dict) – - Summary object describing a participant that has joined a stage. - participantId (string) – - Unique identifier for this participant, assigned by IVS. 
- userId (string) – - Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information. 
- state (string) – - Whether the participant is connected to or disconnected from the stage. 
- firstJoinTime (datetime) – - ISO 8601 timestamp (returned as a string) when the participant first joined the stage session. 
- published (boolean) – - Whether the participant ever published to the stage session. 
- recordingState (string) – - The participant’s recording state. 
- replicationType (string) – - Indicates if the participant has been replicated to another stage or is a replica from another stage. Default: - NONE.
- replicationState (string) – - The participant’s replication state. 
- sourceStageArn (string) – - Source stage ARN from which this participant is replicated, if - replicationTypeis- REPLICA.
- sourceSessionId (string) – - ID of the session within the source stage, if - replicationTypeis- REPLICA.
 
 
- nextToken (string) – - If there are more participants than - maxResults, use- nextTokenin the request to get the next set.
 
 
 - Exceptions- ivsrealtime.Client.exceptions.ValidationException
- ivsrealtime.Client.exceptions.AccessDeniedException