108 lines
4.9 KiB
Go
108 lines
4.9 KiB
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
|
|
|
package ecs
|
|
|
|
const (
|
|
|
|
// 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"
|
|
|
|
// ErrCodeClientException for service response error code
|
|
// "ClientException".
|
|
//
|
|
// These errors are usually caused by a client action, such as using an action
|
|
// or resource on behalf of a user that doesn't have permission to use the action
|
|
// or resource, or specifying an identifier that is not valid.
|
|
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"
|
|
|
|
// 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"
|
|
|
|
// 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".
|
|
//
|
|
// The specified service is not active. You cannot update a service that is
|
|
// not active. If you have previously deleted a service, you can re-create it
|
|
// with CreateService.
|
|
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"
|
|
|
|
// 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"
|
|
)
|