CloudWatchOmni / Client / list_telemetry_query_sessions

list_telemetry_query_sessions

CloudWatchOmni.Client.list_telemetry_query_sessions(**kwargs)

Lists telemetry query sessions.

Returns a list of telemetry query sessions owned by the caller.

See also: AWS API Documentation

Request Syntax

response = client.list_telemetry_query_sessions(
    nextToken='string',
    maxResults=123
)
Parameters:
  • nextToken (string) – A token to retrieve the next page of results.

  • maxResults (integer) – The maximum number of sessions to return per page.

Return type:

dict

Returns:

Response Syntax

{
    'sessions': [
        {
            'sessionId': 'string',
            'createdAt': datetime(2015, 1, 1),
            'lastActivityAt': datetime(2015, 1, 1),
            'sessionName': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • sessions (list) –

      The list of session summaries.

      • (dict) –

        Summary information about a query session, including its identifier, name, and activity timestamps.

        • sessionId (string) –

          The unique ID of the session.

        • createdAt (datetime) –

          The timestamp when the session was created.

        • lastActivityAt (datetime) –

          The timestamp of the most recent activity in the session.

        • sessionName (string) –

          The human-readable name of the session. Names under /aws/ are reserved for service integrations.

    • nextToken (string) –

      A token to retrieve the next page of results, or null if there are no more results.

Exceptions

  • CloudWatchOmni.Client.exceptions.ThrottlingException

  • CloudWatchOmni.Client.exceptions.ValidationException

  • CloudWatchOmni.Client.exceptions.InternalServerException