ivsrealtime / Client / list_stage_sessions

list_stage_sessions#

ivsrealtime.Client.list_stage_sessions(**kwargs)#

Gets all sessions for a specified stage.

See also: AWS API Documentation

Request Syntax

response = client.list_stage_sessions(
    maxResults=123,
    nextToken='string',
    stageArn='string'
)
Parameters:
  • maxResults (integer) – Maximum number of results to return. Default: 50.

  • nextToken (string) – The first stage session to retrieve. This is used for pagination; see the nextToken response field.

  • stageArn (string) –

    [REQUIRED]

    Stage ARN.

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'stageSessions': [
        {
            'endTime': datetime(2015, 1, 1),
            'sessionId': 'string',
            'startTime': datetime(2015, 1, 1)
        },
    ]
}

Response Structure

  • (dict) –

    • nextToken (string) –

      If there are more stage sessions than maxResults, use nextToken in the request to get the next set.

    • stageSessions (list) –

      List of matching stage sessions.

      • (dict) –

        Summary information about a stage session.

        • endTime (datetime) –

          ISO 8601 timestamp (returned as a string) when the stage session ended. This is null if the stage is active.

        • sessionId (string) –

          ID of the session within the stage.

        • startTime (datetime) –

          ISO 8601 timestamp (returned as a string) when this stage session began.

Exceptions

  • ivsrealtime.Client.exceptions.ValidationException

  • ivsrealtime.Client.exceptions.AccessDeniedException