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
4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 | |