search_contacts
¶
search_contacts(
instance_id: InstanceId,
time_range: SearchContactsTimeRange,
*,
config_overrides: Optional[ConnectClientConfig] = None,
search_criteria: Optional[SearchCriteria] = None,
max_results: Optional[MaxResult100] = None,
next_token: Optional[LargeNextToken] = None,
sort: Optional[Sort] = None,
) -> SearchContactsResponse
Searches contacts in an Connect Customer instance.
Parameters:
-
instance_id(InstanceId) –The identifier of Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
time_range(SearchContactsTimeRange) –Time range that you want to search results.
-
search_criteria(Optional[SearchCriteria], default:None) –The search criteria to be used to return contacts.
-
max_results(Optional[MaxResult100], default:None) –The maximum number of results to return per page.
-
next_token(Optional[LargeNextToken], 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.
-
sort(Optional[Sort], default:None) –Specifies a field to sort by and a sort order.
Raises:
-
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
20302 20303 20304 20305 20306 20307 20308 20309 20310 20311 20312 20313 20314 20315 20316 20317 20318 20319 20320 20321 20322 20323 20324 20325 20326 20327 20328 20329 20330 20331 20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 20342 20343 20344 20345 20346 20347 20348 20349 20350 20351 20352 20353 20354 20355 20356 20357 20358 20359 20360 20361 20362 20363 20364 20365 20366 20367 20368 20369 20370 20371 20372 20373 20374 20375 20376 20377 20378 20379 20380 20381 20382 20383 20384 20385 20386 20387 20388 20389 20390 20391 | |