search_test_cases
¶
search_test_cases(
instance_id: InstanceIdOrArn,
*,
config_overrides: Optional[ConnectClientConfig] = None,
next_token: Optional[NextToken2500] = None,
max_results: Optional[MaxResult100] = None,
search_filter: Optional[TestCaseSearchFilter] = None,
search_criteria: Optional[TestCaseSearchCriteria] = None,
) -> SearchTestCasesResponse
Searches for test cases in the specified Amazon Connect instance, with optional filtering.
Parameters:
-
instance_id(InstanceIdOrArn) –The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
next_token(Optional[NextToken2500], default:None) –The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
-
max_results(Optional[MaxResult100], default:None) –The maximum number of results to return per page.
-
search_filter(Optional[TestCaseSearchFilter], default:None) –Filters to be applied to search results.
-
search_criteria(Optional[TestCaseSearchCriteria], default:None) –The search criteria to be used to return test cases.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
21845 21846 21847 21848 21849 21850 21851 21852 21853 21854 21855 21856 21857 21858 21859 21860 21861 21862 21863 21864 21865 21866 21867 21868 21869 21870 21871 21872 21873 21874 21875 21876 21877 21878 21879 21880 21881 21882 21883 21884 21885 21886 21887 21888 21889 21890 21891 21892 21893 21894 21895 21896 21897 21898 21899 21900 21901 21902 21903 21904 21905 21906 21907 21908 21909 21910 21911 21912 21913 | |