errors.go 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package migrationhub
  3. const (
  4. // ErrCodeAccessDeniedException for service response error code
  5. // "AccessDeniedException".
  6. //
  7. // You do not have sufficient access to perform this action.
  8. ErrCodeAccessDeniedException = "AccessDeniedException"
  9. // ErrCodeDryRunOperation for service response error code
  10. // "DryRunOperation".
  11. //
  12. // Exception raised to indicate a successfully authorized action when the DryRun
  13. // flag is set to "true".
  14. ErrCodeDryRunOperation = "DryRunOperation"
  15. // ErrCodeInternalServerError for service response error code
  16. // "InternalServerError".
  17. //
  18. // Exception raised when there is an internal, configuration, or dependency
  19. // error encountered.
  20. ErrCodeInternalServerError = "InternalServerError"
  21. // ErrCodeInvalidInputException for service response error code
  22. // "InvalidInputException".
  23. //
  24. // Exception raised when the provided input violates a policy constraint or
  25. // is entered in the wrong format or data type.
  26. ErrCodeInvalidInputException = "InvalidInputException"
  27. // ErrCodePolicyErrorException for service response error code
  28. // "PolicyErrorException".
  29. //
  30. // Exception raised when there are problems accessing ADS (Application Discovery
  31. // Service); most likely due to a misconfigured policy or the migrationhub-discovery
  32. // role is missing or not configured correctly.
  33. ErrCodePolicyErrorException = "PolicyErrorException"
  34. // ErrCodeResourceNotFoundException for service response error code
  35. // "ResourceNotFoundException".
  36. //
  37. // Exception raised when the request references a resource (ADS configuration,
  38. // update stream, migration task, etc.) that does not exist in ADS (Application
  39. // Discovery Service) or in Migration Hub's repository.
  40. ErrCodeResourceNotFoundException = "ResourceNotFoundException"
  41. // ErrCodeServiceUnavailableException for service response error code
  42. // "ServiceUnavailableException".
  43. //
  44. // Exception raised when there is an internal, configuration, or dependency
  45. // error encountered.
  46. ErrCodeServiceUnavailableException = "ServiceUnavailableException"
  47. // ErrCodeUnauthorizedOperation for service response error code
  48. // "UnauthorizedOperation".
  49. //
  50. // Exception raised to indicate a request was not authorized when the DryRun
  51. // flag is set to "true".
  52. ErrCodeUnauthorizedOperation = "UnauthorizedOperation"
  53. )