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