search_workspace_associations
¶
search_workspace_associations(
instance_id: InstanceId,
*,
config_overrides: Optional[ConnectClientConfig] = None,
next_token: Optional[NextToken2500] = None,
max_results: Optional[MaxResult500] = None,
search_filter: Optional[WorkspaceAssociationSearchFilter] = None,
search_criteria: Optional[WorkspaceAssociationSearchCriteria] = None,
) -> SearchWorkspaceAssociationsResponse
Searches for workspace associations with users or routing profiles based on various criteria.
Parameters:
-
instance_id(InstanceId) –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[MaxResult500], default:None) –The maximum number of results to return per page.
-
search_filter(Optional[WorkspaceAssociationSearchFilter], default:None) –Filters to apply to the search, such as tag-based filters.
-
search_criteria(Optional[WorkspaceAssociationSearchCriteria], default:None) –The search criteria, including workspace ID, resource ID, or resource type.
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
22371 22372 22373 22374 22375 22376 22377 22378 22379 22380 22381 22382 22383 22384 22385 22386 22387 22388 22389 22390 22391 22392 22393 22394 22395 22396 22397 22398 22399 22400 22401 22402 22403 22404 22405 22406 22407 22408 22409 22410 22411 22412 22413 22414 22415 22416 22417 22418 22419 22420 22421 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 | |