errors.go 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package eks
  3. const (
  4. // ErrCodeClientException for service response error code
  5. // "ClientException".
  6. //
  7. // These errors are usually caused by a client action. Actions can include using
  8. // an action or resource on behalf of a user that doesn't have permissions to
  9. // use the action or resource or specifying an identifier that is not valid.
  10. ErrCodeClientException = "ClientException"
  11. // ErrCodeInvalidParameterException for service response error code
  12. // "InvalidParameterException".
  13. //
  14. // The specified parameter is invalid. Review the available parameters for the
  15. // API request.
  16. ErrCodeInvalidParameterException = "InvalidParameterException"
  17. // ErrCodeInvalidRequestException for service response error code
  18. // "InvalidRequestException".
  19. //
  20. // The request is invalid given the state of the cluster. Check the state of
  21. // the cluster and the associated operations.
  22. ErrCodeInvalidRequestException = "InvalidRequestException"
  23. // ErrCodeResourceInUseException for service response error code
  24. // "ResourceInUseException".
  25. //
  26. // The specified resource is in use.
  27. ErrCodeResourceInUseException = "ResourceInUseException"
  28. // ErrCodeResourceLimitExceededException for service response error code
  29. // "ResourceLimitExceededException".
  30. //
  31. // You have encountered a service limit on the specified resource.
  32. ErrCodeResourceLimitExceededException = "ResourceLimitExceededException"
  33. // ErrCodeResourceNotFoundException for service response error code
  34. // "ResourceNotFoundException".
  35. //
  36. // The specified resource could not be found. You can view your available clusters
  37. // with ListClusters. Amazon EKS clusters are Region-specific.
  38. ErrCodeResourceNotFoundException = "ResourceNotFoundException"
  39. // ErrCodeServerException for service response error code
  40. // "ServerException".
  41. //
  42. // These errors are usually caused by a server-side issue.
  43. ErrCodeServerException = "ServerException"
  44. // ErrCodeServiceUnavailableException for service response error code
  45. // "ServiceUnavailableException".
  46. //
  47. // The service is unavailable. Back off and retry the operation.
  48. ErrCodeServiceUnavailableException = "ServiceUnavailableException"
  49. // ErrCodeUnsupportedAvailabilityZoneException for service response error code
  50. // "UnsupportedAvailabilityZoneException".
  51. //
  52. // At least one of your specified cluster subnets is in an Availability Zone
  53. // that does not support Amazon EKS. The exception output specifies the supported
  54. // Availability Zones for your account, from which you can choose subnets for
  55. // your cluster.
  56. ErrCodeUnsupportedAvailabilityZoneException = "UnsupportedAvailabilityZoneException"
  57. )