errors.go 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package applicationautoscaling
  3. const (
  4. // ErrCodeConcurrentUpdateException for service response error code
  5. // "ConcurrentUpdateException".
  6. //
  7. // Concurrent updates caused an exception, for example, if you request an update
  8. // to an Application Auto Scaling resource that already has a pending update.
  9. ErrCodeConcurrentUpdateException = "ConcurrentUpdateException"
  10. // ErrCodeFailedResourceAccessException for service response error code
  11. // "FailedResourceAccessException".
  12. //
  13. // Failed access to resources caused an exception. This exception is thrown
  14. // when Application Auto Scaling is unable to retrieve the alarms associated
  15. // with a scaling policy due to a client error, for example, if the role ARN
  16. // specified for a scalable target does not have permission to call the CloudWatch
  17. // DescribeAlarms (http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html)
  18. // on your behalf.
  19. ErrCodeFailedResourceAccessException = "FailedResourceAccessException"
  20. // ErrCodeInternalServiceException for service response error code
  21. // "InternalServiceException".
  22. //
  23. // The service encountered an internal error.
  24. ErrCodeInternalServiceException = "InternalServiceException"
  25. // ErrCodeInvalidNextTokenException for service response error code
  26. // "InvalidNextTokenException".
  27. //
  28. // The next token supplied was invalid.
  29. ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
  30. // ErrCodeLimitExceededException for service response error code
  31. // "LimitExceededException".
  32. //
  33. // A per-account resource limit is exceeded. For more information, see Application
  34. // Auto Scaling Limits (http://docs.aws.amazon.com/ApplicationAutoScaling/latest/userguide/application-auto-scaling-limits.html).
  35. ErrCodeLimitExceededException = "LimitExceededException"
  36. // ErrCodeObjectNotFoundException for service response error code
  37. // "ObjectNotFoundException".
  38. //
  39. // The specified object could not be found. For any operation that depends on
  40. // the existence of a scalable target, this exception is thrown if the scalable
  41. // target with the specified service namespace, resource ID, and scalable dimension
  42. // does not exist. For any operation that deletes or deregisters a resource,
  43. // this exception is thrown if the resource cannot be found.
  44. ErrCodeObjectNotFoundException = "ObjectNotFoundException"
  45. // ErrCodeValidationException for service response error code
  46. // "ValidationException".
  47. //
  48. // An exception was thrown for a validation issue. Review the available parameters
  49. // for the API request.
  50. ErrCodeValidationException = "ValidationException"
  51. )