ConnectWisdomService.Paginator.
SearchSessions
¶paginator = client.get_paginator('search_sessions')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from ConnectWisdomService.Client.search_sessions()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
assistantId='string',
searchExpression={
'filters': [
{
'field': 'NAME',
'operator': 'EQUALS',
'value': 'string'
},
]
},
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
[REQUIRED]
The search expression to filter results.
The search expression filters.
A search filter.
The field on which to filter.
The operator to use for comparing the field’s value with the provided value.
The desired field value on which to filter.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'sessionSummaries': [
{
'assistantArn': 'string',
'assistantId': 'string',
'sessionArn': 'string',
'sessionId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
sessionSummaries (list) --
Summary information about the sessions.
(dict) --
Summary information about the session.
assistantArn (string) --
The Amazon Resource Name (ARN) of the Wisdom assistant.
assistantId (string) --
The identifier of the Wisdom assistant.
sessionArn (string) --
The Amazon Resource Name (ARN) of the session.
sessionId (string) --
The identifier of the session.
NextToken (string) --
A token to resume pagination.