search_queues
async
¶
search_queues(
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
next_token: Optional[NextToken2500] = None,
max_results: Optional[MaxResult500] = None,
search_filter: Optional[QueueSearchFilter] = None,
search_criteria: Optional[QueueSearchCriteria] = None,
) -> SearchQueuesResponse
Searches queues in an Connect Customer 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.
-
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[MaxResult500], default:None) –The maximum number of results to return per page.
-
search_filter(Optional[QueueSearchFilter], default:None) –Filters to be applied to search results.
-
search_criteria(Optional[QueueSearchCriteria], default:None) –The search criteria to be used to return queues.
The
nameanddescriptionfields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
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/async_connect.py
21526 21527 21528 21529 21530 21531 21532 21533 21534 21535 21536 21537 21538 21539 21540 21541 21542 21543 21544 21545 21546 21547 21548 21549 21550 21551 21552 21553 21554 21555 21556 21557 21558 21559 21560 21561 21562 21563 21564 21565 21566 21567 21568 21569 21570 21571 21572 21573 21574 21575 21576 21577 21578 21579 21580 21581 21582 21583 21584 21585 21586 21587 21588 21589 21590 21591 21592 21593 21594 | |