ConnectCases.Paginator.
SearchCases
¶paginator = client.get_paginator('search_cases')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from ConnectCases.Client.search_cases()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
domainId='string',
fields=[
{
'id': 'string'
},
],
filter={
'andAll': [
{'... recursive ...'},
],
'field': {
'contains': {
'id': 'string',
'value': {
'booleanValue': True|False,
'doubleValue': 123.0,
'stringValue': 'string'
}
},
'equalTo': {
'id': 'string',
'value': {
'booleanValue': True|False,
'doubleValue': 123.0,
'stringValue': 'string'
}
},
'greaterThan': {
'id': 'string',
'value': {
'booleanValue': True|False,
'doubleValue': 123.0,
'stringValue': 'string'
}
},
'greaterThanOrEqualTo': {
'id': 'string',
'value': {
'booleanValue': True|False,
'doubleValue': 123.0,
'stringValue': 'string'
}
},
'lessThan': {
'id': 'string',
'value': {
'booleanValue': True|False,
'doubleValue': 123.0,
'stringValue': 'string'
}
},
'lessThanOrEqualTo': {
'id': 'string',
'value': {
'booleanValue': True|False,
'doubleValue': 123.0,
'stringValue': 'string'
}
}
},
'not': {'... recursive ...'}
},
searchTerm='string',
sorts=[
{
'fieldId': 'string',
'sortOrder': 'Asc'|'Desc'
},
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The unique identifier of the Cases domain.
The list of field identifiers to be returned as part of the response.
Object for unique identifier of a field.
Unique identifier of a field.
A list of filter objects.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: andAll
, field
, not
.
Provides "and all" filtering.
A filter for cases. Only one value can be provided.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: andAll
, field
, not
.
A list of fields to filter on.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: contains
, equalTo
, greaterThan
, greaterThanOrEqualTo
, lessThan
, lessThanOrEqualTo
.
Object containing field identifier and value information.
Unique identifier of a field.
Union of potential field value types.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: booleanValue
, doubleValue
, stringValue
.
Can be either null, or have a Boolean value type. Only one value can be provided.
Can be either null, or have a Double number value type. Only one value can be provided.
String value type.
Object containing field identifier and value information.
Unique identifier of a field.
Union of potential field value types.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: booleanValue
, doubleValue
, stringValue
.
Can be either null, or have a Boolean value type. Only one value can be provided.
Can be either null, or have a Double number value type. Only one value can be provided.
String value type.
Object containing field identifier and value information.
Unique identifier of a field.
Union of potential field value types.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: booleanValue
, doubleValue
, stringValue
.
Can be either null, or have a Boolean value type. Only one value can be provided.
Can be either null, or have a Double number value type. Only one value can be provided.
String value type.
Object containing field identifier and value information.
Unique identifier of a field.
Union of potential field value types.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: booleanValue
, doubleValue
, stringValue
.
Can be either null, or have a Boolean value type. Only one value can be provided.
Can be either null, or have a Double number value type. Only one value can be provided.
String value type.
Object containing field identifier and value information.
Unique identifier of a field.
Union of potential field value types.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: booleanValue
, doubleValue
, stringValue
.
Can be either null, or have a Boolean value type. Only one value can be provided.
Can be either null, or have a Double number value type. Only one value can be provided.
String value type.
Object containing field identifier and value information.
Unique identifier of a field.
Union of potential field value types.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: booleanValue
, doubleValue
, stringValue
.
Can be either null, or have a Boolean value type. Only one value can be provided.
Can be either null, or have a Double number value type. Only one value can be provided.
String value type.
A filter for cases. Only one value can be provided.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: andAll
, field
, not
.
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
A structured set of sort terms.
Unique identifier of a field.
A structured set of sort terms
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
{
'cases': [
{
'caseId': 'string',
'fields': [
{
'id': 'string',
'value': {
'booleanValue': True|False,
'doubleValue': 123.0,
'stringValue': 'string'
}
},
],
'tags': {
'string': 'string'
},
'templateId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
cases (list) --
A list of case documents where each case contains the properties CaseId
and Fields
where each field is a complex union structure.
(dict) --
A list of items that represent cases.
caseId (string) --
A unique identifier of the case.
fields (list) --
List of case field values.
(dict) --
Object for case field values.
id (string) --
Unique identifier of a field.
value (dict) --
Union of potential field value types.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: booleanValue
, doubleValue
, stringValue
. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER
is as follows:
'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
booleanValue (boolean) --
Can be either null, or have a Boolean value type. Only one value can be provided.
doubleValue (float) --
Can be either null, or have a Double number value type. Only one value can be provided.
stringValue (string) --
String value type.
tags (dict) --
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
templateId (string) --
A unique identifier of a template.
NextToken (string) --
A token to resume pagination.