insight_feedback
async
¶
insight_feedback(
entity: InsightFeedbackEntity,
insight_id: GUID,
thumbs: InsightFeedbackThumbs,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
feedback_text: Optional[InsightFeedbackText] = None,
) -> InsightFeedbackResponse
Submits feedback for an existing insight in an Amazon OpenSearch Service domain. Allows users to provide a thumbs up or thumbs down rating and optional text feedback for a specific insight.
Parameters:
-
entity(InsightFeedbackEntity) –The entity for which to submit insight feedback. Specifies the type and value of the entity, such as a domain name.
-
insight_id(GUID) –The unique identifier of the insight for which to submit feedback.
-
thumbs(InsightFeedbackThumbs) –The thumbs up or thumbs down feedback for the insight. Possible values are
UpandDown. -
feedback_text(Optional[InsightFeedbackText], default:None) –Optional text feedback providing additional details about the insight. Maximum length is 1000 characters.
Raises:
-
BaseException–An error occurred while processing the request.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
LimitExceededException–An exception for trying to create more than the allowed number of resources or sub-resources.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_opensearch/_services/async_open_search.py
4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 | |