search_quick_responses
¶
search_quick_responses(
knowledge_base_id: UuidOrArn,
search_expression: QuickResponseSearchExpression,
*,
config_overrides: Optional[QConnectClientConfig] = 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/q_connect.py
5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 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 | |