1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3package codedeploy 4 5import ( 6 "github.com/aws/aws-sdk-go/private/protocol" 7) 8 9const ( 10 11 // ErrCodeAlarmsLimitExceededException for service response error code 12 // "AlarmsLimitExceededException". 13 // 14 // The maximum number of alarms for a deployment group (10) was exceeded. 15 ErrCodeAlarmsLimitExceededException = "AlarmsLimitExceededException" 16 17 // ErrCodeApplicationAlreadyExistsException for service response error code 18 // "ApplicationAlreadyExistsException". 19 // 20 // An application with the specified name with the IAM user or AWS account already 21 // exists. 22 ErrCodeApplicationAlreadyExistsException = "ApplicationAlreadyExistsException" 23 24 // ErrCodeApplicationDoesNotExistException for service response error code 25 // "ApplicationDoesNotExistException". 26 // 27 // The application does not exist with the IAM user or AWS account. 28 ErrCodeApplicationDoesNotExistException = "ApplicationDoesNotExistException" 29 30 // ErrCodeApplicationLimitExceededException for service response error code 31 // "ApplicationLimitExceededException". 32 // 33 // More applications were attempted to be created than are allowed. 34 ErrCodeApplicationLimitExceededException = "ApplicationLimitExceededException" 35 36 // ErrCodeApplicationNameRequiredException for service response error code 37 // "ApplicationNameRequiredException". 38 // 39 // The minimum number of required application names was not specified. 40 ErrCodeApplicationNameRequiredException = "ApplicationNameRequiredException" 41 42 // ErrCodeArnNotSupportedException for service response error code 43 // "ArnNotSupportedException". 44 // 45 // The specified ARN is not supported. For example, it might be an ARN for a 46 // resource that is not expected. 47 ErrCodeArnNotSupportedException = "ArnNotSupportedException" 48 49 // ErrCodeBatchLimitExceededException for service response error code 50 // "BatchLimitExceededException". 51 // 52 // The maximum number of names or IDs allowed for this request (100) was exceeded. 53 ErrCodeBatchLimitExceededException = "BatchLimitExceededException" 54 55 // ErrCodeBucketNameFilterRequiredException for service response error code 56 // "BucketNameFilterRequiredException". 57 // 58 // A bucket name is required, but was not provided. 59 ErrCodeBucketNameFilterRequiredException = "BucketNameFilterRequiredException" 60 61 // ErrCodeDeploymentAlreadyCompletedException for service response error code 62 // "DeploymentAlreadyCompletedException". 63 // 64 // The deployment is already complete. 65 ErrCodeDeploymentAlreadyCompletedException = "DeploymentAlreadyCompletedException" 66 67 // ErrCodeDeploymentConfigAlreadyExistsException for service response error code 68 // "DeploymentConfigAlreadyExistsException". 69 // 70 // A deployment configuration with the specified name with the IAM user or AWS 71 // account already exists. 72 ErrCodeDeploymentConfigAlreadyExistsException = "DeploymentConfigAlreadyExistsException" 73 74 // ErrCodeDeploymentConfigDoesNotExistException for service response error code 75 // "DeploymentConfigDoesNotExistException". 76 // 77 // The deployment configuration does not exist with the IAM user or AWS account. 78 ErrCodeDeploymentConfigDoesNotExistException = "DeploymentConfigDoesNotExistException" 79 80 // ErrCodeDeploymentConfigInUseException for service response error code 81 // "DeploymentConfigInUseException". 82 // 83 // The deployment configuration is still in use. 84 ErrCodeDeploymentConfigInUseException = "DeploymentConfigInUseException" 85 86 // ErrCodeDeploymentConfigLimitExceededException for service response error code 87 // "DeploymentConfigLimitExceededException". 88 // 89 // The deployment configurations limit was exceeded. 90 ErrCodeDeploymentConfigLimitExceededException = "DeploymentConfigLimitExceededException" 91 92 // ErrCodeDeploymentConfigNameRequiredException for service response error code 93 // "DeploymentConfigNameRequiredException". 94 // 95 // The deployment configuration name was not specified. 96 ErrCodeDeploymentConfigNameRequiredException = "DeploymentConfigNameRequiredException" 97 98 // ErrCodeDeploymentDoesNotExistException for service response error code 99 // "DeploymentDoesNotExistException". 100 // 101 // The deployment with the IAM user or AWS account does not exist. 102 ErrCodeDeploymentDoesNotExistException = "DeploymentDoesNotExistException" 103 104 // ErrCodeDeploymentGroupAlreadyExistsException for service response error code 105 // "DeploymentGroupAlreadyExistsException". 106 // 107 // A deployment group with the specified name with the IAM user or AWS account 108 // already exists. 109 ErrCodeDeploymentGroupAlreadyExistsException = "DeploymentGroupAlreadyExistsException" 110 111 // ErrCodeDeploymentGroupDoesNotExistException for service response error code 112 // "DeploymentGroupDoesNotExistException". 113 // 114 // The named deployment group with the IAM user or AWS account does not exist. 115 ErrCodeDeploymentGroupDoesNotExistException = "DeploymentGroupDoesNotExistException" 116 117 // ErrCodeDeploymentGroupLimitExceededException for service response error code 118 // "DeploymentGroupLimitExceededException". 119 // 120 // The deployment groups limit was exceeded. 121 ErrCodeDeploymentGroupLimitExceededException = "DeploymentGroupLimitExceededException" 122 123 // ErrCodeDeploymentGroupNameRequiredException for service response error code 124 // "DeploymentGroupNameRequiredException". 125 // 126 // The deployment group name was not specified. 127 ErrCodeDeploymentGroupNameRequiredException = "DeploymentGroupNameRequiredException" 128 129 // ErrCodeDeploymentIdRequiredException for service response error code 130 // "DeploymentIdRequiredException". 131 // 132 // At least one deployment ID must be specified. 133 ErrCodeDeploymentIdRequiredException = "DeploymentIdRequiredException" 134 135 // ErrCodeDeploymentIsNotInReadyStateException for service response error code 136 // "DeploymentIsNotInReadyStateException". 137 // 138 // The deployment does not have a status of Ready and can't continue yet. 139 ErrCodeDeploymentIsNotInReadyStateException = "DeploymentIsNotInReadyStateException" 140 141 // ErrCodeDeploymentLimitExceededException for service response error code 142 // "DeploymentLimitExceededException". 143 // 144 // The number of allowed deployments was exceeded. 145 ErrCodeDeploymentLimitExceededException = "DeploymentLimitExceededException" 146 147 // ErrCodeDeploymentNotStartedException for service response error code 148 // "DeploymentNotStartedException". 149 // 150 // The specified deployment has not started. 151 ErrCodeDeploymentNotStartedException = "DeploymentNotStartedException" 152 153 // ErrCodeDeploymentTargetDoesNotExistException for service response error code 154 // "DeploymentTargetDoesNotExistException". 155 // 156 // The provided target ID does not belong to the attempted deployment. 157 ErrCodeDeploymentTargetDoesNotExistException = "DeploymentTargetDoesNotExistException" 158 159 // ErrCodeDeploymentTargetIdRequiredException for service response error code 160 // "DeploymentTargetIdRequiredException". 161 // 162 // A deployment target ID was not provided. 163 ErrCodeDeploymentTargetIdRequiredException = "DeploymentTargetIdRequiredException" 164 165 // ErrCodeDeploymentTargetListSizeExceededException for service response error code 166 // "DeploymentTargetListSizeExceededException". 167 // 168 // The maximum number of targets that can be associated with an Amazon ECS or 169 // AWS Lambda deployment was exceeded. The target list of both types of deployments 170 // must have exactly one item. This exception does not apply to EC2/On-premises 171 // deployments. 172 ErrCodeDeploymentTargetListSizeExceededException = "DeploymentTargetListSizeExceededException" 173 174 // ErrCodeDescriptionTooLongException for service response error code 175 // "DescriptionTooLongException". 176 // 177 // The description is too long. 178 ErrCodeDescriptionTooLongException = "DescriptionTooLongException" 179 180 // ErrCodeECSServiceMappingLimitExceededException for service response error code 181 // "ECSServiceMappingLimitExceededException". 182 // 183 // The Amazon ECS service is associated with more than one deployment groups. 184 // An Amazon ECS service can be associated with only one deployment group. 185 ErrCodeECSServiceMappingLimitExceededException = "ECSServiceMappingLimitExceededException" 186 187 // ErrCodeGitHubAccountTokenDoesNotExistException for service response error code 188 // "GitHubAccountTokenDoesNotExistException". 189 // 190 // No GitHub account connection exists with the named specified in the call. 191 ErrCodeGitHubAccountTokenDoesNotExistException = "GitHubAccountTokenDoesNotExistException" 192 193 // ErrCodeGitHubAccountTokenNameRequiredException for service response error code 194 // "GitHubAccountTokenNameRequiredException". 195 // 196 // The call is missing a required GitHub account connection name. 197 ErrCodeGitHubAccountTokenNameRequiredException = "GitHubAccountTokenNameRequiredException" 198 199 // ErrCodeIamArnRequiredException for service response error code 200 // "IamArnRequiredException". 201 // 202 // No IAM ARN was included in the request. You must use an IAM session ARN or 203 // IAM user ARN in the request. 204 ErrCodeIamArnRequiredException = "IamArnRequiredException" 205 206 // ErrCodeIamSessionArnAlreadyRegisteredException for service response error code 207 // "IamSessionArnAlreadyRegisteredException". 208 // 209 // The request included an IAM session ARN that has already been used to register 210 // a different instance. 211 ErrCodeIamSessionArnAlreadyRegisteredException = "IamSessionArnAlreadyRegisteredException" 212 213 // ErrCodeIamUserArnAlreadyRegisteredException for service response error code 214 // "IamUserArnAlreadyRegisteredException". 215 // 216 // The specified IAM user ARN is already registered with an on-premises instance. 217 ErrCodeIamUserArnAlreadyRegisteredException = "IamUserArnAlreadyRegisteredException" 218 219 // ErrCodeIamUserArnRequiredException for service response error code 220 // "IamUserArnRequiredException". 221 // 222 // An IAM user ARN was not specified. 223 ErrCodeIamUserArnRequiredException = "IamUserArnRequiredException" 224 225 // ErrCodeInstanceDoesNotExistException for service response error code 226 // "InstanceDoesNotExistException". 227 // 228 // The specified instance does not exist in the deployment group. 229 ErrCodeInstanceDoesNotExistException = "InstanceDoesNotExistException" 230 231 // ErrCodeInstanceIdRequiredException for service response error code 232 // "InstanceIdRequiredException". 233 // 234 // The instance ID was not specified. 235 ErrCodeInstanceIdRequiredException = "InstanceIdRequiredException" 236 237 // ErrCodeInstanceLimitExceededException for service response error code 238 // "InstanceLimitExceededException". 239 // 240 // The maximum number of allowed on-premises instances in a single call was 241 // exceeded. 242 ErrCodeInstanceLimitExceededException = "InstanceLimitExceededException" 243 244 // ErrCodeInstanceNameAlreadyRegisteredException for service response error code 245 // "InstanceNameAlreadyRegisteredException". 246 // 247 // The specified on-premises instance name is already registered. 248 ErrCodeInstanceNameAlreadyRegisteredException = "InstanceNameAlreadyRegisteredException" 249 250 // ErrCodeInstanceNameRequiredException for service response error code 251 // "InstanceNameRequiredException". 252 // 253 // An on-premises instance name was not specified. 254 ErrCodeInstanceNameRequiredException = "InstanceNameRequiredException" 255 256 // ErrCodeInstanceNotRegisteredException for service response error code 257 // "InstanceNotRegisteredException". 258 // 259 // The specified on-premises instance is not registered. 260 ErrCodeInstanceNotRegisteredException = "InstanceNotRegisteredException" 261 262 // ErrCodeInvalidAlarmConfigException for service response error code 263 // "InvalidAlarmConfigException". 264 // 265 // The format of the alarm configuration is invalid. Possible causes include: 266 // 267 // * The alarm list is null. 268 // 269 // * The alarm object is null. 270 // 271 // * The alarm name is empty or null or exceeds the limit of 255 characters. 272 // 273 // * Two alarms with the same name have been specified. 274 // 275 // * The alarm configuration is enabled, but the alarm list is empty. 276 ErrCodeInvalidAlarmConfigException = "InvalidAlarmConfigException" 277 278 // ErrCodeInvalidApplicationNameException for service response error code 279 // "InvalidApplicationNameException". 280 // 281 // The application name was specified in an invalid format. 282 ErrCodeInvalidApplicationNameException = "InvalidApplicationNameException" 283 284 // ErrCodeInvalidArnException for service response error code 285 // "InvalidArnException". 286 // 287 // The specified ARN is not in a valid format. 288 ErrCodeInvalidArnException = "InvalidArnException" 289 290 // ErrCodeInvalidAutoRollbackConfigException for service response error code 291 // "InvalidAutoRollbackConfigException". 292 // 293 // The automatic rollback configuration was specified in an invalid format. 294 // For example, automatic rollback is enabled, but an invalid triggering event 295 // type or no event types were listed. 296 ErrCodeInvalidAutoRollbackConfigException = "InvalidAutoRollbackConfigException" 297 298 // ErrCodeInvalidAutoScalingGroupException for service response error code 299 // "InvalidAutoScalingGroupException". 300 // 301 // The Auto Scaling group was specified in an invalid format or does not exist. 302 ErrCodeInvalidAutoScalingGroupException = "InvalidAutoScalingGroupException" 303 304 // ErrCodeInvalidBlueGreenDeploymentConfigurationException for service response error code 305 // "InvalidBlueGreenDeploymentConfigurationException". 306 // 307 // The configuration for the blue/green deployment group was provided in an 308 // invalid format. For information about deployment configuration format, see 309 // CreateDeploymentConfig. 310 ErrCodeInvalidBlueGreenDeploymentConfigurationException = "InvalidBlueGreenDeploymentConfigurationException" 311 312 // ErrCodeInvalidBucketNameFilterException for service response error code 313 // "InvalidBucketNameFilterException". 314 // 315 // The bucket name either doesn't exist or was specified in an invalid format. 316 ErrCodeInvalidBucketNameFilterException = "InvalidBucketNameFilterException" 317 318 // ErrCodeInvalidComputePlatformException for service response error code 319 // "InvalidComputePlatformException". 320 // 321 // The computePlatform is invalid. The computePlatform should be Lambda, Server, 322 // or ECS. 323 ErrCodeInvalidComputePlatformException = "InvalidComputePlatformException" 324 325 // ErrCodeInvalidDeployedStateFilterException for service response error code 326 // "InvalidDeployedStateFilterException". 327 // 328 // The deployed state filter was specified in an invalid format. 329 ErrCodeInvalidDeployedStateFilterException = "InvalidDeployedStateFilterException" 330 331 // ErrCodeInvalidDeploymentConfigNameException for service response error code 332 // "InvalidDeploymentConfigNameException". 333 // 334 // The deployment configuration name was specified in an invalid format. 335 ErrCodeInvalidDeploymentConfigNameException = "InvalidDeploymentConfigNameException" 336 337 // ErrCodeInvalidDeploymentGroupNameException for service response error code 338 // "InvalidDeploymentGroupNameException". 339 // 340 // The deployment group name was specified in an invalid format. 341 ErrCodeInvalidDeploymentGroupNameException = "InvalidDeploymentGroupNameException" 342 343 // ErrCodeInvalidDeploymentIdException for service response error code 344 // "InvalidDeploymentIdException". 345 // 346 // At least one of the deployment IDs was specified in an invalid format. 347 ErrCodeInvalidDeploymentIdException = "InvalidDeploymentIdException" 348 349 // ErrCodeInvalidDeploymentInstanceTypeException for service response error code 350 // "InvalidDeploymentInstanceTypeException". 351 // 352 // An instance type was specified for an in-place deployment. Instance types 353 // are supported for blue/green deployments only. 354 ErrCodeInvalidDeploymentInstanceTypeException = "InvalidDeploymentInstanceTypeException" 355 356 // ErrCodeInvalidDeploymentStatusException for service response error code 357 // "InvalidDeploymentStatusException". 358 // 359 // The specified deployment status doesn't exist or cannot be determined. 360 ErrCodeInvalidDeploymentStatusException = "InvalidDeploymentStatusException" 361 362 // ErrCodeInvalidDeploymentStyleException for service response error code 363 // "InvalidDeploymentStyleException". 364 // 365 // An invalid deployment style was specified. Valid deployment types include 366 // "IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL" 367 // and "WITHOUT_TRAFFIC_CONTROL." 368 ErrCodeInvalidDeploymentStyleException = "InvalidDeploymentStyleException" 369 370 // ErrCodeInvalidDeploymentTargetIdException for service response error code 371 // "InvalidDeploymentTargetIdException". 372 // 373 // The target ID provided was not valid. 374 ErrCodeInvalidDeploymentTargetIdException = "InvalidDeploymentTargetIdException" 375 376 // ErrCodeInvalidDeploymentWaitTypeException for service response error code 377 // "InvalidDeploymentWaitTypeException". 378 // 379 // The wait type is invalid. 380 ErrCodeInvalidDeploymentWaitTypeException = "InvalidDeploymentWaitTypeException" 381 382 // ErrCodeInvalidEC2TagCombinationException for service response error code 383 // "InvalidEC2TagCombinationException". 384 // 385 // A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but 386 // only one of these data types can be used in a single call. 387 ErrCodeInvalidEC2TagCombinationException = "InvalidEC2TagCombinationException" 388 389 // ErrCodeInvalidEC2TagException for service response error code 390 // "InvalidEC2TagException". 391 // 392 // The tag was specified in an invalid format. 393 ErrCodeInvalidEC2TagException = "InvalidEC2TagException" 394 395 // ErrCodeInvalidECSServiceException for service response error code 396 // "InvalidECSServiceException". 397 // 398 // The Amazon ECS service identifier is not valid. 399 ErrCodeInvalidECSServiceException = "InvalidECSServiceException" 400 401 // ErrCodeInvalidExternalIdException for service response error code 402 // "InvalidExternalIdException". 403 // 404 // The external ID was specified in an invalid format. 405 ErrCodeInvalidExternalIdException = "InvalidExternalIdException" 406 407 // ErrCodeInvalidFileExistsBehaviorException for service response error code 408 // "InvalidFileExistsBehaviorException". 409 // 410 // An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy 411 // handles files or directories that already exist in a deployment target location, 412 // but weren't part of the previous successful deployment. Valid values include 413 // "DISALLOW," "OVERWRITE," and "RETAIN." 414 ErrCodeInvalidFileExistsBehaviorException = "InvalidFileExistsBehaviorException" 415 416 // ErrCodeInvalidGitHubAccountTokenException for service response error code 417 // "InvalidGitHubAccountTokenException". 418 // 419 // The GitHub token is not valid. 420 ErrCodeInvalidGitHubAccountTokenException = "InvalidGitHubAccountTokenException" 421 422 // ErrCodeInvalidGitHubAccountTokenNameException for service response error code 423 // "InvalidGitHubAccountTokenNameException". 424 // 425 // The format of the specified GitHub account connection name is invalid. 426 ErrCodeInvalidGitHubAccountTokenNameException = "InvalidGitHubAccountTokenNameException" 427 428 // ErrCodeInvalidIamSessionArnException for service response error code 429 // "InvalidIamSessionArnException". 430 // 431 // The IAM session ARN was specified in an invalid format. 432 ErrCodeInvalidIamSessionArnException = "InvalidIamSessionArnException" 433 434 // ErrCodeInvalidIamUserArnException for service response error code 435 // "InvalidIamUserArnException". 436 // 437 // The IAM user ARN was specified in an invalid format. 438 ErrCodeInvalidIamUserArnException = "InvalidIamUserArnException" 439 440 // ErrCodeInvalidIgnoreApplicationStopFailuresValueException for service response error code 441 // "InvalidIgnoreApplicationStopFailuresValueException". 442 // 443 // The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments, 444 // false is expected. For EC2/On-premises deployments, true or false is expected. 445 ErrCodeInvalidIgnoreApplicationStopFailuresValueException = "InvalidIgnoreApplicationStopFailuresValueException" 446 447 // ErrCodeInvalidInputException for service response error code 448 // "InvalidInputException". 449 // 450 // The input was specified in an invalid format. 451 ErrCodeInvalidInputException = "InvalidInputException" 452 453 // ErrCodeInvalidInstanceNameException for service response error code 454 // "InvalidInstanceNameException". 455 // 456 // The on-premises instance name was specified in an invalid format. 457 ErrCodeInvalidInstanceNameException = "InvalidInstanceNameException" 458 459 // ErrCodeInvalidInstanceStatusException for service response error code 460 // "InvalidInstanceStatusException". 461 // 462 // The specified instance status does not exist. 463 ErrCodeInvalidInstanceStatusException = "InvalidInstanceStatusException" 464 465 // ErrCodeInvalidInstanceTypeException for service response error code 466 // "InvalidInstanceTypeException". 467 // 468 // An invalid instance type was specified for instances in a blue/green deployment. 469 // Valid values include "Blue" for an original environment and "Green" for a 470 // replacement environment. 471 ErrCodeInvalidInstanceTypeException = "InvalidInstanceTypeException" 472 473 // ErrCodeInvalidKeyPrefixFilterException for service response error code 474 // "InvalidKeyPrefixFilterException". 475 // 476 // The specified key prefix filter was specified in an invalid format. 477 ErrCodeInvalidKeyPrefixFilterException = "InvalidKeyPrefixFilterException" 478 479 // ErrCodeInvalidLifecycleEventHookExecutionIdException for service response error code 480 // "InvalidLifecycleEventHookExecutionIdException". 481 // 482 // A lifecycle event hook is invalid. Review the hooks section in your AppSpec 483 // file to ensure the lifecycle events and hooks functions are valid. 484 ErrCodeInvalidLifecycleEventHookExecutionIdException = "InvalidLifecycleEventHookExecutionIdException" 485 486 // ErrCodeInvalidLifecycleEventHookExecutionStatusException for service response error code 487 // "InvalidLifecycleEventHookExecutionStatusException". 488 // 489 // The result of a Lambda validation function that verifies a lifecycle event 490 // is invalid. It should return Succeeded or Failed. 491 ErrCodeInvalidLifecycleEventHookExecutionStatusException = "InvalidLifecycleEventHookExecutionStatusException" 492 493 // ErrCodeInvalidLoadBalancerInfoException for service response error code 494 // "InvalidLoadBalancerInfoException". 495 // 496 // An invalid load balancer name, or no load balancer name, was specified. 497 ErrCodeInvalidLoadBalancerInfoException = "InvalidLoadBalancerInfoException" 498 499 // ErrCodeInvalidMinimumHealthyHostValueException for service response error code 500 // "InvalidMinimumHealthyHostValueException". 501 // 502 // The minimum healthy instance value was specified in an invalid format. 503 ErrCodeInvalidMinimumHealthyHostValueException = "InvalidMinimumHealthyHostValueException" 504 505 // ErrCodeInvalidNextTokenException for service response error code 506 // "InvalidNextTokenException". 507 // 508 // The next token was specified in an invalid format. 509 ErrCodeInvalidNextTokenException = "InvalidNextTokenException" 510 511 // ErrCodeInvalidOnPremisesTagCombinationException for service response error code 512 // "InvalidOnPremisesTagCombinationException". 513 // 514 // A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, 515 // but only one of these data types can be used in a single call. 516 ErrCodeInvalidOnPremisesTagCombinationException = "InvalidOnPremisesTagCombinationException" 517 518 // ErrCodeInvalidOperationException for service response error code 519 // "InvalidOperationException". 520 // 521 // An invalid operation was detected. 522 ErrCodeInvalidOperationException = "InvalidOperationException" 523 524 // ErrCodeInvalidRegistrationStatusException for service response error code 525 // "InvalidRegistrationStatusException". 526 // 527 // The registration status was specified in an invalid format. 528 ErrCodeInvalidRegistrationStatusException = "InvalidRegistrationStatusException" 529 530 // ErrCodeInvalidRevisionException for service response error code 531 // "InvalidRevisionException". 532 // 533 // The revision was specified in an invalid format. 534 ErrCodeInvalidRevisionException = "InvalidRevisionException" 535 536 // ErrCodeInvalidRoleException for service response error code 537 // "InvalidRoleException". 538 // 539 // The service role ARN was specified in an invalid format. Or, if an Auto Scaling 540 // group was specified, the specified service role does not grant the appropriate 541 // permissions to Amazon EC2 Auto Scaling. 542 ErrCodeInvalidRoleException = "InvalidRoleException" 543 544 // ErrCodeInvalidSortByException for service response error code 545 // "InvalidSortByException". 546 // 547 // The column name to sort by is either not present or was specified in an invalid 548 // format. 549 ErrCodeInvalidSortByException = "InvalidSortByException" 550 551 // ErrCodeInvalidSortOrderException for service response error code 552 // "InvalidSortOrderException". 553 // 554 // The sort order was specified in an invalid format. 555 ErrCodeInvalidSortOrderException = "InvalidSortOrderException" 556 557 // ErrCodeInvalidTagException for service response error code 558 // "InvalidTagException". 559 // 560 // The tag was specified in an invalid format. 561 ErrCodeInvalidTagException = "InvalidTagException" 562 563 // ErrCodeInvalidTagFilterException for service response error code 564 // "InvalidTagFilterException". 565 // 566 // The tag filter was specified in an invalid format. 567 ErrCodeInvalidTagFilterException = "InvalidTagFilterException" 568 569 // ErrCodeInvalidTagsToAddException for service response error code 570 // "InvalidTagsToAddException". 571 // 572 // The specified tags are not valid. 573 ErrCodeInvalidTagsToAddException = "InvalidTagsToAddException" 574 575 // ErrCodeInvalidTargetFilterNameException for service response error code 576 // "InvalidTargetFilterNameException". 577 // 578 // The target filter name is invalid. 579 ErrCodeInvalidTargetFilterNameException = "InvalidTargetFilterNameException" 580 581 // ErrCodeInvalidTargetGroupPairException for service response error code 582 // "InvalidTargetGroupPairException". 583 // 584 // A target group pair associated with this deployment is not valid. 585 ErrCodeInvalidTargetGroupPairException = "InvalidTargetGroupPairException" 586 587 // ErrCodeInvalidTargetInstancesException for service response error code 588 // "InvalidTargetInstancesException". 589 // 590 // The target instance configuration is invalid. Possible causes include: 591 // 592 // * Configuration data for target instances was entered for an in-place 593 // deployment. 594 // 595 // * The limit of 10 tags for a tag type was exceeded. 596 // 597 // * The combined length of the tag names exceeded the limit. 598 // 599 // * A specified tag is not currently applied to any instances. 600 ErrCodeInvalidTargetInstancesException = "InvalidTargetInstancesException" 601 602 // ErrCodeInvalidTimeRangeException for service response error code 603 // "InvalidTimeRangeException". 604 // 605 // The specified time range was specified in an invalid format. 606 ErrCodeInvalidTimeRangeException = "InvalidTimeRangeException" 607 608 // ErrCodeInvalidTrafficRoutingConfigurationException for service response error code 609 // "InvalidTrafficRoutingConfigurationException". 610 // 611 // The configuration that specifies how traffic is routed during a deployment 612 // is invalid. 613 ErrCodeInvalidTrafficRoutingConfigurationException = "InvalidTrafficRoutingConfigurationException" 614 615 // ErrCodeInvalidTriggerConfigException for service response error code 616 // "InvalidTriggerConfigException". 617 // 618 // The trigger was specified in an invalid format. 619 ErrCodeInvalidTriggerConfigException = "InvalidTriggerConfigException" 620 621 // ErrCodeInvalidUpdateOutdatedInstancesOnlyValueException for service response error code 622 // "InvalidUpdateOutdatedInstancesOnlyValueException". 623 // 624 // The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments, 625 // false is expected. For EC2/On-premises deployments, true or false is expected. 626 ErrCodeInvalidUpdateOutdatedInstancesOnlyValueException = "InvalidUpdateOutdatedInstancesOnlyValueException" 627 628 // ErrCodeLifecycleEventAlreadyCompletedException for service response error code 629 // "LifecycleEventAlreadyCompletedException". 630 // 631 // An attempt to return the status of an already completed lifecycle event occurred. 632 ErrCodeLifecycleEventAlreadyCompletedException = "LifecycleEventAlreadyCompletedException" 633 634 // ErrCodeLifecycleHookLimitExceededException for service response error code 635 // "LifecycleHookLimitExceededException". 636 // 637 // The limit for lifecycle hooks was exceeded. 638 ErrCodeLifecycleHookLimitExceededException = "LifecycleHookLimitExceededException" 639 640 // ErrCodeMultipleIamArnsProvidedException for service response error code 641 // "MultipleIamArnsProvidedException". 642 // 643 // Both an IAM user ARN and an IAM session ARN were included in the request. 644 // Use only one ARN type. 645 ErrCodeMultipleIamArnsProvidedException = "MultipleIamArnsProvidedException" 646 647 // ErrCodeOperationNotSupportedException for service response error code 648 // "OperationNotSupportedException". 649 // 650 // The API used does not support the deployment. 651 ErrCodeOperationNotSupportedException = "OperationNotSupportedException" 652 653 // ErrCodeResourceArnRequiredException for service response error code 654 // "ResourceArnRequiredException". 655 // 656 // The ARN of a resource is required, but was not found. 657 ErrCodeResourceArnRequiredException = "ResourceArnRequiredException" 658 659 // ErrCodeResourceValidationException for service response error code 660 // "ResourceValidationException". 661 // 662 // The specified resource could not be validated. 663 ErrCodeResourceValidationException = "ResourceValidationException" 664 665 // ErrCodeRevisionDoesNotExistException for service response error code 666 // "RevisionDoesNotExistException". 667 // 668 // The named revision does not exist with the IAM user or AWS account. 669 ErrCodeRevisionDoesNotExistException = "RevisionDoesNotExistException" 670 671 // ErrCodeRevisionRequiredException for service response error code 672 // "RevisionRequiredException". 673 // 674 // The revision ID was not specified. 675 ErrCodeRevisionRequiredException = "RevisionRequiredException" 676 677 // ErrCodeRoleRequiredException for service response error code 678 // "RoleRequiredException". 679 // 680 // The role ID was not specified. 681 ErrCodeRoleRequiredException = "RoleRequiredException" 682 683 // ErrCodeTagLimitExceededException for service response error code 684 // "TagLimitExceededException". 685 // 686 // The maximum allowed number of tags was exceeded. 687 ErrCodeTagLimitExceededException = "TagLimitExceededException" 688 689 // ErrCodeTagRequiredException for service response error code 690 // "TagRequiredException". 691 // 692 // A tag was not specified. 693 ErrCodeTagRequiredException = "TagRequiredException" 694 695 // ErrCodeTagSetListLimitExceededException for service response error code 696 // "TagSetListLimitExceededException". 697 // 698 // The number of tag groups included in the tag set list exceeded the maximum 699 // allowed limit of 3. 700 ErrCodeTagSetListLimitExceededException = "TagSetListLimitExceededException" 701 702 // ErrCodeThrottlingException for service response error code 703 // "ThrottlingException". 704 // 705 // An API function was called too frequently. 706 ErrCodeThrottlingException = "ThrottlingException" 707 708 // ErrCodeTriggerTargetsLimitExceededException for service response error code 709 // "TriggerTargetsLimitExceededException". 710 // 711 // The maximum allowed number of triggers was exceeded. 712 ErrCodeTriggerTargetsLimitExceededException = "TriggerTargetsLimitExceededException" 713 714 // ErrCodeUnsupportedActionForDeploymentTypeException for service response error code 715 // "UnsupportedActionForDeploymentTypeException". 716 // 717 // A call was submitted that is not supported for the specified deployment type. 718 ErrCodeUnsupportedActionForDeploymentTypeException = "UnsupportedActionForDeploymentTypeException" 719) 720 721var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 722 "AlarmsLimitExceededException": newErrorAlarmsLimitExceededException, 723 "ApplicationAlreadyExistsException": newErrorApplicationAlreadyExistsException, 724 "ApplicationDoesNotExistException": newErrorApplicationDoesNotExistException, 725 "ApplicationLimitExceededException": newErrorApplicationLimitExceededException, 726 "ApplicationNameRequiredException": newErrorApplicationNameRequiredException, 727 "ArnNotSupportedException": newErrorArnNotSupportedException, 728 "BatchLimitExceededException": newErrorBatchLimitExceededException, 729 "BucketNameFilterRequiredException": newErrorBucketNameFilterRequiredException, 730 "DeploymentAlreadyCompletedException": newErrorDeploymentAlreadyCompletedException, 731 "DeploymentConfigAlreadyExistsException": newErrorDeploymentConfigAlreadyExistsException, 732 "DeploymentConfigDoesNotExistException": newErrorDeploymentConfigDoesNotExistException, 733 "DeploymentConfigInUseException": newErrorDeploymentConfigInUseException, 734 "DeploymentConfigLimitExceededException": newErrorDeploymentConfigLimitExceededException, 735 "DeploymentConfigNameRequiredException": newErrorDeploymentConfigNameRequiredException, 736 "DeploymentDoesNotExistException": newErrorDeploymentDoesNotExistException, 737 "DeploymentGroupAlreadyExistsException": newErrorDeploymentGroupAlreadyExistsException, 738 "DeploymentGroupDoesNotExistException": newErrorDeploymentGroupDoesNotExistException, 739 "DeploymentGroupLimitExceededException": newErrorDeploymentGroupLimitExceededException, 740 "DeploymentGroupNameRequiredException": newErrorDeploymentGroupNameRequiredException, 741 "DeploymentIdRequiredException": newErrorDeploymentIdRequiredException, 742 "DeploymentIsNotInReadyStateException": newErrorDeploymentIsNotInReadyStateException, 743 "DeploymentLimitExceededException": newErrorDeploymentLimitExceededException, 744 "DeploymentNotStartedException": newErrorDeploymentNotStartedException, 745 "DeploymentTargetDoesNotExistException": newErrorDeploymentTargetDoesNotExistException, 746 "DeploymentTargetIdRequiredException": newErrorDeploymentTargetIdRequiredException, 747 "DeploymentTargetListSizeExceededException": newErrorDeploymentTargetListSizeExceededException, 748 "DescriptionTooLongException": newErrorDescriptionTooLongException, 749 "ECSServiceMappingLimitExceededException": newErrorECSServiceMappingLimitExceededException, 750 "GitHubAccountTokenDoesNotExistException": newErrorGitHubAccountTokenDoesNotExistException, 751 "GitHubAccountTokenNameRequiredException": newErrorGitHubAccountTokenNameRequiredException, 752 "IamArnRequiredException": newErrorIamArnRequiredException, 753 "IamSessionArnAlreadyRegisteredException": newErrorIamSessionArnAlreadyRegisteredException, 754 "IamUserArnAlreadyRegisteredException": newErrorIamUserArnAlreadyRegisteredException, 755 "IamUserArnRequiredException": newErrorIamUserArnRequiredException, 756 "InstanceDoesNotExistException": newErrorInstanceDoesNotExistException, 757 "InstanceIdRequiredException": newErrorInstanceIdRequiredException, 758 "InstanceLimitExceededException": newErrorInstanceLimitExceededException, 759 "InstanceNameAlreadyRegisteredException": newErrorInstanceNameAlreadyRegisteredException, 760 "InstanceNameRequiredException": newErrorInstanceNameRequiredException, 761 "InstanceNotRegisteredException": newErrorInstanceNotRegisteredException, 762 "InvalidAlarmConfigException": newErrorInvalidAlarmConfigException, 763 "InvalidApplicationNameException": newErrorInvalidApplicationNameException, 764 "InvalidArnException": newErrorInvalidArnException, 765 "InvalidAutoRollbackConfigException": newErrorInvalidAutoRollbackConfigException, 766 "InvalidAutoScalingGroupException": newErrorInvalidAutoScalingGroupException, 767 "InvalidBlueGreenDeploymentConfigurationException": newErrorInvalidBlueGreenDeploymentConfigurationException, 768 "InvalidBucketNameFilterException": newErrorInvalidBucketNameFilterException, 769 "InvalidComputePlatformException": newErrorInvalidComputePlatformException, 770 "InvalidDeployedStateFilterException": newErrorInvalidDeployedStateFilterException, 771 "InvalidDeploymentConfigNameException": newErrorInvalidDeploymentConfigNameException, 772 "InvalidDeploymentGroupNameException": newErrorInvalidDeploymentGroupNameException, 773 "InvalidDeploymentIdException": newErrorInvalidDeploymentIdException, 774 "InvalidDeploymentInstanceTypeException": newErrorInvalidDeploymentInstanceTypeException, 775 "InvalidDeploymentStatusException": newErrorInvalidDeploymentStatusException, 776 "InvalidDeploymentStyleException": newErrorInvalidDeploymentStyleException, 777 "InvalidDeploymentTargetIdException": newErrorInvalidDeploymentTargetIdException, 778 "InvalidDeploymentWaitTypeException": newErrorInvalidDeploymentWaitTypeException, 779 "InvalidEC2TagCombinationException": newErrorInvalidEC2TagCombinationException, 780 "InvalidEC2TagException": newErrorInvalidEC2TagException, 781 "InvalidECSServiceException": newErrorInvalidECSServiceException, 782 "InvalidExternalIdException": newErrorInvalidExternalIdException, 783 "InvalidFileExistsBehaviorException": newErrorInvalidFileExistsBehaviorException, 784 "InvalidGitHubAccountTokenException": newErrorInvalidGitHubAccountTokenException, 785 "InvalidGitHubAccountTokenNameException": newErrorInvalidGitHubAccountTokenNameException, 786 "InvalidIamSessionArnException": newErrorInvalidIamSessionArnException, 787 "InvalidIamUserArnException": newErrorInvalidIamUserArnException, 788 "InvalidIgnoreApplicationStopFailuresValueException": newErrorInvalidIgnoreApplicationStopFailuresValueException, 789 "InvalidInputException": newErrorInvalidInputException, 790 "InvalidInstanceNameException": newErrorInvalidInstanceNameException, 791 "InvalidInstanceStatusException": newErrorInvalidInstanceStatusException, 792 "InvalidInstanceTypeException": newErrorInvalidInstanceTypeException, 793 "InvalidKeyPrefixFilterException": newErrorInvalidKeyPrefixFilterException, 794 "InvalidLifecycleEventHookExecutionIdException": newErrorInvalidLifecycleEventHookExecutionIdException, 795 "InvalidLifecycleEventHookExecutionStatusException": newErrorInvalidLifecycleEventHookExecutionStatusException, 796 "InvalidLoadBalancerInfoException": newErrorInvalidLoadBalancerInfoException, 797 "InvalidMinimumHealthyHostValueException": newErrorInvalidMinimumHealthyHostValueException, 798 "InvalidNextTokenException": newErrorInvalidNextTokenException, 799 "InvalidOnPremisesTagCombinationException": newErrorInvalidOnPremisesTagCombinationException, 800 "InvalidOperationException": newErrorInvalidOperationException, 801 "InvalidRegistrationStatusException": newErrorInvalidRegistrationStatusException, 802 "InvalidRevisionException": newErrorInvalidRevisionException, 803 "InvalidRoleException": newErrorInvalidRoleException, 804 "InvalidSortByException": newErrorInvalidSortByException, 805 "InvalidSortOrderException": newErrorInvalidSortOrderException, 806 "InvalidTagException": newErrorInvalidTagException, 807 "InvalidTagFilterException": newErrorInvalidTagFilterException, 808 "InvalidTagsToAddException": newErrorInvalidTagsToAddException, 809 "InvalidTargetFilterNameException": newErrorInvalidTargetFilterNameException, 810 "InvalidTargetGroupPairException": newErrorInvalidTargetGroupPairException, 811 "InvalidTargetInstancesException": newErrorInvalidTargetInstancesException, 812 "InvalidTimeRangeException": newErrorInvalidTimeRangeException, 813 "InvalidTrafficRoutingConfigurationException": newErrorInvalidTrafficRoutingConfigurationException, 814 "InvalidTriggerConfigException": newErrorInvalidTriggerConfigException, 815 "InvalidUpdateOutdatedInstancesOnlyValueException": newErrorInvalidUpdateOutdatedInstancesOnlyValueException, 816 "LifecycleEventAlreadyCompletedException": newErrorLifecycleEventAlreadyCompletedException, 817 "LifecycleHookLimitExceededException": newErrorLifecycleHookLimitExceededException, 818 "MultipleIamArnsProvidedException": newErrorMultipleIamArnsProvidedException, 819 "OperationNotSupportedException": newErrorOperationNotSupportedException, 820 "ResourceArnRequiredException": newErrorResourceArnRequiredException, 821 "ResourceValidationException": newErrorResourceValidationException, 822 "RevisionDoesNotExistException": newErrorRevisionDoesNotExistException, 823 "RevisionRequiredException": newErrorRevisionRequiredException, 824 "RoleRequiredException": newErrorRoleRequiredException, 825 "TagLimitExceededException": newErrorTagLimitExceededException, 826 "TagRequiredException": newErrorTagRequiredException, 827 "TagSetListLimitExceededException": newErrorTagSetListLimitExceededException, 828 "ThrottlingException": newErrorThrottlingException, 829 "TriggerTargetsLimitExceededException": newErrorTriggerTargetsLimitExceededException, 830 "UnsupportedActionForDeploymentTypeException": newErrorUnsupportedActionForDeploymentTypeException, 831} 832