Class CodeDeployException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\CodeDeploy\Exception\CodeDeployException
- Namespace: Aws\CodeDeploy\Exception
- Located at CodeDeploy/Exception/CodeDeployException.php
Represents an error interacting with AWS CodeDeploy.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
AlarmsLimitExceededException
[ ]
Description
The maximum number of alarms for a deployment group (10) was exceeded.
Members
ApplicationAlreadyExistsException
[ ]
Description
An application with the specified name with the IAM user or Amazon Web Services account already exists.
Members
ApplicationDoesNotExistException
[ ]
Description
The application does not exist with the IAM user or Amazon Web Services account.
Members
ApplicationLimitExceededException
[ ]
Description
More applications were attempted to be created than are allowed.
Members
ApplicationNameRequiredException
[ ]
Description
The minimum number of required application names was not specified.
Members
ArnNotSupportedException
[ ]
Description
The specified ARN is not supported. For example, it might be an ARN for a resource that is not expected.
Members
BatchLimitExceededException
[ ]
Description
The maximum number of names or IDs allowed for this request (100) was exceeded.
Members
BucketNameFilterRequiredException
[ ]
Description
A bucket name is required, but was not provided.
Members
DeploymentAlreadyCompletedException
[ ]
Description
The deployment is already complete.
Members
DeploymentAlreadyStartedException
[ ]
Description
A deployment to a target was attempted while another deployment was in progress.
Members
DeploymentConfigAlreadyExistsException
[ ]
Description
A deployment configuration with the specified name with the IAM user or Amazon Web Services account already exists.
Members
DeploymentConfigDoesNotExistException
[ ]
Description
The deployment configuration does not exist with the IAM user or Amazon Web Services account.
Members
DeploymentConfigInUseException
[ ]
Description
The deployment configuration is still in use.
Members
DeploymentConfigLimitExceededException
[ ]
Description
The deployment configurations limit was exceeded.
Members
DeploymentConfigNameRequiredException
[ ]
Description
The deployment configuration name was not specified.
Members
DeploymentDoesNotExistException
[ ]
Description
The deployment with the IAM user or Amazon Web Services account does not exist.
Members
DeploymentGroupAlreadyExistsException
[ ]
Description
A deployment group with the specified name with the IAM user or Amazon Web Services account already exists.
Members
DeploymentGroupDoesNotExistException
[ ]
Description
The named deployment group with the IAM user or Amazon Web Services account does not exist.
Members
DeploymentGroupLimitExceededException
[ ]
Description
The deployment groups limit was exceeded.
Members
DeploymentGroupNameRequiredException
[ ]
Description
The deployment group name was not specified.
Members
DeploymentIdRequiredException
[ ]
Description
At least one deployment ID must be specified.
Members
DeploymentIsNotInReadyStateException
[ ]
Description
The deployment does not have a status of Ready and can't continue yet.
Members
DeploymentLimitExceededException
[ ]
Description
The number of allowed deployments was exceeded.
Members
DeploymentNotStartedException
[ ]
Description
The specified deployment has not started.
Members
DeploymentTargetDoesNotExistException
[ ]
Description
The provided target ID does not belong to the attempted deployment.
Members
DeploymentTargetIdRequiredException
[ ]
Description
A deployment target ID was not provided.
Members
DeploymentTargetListSizeExceededException
[ ]
Description
The maximum number of targets that can be associated with an Amazon ECS or Lambda deployment was exceeded. The target list of both types of deployments must have exactly one item. This exception does not apply to EC2/On-premises deployments.
Members
DescriptionTooLongException
[ ]
Description
The description is too long.
Members
ECSServiceMappingLimitExceededException
[ ]
Description
The Amazon ECS service is associated with more than one deployment groups. An Amazon ECS service can be associated with only one deployment group.
Members
GitHubAccountTokenDoesNotExistException
[ ]
Description
No GitHub account connection exists with the named specified in the call.
Members
GitHubAccountTokenNameRequiredException
[ ]
Description
The call is missing a required GitHub account connection name.
Members
IamArnRequiredException
[ ]
Description
No IAM ARN was included in the request. You must use an IAM session ARN or IAM user ARN in the request.
Members
IamSessionArnAlreadyRegisteredException
[ ]
Description
The request included an IAM session ARN that has already been used to register a different instance.
Members
IamUserArnAlreadyRegisteredException
[ ]
Description
The specified IAM user ARN is already registered with an on-premises instance.
Members
IamUserArnRequiredException
[ ]
Description
An IAM user ARN was not specified.
Members
InstanceDoesNotExistException
[ ]
Description
The specified instance does not exist in the deployment group.
Members
InstanceIdRequiredException
[ ]
Description
The instance ID was not specified.
Members
InstanceLimitExceededException
[ ]
Description
The maximum number of allowed on-premises instances in a single call was exceeded.
Members
InstanceNameAlreadyRegisteredException
[ ]
Description
The specified on-premises instance name is already registered.
Members
InstanceNameRequiredException
[ ]
Description
An on-premises instance name was not specified.
Members
InstanceNotRegisteredException
[ ]
Description
The specified on-premises instance is not registered.
Members
InvalidAlarmConfigException
[ ]
Description
The format of the alarm configuration is invalid. Possible causes include:
-
The alarm list is null.
-
The alarm object is null.
-
The alarm name is empty or null or exceeds the limit of 255 characters.
-
Two alarms with the same name have been specified.
-
The alarm configuration is enabled, but the alarm list is empty.
Members
InvalidApplicationNameException
[ ]
Description
The application name was specified in an invalid format.
Members
InvalidArnException
[ ]
Description
The specified ARN is not in a valid format.
Members
InvalidAutoRollbackConfigException
[ ]
Description
The automatic rollback configuration was specified in an invalid format. For example, automatic rollback is enabled, but an invalid triggering event type or no event types were listed.
Members
InvalidAutoScalingGroupException
[ ]
Description
The Auto Scaling group was specified in an invalid format or does not exist.
Members
InvalidBlueGreenDeploymentConfigurationException
[ ]
Description
The configuration for the blue/green deployment group was provided in an invalid format. For information about deployment configuration format, see CreateDeploymentConfig.
Members
InvalidBucketNameFilterException
[ ]
Description
The bucket name either doesn't exist or was specified in an invalid format.
Members
InvalidComputePlatformException
[ ]
Description
The computePlatform is invalid. The computePlatform should be Lambda
, Server
, or ECS
.
Members
InvalidDeployedStateFilterException
[ ]
Description
The deployed state filter was specified in an invalid format.
Members
InvalidDeploymentConfigNameException
[ ]
Description
The deployment configuration name was specified in an invalid format.
Members
InvalidDeploymentGroupNameException
[ ]
Description
The deployment group name was specified in an invalid format.
Members
InvalidDeploymentIdException
[ ]
Description
At least one of the deployment IDs was specified in an invalid format.
Members
InvalidDeploymentInstanceTypeException
[ ]
Description
An instance type was specified for an in-place deployment. Instance types are supported for blue/green deployments only.
Members
InvalidDeploymentStatusException
[ ]
Description
The specified deployment status doesn't exist or cannot be determined.
Members
InvalidDeploymentStyleException
[ ]
Description
An invalid deployment style was specified. Valid deployment types include "IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL."
Members
InvalidDeploymentTargetIdException
[ ]
Description
The target ID provided was not valid.
Members
InvalidDeploymentWaitTypeException
[ ]
Description
The wait type is invalid.
Members
InvalidEC2TagCombinationException
[ ]
Description
A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but only one of these data types can be used in a single call.
Members
InvalidEC2TagException
[ ]
Description
The tag was specified in an invalid format.
Members
InvalidECSServiceException
[ ]
Description
The Amazon ECS service identifier is not valid.
Members
InvalidExternalIdException
[ ]
Description
The external ID was specified in an invalid format.
Members
InvalidFileExistsBehaviorException
[ ]
Description
An invalid fileExistsBehavior option was specified to determine how CodeDeploy handles files or directories that already exist in a deployment target location, but weren't part of the previous successful deployment. Valid values include "DISALLOW," "OVERWRITE," and "RETAIN."
Members
InvalidGitHubAccountTokenException
[ ]
Description
The GitHub token is not valid.
Members
InvalidGitHubAccountTokenNameException
[ ]
Description
The format of the specified GitHub account connection name is invalid.
Members
InvalidIamSessionArnException
[ ]
Description
The IAM session ARN was specified in an invalid format.
Members
InvalidIamUserArnException
[ ]
Description
The IAM user ARN was specified in an invalid format.
Members
InvalidIgnoreApplicationStopFailuresValueException
[ ]
Description
The IgnoreApplicationStopFailures value is invalid. For Lambda deployments, false
is expected. For EC2/On-premises deployments, true
or false
is expected.
Members
InvalidInputException
[ ]
Description
The input was specified in an invalid format.
Members
InvalidInstanceIdException
[ ]
Description
Members
InvalidInstanceNameException
[ ]
Description
The on-premises instance name was specified in an invalid format.
Members
InvalidInstanceStatusException
[ ]
Description
The specified instance status does not exist.
Members
InvalidInstanceTypeException
[ ]
Description
An invalid instance type was specified for instances in a blue/green deployment. Valid values include "Blue" for an original environment and "Green" for a replacement environment.
Members
InvalidKeyPrefixFilterException
[ ]
Description
The specified key prefix filter was specified in an invalid format.
Members
InvalidLifecycleEventHookExecutionIdException
[ ]
Description
A lifecycle event hook is invalid. Review the hooks
section in your AppSpec file to ensure the lifecycle events and hooks
functions are valid.
Members
InvalidLifecycleEventHookExecutionStatusException
[ ]
Description
The result of a Lambda validation function that verifies a lifecycle event is invalid. It should return Succeeded
or Failed
.
Members
InvalidLoadBalancerInfoException
[ ]
Description
An invalid load balancer name, or no load balancer name, was specified.
Members
InvalidMinimumHealthyHostValueException
[ ]
Description
The minimum healthy instance value was specified in an invalid format.
Members
InvalidNextTokenException
[ ]
Description
The next token was specified in an invalid format.
Members
InvalidOnPremisesTagCombinationException
[ ]
Description
A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, but only one of these data types can be used in a single call.
Members
InvalidOperationException
[ ]
Description
An invalid operation was detected.
Members
InvalidRegistrationStatusException
[ ]
Description
The registration status was specified in an invalid format.
Members
InvalidRevisionException
[ ]
Description
The revision was specified in an invalid format.
Members
InvalidRoleException
[ ]
Description
The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Amazon EC2 Auto Scaling.
Members
InvalidSortByException
[ ]
Description
The column name to sort by is either not present or was specified in an invalid format.
Members
InvalidSortOrderException
[ ]
Description
The sort order was specified in an invalid format.
Members
InvalidTagException
[ ]
Description
The tag was specified in an invalid format.
Members
InvalidTagFilterException
[ ]
Description
The tag filter was specified in an invalid format.
Members
InvalidTagsToAddException
[ ]
Description
The specified tags are not valid.
Members
InvalidTargetException
[ ]
Description
A target is not valid.
Members
InvalidTargetFilterNameException
[ ]
Description
The target filter name is invalid.
Members
InvalidTargetGroupPairException
[ ]
Description
A target group pair associated with this deployment is not valid.
Members
InvalidTargetInstancesException
[ ]
Description
The target instance configuration is invalid. Possible causes include:
-
Configuration data for target instances was entered for an in-place deployment.
-
The limit of 10 tags for a tag type was exceeded.
-
The combined length of the tag names exceeded the limit.
-
A specified tag is not currently applied to any instances.
Members
InvalidTimeRangeException
[ ]
Description
The specified time range was specified in an invalid format.
Members
InvalidTrafficRoutingConfigurationException
[ ]
Description
The configuration that specifies how traffic is routed during a deployment is invalid.
Members
InvalidTriggerConfigException
[ ]
Description
The trigger was specified in an invalid format.
Members
InvalidUpdateOutdatedInstancesOnlyValueException
[ ]
Description
The UpdateOutdatedInstancesOnly value is invalid. For Lambda deployments, false
is expected. For EC2/On-premises deployments, true
or false
is expected.
Members
LifecycleEventAlreadyCompletedException
[ ]
Description
An attempt to return the status of an already completed lifecycle event occurred.
Members
LifecycleHookLimitExceededException
[ ]
Description
The limit for lifecycle hooks was exceeded.
Members
MultipleIamArnsProvidedException
[ ]
Description
Both an IAM user ARN and an IAM session ARN were included in the request. Use only one ARN type.
Members
OperationNotSupportedException
[ ]
Description
The API used does not support the deployment.
Members
ResourceArnRequiredException
[ ]
Description
The ARN of a resource is required, but was not found.
Members
ResourceValidationException
[ ]
Description
The specified resource could not be validated.
Members
RevisionDoesNotExistException
[ ]
Description
The named revision does not exist with the IAM user or Amazon Web Services account.
Members
RevisionRequiredException
[ ]
Description
The revision ID was not specified.
Members
RoleRequiredException
[ ]
Description
The role ID was not specified.
Members
TagLimitExceededException
[ ]
Description
The maximum allowed number of tags was exceeded.
Members
TagRequiredException
[ ]
Description
A tag was not specified.
Members
TagSetListLimitExceededException
[ ]
Description
The number of tag groups included in the tag set list exceeded the maximum allowed limit of 3.
Members
ThrottlingException
[ ]
Description
An API function was called too frequently.
Members
TriggerTargetsLimitExceededException
[ ]
Description
The maximum allowed number of triggers was exceeded.
Members
UnsupportedActionForDeploymentTypeException
[ ]
Description
A call was submitted that is not supported for the specified deployment type.