@aws-sdk/client-codedeploy 3.1119.0 → 3.1120.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +45 -39
- package/dist-es/models/enums.js +4 -0
- package/dist-es/models/errors.js +36 -36
- package/dist-es/schemas/schemas_0.js +3 -2
- package/dist-types/commands/CreateApplicationCommand.d.ts +3 -0
- package/dist-types/commands/CreateDeploymentCommand.d.ts +10 -0
- package/dist-types/commands/ListDeploymentInstancesCommand.d.ts +7 -0
- package/dist-types/commands/ListDeploymentTargetsCommand.d.ts +7 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/errors.d.ts +36 -36
- package/dist-types/models/models_0.d.ts +6 -1
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/errors.d.ts +15 -15
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1119.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -594,6 +594,18 @@ class InvalidTagsToAddException extends CodeDeployServiceException {
|
|
|
594
594
|
Object.setPrototypeOf(this, InvalidTagsToAddException.prototype);
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
+
class ThrottlingException extends CodeDeployServiceException {
|
|
598
|
+
name = "ThrottlingException";
|
|
599
|
+
$fault = "client";
|
|
600
|
+
constructor(opts) {
|
|
601
|
+
super({
|
|
602
|
+
name: "ThrottlingException",
|
|
603
|
+
$fault: "client",
|
|
604
|
+
...opts,
|
|
605
|
+
});
|
|
606
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
607
|
+
}
|
|
608
|
+
}
|
|
597
609
|
class DeploymentGroupDoesNotExistException extends CodeDeployServiceException {
|
|
598
610
|
name = "DeploymentGroupDoesNotExistException";
|
|
599
611
|
$fault = "client";
|
|
@@ -678,6 +690,18 @@ class InvalidDeploymentConfigNameException extends CodeDeployServiceException {
|
|
|
678
690
|
Object.setPrototypeOf(this, InvalidDeploymentConfigNameException.prototype);
|
|
679
691
|
}
|
|
680
692
|
}
|
|
693
|
+
class InvalidECSServiceException extends CodeDeployServiceException {
|
|
694
|
+
name = "InvalidECSServiceException";
|
|
695
|
+
$fault = "client";
|
|
696
|
+
constructor(opts) {
|
|
697
|
+
super({
|
|
698
|
+
name: "InvalidECSServiceException",
|
|
699
|
+
$fault: "client",
|
|
700
|
+
...opts,
|
|
701
|
+
});
|
|
702
|
+
Object.setPrototypeOf(this, InvalidECSServiceException.prototype);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
681
705
|
class InvalidFileExistsBehaviorException extends CodeDeployServiceException {
|
|
682
706
|
name = "InvalidFileExistsBehaviorException";
|
|
683
707
|
$fault = "client";
|
|
@@ -714,6 +738,18 @@ class InvalidIgnoreApplicationStopFailuresValueException extends CodeDeployServi
|
|
|
714
738
|
Object.setPrototypeOf(this, InvalidIgnoreApplicationStopFailuresValueException.prototype);
|
|
715
739
|
}
|
|
716
740
|
}
|
|
741
|
+
class InvalidInputException extends CodeDeployServiceException {
|
|
742
|
+
name = "InvalidInputException";
|
|
743
|
+
$fault = "client";
|
|
744
|
+
constructor(opts) {
|
|
745
|
+
super({
|
|
746
|
+
name: "InvalidInputException",
|
|
747
|
+
$fault: "client",
|
|
748
|
+
...opts,
|
|
749
|
+
});
|
|
750
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
751
|
+
}
|
|
752
|
+
}
|
|
717
753
|
class InvalidLoadBalancerInfoException extends CodeDeployServiceException {
|
|
718
754
|
name = "InvalidLoadBalancerInfoException";
|
|
719
755
|
$fault = "client";
|
|
@@ -786,18 +822,6 @@ class RevisionDoesNotExistException extends CodeDeployServiceException {
|
|
|
786
822
|
Object.setPrototypeOf(this, RevisionDoesNotExistException.prototype);
|
|
787
823
|
}
|
|
788
824
|
}
|
|
789
|
-
class ThrottlingException extends CodeDeployServiceException {
|
|
790
|
-
name = "ThrottlingException";
|
|
791
|
-
$fault = "client";
|
|
792
|
-
constructor(opts) {
|
|
793
|
-
super({
|
|
794
|
-
name: "ThrottlingException",
|
|
795
|
-
$fault: "client",
|
|
796
|
-
...opts,
|
|
797
|
-
});
|
|
798
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
825
|
class DeploymentConfigAlreadyExistsException extends CodeDeployServiceException {
|
|
802
826
|
name = "DeploymentConfigAlreadyExistsException";
|
|
803
827
|
$fault = "client";
|
|
@@ -942,30 +966,6 @@ class InvalidEC2TagException extends CodeDeployServiceException {
|
|
|
942
966
|
Object.setPrototypeOf(this, InvalidEC2TagException.prototype);
|
|
943
967
|
}
|
|
944
968
|
}
|
|
945
|
-
class InvalidECSServiceException extends CodeDeployServiceException {
|
|
946
|
-
name = "InvalidECSServiceException";
|
|
947
|
-
$fault = "client";
|
|
948
|
-
constructor(opts) {
|
|
949
|
-
super({
|
|
950
|
-
name: "InvalidECSServiceException",
|
|
951
|
-
$fault: "client",
|
|
952
|
-
...opts,
|
|
953
|
-
});
|
|
954
|
-
Object.setPrototypeOf(this, InvalidECSServiceException.prototype);
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
class InvalidInputException extends CodeDeployServiceException {
|
|
958
|
-
name = "InvalidInputException";
|
|
959
|
-
$fault = "client";
|
|
960
|
-
constructor(opts) {
|
|
961
|
-
super({
|
|
962
|
-
name: "InvalidInputException",
|
|
963
|
-
$fault: "client",
|
|
964
|
-
...opts,
|
|
965
|
-
});
|
|
966
|
-
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
969
|
class InvalidOnPremisesTagCombinationException extends CodeDeployServiceException {
|
|
970
970
|
name = "InvalidOnPremisesTagCombinationException";
|
|
971
971
|
$fault = "client";
|
|
@@ -1843,6 +1843,7 @@ const _dI = "deploymentId";
|
|
|
1843
1843
|
const _dIe = "deploymentIds";
|
|
1844
1844
|
const _dIep = "deploymentsInfo";
|
|
1845
1845
|
const _dIepl = "deploymentInfo";
|
|
1846
|
+
const _dM = "deploymentMode";
|
|
1846
1847
|
const _dO = "deploymentOverview";
|
|
1847
1848
|
const _dOe = "deploymentOption";
|
|
1848
1849
|
const _dRO = "deploymentReadyOption";
|
|
@@ -2831,8 +2832,8 @@ var CreateDeploymentGroupOutput$ = [3, n0, _CDGO,
|
|
|
2831
2832
|
];
|
|
2832
2833
|
var CreateDeploymentInput$ = [3, n0, _CDIr,
|
|
2833
2834
|
0,
|
|
2834
|
-
[_aN, _dGNe, _re, _dCN, _d, _iASF, _tIar, _aRC, _uOIO, _fEB, _oAC],
|
|
2835
|
-
[0, 0, () => RevisionLocation$, 0, 0, 2, () => TargetInstances$, () => AutoRollbackConfiguration$, 2, 0, () => AlarmConfiguration$], 1
|
|
2835
|
+
[_aN, _dGNe, _re, _dCN, _d, _iASF, _tIar, _aRC, _uOIO, _fEB, _dM, _oAC],
|
|
2836
|
+
[0, 0, () => RevisionLocation$, 0, 0, 2, () => TargetInstances$, () => AutoRollbackConfiguration$, 2, 0, 0, () => AlarmConfiguration$], 1
|
|
2836
2837
|
];
|
|
2837
2838
|
var CreateDeploymentOutput$ = [3, n0, _CDO,
|
|
2838
2839
|
0,
|
|
@@ -4186,6 +4187,10 @@ const DeploymentWaitType = {
|
|
|
4186
4187
|
READY_WAIT: "READY_WAIT",
|
|
4187
4188
|
TERMINATION_WAIT: "TERMINATION_WAIT",
|
|
4188
4189
|
};
|
|
4190
|
+
const DeploymentMode = {
|
|
4191
|
+
RESTART: "RESTART",
|
|
4192
|
+
STANDARD: "STANDARD",
|
|
4193
|
+
};
|
|
4189
4194
|
const MinimumHealthyHostsType = {
|
|
4190
4195
|
FLEET_PERCENT: "FLEET_PERCENT",
|
|
4191
4196
|
HOST_COUNT: "HOST_COUNT",
|
|
@@ -4354,6 +4359,7 @@ exports.DeploymentIsNotInReadyStateException = DeploymentIsNotInReadyStateExcept
|
|
|
4354
4359
|
exports.DeploymentIsNotInReadyStateException$ = DeploymentIsNotInReadyStateException$;
|
|
4355
4360
|
exports.DeploymentLimitExceededException = DeploymentLimitExceededException;
|
|
4356
4361
|
exports.DeploymentLimitExceededException$ = DeploymentLimitExceededException$;
|
|
4362
|
+
exports.DeploymentMode = DeploymentMode;
|
|
4357
4363
|
exports.DeploymentNotStartedException = DeploymentNotStartedException;
|
|
4358
4364
|
exports.DeploymentNotStartedException$ = DeploymentNotStartedException$;
|
|
4359
4365
|
exports.DeploymentOption = DeploymentOption;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -185,6 +185,10 @@ export const DeploymentWaitType = {
|
|
|
185
185
|
READY_WAIT: "READY_WAIT",
|
|
186
186
|
TERMINATION_WAIT: "TERMINATION_WAIT",
|
|
187
187
|
};
|
|
188
|
+
export const DeploymentMode = {
|
|
189
|
+
RESTART: "RESTART",
|
|
190
|
+
STANDARD: "STANDARD",
|
|
191
|
+
};
|
|
188
192
|
export const MinimumHealthyHostsType = {
|
|
189
193
|
FLEET_PERCENT: "FLEET_PERCENT",
|
|
190
194
|
HOST_COUNT: "HOST_COUNT",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -455,6 +455,18 @@ export class InvalidTagsToAddException extends __BaseException {
|
|
|
455
455
|
Object.setPrototypeOf(this, InvalidTagsToAddException.prototype);
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
|
+
export class ThrottlingException extends __BaseException {
|
|
459
|
+
name = "ThrottlingException";
|
|
460
|
+
$fault = "client";
|
|
461
|
+
constructor(opts) {
|
|
462
|
+
super({
|
|
463
|
+
name: "ThrottlingException",
|
|
464
|
+
$fault: "client",
|
|
465
|
+
...opts,
|
|
466
|
+
});
|
|
467
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
458
470
|
export class DeploymentGroupDoesNotExistException extends __BaseException {
|
|
459
471
|
name = "DeploymentGroupDoesNotExistException";
|
|
460
472
|
$fault = "client";
|
|
@@ -539,6 +551,18 @@ export class InvalidDeploymentConfigNameException extends __BaseException {
|
|
|
539
551
|
Object.setPrototypeOf(this, InvalidDeploymentConfigNameException.prototype);
|
|
540
552
|
}
|
|
541
553
|
}
|
|
554
|
+
export class InvalidECSServiceException extends __BaseException {
|
|
555
|
+
name = "InvalidECSServiceException";
|
|
556
|
+
$fault = "client";
|
|
557
|
+
constructor(opts) {
|
|
558
|
+
super({
|
|
559
|
+
name: "InvalidECSServiceException",
|
|
560
|
+
$fault: "client",
|
|
561
|
+
...opts,
|
|
562
|
+
});
|
|
563
|
+
Object.setPrototypeOf(this, InvalidECSServiceException.prototype);
|
|
564
|
+
}
|
|
565
|
+
}
|
|
542
566
|
export class InvalidFileExistsBehaviorException extends __BaseException {
|
|
543
567
|
name = "InvalidFileExistsBehaviorException";
|
|
544
568
|
$fault = "client";
|
|
@@ -575,6 +599,18 @@ export class InvalidIgnoreApplicationStopFailuresValueException extends __BaseEx
|
|
|
575
599
|
Object.setPrototypeOf(this, InvalidIgnoreApplicationStopFailuresValueException.prototype);
|
|
576
600
|
}
|
|
577
601
|
}
|
|
602
|
+
export class InvalidInputException extends __BaseException {
|
|
603
|
+
name = "InvalidInputException";
|
|
604
|
+
$fault = "client";
|
|
605
|
+
constructor(opts) {
|
|
606
|
+
super({
|
|
607
|
+
name: "InvalidInputException",
|
|
608
|
+
$fault: "client",
|
|
609
|
+
...opts,
|
|
610
|
+
});
|
|
611
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
612
|
+
}
|
|
613
|
+
}
|
|
578
614
|
export class InvalidLoadBalancerInfoException extends __BaseException {
|
|
579
615
|
name = "InvalidLoadBalancerInfoException";
|
|
580
616
|
$fault = "client";
|
|
@@ -647,18 +683,6 @@ export class RevisionDoesNotExistException extends __BaseException {
|
|
|
647
683
|
Object.setPrototypeOf(this, RevisionDoesNotExistException.prototype);
|
|
648
684
|
}
|
|
649
685
|
}
|
|
650
|
-
export class ThrottlingException extends __BaseException {
|
|
651
|
-
name = "ThrottlingException";
|
|
652
|
-
$fault = "client";
|
|
653
|
-
constructor(opts) {
|
|
654
|
-
super({
|
|
655
|
-
name: "ThrottlingException",
|
|
656
|
-
$fault: "client",
|
|
657
|
-
...opts,
|
|
658
|
-
});
|
|
659
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
686
|
export class DeploymentConfigAlreadyExistsException extends __BaseException {
|
|
663
687
|
name = "DeploymentConfigAlreadyExistsException";
|
|
664
688
|
$fault = "client";
|
|
@@ -803,30 +827,6 @@ export class InvalidEC2TagException extends __BaseException {
|
|
|
803
827
|
Object.setPrototypeOf(this, InvalidEC2TagException.prototype);
|
|
804
828
|
}
|
|
805
829
|
}
|
|
806
|
-
export class InvalidECSServiceException extends __BaseException {
|
|
807
|
-
name = "InvalidECSServiceException";
|
|
808
|
-
$fault = "client";
|
|
809
|
-
constructor(opts) {
|
|
810
|
-
super({
|
|
811
|
-
name: "InvalidECSServiceException",
|
|
812
|
-
$fault: "client",
|
|
813
|
-
...opts,
|
|
814
|
-
});
|
|
815
|
-
Object.setPrototypeOf(this, InvalidECSServiceException.prototype);
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
export class InvalidInputException extends __BaseException {
|
|
819
|
-
name = "InvalidInputException";
|
|
820
|
-
$fault = "client";
|
|
821
|
-
constructor(opts) {
|
|
822
|
-
super({
|
|
823
|
-
name: "InvalidInputException",
|
|
824
|
-
$fault: "client",
|
|
825
|
-
...opts,
|
|
826
|
-
});
|
|
827
|
-
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
830
|
export class InvalidOnPremisesTagCombinationException extends __BaseException {
|
|
831
831
|
name = "InvalidOnPremisesTagCombinationException";
|
|
832
832
|
$fault = "client";
|
|
@@ -382,6 +382,7 @@ const _dI = "deploymentId";
|
|
|
382
382
|
const _dIe = "deploymentIds";
|
|
383
383
|
const _dIep = "deploymentsInfo";
|
|
384
384
|
const _dIepl = "deploymentInfo";
|
|
385
|
+
const _dM = "deploymentMode";
|
|
385
386
|
const _dO = "deploymentOverview";
|
|
386
387
|
const _dOe = "deploymentOption";
|
|
387
388
|
const _dRO = "deploymentReadyOption";
|
|
@@ -1373,8 +1374,8 @@ export var CreateDeploymentGroupOutput$ = [3, n0, _CDGO,
|
|
|
1373
1374
|
];
|
|
1374
1375
|
export var CreateDeploymentInput$ = [3, n0, _CDIr,
|
|
1375
1376
|
0,
|
|
1376
|
-
[_aN, _dGNe, _re, _dCN, _d, _iASF, _tIar, _aRC, _uOIO, _fEB, _oAC],
|
|
1377
|
-
[0, 0, () => RevisionLocation$, 0, 0, 2, () => TargetInstances$, () => AutoRollbackConfiguration$, 2, 0, () => AlarmConfiguration$], 1
|
|
1377
|
+
[_aN, _dGNe, _re, _dCN, _d, _iASF, _tIar, _aRC, _uOIO, _fEB, _dM, _oAC],
|
|
1378
|
+
[0, 0, () => RevisionLocation$, 0, 0, 2, () => TargetInstances$, () => AutoRollbackConfiguration$, 2, 0, 0, () => AlarmConfiguration$], 1
|
|
1378
1379
|
];
|
|
1379
1380
|
export var CreateDeploymentOutput$ = [3, n0, _CDO,
|
|
1380
1381
|
0,
|
|
@@ -76,6 +76,9 @@ declare const CreateApplicationCommand_base: {
|
|
|
76
76
|
* @throws {@link InvalidTagsToAddException} (client fault)
|
|
77
77
|
* <p> The specified tags are not valid. </p>
|
|
78
78
|
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>An API function was called too frequently.</p>
|
|
81
|
+
*
|
|
79
82
|
* @throws {@link CodeDeployServiceException}
|
|
80
83
|
* <p>Base exception class for all service exceptions from CodeDeploy service.</p>
|
|
81
84
|
*
|
|
@@ -92,6 +92,7 @@ declare const CreateDeploymentCommand_base: {
|
|
|
92
92
|
* },
|
|
93
93
|
* updateOutdatedInstancesOnly: true || false,
|
|
94
94
|
* fileExistsBehavior: "DISALLOW" || "OVERWRITE" || "RETAIN",
|
|
95
|
+
* deploymentMode: "STANDARD" || "RESTART",
|
|
95
96
|
* overrideAlarmConfiguration: { // AlarmConfiguration
|
|
96
97
|
* enabled: true || false,
|
|
97
98
|
* ignorePollAlarmFailure: true || false,
|
|
@@ -173,12 +174,18 @@ declare const CreateDeploymentCommand_base: {
|
|
|
173
174
|
* <p>The Auto Scaling group was specified in an invalid format or does not
|
|
174
175
|
* exist.</p>
|
|
175
176
|
*
|
|
177
|
+
* @throws {@link InvalidComputePlatformException} (client fault)
|
|
178
|
+
* <p>The computePlatform is invalid. The computePlatform should be <code>Lambda</code>, <code>Server</code>, or <code>ECS</code>.</p>
|
|
179
|
+
*
|
|
176
180
|
* @throws {@link InvalidDeploymentConfigNameException} (client fault)
|
|
177
181
|
* <p>The deployment configuration name was specified in an invalid format.</p>
|
|
178
182
|
*
|
|
179
183
|
* @throws {@link InvalidDeploymentGroupNameException} (client fault)
|
|
180
184
|
* <p>The deployment group name was specified in an invalid format.</p>
|
|
181
185
|
*
|
|
186
|
+
* @throws {@link InvalidECSServiceException} (client fault)
|
|
187
|
+
* <p> The Amazon ECS service identifier is not valid. </p>
|
|
188
|
+
*
|
|
182
189
|
* @throws {@link InvalidFileExistsBehaviorException} (client fault)
|
|
183
190
|
* <p>An invalid fileExistsBehavior option was specified to determine how CodeDeploy handles files or directories that already exist in a deployment
|
|
184
191
|
* target location, but weren't part of the previous successful deployment. Valid values
|
|
@@ -192,6 +199,9 @@ declare const CreateDeploymentCommand_base: {
|
|
|
192
199
|
* deployments, <code>false</code> is expected. For EC2/On-premises deployments,
|
|
193
200
|
* <code>true</code> or <code>false</code> is expected.</p>
|
|
194
201
|
*
|
|
202
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
203
|
+
* <p>The input was specified in an invalid format.</p>
|
|
204
|
+
*
|
|
195
205
|
* @throws {@link InvalidLoadBalancerInfoException} (client fault)
|
|
196
206
|
* <p>An invalid load balancer name, or no load balancer name, was specified.</p>
|
|
197
207
|
*
|
|
@@ -68,9 +68,16 @@ declare const ListDeploymentInstancesCommand_base: {
|
|
|
68
68
|
* @see {@link ListDeploymentInstancesCommandOutput} for command's `response` shape.
|
|
69
69
|
* @see {@link CodeDeployClientResolvedConfig | config} for CodeDeployClient's `config` shape.
|
|
70
70
|
*
|
|
71
|
+
* @throws {@link ApplicationDoesNotExistException} (client fault)
|
|
72
|
+
* <p>The application does not exist with the user or Amazon Web Services account.</p>
|
|
73
|
+
*
|
|
71
74
|
* @throws {@link DeploymentDoesNotExistException} (client fault)
|
|
72
75
|
* <p>The deployment with the user or Amazon Web Services account does not exist.</p>
|
|
73
76
|
*
|
|
77
|
+
* @throws {@link DeploymentGroupDoesNotExistException} (client fault)
|
|
78
|
+
* <p>The named deployment group with the user or Amazon Web Services account does not
|
|
79
|
+
* exist.</p>
|
|
80
|
+
*
|
|
74
81
|
* @throws {@link DeploymentIdRequiredException} (client fault)
|
|
75
82
|
* <p>At least one deployment ID must be specified.</p>
|
|
76
83
|
*
|
|
@@ -59,9 +59,16 @@ declare const ListDeploymentTargetsCommand_base: {
|
|
|
59
59
|
* @see {@link ListDeploymentTargetsCommandOutput} for command's `response` shape.
|
|
60
60
|
* @see {@link CodeDeployClientResolvedConfig | config} for CodeDeployClient's `config` shape.
|
|
61
61
|
*
|
|
62
|
+
* @throws {@link ApplicationDoesNotExistException} (client fault)
|
|
63
|
+
* <p>The application does not exist with the user or Amazon Web Services account.</p>
|
|
64
|
+
*
|
|
62
65
|
* @throws {@link DeploymentDoesNotExistException} (client fault)
|
|
63
66
|
* <p>The deployment with the user or Amazon Web Services account does not exist.</p>
|
|
64
67
|
*
|
|
68
|
+
* @throws {@link DeploymentGroupDoesNotExistException} (client fault)
|
|
69
|
+
* <p>The named deployment group with the user or Amazon Web Services account does not
|
|
70
|
+
* exist.</p>
|
|
71
|
+
*
|
|
65
72
|
* @throws {@link DeploymentIdRequiredException} (client fault)
|
|
66
73
|
* <p>At least one deployment ID must be specified.</p>
|
|
67
74
|
*
|
|
@@ -393,6 +393,18 @@ export declare const DeploymentWaitType: {
|
|
|
393
393
|
* @public
|
|
394
394
|
*/
|
|
395
395
|
export type DeploymentWaitType = (typeof DeploymentWaitType)[keyof typeof DeploymentWaitType];
|
|
396
|
+
/**
|
|
397
|
+
* @public
|
|
398
|
+
* @enum
|
|
399
|
+
*/
|
|
400
|
+
export declare const DeploymentMode: {
|
|
401
|
+
readonly RESTART: "RESTART";
|
|
402
|
+
readonly STANDARD: "STANDARD";
|
|
403
|
+
};
|
|
404
|
+
/**
|
|
405
|
+
* @public
|
|
406
|
+
*/
|
|
407
|
+
export type DeploymentMode = (typeof DeploymentMode)[keyof typeof DeploymentMode];
|
|
396
408
|
/**
|
|
397
409
|
* @public
|
|
398
410
|
* @enum
|
|
@@ -466,6 +466,18 @@ export declare class InvalidTagsToAddException extends __BaseException {
|
|
|
466
466
|
*/
|
|
467
467
|
constructor(opts: __ExceptionOptionType<InvalidTagsToAddException, __BaseException>);
|
|
468
468
|
}
|
|
469
|
+
/**
|
|
470
|
+
* <p>An API function was called too frequently.</p>
|
|
471
|
+
* @public
|
|
472
|
+
*/
|
|
473
|
+
export declare class ThrottlingException extends __BaseException {
|
|
474
|
+
readonly name: "ThrottlingException";
|
|
475
|
+
readonly $fault: "client";
|
|
476
|
+
/**
|
|
477
|
+
* @internal
|
|
478
|
+
*/
|
|
479
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
480
|
+
}
|
|
469
481
|
/**
|
|
470
482
|
* <p>The named deployment group with the user or Amazon Web Services account does not
|
|
471
483
|
* exist.</p>
|
|
@@ -571,6 +583,18 @@ export declare class InvalidDeploymentConfigNameException extends __BaseExceptio
|
|
|
571
583
|
*/
|
|
572
584
|
constructor(opts: __ExceptionOptionType<InvalidDeploymentConfigNameException, __BaseException>);
|
|
573
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* <p> The Amazon ECS service identifier is not valid. </p>
|
|
588
|
+
* @public
|
|
589
|
+
*/
|
|
590
|
+
export declare class InvalidECSServiceException extends __BaseException {
|
|
591
|
+
readonly name: "InvalidECSServiceException";
|
|
592
|
+
readonly $fault: "client";
|
|
593
|
+
/**
|
|
594
|
+
* @internal
|
|
595
|
+
*/
|
|
596
|
+
constructor(opts: __ExceptionOptionType<InvalidECSServiceException, __BaseException>);
|
|
597
|
+
}
|
|
574
598
|
/**
|
|
575
599
|
* <p>An invalid fileExistsBehavior option was specified to determine how CodeDeploy handles files or directories that already exist in a deployment
|
|
576
600
|
* target location, but weren't part of the previous successful deployment. Valid values
|
|
@@ -611,6 +635,18 @@ export declare class InvalidIgnoreApplicationStopFailuresValueException extends
|
|
|
611
635
|
*/
|
|
612
636
|
constructor(opts: __ExceptionOptionType<InvalidIgnoreApplicationStopFailuresValueException, __BaseException>);
|
|
613
637
|
}
|
|
638
|
+
/**
|
|
639
|
+
* <p>The input was specified in an invalid format.</p>
|
|
640
|
+
* @public
|
|
641
|
+
*/
|
|
642
|
+
export declare class InvalidInputException extends __BaseException {
|
|
643
|
+
readonly name: "InvalidInputException";
|
|
644
|
+
readonly $fault: "client";
|
|
645
|
+
/**
|
|
646
|
+
* @internal
|
|
647
|
+
*/
|
|
648
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
649
|
+
}
|
|
614
650
|
/**
|
|
615
651
|
* <p>An invalid load balancer name, or no load balancer name, was specified.</p>
|
|
616
652
|
* @public
|
|
@@ -703,18 +739,6 @@ export declare class RevisionDoesNotExistException extends __BaseException {
|
|
|
703
739
|
*/
|
|
704
740
|
constructor(opts: __ExceptionOptionType<RevisionDoesNotExistException, __BaseException>);
|
|
705
741
|
}
|
|
706
|
-
/**
|
|
707
|
-
* <p>An API function was called too frequently.</p>
|
|
708
|
-
* @public
|
|
709
|
-
*/
|
|
710
|
-
export declare class ThrottlingException extends __BaseException {
|
|
711
|
-
readonly name: "ThrottlingException";
|
|
712
|
-
readonly $fault: "client";
|
|
713
|
-
/**
|
|
714
|
-
* @internal
|
|
715
|
-
*/
|
|
716
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
717
|
-
}
|
|
718
742
|
/**
|
|
719
743
|
* <p>A deployment configuration with the specified name with the user or Amazon Web Services account already exists.</p>
|
|
720
744
|
* @public
|
|
@@ -865,30 +889,6 @@ export declare class InvalidEC2TagException extends __BaseException {
|
|
|
865
889
|
*/
|
|
866
890
|
constructor(opts: __ExceptionOptionType<InvalidEC2TagException, __BaseException>);
|
|
867
891
|
}
|
|
868
|
-
/**
|
|
869
|
-
* <p> The Amazon ECS service identifier is not valid. </p>
|
|
870
|
-
* @public
|
|
871
|
-
*/
|
|
872
|
-
export declare class InvalidECSServiceException extends __BaseException {
|
|
873
|
-
readonly name: "InvalidECSServiceException";
|
|
874
|
-
readonly $fault: "client";
|
|
875
|
-
/**
|
|
876
|
-
* @internal
|
|
877
|
-
*/
|
|
878
|
-
constructor(opts: __ExceptionOptionType<InvalidECSServiceException, __BaseException>);
|
|
879
|
-
}
|
|
880
|
-
/**
|
|
881
|
-
* <p>The input was specified in an invalid format.</p>
|
|
882
|
-
* @public
|
|
883
|
-
*/
|
|
884
|
-
export declare class InvalidInputException extends __BaseException {
|
|
885
|
-
readonly name: "InvalidInputException";
|
|
886
|
-
readonly $fault: "client";
|
|
887
|
-
/**
|
|
888
|
-
* @internal
|
|
889
|
-
*/
|
|
890
|
-
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
891
|
-
}
|
|
892
892
|
/**
|
|
893
893
|
* <p>A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet,
|
|
894
894
|
* but only one of these data types can be used in a single call.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { _InstanceType, ApplicationRevisionSortBy, AutoRollbackEvent, BundleType, ComputePlatform, DeploymentCreator, DeploymentOption, DeploymentReadyAction, DeploymentStatus, DeploymentTargetType, DeploymentType, DeploymentWaitType, EC2TagFilterType, ErrorCode, FileExistsBehavior, GreenFleetProvisioningAction, InstanceAction, InstanceStatus, LifecycleErrorCode, LifecycleEventStatus, ListStateFilterAction, MinimumHealthyHostsPerZoneType, MinimumHealthyHostsType, OutdatedInstancesStrategy, RegistrationStatus, RevisionLocationType, SortOrder, StopStatus, TagFilterType, TargetFilterName, TargetLabel, TargetStatus, TrafficRoutingType, TriggerEventType } from "./enums";
|
|
1
|
+
import type { _InstanceType, ApplicationRevisionSortBy, AutoRollbackEvent, BundleType, ComputePlatform, DeploymentCreator, DeploymentMode, DeploymentOption, DeploymentReadyAction, DeploymentStatus, DeploymentTargetType, DeploymentType, DeploymentWaitType, EC2TagFilterType, ErrorCode, FileExistsBehavior, GreenFleetProvisioningAction, InstanceAction, InstanceStatus, LifecycleErrorCode, LifecycleEventStatus, ListStateFilterAction, MinimumHealthyHostsPerZoneType, MinimumHealthyHostsType, OutdatedInstancesStrategy, RegistrationStatus, RevisionLocationType, SortOrder, StopStatus, TagFilterType, TargetFilterName, TargetLabel, TargetStatus, TrafficRoutingType, TriggerEventType } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Information about a tag.</p>
|
|
4
4
|
* @public
|
|
@@ -2317,6 +2317,11 @@ export interface CreateDeploymentInput {
|
|
|
2317
2317
|
* @public
|
|
2318
2318
|
*/
|
|
2319
2319
|
fileExistsBehavior?: FileExistsBehavior | undefined;
|
|
2320
|
+
/**
|
|
2321
|
+
* The deployment mode to use for the deployment. When set to STANDARD (the default), the deployment runs the standard set of deployment lifecycle events. When set to RESTART, an EC2/On-premises in-place deployment runs a shortened set of lifecycle events to quickly restart the application on the target instances.
|
|
2322
|
+
* @public
|
|
2323
|
+
*/
|
|
2324
|
+
deploymentMode?: DeploymentMode | undefined;
|
|
2320
2325
|
/**
|
|
2321
2326
|
* <p>Allows you to specify information about alarms associated with a deployment. The alarm
|
|
2322
2327
|
* configuration that you specify here will override the alarm configuration at the
|
|
@@ -215,6 +215,11 @@ export declare const DeploymentWaitType: {
|
|
|
215
215
|
readonly TERMINATION_WAIT: "TERMINATION_WAIT";
|
|
216
216
|
};
|
|
217
217
|
export type DeploymentWaitType = (typeof DeploymentWaitType)[keyof typeof DeploymentWaitType];
|
|
218
|
+
export declare const DeploymentMode: {
|
|
219
|
+
readonly RESTART: "RESTART";
|
|
220
|
+
readonly STANDARD: "STANDARD";
|
|
221
|
+
};
|
|
222
|
+
export type DeploymentMode = (typeof DeploymentMode)[keyof typeof DeploymentMode];
|
|
218
223
|
export declare const MinimumHealthyHostsType: {
|
|
219
224
|
readonly FLEET_PERCENT: "FLEET_PERCENT";
|
|
220
225
|
readonly HOST_COUNT: "HOST_COUNT";
|
|
@@ -194,6 +194,11 @@ export declare class InvalidTagsToAddException extends __BaseException {
|
|
|
194
194
|
readonly $fault: "client";
|
|
195
195
|
constructor(opts: __ExceptionOptionType<InvalidTagsToAddException, __BaseException>);
|
|
196
196
|
}
|
|
197
|
+
export declare class ThrottlingException extends __BaseException {
|
|
198
|
+
readonly name: "ThrottlingException";
|
|
199
|
+
readonly $fault: "client";
|
|
200
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
201
|
+
}
|
|
197
202
|
export declare class DeploymentGroupDoesNotExistException extends __BaseException {
|
|
198
203
|
readonly name: "DeploymentGroupDoesNotExistException";
|
|
199
204
|
readonly $fault: "client";
|
|
@@ -229,6 +234,11 @@ export declare class InvalidDeploymentConfigNameException extends __BaseExceptio
|
|
|
229
234
|
readonly $fault: "client";
|
|
230
235
|
constructor(opts: __ExceptionOptionType<InvalidDeploymentConfigNameException, __BaseException>);
|
|
231
236
|
}
|
|
237
|
+
export declare class InvalidECSServiceException extends __BaseException {
|
|
238
|
+
readonly name: "InvalidECSServiceException";
|
|
239
|
+
readonly $fault: "client";
|
|
240
|
+
constructor(opts: __ExceptionOptionType<InvalidECSServiceException, __BaseException>);
|
|
241
|
+
}
|
|
232
242
|
export declare class InvalidFileExistsBehaviorException extends __BaseException {
|
|
233
243
|
readonly name: "InvalidFileExistsBehaviorException";
|
|
234
244
|
readonly $fault: "client";
|
|
@@ -249,6 +259,11 @@ export declare class InvalidIgnoreApplicationStopFailuresValueException extends
|
|
|
249
259
|
>,
|
|
250
260
|
);
|
|
251
261
|
}
|
|
262
|
+
export declare class InvalidInputException extends __BaseException {
|
|
263
|
+
readonly name: "InvalidInputException";
|
|
264
|
+
readonly $fault: "client";
|
|
265
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
266
|
+
}
|
|
252
267
|
export declare class InvalidLoadBalancerInfoException extends __BaseException {
|
|
253
268
|
readonly name: "InvalidLoadBalancerInfoException";
|
|
254
269
|
readonly $fault: "client";
|
|
@@ -283,11 +298,6 @@ export declare class RevisionDoesNotExistException extends __BaseException {
|
|
|
283
298
|
readonly $fault: "client";
|
|
284
299
|
constructor(opts: __ExceptionOptionType<RevisionDoesNotExistException, __BaseException>);
|
|
285
300
|
}
|
|
286
|
-
export declare class ThrottlingException extends __BaseException {
|
|
287
|
-
readonly name: "ThrottlingException";
|
|
288
|
-
readonly $fault: "client";
|
|
289
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
290
|
-
}
|
|
291
301
|
export declare class DeploymentConfigAlreadyExistsException extends __BaseException {
|
|
292
302
|
readonly name: "DeploymentConfigAlreadyExistsException";
|
|
293
303
|
readonly $fault: "client";
|
|
@@ -356,16 +366,6 @@ export declare class InvalidEC2TagException extends __BaseException {
|
|
|
356
366
|
readonly $fault: "client";
|
|
357
367
|
constructor(opts: __ExceptionOptionType<InvalidEC2TagException, __BaseException>);
|
|
358
368
|
}
|
|
359
|
-
export declare class InvalidECSServiceException extends __BaseException {
|
|
360
|
-
readonly name: "InvalidECSServiceException";
|
|
361
|
-
readonly $fault: "client";
|
|
362
|
-
constructor(opts: __ExceptionOptionType<InvalidECSServiceException, __BaseException>);
|
|
363
|
-
}
|
|
364
|
-
export declare class InvalidInputException extends __BaseException {
|
|
365
|
-
readonly name: "InvalidInputException";
|
|
366
|
-
readonly $fault: "client";
|
|
367
|
-
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
368
|
-
}
|
|
369
369
|
export declare class InvalidOnPremisesTagCombinationException extends __BaseException {
|
|
370
370
|
readonly name: "InvalidOnPremisesTagCombinationException";
|
|
371
371
|
readonly $fault: "client";
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
BundleType,
|
|
6
6
|
ComputePlatform,
|
|
7
7
|
DeploymentCreator,
|
|
8
|
+
DeploymentMode,
|
|
8
9
|
DeploymentOption,
|
|
9
10
|
DeploymentReadyAction,
|
|
10
11
|
DeploymentStatus,
|
|
@@ -420,6 +421,7 @@ export interface CreateDeploymentInput {
|
|
|
420
421
|
autoRollbackConfiguration?: AutoRollbackConfiguration | undefined;
|
|
421
422
|
updateOutdatedInstancesOnly?: boolean | undefined;
|
|
422
423
|
fileExistsBehavior?: FileExistsBehavior | undefined;
|
|
424
|
+
deploymentMode?: DeploymentMode | undefined;
|
|
423
425
|
overrideAlarmConfiguration?: AlarmConfiguration | undefined;
|
|
424
426
|
}
|
|
425
427
|
export interface CreateDeploymentOutput {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codedeploy",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1120.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-codedeploy",
|
|
6
6
|
"license": "Apache-2.0",
|