search_email_addresses
¶
search_email_addresses(
instance_id: InstanceId,
*,
config_overrides: Optional[ConnectClientConfig] = None,
max_results: Optional[MaxResult100] = None,
next_token: Optional[NextToken2500] = None,
search_criteria: Optional[EmailAddressSearchCriteria] = None,
search_filter: Optional[EmailAddressSearchFilter] = None,
) -> SearchEmailAddressesResponse
Searches email address in an instance, with optional filtering.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
max_results(Optional[MaxResult100], default:None) –The maximum number of results to return per page.
-
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.
-
search_criteria(Optional[EmailAddressSearchCriteria], default:None) –The search criteria to be used to return email addresses.
-
search_filter(Optional[EmailAddressSearchFilter], default:None) –Filters to be applied to search results.
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
20526 20527 20528 20529 20530 20531 20532 20533 20534 20535 20536 20537 20538 20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 20549 20550 20551 20552 20553 20554 20555 20556 20557 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568 20569 20570 20571 20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597 20598 20599 20600 20601 20602 20603 20604 | |