errors.go 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package comprehendmedical
  3. const (
  4. // ErrCodeInternalServerException for service response error code
  5. // "InternalServerException".
  6. //
  7. // An internal server error occurred. Retry your request.
  8. ErrCodeInternalServerException = "InternalServerException"
  9. // ErrCodeInvalidEncodingException for service response error code
  10. // "InvalidEncodingException".
  11. //
  12. // The input text was not in valid UTF-8 character encoding. Check your text
  13. // then retry your request.
  14. ErrCodeInvalidEncodingException = "InvalidEncodingException"
  15. // ErrCodeInvalidRequestException for service response error code
  16. // "InvalidRequestException".
  17. //
  18. // The request that you made is invalid. Check your request to determine why
  19. // it's invalid and then retry the request.
  20. ErrCodeInvalidRequestException = "InvalidRequestException"
  21. // ErrCodeServiceUnavailableException for service response error code
  22. // "ServiceUnavailableException".
  23. //
  24. // The Comprehend Medical service is temporarily unavailable. Please wait and
  25. // then retry your request.
  26. ErrCodeServiceUnavailableException = "ServiceUnavailableException"
  27. // ErrCodeTextSizeLimitExceededException for service response error code
  28. // "TextSizeLimitExceededException".
  29. //
  30. // The size of the text you submitted exceeds the size limit. Reduce the size
  31. // of the text or use a smaller document and then retry your request.
  32. ErrCodeTextSizeLimitExceededException = "TextSizeLimitExceededException"
  33. // ErrCodeTooManyRequestsException for service response error code
  34. // "TooManyRequestsException".
  35. //
  36. // You have made too many requests within a short period of time. Wait for a
  37. // short time and then try your request again. Contact customer support for
  38. // more information about a service limit increase.
  39. ErrCodeTooManyRequestsException = "TooManyRequestsException"
  40. )