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
3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 | |