errors.go 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package ecs
  3. const (
  4. // ErrCodeAccessDeniedException for service response error code
  5. // "AccessDeniedException".
  6. //
  7. // You do not have authorization to perform the requested action.
  8. ErrCodeAccessDeniedException = "AccessDeniedException"
  9. // ErrCodeAttributeLimitExceededException for service response error code
  10. // "AttributeLimitExceededException".
  11. //
  12. // You can apply up to 10 custom attributes per resource. You can view the attributes
  13. // of a resource with ListAttributes. You can remove existing attributes on
  14. // a resource with DeleteAttributes.
  15. ErrCodeAttributeLimitExceededException = "AttributeLimitExceededException"
  16. // ErrCodeBlockedException for service response error code
  17. // "BlockedException".
  18. //
  19. // Your AWS account has been blocked. For more information, contact AWS Support
  20. // (http://aws.amazon.com/contact-us/).
  21. ErrCodeBlockedException = "BlockedException"
  22. // ErrCodeClientException for service response error code
  23. // "ClientException".
  24. //
  25. // These errors are usually caused by a client action, such as using an action
  26. // or resource on behalf of a user that doesn't have permissions to use the
  27. // action or resource, or specifying an identifier that is not valid.
  28. ErrCodeClientException = "ClientException"
  29. // ErrCodeClusterContainsContainerInstancesException for service response error code
  30. // "ClusterContainsContainerInstancesException".
  31. //
  32. // You cannot delete a cluster that has registered container instances. First,
  33. // deregister the container instances before you can delete the cluster. For
  34. // more information, see DeregisterContainerInstance.
  35. ErrCodeClusterContainsContainerInstancesException = "ClusterContainsContainerInstancesException"
  36. // ErrCodeClusterContainsServicesException for service response error code
  37. // "ClusterContainsServicesException".
  38. //
  39. // You cannot delete a cluster that contains services. First, update the service
  40. // to reduce its desired task count to 0 and then delete the service. For more
  41. // information, see UpdateService and DeleteService.
  42. ErrCodeClusterContainsServicesException = "ClusterContainsServicesException"
  43. // ErrCodeClusterContainsTasksException for service response error code
  44. // "ClusterContainsTasksException".
  45. //
  46. // You cannot delete a cluster that has active tasks.
  47. ErrCodeClusterContainsTasksException = "ClusterContainsTasksException"
  48. // ErrCodeClusterNotFoundException for service response error code
  49. // "ClusterNotFoundException".
  50. //
  51. // The specified cluster could not be found. You can view your available clusters
  52. // with ListClusters. Amazon ECS clusters are Region-specific.
  53. ErrCodeClusterNotFoundException = "ClusterNotFoundException"
  54. // ErrCodeInvalidParameterException for service response error code
  55. // "InvalidParameterException".
  56. //
  57. // The specified parameter is invalid. Review the available parameters for the
  58. // API request.
  59. ErrCodeInvalidParameterException = "InvalidParameterException"
  60. // ErrCodeMissingVersionException for service response error code
  61. // "MissingVersionException".
  62. //
  63. // Amazon ECS is unable to determine the current version of the Amazon ECS container
  64. // agent on the container instance and does not have enough information to proceed
  65. // with an update. This could be because the agent running on the container
  66. // instance is an older or custom version that does not use our version information.
  67. ErrCodeMissingVersionException = "MissingVersionException"
  68. // ErrCodeNoUpdateAvailableException for service response error code
  69. // "NoUpdateAvailableException".
  70. //
  71. // There is no update available for this Amazon ECS container agent. This could
  72. // be because the agent is already running the latest version, or it is so old
  73. // that there is no update path to the current version.
  74. ErrCodeNoUpdateAvailableException = "NoUpdateAvailableException"
  75. // ErrCodePlatformTaskDefinitionIncompatibilityException for service response error code
  76. // "PlatformTaskDefinitionIncompatibilityException".
  77. //
  78. // The specified platform version does not satisfy the task definition's required
  79. // capabilities.
  80. ErrCodePlatformTaskDefinitionIncompatibilityException = "PlatformTaskDefinitionIncompatibilityException"
  81. // ErrCodePlatformUnknownException for service response error code
  82. // "PlatformUnknownException".
  83. //
  84. // The specified platform version does not exist.
  85. ErrCodePlatformUnknownException = "PlatformUnknownException"
  86. // ErrCodeResourceNotFoundException for service response error code
  87. // "ResourceNotFoundException".
  88. //
  89. // The specified resource could not be found.
  90. ErrCodeResourceNotFoundException = "ResourceNotFoundException"
  91. // ErrCodeServerException for service response error code
  92. // "ServerException".
  93. //
  94. // These errors are usually caused by a server issue.
  95. ErrCodeServerException = "ServerException"
  96. // ErrCodeServiceNotActiveException for service response error code
  97. // "ServiceNotActiveException".
  98. //
  99. // The specified service is not active. You can't update a service that is inactive.
  100. // If you have previously deleted a service, you can re-create it with CreateService.
  101. ErrCodeServiceNotActiveException = "ServiceNotActiveException"
  102. // ErrCodeServiceNotFoundException for service response error code
  103. // "ServiceNotFoundException".
  104. //
  105. // The specified service could not be found. You can view your available services
  106. // with ListServices. Amazon ECS services are cluster-specific and Region-specific.
  107. ErrCodeServiceNotFoundException = "ServiceNotFoundException"
  108. // ErrCodeTargetNotFoundException for service response error code
  109. // "TargetNotFoundException".
  110. //
  111. // The specified target could not be found. You can view your available container
  112. // instances with ListContainerInstances. Amazon ECS container instances are
  113. // cluster-specific and Region-specific.
  114. ErrCodeTargetNotFoundException = "TargetNotFoundException"
  115. // ErrCodeUnsupportedFeatureException for service response error code
  116. // "UnsupportedFeatureException".
  117. //
  118. // The specified task is not supported in this Region.
  119. ErrCodeUnsupportedFeatureException = "UnsupportedFeatureException"
  120. // ErrCodeUpdateInProgressException for service response error code
  121. // "UpdateInProgressException".
  122. //
  123. // There is already a current Amazon ECS container agent update in progress
  124. // on the specified container instance. If the container agent becomes disconnected
  125. // while it is in a transitional stage, such as PENDING or STAGING, the update
  126. // process can get stuck in that state. However, when the agent reconnects,
  127. // it resumes where it stopped previously.
  128. ErrCodeUpdateInProgressException = "UpdateInProgressException"
  129. )