search_quick_responses
async
¶
search_quick_responses(
knowledge_base_id: UuidOrArn,
search_expression: QuickResponseSearchExpression,
*,
config_overrides: Optional[AsyncQConnectClientConfig] = None,
next_token: Optional[NonEmptyString] = None,
max_results: Optional[MaxResults] = None,
attributes: Optional[ContactAttributes] = None,
) -> SearchQuickResponsesResponse
Searches existing Amazon Q in Connect quick responses in an Amazon Q in Connect knowledge base.
Parameters:
-
knowledge_base_id(UuidOrArn) –The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
search_expression(QuickResponseSearchExpression) –The search expression for querying the quick response.
-
next_token(Optional[NonEmptyString], 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[MaxResults], default:None) –The maximum number of results to return per page.
-
attributes(Optional[ContactAttributes], default:None) –The user-defined Connect Customer contact attributes to be resolved when search results are returned.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
RequestTimeoutException–The request reached the service more than 15 minutes after the date stamp on the request or more than 15 minutes after the request expiration date (such as for pre-signed URLs), or the date stamp on the request is more than 15 minutes in the future.
-
ResourceNotFoundException–The specified resource does not exist.
-
UnauthorizedException–You do not have permission to perform this action.
-
ValidationException–The input fails to satisfy the constraints specified by a service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qconnect/_services/async_q_connect.py
5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 | |