2017-05-11 16:39:54 +02:00
|
|
|
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
|
|
|
|
|
|
|
|
|
package ecs
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
|
2018-01-16 14:20:59 +01:00
|
|
|
|
// ErrCodeAccessDeniedException for service response error code
|
|
|
|
|
// "AccessDeniedException".
|
|
|
|
|
//
|
|
|
|
|
// You do not have authorization to perform the requested action.
|
|
|
|
|
ErrCodeAccessDeniedException = "AccessDeniedException"
|
|
|
|
|
|
2017-05-11 16:39:54 +02:00
|
|
|
|
// ErrCodeAttributeLimitExceededException for service response error code
|
|
|
|
|
// "AttributeLimitExceededException".
|
|
|
|
|
//
|
|
|
|
|
// You can apply up to 10 custom attributes per resource. You can view the attributes
|
|
|
|
|
// of a resource with ListAttributes. You can remove existing attributes on
|
|
|
|
|
// a resource with DeleteAttributes.
|
|
|
|
|
ErrCodeAttributeLimitExceededException = "AttributeLimitExceededException"
|
|
|
|
|
|
2018-01-16 14:20:59 +01:00
|
|
|
|
// ErrCodeBlockedException for service response error code
|
|
|
|
|
// "BlockedException".
|
|
|
|
|
//
|
2018-03-19 16:51:38 +01:00
|
|
|
|
// Your AWS account has been blocked. Contact AWS Support (http://aws.amazon.com/contact-us/)
|
2018-01-16 14:20:59 +01:00
|
|
|
|
// for more information.
|
|
|
|
|
ErrCodeBlockedException = "BlockedException"
|
|
|
|
|
|
2017-05-11 16:39:54 +02:00
|
|
|
|
// ErrCodeClientException for service response error code
|
|
|
|
|
// "ClientException".
|
|
|
|
|
//
|
|
|
|
|
// These errors are usually caused by a client action, such as using an action
|
2018-01-16 14:20:59 +01:00
|
|
|
|
// or resource on behalf of a user that doesn't have permissions to use the
|
|
|
|
|
// action or resource, or specifying an identifier that is not valid.
|
2017-05-11 16:39:54 +02:00
|
|
|
|
ErrCodeClientException = "ClientException"
|
|
|
|
|
|
|
|
|
|
// ErrCodeClusterContainsContainerInstancesException for service response error code
|
|
|
|
|
// "ClusterContainsContainerInstancesException".
|
|
|
|
|
//
|
|
|
|
|
// You cannot delete a cluster that has registered container instances. You
|
|
|
|
|
// must first deregister the container instances before you can delete the cluster.
|
|
|
|
|
// For more information, see DeregisterContainerInstance.
|
|
|
|
|
ErrCodeClusterContainsContainerInstancesException = "ClusterContainsContainerInstancesException"
|
|
|
|
|
|
|
|
|
|
// ErrCodeClusterContainsServicesException for service response error code
|
|
|
|
|
// "ClusterContainsServicesException".
|
|
|
|
|
//
|
|
|
|
|
// You cannot delete a cluster that contains services. You must first update
|
|
|
|
|
// the service to reduce its desired task count to 0 and then delete the service.
|
|
|
|
|
// For more information, see UpdateService and DeleteService.
|
|
|
|
|
ErrCodeClusterContainsServicesException = "ClusterContainsServicesException"
|
|
|
|
|
|
2018-01-16 14:20:59 +01:00
|
|
|
|
// ErrCodeClusterContainsTasksException for service response error code
|
|
|
|
|
// "ClusterContainsTasksException".
|
|
|
|
|
//
|
|
|
|
|
// You cannot delete a cluster that has active tasks.
|
|
|
|
|
ErrCodeClusterContainsTasksException = "ClusterContainsTasksException"
|
|
|
|
|
|
2017-05-11 16:39:54 +02:00
|
|
|
|
// ErrCodeClusterNotFoundException for service response error code
|
|
|
|
|
// "ClusterNotFoundException".
|
|
|
|
|
//
|
|
|
|
|
// The specified cluster could not be found. You can view your available clusters
|
|
|
|
|
// with ListClusters. Amazon ECS clusters are region-specific.
|
|
|
|
|
ErrCodeClusterNotFoundException = "ClusterNotFoundException"
|
|
|
|
|
|
|
|
|
|
// ErrCodeInvalidParameterException for service response error code
|
|
|
|
|
// "InvalidParameterException".
|
|
|
|
|
//
|
|
|
|
|
// The specified parameter is invalid. Review the available parameters for the
|
|
|
|
|
// API request.
|
|
|
|
|
ErrCodeInvalidParameterException = "InvalidParameterException"
|
|
|
|
|
|
|
|
|
|
// ErrCodeMissingVersionException for service response error code
|
|
|
|
|
// "MissingVersionException".
|
|
|
|
|
//
|
|
|
|
|
// Amazon ECS is unable to determine the current version of the Amazon ECS container
|
|
|
|
|
// agent on the container instance and does not have enough information to proceed
|
|
|
|
|
// with an update. This could be because the agent running on the container
|
|
|
|
|
// instance is an older or custom version that does not use our version information.
|
|
|
|
|
ErrCodeMissingVersionException = "MissingVersionException"
|
|
|
|
|
|
|
|
|
|
// ErrCodeNoUpdateAvailableException for service response error code
|
|
|
|
|
// "NoUpdateAvailableException".
|
|
|
|
|
//
|
|
|
|
|
// There is no update available for this Amazon ECS container agent. This could
|
|
|
|
|
// be because the agent is already running the latest version, or it is so old
|
|
|
|
|
// that there is no update path to the current version.
|
|
|
|
|
ErrCodeNoUpdateAvailableException = "NoUpdateAvailableException"
|
|
|
|
|
|
2018-01-16 14:20:59 +01:00
|
|
|
|
// ErrCodePlatformTaskDefinitionIncompatibilityException for service response error code
|
|
|
|
|
// "PlatformTaskDefinitionIncompatibilityException".
|
|
|
|
|
//
|
|
|
|
|
// The specified platform version does not satisfy the task definition’s required
|
|
|
|
|
// capabilities.
|
|
|
|
|
ErrCodePlatformTaskDefinitionIncompatibilityException = "PlatformTaskDefinitionIncompatibilityException"
|
|
|
|
|
|
|
|
|
|
// ErrCodePlatformUnknownException for service response error code
|
|
|
|
|
// "PlatformUnknownException".
|
|
|
|
|
//
|
|
|
|
|
// The specified platform version does not exist.
|
|
|
|
|
ErrCodePlatformUnknownException = "PlatformUnknownException"
|
|
|
|
|
|
2017-05-11 16:39:54 +02:00
|
|
|
|
// ErrCodeServerException for service response error code
|
|
|
|
|
// "ServerException".
|
|
|
|
|
//
|
|
|
|
|
// These errors are usually caused by a server issue.
|
|
|
|
|
ErrCodeServerException = "ServerException"
|
|
|
|
|
|
|
|
|
|
// ErrCodeServiceNotActiveException for service response error code
|
|
|
|
|
// "ServiceNotActiveException".
|
|
|
|
|
//
|
2018-01-16 14:20:59 +01:00
|
|
|
|
// The specified service is not active. You can't update a service that is inactive.
|
|
|
|
|
// If you have previously deleted a service, you can re-create it with CreateService.
|
2017-05-11 16:39:54 +02:00
|
|
|
|
ErrCodeServiceNotActiveException = "ServiceNotActiveException"
|
|
|
|
|
|
|
|
|
|
// ErrCodeServiceNotFoundException for service response error code
|
|
|
|
|
// "ServiceNotFoundException".
|
|
|
|
|
//
|
|
|
|
|
// The specified service could not be found. You can view your available services
|
|
|
|
|
// with ListServices. Amazon ECS services are cluster-specific and region-specific.
|
|
|
|
|
ErrCodeServiceNotFoundException = "ServiceNotFoundException"
|
|
|
|
|
|
|
|
|
|
// ErrCodeTargetNotFoundException for service response error code
|
|
|
|
|
// "TargetNotFoundException".
|
|
|
|
|
//
|
|
|
|
|
// The specified target could not be found. You can view your available container
|
|
|
|
|
// instances with ListContainerInstances. Amazon ECS container instances are
|
|
|
|
|
// cluster-specific and region-specific.
|
|
|
|
|
ErrCodeTargetNotFoundException = "TargetNotFoundException"
|
|
|
|
|
|
2018-01-16 14:20:59 +01:00
|
|
|
|
// ErrCodeUnsupportedFeatureException for service response error code
|
|
|
|
|
// "UnsupportedFeatureException".
|
|
|
|
|
//
|
|
|
|
|
// The specified task is not supported in this region.
|
|
|
|
|
ErrCodeUnsupportedFeatureException = "UnsupportedFeatureException"
|
|
|
|
|
|
2017-05-11 16:39:54 +02:00
|
|
|
|
// ErrCodeUpdateInProgressException for service response error code
|
|
|
|
|
// "UpdateInProgressException".
|
|
|
|
|
//
|
|
|
|
|
// There is already a current Amazon ECS container agent update in progress
|
|
|
|
|
// on the specified container instance. If the container agent becomes disconnected
|
|
|
|
|
// while it is in a transitional stage, such as PENDING or STAGING, the update
|
|
|
|
|
// process can get stuck in that state. However, when the agent reconnects,
|
|
|
|
|
// it resumes where it stopped previously.
|
|
|
|
|
ErrCodeUpdateInProgressException = "UpdateInProgressException"
|
|
|
|
|
)
|