search_notifications
async
¶
search_notifications(
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResult100] = None,
search_filter: Optional[NotificationSearchFilter] = None,
search_criteria: Optional[NotificationSearchCriteria] = None,
) -> SearchNotificationsResponse
Searches for notifications based on specified criteria and filters. Returns a paginated list of notifications matching the search parameters, ordered by descending creation time. Supports filtering by content and tags.
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[NextToken], default:None) –The token for the next set of results. Use the value returned in the previous response to retrieve the next page of results.
-
max_results(Optional[MaxResult100], default:None) –The maximum number of results to return per page. Valid range is 1-100.
-
search_filter(Optional[NotificationSearchFilter], default:None) –Filters to apply to the search results, such as tag-based filters.
-
search_criteria(Optional[NotificationSearchCriteria], default:None) –The search criteria to apply when searching for notifications. Supports filtering by notification ID and message content using comparison types such as STARTS_WITH, CONTAINS, and EXACT.
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/async_connect.py
21263 21264 21265 21266 21267 21268 21269 21270 21271 21272 21273 21274 21275 21276 21277 21278 21279 21280 21281 21282 21283 21284 21285 21286 21287 21288 21289 21290 21291 21292 21293 21294 21295 21296 21297 21298 21299 21300 21301 21302 21303 21304 21305 21306 21307 21308 21309 21310 21311 21312 21313 21314 21315 21316 21317 21318 21319 21320 21321 21322 21323 21324 21325 21326 21327 21328 21329 21330 21331 21332 | |