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
5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 | |