Connect / Paginator / SearchTestCases
SearchTestCases¶
- class Connect.Paginator.SearchTestCases¶
paginator = client.get_paginator('search_test_cases')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
Connect.Client.search_test_cases().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( InstanceId='string', SearchFilter={ 'TagFilter': { 'OrConditions': [ [ { 'TagKey': 'string', 'TagValue': 'string' }, ], ], 'AndConditions': [ { 'TagKey': 'string', 'TagValue': 'string' }, ], 'TagCondition': { 'TagKey': 'string', 'TagValue': 'string' } } }, SearchCriteria={ 'OrConditions': [ {'... recursive ...'}, ], 'AndConditions': [ {'... recursive ...'}, ], 'StringCondition': { 'FieldName': 'string', 'Value': 'string', 'ComparisonType': 'STARTS_WITH'|'CONTAINS'|'EXACT' }, 'StatusCondition': 'PUBLISHED'|'SAVED' }, PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
InstanceId (string) –
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
SearchFilter (dict) –
Filters to be applied to search results.
TagFilter (dict) –
An object that can be used to specify Tag conditions inside the SearchFilter. This accepts an OR of AND (List of List) input where: Top level list specifies conditions that need to be applied with OR operator. Inner list specifies conditions that need to be applied with AND operator.
OrConditions (list) –
A list of conditions which would be applied together with an
ORcondition.(list) –
(dict) –
A leaf node condition which can be used to specify a tag condition, for example,
HAVE BPO = 123.TagKey (string) –
The tag key in the tag condition.
TagValue (string) –
The tag value in the tag condition.
AndConditions (list) –
A list of conditions which would be applied together with an
ANDcondition.(dict) –
A leaf node condition which can be used to specify a tag condition, for example,
HAVE BPO = 123.TagKey (string) –
The tag key in the tag condition.
TagValue (string) –
The tag value in the tag condition.
TagCondition (dict) –
A leaf node condition which can be used to specify a tag condition.
TagKey (string) –
The tag key in the tag condition.
TagValue (string) –
The tag value in the tag condition.
SearchCriteria (dict) –
The search criteria to be used to return test cases.
OrConditions (list) –
A list of conditions which would be applied together with an OR condition.
(dict) –
The search criteria to be used to return test cases.
AndConditions (list) –
A list of conditions which would be applied together with an AND condition.
(dict) –
The search criteria to be used to return test cases.
StringCondition (dict) –
A leaf node condition which can be used to specify a string condition.
FieldName (string) –
The name of the field in the string condition.
Value (string) –
The value of the string.
ComparisonType (string) –
The type of comparison to be made when evaluating the string condition.
StatusCondition (string) –
The status of the test case.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
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
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'TestCases': [ { 'Arn': 'string', 'Id': 'string', 'Name': 'string', 'Content': 'string', 'EntryPoint': { 'Type': 'VOICE_CALL', 'VoiceCallEntryPointParameters': { 'SourcePhoneNumber': 'string', 'DestinationPhoneNumber': 'string', 'FlowId': 'string' } }, 'InitializationData': 'string', 'Description': 'string', 'Status': 'PUBLISHED'|'SAVED', 'LastModifiedTime': datetime(2015, 1, 1), 'LastModifiedRegion': 'string', 'Tags': { 'string': 'string' }, 'TestCaseSha256': 'string' }, ], 'ApproximateTotalCount': 123 }
Response Structure
(dict) –
TestCases (list) –
Information about the test cases.
(dict) –
Contains information about a test case.
Arn (string) –
The Amazon Resource Name (ARN) of the test case.
Id (string) –
The identifier of the test case.
Name (string) –
The name of the test case.
Content (string) –
The JSON string that represents the content of the test.
EntryPoint (dict) –
Defines the starting point for the test, including channel type and parameters.
Type (string) –
The type of entry point.
VoiceCallEntryPointParameters (dict) –
Parameters for voice call entry point.
SourcePhoneNumber (string) –
The source phone number for the test.
DestinationPhoneNumber (string) –
The destination phone number for the test.
FlowId (string) –
The flow identifier for the test.
InitializationData (string) –
Defines the test attributes for precise data representation.
Description (string) –
The description of the test case.
Status (string) –
Indicates the test status as either SAVED or PUBLISHED.
LastModifiedTime (datetime) –
The time at which the test case was last modified.
LastModifiedRegion (string) –
The region in which the test case was last modified.
Tags (dict) –
The tags used to organize, track, or control access for this resource.
(string) –
(string) –
TestCaseSha256 (string) –
The SHA256 hash of the test case content.
ApproximateTotalCount (integer) –
The total number of test cases which matched your search query.