insight_feedback
¶
insight_feedback(
entity: InsightFeedbackEntity,
insight_id: GUID,
thumbs: InsightFeedbackThumbs,
*,
config_overrides: Optional[OpenSearchClientConfig] = 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/open_search.py
3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 | |