Assurance / Client / list_chat_sessions
list_chat_sessions¶
- Assurance.Client.list_chat_sessions(**kwargs)¶
Lists chat sessions for you in a governance environment.
See also: AWS API Documentation
Request Syntax
response = client.list_chat_sessions( environmentArn='string', maxResults=123, nextToken='string' )
- Parameters:
environmentArn (string) –
[REQUIRED]
The ARN of this governance environment.
maxResults (integer) – The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the
nextTokenvalue from the response to get the next page.nextToken (string) – The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
- Return type:
dict
- Returns:
Response Syntax
{ 'sessions': [ { 'sessionId': 'string', 'lastMessageAt': datetime(2015, 1, 1), 'sequenceNumber': 123 }, ], 'nextToken': 'string' }
Response Structure
(dict) –
sessions (list) –
The list of chat session summaries.
(dict) –
Summary of a chat session in list results.
sessionId (string) –
The identifier of the chat session.
lastMessageAt (datetime) –
The timestamp of the most recent message in the session.
sequenceNumber (integer) –
The current sequence number for the session.
nextToken (string) –
The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
Exceptions