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