errors.go 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package comprehend
  3. const (
  4. // ErrCodeBatchSizeLimitExceededException for service response error code
  5. // "BatchSizeLimitExceededException".
  6. //
  7. // The number of documents in the request exceeds the limit of 25. Try your
  8. // request again with fewer documents.
  9. ErrCodeBatchSizeLimitExceededException = "BatchSizeLimitExceededException"
  10. // ErrCodeInternalServerException for service response error code
  11. // "InternalServerException".
  12. //
  13. // An internal server error occurred. Retry your request.
  14. ErrCodeInternalServerException = "InternalServerException"
  15. // ErrCodeInvalidFilterException for service response error code
  16. // "InvalidFilterException".
  17. //
  18. // The filter specified for the ListDocumentClassificationJobs operation is
  19. // invalid. Specify a different filter.
  20. ErrCodeInvalidFilterException = "InvalidFilterException"
  21. // ErrCodeInvalidRequestException for service response error code
  22. // "InvalidRequestException".
  23. //
  24. // The request is invalid.
  25. ErrCodeInvalidRequestException = "InvalidRequestException"
  26. // ErrCodeJobNotFoundException for service response error code
  27. // "JobNotFoundException".
  28. //
  29. // The specified job was not found. Check the job ID and try again.
  30. ErrCodeJobNotFoundException = "JobNotFoundException"
  31. // ErrCodeResourceInUseException for service response error code
  32. // "ResourceInUseException".
  33. //
  34. // The specified name is already in use. Use a different name and try your request
  35. // again.
  36. ErrCodeResourceInUseException = "ResourceInUseException"
  37. // ErrCodeResourceLimitExceededException for service response error code
  38. // "ResourceLimitExceededException".
  39. //
  40. // The maximum number of recognizers per account has been exceeded. Review the
  41. // recognizers, perform cleanup, and then try your request again.
  42. ErrCodeResourceLimitExceededException = "ResourceLimitExceededException"
  43. // ErrCodeResourceNotFoundException for service response error code
  44. // "ResourceNotFoundException".
  45. //
  46. // The specified resource ARN was not found. Check the ARN and try your request
  47. // again.
  48. ErrCodeResourceNotFoundException = "ResourceNotFoundException"
  49. // ErrCodeResourceUnavailableException for service response error code
  50. // "ResourceUnavailableException".
  51. //
  52. // The specified resource is not available. Check to see if the resource is
  53. // in the TRAINED state and try your request again.
  54. ErrCodeResourceUnavailableException = "ResourceUnavailableException"
  55. // ErrCodeTextSizeLimitExceededException for service response error code
  56. // "TextSizeLimitExceededException".
  57. //
  58. // The size of the input text exceeds the limit. Use a smaller document.
  59. ErrCodeTextSizeLimitExceededException = "TextSizeLimitExceededException"
  60. // ErrCodeTooManyRequestsException for service response error code
  61. // "TooManyRequestsException".
  62. //
  63. // The number of requests exceeds the limit. Resubmit your request later.
  64. ErrCodeTooManyRequestsException = "TooManyRequestsException"
  65. // ErrCodeUnsupportedLanguageException for service response error code
  66. // "UnsupportedLanguageException".
  67. //
  68. // Amazon Comprehend can't process the language of the input text. For all custom
  69. // entity recognition APIs (such as CreateEntityRecognizer), only English is
  70. // accepted. For most other APIs, Amazon Comprehend accepts only English or
  71. // Spanish text.
  72. ErrCodeUnsupportedLanguageException = "UnsupportedLanguageException"
  73. )