@aws-sdk/client-codedeploy 3.1151.0 → 3.1153.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1150.0";
72
+ var version = "3.1152.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -724,6 +724,19 @@ class InvalidAutoScalingGroupException extends CodeDeployServiceException {
724
724
  Object.setPrototypeOf(this, InvalidAutoScalingGroupException.prototype);
725
725
  }
726
726
  }
727
+ class InvalidAutoScalingGroupProcessToSuspendException extends CodeDeployServiceException {
728
+ static shapeId = "com.amazonaws.codedeploy#InvalidAutoScalingGroupProcessToSuspendException";
729
+ name = "InvalidAutoScalingGroupProcessToSuspendException";
730
+ $fault = "client";
731
+ constructor(opts) {
732
+ super({
733
+ name: "InvalidAutoScalingGroupProcessToSuspendException",
734
+ $fault: "client",
735
+ ...opts,
736
+ });
737
+ Object.setPrototypeOf(this, InvalidAutoScalingGroupProcessToSuspendException.prototype);
738
+ }
739
+ }
727
740
  class InvalidDeploymentConfigNameException extends CodeDeployServiceException {
728
741
  static shapeId = "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException";
729
742
  name = "InvalidDeploymentConfigNameException";
@@ -1672,6 +1685,7 @@ const _DTIRE = "DeploymentTargetIdRequiredException";
1672
1685
  const _DTL = "DeploymentTargetList";
1673
1686
  const _DTLE = "DescriptionTooLongException";
1674
1687
  const _DTLSEE = "DeploymentTargetListSizeExceededException";
1688
+ const _ECDO = "EC2DeploymentOptions";
1675
1689
  const _ECSS = "ECSService";
1676
1690
  const _ECSSL = "ECSServiceList";
1677
1691
  const _ECSSMLEE = "ECSServiceMappingLimitExceededException";
@@ -1721,6 +1735,7 @@ const _IANE = "InvalidApplicationNameException";
1721
1735
  const _IARCE = "InvalidAutoRollbackConfigException";
1722
1736
  const _IARE = "IamArnRequiredException";
1723
1737
  const _IASGE = "InvalidAutoScalingGroupException";
1738
+ const _IASGPTSE = "InvalidAutoScalingGroupProcessToSuspendException";
1724
1739
  const _IBGDCE = "InvalidBlueGreenDeploymentConfigurationException";
1725
1740
  const _IBNFE = "InvalidBucketNameFilterException";
1726
1741
  const _ICPE = "InvalidComputePlatformException";
@@ -1915,6 +1930,7 @@ const _aRC = "autoRollbackConfiguration";
1915
1930
  const _aRE = "autoRollbackEnabled";
1916
1931
  const _aSC = "appSpecContent";
1917
1932
  const _aSG = "autoScalingGroups";
1933
+ const _aSGPTS = "autoScalingGroupProcessesToSuspend";
1918
1934
  const _aUOIDI = "autoUpdateOutdatedInstancesDeploymentIds";
1919
1935
  const _aUOIRDI = "autoUpdateOutdatedInstancesRootDeploymentId";
1920
1936
  const _ac = "action";
@@ -1971,6 +1987,7 @@ const _dep = "deployments";
1971
1987
  const _di = "diagnostics";
1972
1988
  const _e = "error";
1973
1989
  const _eC = "errorCode";
1990
+ const _eDO = "ec2DeploymentOptions";
1974
1991
  const _eI = "externalId";
1975
1992
  const _eIL = "elbInfoList";
1976
1993
  const _eIr = "errorInformation";
@@ -2392,6 +2409,12 @@ var InvalidAutoScalingGroupException$ = [-3, n0, _IASGE,
2392
2409
  [0]
2393
2410
  ];
2394
2411
  n0_registry.registerError(InvalidAutoScalingGroupException$, InvalidAutoScalingGroupException);
2412
+ var InvalidAutoScalingGroupProcessToSuspendException$ = [-3, n0, _IASGPTSE,
2413
+ { [_e]: _c },
2414
+ [_m],
2415
+ [0]
2416
+ ];
2417
+ n0_registry.registerError(InvalidAutoScalingGroupProcessToSuspendException$, InvalidAutoScalingGroupProcessToSuspendException);
2395
2418
  var InvalidBlueGreenDeploymentConfigurationException$ = [-3, n0, _IBGDCE,
2396
2419
  { [_e]: _c },
2397
2420
  [_m],
@@ -2933,8 +2956,8 @@ var CreateDeploymentConfigOutput$ = [3, n0, _CDCO,
2933
2956
  ];
2934
2957
  var CreateDeploymentGroupInput$ = [3, n0, _CDGI,
2935
2958
  0,
2936
- [_aN, _dGNe, _sRA, _dCN, _eTF, _oPITF, _aSG, _tC, _aC, _aRC, _oIS, _dS, _bGDC, _lBI, _eTS, _eS, _oPTS, _t, _tHE],
2937
- [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, 64 | 0, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, 0, () => DeploymentStyle$, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => EC2TagSet$, () => ECSServiceList, () => OnPremisesTagSet$, () => TagList, 2], 3
2959
+ [_aN, _dGNe, _sRA, _dCN, _eTF, _oPITF, _aSG, _tC, _aC, _aRC, _oIS, _dS, _bGDC, _lBI, _eTS, _eS, _oPTS, _t, _eDO, _tHE],
2960
+ [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, 64 | 0, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, 0, () => DeploymentStyle$, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => EC2TagSet$, () => ECSServiceList, () => OnPremisesTagSet$, () => TagList, () => EC2DeploymentOptions$, 2], 3
2938
2961
  ];
2939
2962
  var CreateDeploymentGroupOutput$ = [3, n0, _CDGO,
2940
2963
  0,
@@ -2943,8 +2966,8 @@ var CreateDeploymentGroupOutput$ = [3, n0, _CDGO,
2943
2966
  ];
2944
2967
  var CreateDeploymentInput$ = [3, n0, _CDIr,
2945
2968
  0,
2946
- [_aN, _dGNe, _re, _dCN, _d, _iASF, _tIar, _aRC, _uOIO, _fEB, _dM, _oAC],
2947
- [0, 0, () => RevisionLocation$, 0, 0, 2, () => TargetInstances$, () => AutoRollbackConfiguration$, 2, 0, 0, () => AlarmConfiguration$], 1
2969
+ [_aN, _dGNe, _re, _dCN, _d, _iASF, _tIar, _aRC, _uOIO, _fEB, _dM, _oAC, _eDO],
2970
+ [0, 0, () => RevisionLocation$, 0, 0, 2, () => TargetInstances$, () => AutoRollbackConfiguration$, 2, 0, 0, () => AlarmConfiguration$, () => EC2DeploymentOptions$], 1
2948
2971
  ];
2949
2972
  var CreateDeploymentOutput$ = [3, n0, _CDO,
2950
2973
  0,
@@ -2998,13 +3021,13 @@ var DeploymentConfigInfo$ = [3, n0, _DCI,
2998
3021
  ];
2999
3022
  var DeploymentGroupInfo$ = [3, n0, _DGI,
3000
3023
  0,
3001
- [_aN, _dGIe, _dGNe, _dCN, _eTF, _oPITF, _aSG, _sRA, _tR, _tC, _aC, _aRC, _dS, _oIS, _bGDC, _lBI, _lSD, _lAD, _eTS, _oPTS, _cP, _eS, _tHE],
3002
- [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, () => AutoScalingGroupList, 0, () => RevisionLocation$, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, () => DeploymentStyle$, 0, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => LastDeploymentInfo$, () => LastDeploymentInfo$, () => EC2TagSet$, () => OnPremisesTagSet$, 0, () => ECSServiceList, 2]
3024
+ [_aN, _dGIe, _dGNe, _dCN, _eTF, _oPITF, _aSG, _sRA, _tR, _tC, _aC, _aRC, _dS, _oIS, _bGDC, _lBI, _lSD, _lAD, _eTS, _oPTS, _cP, _eS, _eDO, _tHE],
3025
+ [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, () => AutoScalingGroupList, 0, () => RevisionLocation$, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, () => DeploymentStyle$, 0, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => LastDeploymentInfo$, () => LastDeploymentInfo$, () => EC2TagSet$, () => OnPremisesTagSet$, 0, () => ECSServiceList, () => EC2DeploymentOptions$, 2]
3003
3026
  ];
3004
3027
  var DeploymentInfo$ = [3, n0, _DI,
3005
3028
  0,
3006
- [_aN, _dGNe, _dCN, _dI, _pR, _re, _st, _eIr, _cT, _sT, _cTo, _dO, _d, _cr, _iASF, _aRC, _uOIO, _rI, _dS, _tIar, _iTWTS, _bGDC, _lBI, _aDSI, _fEB, _dM, _dSM, _cP, _eI, _rD, _oAC],
3007
- [0, 0, 0, 0, () => RevisionLocation$, () => RevisionLocation$, 0, () => ErrorInformation$, 4, 4, 4, () => DeploymentOverview$, 0, 0, 2, () => AutoRollbackConfiguration$, 2, () => RollbackInfo$, () => DeploymentStyle$, () => TargetInstances$, 2, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, 0, 0, 0, 64 | 0, 0, 0, () => RelatedDeployments$, () => AlarmConfiguration$]
3029
+ [_aN, _dGNe, _dCN, _dI, _pR, _re, _st, _eIr, _cT, _sT, _cTo, _dO, _d, _cr, _iASF, _aRC, _uOIO, _rI, _dS, _tIar, _iTWTS, _bGDC, _lBI, _aDSI, _fEB, _dM, _dSM, _cP, _eI, _rD, _oAC, _eDO],
3030
+ [0, 0, 0, 0, () => RevisionLocation$, () => RevisionLocation$, 0, () => ErrorInformation$, 4, 4, 4, () => DeploymentOverview$, 0, 0, 2, () => AutoRollbackConfiguration$, 2, () => RollbackInfo$, () => DeploymentStyle$, () => TargetInstances$, 2, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, 0, 0, 0, 64 | 0, 0, 0, () => RelatedDeployments$, () => AlarmConfiguration$, () => EC2DeploymentOptions$]
3008
3031
  ];
3009
3032
  var DeploymentOverview$ = [3, n0, _DO,
3010
3033
  0,
@@ -3036,6 +3059,11 @@ var Diagnostics$ = [3, n0, _D,
3036
3059
  [_eC, _sN, _m, _lTo],
3037
3060
  [0, 0, 0, 0]
3038
3061
  ];
3062
+ var EC2DeploymentOptions$ = [3, n0, _ECDO,
3063
+ 0,
3064
+ [_aSGPTS],
3065
+ [64 | 0]
3066
+ ];
3039
3067
  var EC2TagFilter$ = [3, n0, _ECTF,
3040
3068
  0,
3041
3069
  [_K, _V, _T],
@@ -3473,8 +3501,8 @@ var UpdateApplicationInput$ = [3, n0, _UAI,
3473
3501
  ];
3474
3502
  var UpdateDeploymentGroupInput$ = [3, n0, _UDGI,
3475
3503
  0,
3476
- [_aN, _cDGN, _nDGN, _dCN, _eTF, _oPITF, _aSG, _sRA, _tC, _aC, _aRC, _oIS, _dS, _bGDC, _lBI, _eTS, _eS, _oPTS, _tHE],
3477
- [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, 64 | 0, 0, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, 0, () => DeploymentStyle$, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => EC2TagSet$, () => ECSServiceList, () => OnPremisesTagSet$, 2], 2
3504
+ [_aN, _cDGN, _nDGN, _dCN, _eTF, _oPITF, _aSG, _sRA, _tC, _aC, _aRC, _oIS, _dS, _bGDC, _lBI, _eTS, _eS, _oPTS, _eDO, _tHE],
3505
+ [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, 64 | 0, 0, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, 0, () => DeploymentStyle$, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => EC2TagSet$, () => ECSServiceList, () => OnPremisesTagSet$, () => EC2DeploymentOptions$, 2], 2
3478
3506
  ];
3479
3507
  var UpdateDeploymentGroupOutput$ = [3, n0, _UDGO,
3480
3508
  0,
@@ -4126,6 +4154,12 @@ const AutoRollbackEvent = {
4126
4154
  DEPLOYMENT_STOP_ON_ALARM: "DEPLOYMENT_STOP_ON_ALARM",
4127
4155
  DEPLOYMENT_STOP_ON_REQUEST: "DEPLOYMENT_STOP_ON_REQUEST",
4128
4156
  };
4157
+ const AutoScalingGroupProcess = {
4158
+ AZ_REBALANCE: "AZRebalance",
4159
+ INSTANCE_REFRESH: "InstanceRefresh",
4160
+ SCHEDULED_ACTIONS: "ScheduledActions",
4161
+ TERMINATE: "Terminate",
4162
+ };
4129
4163
  const RevisionLocationType = {
4130
4164
  AppSpecContent: "AppSpecContent",
4131
4165
  GitHub: "GitHub",
@@ -4360,6 +4394,7 @@ exports.ArnNotSupportedException$ = ArnNotSupportedException$;
4360
4394
  exports.AutoRollbackConfiguration$ = AutoRollbackConfiguration$;
4361
4395
  exports.AutoRollbackEvent = AutoRollbackEvent;
4362
4396
  exports.AutoScalingGroup$ = AutoScalingGroup$;
4397
+ exports.AutoScalingGroupProcess = AutoScalingGroupProcess;
4363
4398
  exports.BatchGetApplicationRevisions$ = BatchGetApplicationRevisions$;
4364
4399
  exports.BatchGetApplicationRevisionsCommand = BatchGetApplicationRevisionsCommand;
4365
4400
  exports.BatchGetApplicationRevisionsInput$ = BatchGetApplicationRevisionsInput$;
@@ -4495,6 +4530,7 @@ exports.DeregisterOnPremisesInstanceInput$ = DeregisterOnPremisesInstanceInput$;
4495
4530
  exports.DescriptionTooLongException = DescriptionTooLongException;
4496
4531
  exports.DescriptionTooLongException$ = DescriptionTooLongException$;
4497
4532
  exports.Diagnostics$ = Diagnostics$;
4533
+ exports.EC2DeploymentOptions$ = EC2DeploymentOptions$;
4498
4534
  exports.EC2TagFilter$ = EC2TagFilter$;
4499
4535
  exports.EC2TagFilterType = EC2TagFilterType;
4500
4536
  exports.EC2TagSet$ = EC2TagSet$;
@@ -4582,6 +4618,8 @@ exports.InvalidAutoRollbackConfigException = InvalidAutoRollbackConfigException;
4582
4618
  exports.InvalidAutoRollbackConfigException$ = InvalidAutoRollbackConfigException$;
4583
4619
  exports.InvalidAutoScalingGroupException = InvalidAutoScalingGroupException;
4584
4620
  exports.InvalidAutoScalingGroupException$ = InvalidAutoScalingGroupException$;
4621
+ exports.InvalidAutoScalingGroupProcessToSuspendException = InvalidAutoScalingGroupProcessToSuspendException;
4622
+ exports.InvalidAutoScalingGroupProcessToSuspendException$ = InvalidAutoScalingGroupProcessToSuspendException$;
4585
4623
  exports.InvalidBlueGreenDeploymentConfigurationException = InvalidBlueGreenDeploymentConfigurationException;
4586
4624
  exports.InvalidBlueGreenDeploymentConfigurationException$ = InvalidBlueGreenDeploymentConfigurationException$;
4587
4625
  exports.InvalidBucketNameFilterException = InvalidBucketNameFilterException;
@@ -13,6 +13,12 @@ export const AutoRollbackEvent = {
13
13
  DEPLOYMENT_STOP_ON_ALARM: "DEPLOYMENT_STOP_ON_ALARM",
14
14
  DEPLOYMENT_STOP_ON_REQUEST: "DEPLOYMENT_STOP_ON_REQUEST",
15
15
  };
16
+ export const AutoScalingGroupProcess = {
17
+ AZ_REBALANCE: "AZRebalance",
18
+ INSTANCE_REFRESH: "InstanceRefresh",
19
+ SCHEDULED_ACTIONS: "ScheduledActions",
20
+ TERMINATE: "Terminate",
21
+ };
16
22
  export const RevisionLocationType = {
17
23
  AppSpecContent: "AppSpecContent",
18
24
  GitHub: "GitHub",
@@ -584,6 +584,19 @@ export class InvalidAutoScalingGroupException extends __BaseException {
584
584
  Object.setPrototypeOf(this, InvalidAutoScalingGroupException.prototype);
585
585
  }
586
586
  }
587
+ export class InvalidAutoScalingGroupProcessToSuspendException extends __BaseException {
588
+ static shapeId = "com.amazonaws.codedeploy#InvalidAutoScalingGroupProcessToSuspendException";
589
+ name = "InvalidAutoScalingGroupProcessToSuspendException";
590
+ $fault = "client";
591
+ constructor(opts) {
592
+ super({
593
+ name: "InvalidAutoScalingGroupProcessToSuspendException",
594
+ $fault: "client",
595
+ ...opts,
596
+ });
597
+ Object.setPrototypeOf(this, InvalidAutoScalingGroupProcessToSuspendException.prototype);
598
+ }
599
+ }
587
600
  export class InvalidDeploymentConfigNameException extends __BaseException {
588
601
  static shapeId = "com.amazonaws.codedeploy#InvalidDeploymentConfigNameException";
589
602
  name = "InvalidDeploymentConfigNameException";
@@ -100,6 +100,7 @@ const _DTIRE = "DeploymentTargetIdRequiredException";
100
100
  const _DTL = "DeploymentTargetList";
101
101
  const _DTLE = "DescriptionTooLongException";
102
102
  const _DTLSEE = "DeploymentTargetListSizeExceededException";
103
+ const _ECDO = "EC2DeploymentOptions";
103
104
  const _ECSS = "ECSService";
104
105
  const _ECSSL = "ECSServiceList";
105
106
  const _ECSSMLEE = "ECSServiceMappingLimitExceededException";
@@ -149,6 +150,7 @@ const _IANE = "InvalidApplicationNameException";
149
150
  const _IARCE = "InvalidAutoRollbackConfigException";
150
151
  const _IARE = "IamArnRequiredException";
151
152
  const _IASGE = "InvalidAutoScalingGroupException";
153
+ const _IASGPTSE = "InvalidAutoScalingGroupProcessToSuspendException";
152
154
  const _IBGDCE = "InvalidBlueGreenDeploymentConfigurationException";
153
155
  const _IBNFE = "InvalidBucketNameFilterException";
154
156
  const _ICPE = "InvalidComputePlatformException";
@@ -343,6 +345,7 @@ const _aRC = "autoRollbackConfiguration";
343
345
  const _aRE = "autoRollbackEnabled";
344
346
  const _aSC = "appSpecContent";
345
347
  const _aSG = "autoScalingGroups";
348
+ const _aSGPTS = "autoScalingGroupProcessesToSuspend";
346
349
  const _aUOIDI = "autoUpdateOutdatedInstancesDeploymentIds";
347
350
  const _aUOIRDI = "autoUpdateOutdatedInstancesRootDeploymentId";
348
351
  const _ac = "action";
@@ -399,6 +402,7 @@ const _dep = "deployments";
399
402
  const _di = "diagnostics";
400
403
  const _e = "error";
401
404
  const _eC = "errorCode";
405
+ const _eDO = "ec2DeploymentOptions";
402
406
  const _eI = "externalId";
403
407
  const _eIL = "elbInfoList";
404
408
  const _eIr = "errorInformation";
@@ -548,7 +552,7 @@ const _zC = "zonalConfig";
548
552
  const n0 = "com.amazonaws.codedeploy";
549
553
  import { TypeRegistry } from "@smithy/core/schema";
550
554
  import { CodeDeployServiceException } from "../models/CodeDeployServiceException";
551
- import { AlarmsLimitExceededException, ApplicationAlreadyExistsException, ApplicationDoesNotExistException, ApplicationLimitExceededException, ApplicationNameRequiredException, ArnNotSupportedException, BatchLimitExceededException, BucketNameFilterRequiredException, DeploymentAlreadyCompletedException, DeploymentConfigAlreadyExistsException, DeploymentConfigDoesNotExistException, DeploymentConfigInUseException, DeploymentConfigLimitExceededException, DeploymentConfigNameRequiredException, DeploymentDoesNotExistException, DeploymentGroupAlreadyExistsException, DeploymentGroupDoesNotExistException, DeploymentGroupLimitExceededException, DeploymentGroupNameRequiredException, DeploymentIdRequiredException, DeploymentIsNotInReadyStateException, DeploymentLimitExceededException, DeploymentNotStartedException, DeploymentTargetDoesNotExistException, DeploymentTargetIdRequiredException, DeploymentTargetListSizeExceededException, DescriptionTooLongException, ECSServiceMappingLimitExceededException, GitHubAccountTokenDoesNotExistException, GitHubAccountTokenNameRequiredException, IamArnRequiredException, IamSessionArnAlreadyRegisteredException, IamUserArnAlreadyRegisteredException, IamUserArnRequiredException, InstanceDoesNotExistException, InstanceIdRequiredException, InstanceLimitExceededException, InstanceNameAlreadyRegisteredException, InstanceNameRequiredException, InstanceNotRegisteredException, InvalidAlarmConfigException, InvalidApplicationNameException, InvalidArnException, InvalidAutoRollbackConfigException, InvalidAutoScalingGroupException, InvalidBlueGreenDeploymentConfigurationException, InvalidBucketNameFilterException, InvalidComputePlatformException, InvalidDeployedStateFilterException, InvalidDeploymentConfigNameException, InvalidDeploymentGroupNameException, InvalidDeploymentIdException, InvalidDeploymentInstanceTypeException, InvalidDeploymentStatusException, InvalidDeploymentStyleException, InvalidDeploymentTargetIdException, InvalidDeploymentWaitTypeException, InvalidEC2TagCombinationException, InvalidEC2TagException, InvalidECSServiceException, InvalidExternalIdException, InvalidFileExistsBehaviorException, InvalidGitHubAccountTokenException, InvalidGitHubAccountTokenNameException, InvalidIamSessionArnException, InvalidIamUserArnException, InvalidIgnoreApplicationStopFailuresValueException, InvalidInputException, InvalidInstanceNameException, InvalidInstanceStatusException, InvalidInstanceTypeException, InvalidKeyPrefixFilterException, InvalidLifecycleEventHookExecutionIdException, InvalidLifecycleEventHookExecutionStatusException, InvalidLoadBalancerInfoException, InvalidMinimumHealthyHostValueException, InvalidNextTokenException, InvalidOnPremisesTagCombinationException, InvalidOperationException, InvalidRegistrationStatusException, InvalidRevisionException, InvalidRoleException, InvalidSortByException, InvalidSortOrderException, InvalidTagException, InvalidTagFilterException, InvalidTagsToAddException, InvalidTargetFilterNameException, InvalidTargetGroupPairException, InvalidTargetInstancesException, InvalidTimeRangeException, InvalidTrafficRoutingConfigurationException, InvalidTriggerConfigException, InvalidUpdateOutdatedInstancesOnlyValueException, InvalidZonalDeploymentConfigurationException, LifecycleEventAlreadyCompletedException, LifecycleHookLimitExceededException, MultipleIamArnsProvidedException, OperationNotSupportedException, ResourceArnRequiredException, ResourceValidationException, RevisionDoesNotExistException, RevisionRequiredException, RoleRequiredException, TagLimitExceededException, TagRequiredException, TagSetListLimitExceededException, ThrottlingException, TriggerTargetsLimitExceededException, UnsupportedActionForDeploymentTypeException, } from "../models/errors";
555
+ import { AlarmsLimitExceededException, ApplicationAlreadyExistsException, ApplicationDoesNotExistException, ApplicationLimitExceededException, ApplicationNameRequiredException, ArnNotSupportedException, BatchLimitExceededException, BucketNameFilterRequiredException, DeploymentAlreadyCompletedException, DeploymentConfigAlreadyExistsException, DeploymentConfigDoesNotExistException, DeploymentConfigInUseException, DeploymentConfigLimitExceededException, DeploymentConfigNameRequiredException, DeploymentDoesNotExistException, DeploymentGroupAlreadyExistsException, DeploymentGroupDoesNotExistException, DeploymentGroupLimitExceededException, DeploymentGroupNameRequiredException, DeploymentIdRequiredException, DeploymentIsNotInReadyStateException, DeploymentLimitExceededException, DeploymentNotStartedException, DeploymentTargetDoesNotExistException, DeploymentTargetIdRequiredException, DeploymentTargetListSizeExceededException, DescriptionTooLongException, ECSServiceMappingLimitExceededException, GitHubAccountTokenDoesNotExistException, GitHubAccountTokenNameRequiredException, IamArnRequiredException, IamSessionArnAlreadyRegisteredException, IamUserArnAlreadyRegisteredException, IamUserArnRequiredException, InstanceDoesNotExistException, InstanceIdRequiredException, InstanceLimitExceededException, InstanceNameAlreadyRegisteredException, InstanceNameRequiredException, InstanceNotRegisteredException, InvalidAlarmConfigException, InvalidApplicationNameException, InvalidArnException, InvalidAutoRollbackConfigException, InvalidAutoScalingGroupException, InvalidAutoScalingGroupProcessToSuspendException, InvalidBlueGreenDeploymentConfigurationException, InvalidBucketNameFilterException, InvalidComputePlatformException, InvalidDeployedStateFilterException, InvalidDeploymentConfigNameException, InvalidDeploymentGroupNameException, InvalidDeploymentIdException, InvalidDeploymentInstanceTypeException, InvalidDeploymentStatusException, InvalidDeploymentStyleException, InvalidDeploymentTargetIdException, InvalidDeploymentWaitTypeException, InvalidEC2TagCombinationException, InvalidEC2TagException, InvalidECSServiceException, InvalidExternalIdException, InvalidFileExistsBehaviorException, InvalidGitHubAccountTokenException, InvalidGitHubAccountTokenNameException, InvalidIamSessionArnException, InvalidIamUserArnException, InvalidIgnoreApplicationStopFailuresValueException, InvalidInputException, InvalidInstanceNameException, InvalidInstanceStatusException, InvalidInstanceTypeException, InvalidKeyPrefixFilterException, InvalidLifecycleEventHookExecutionIdException, InvalidLifecycleEventHookExecutionStatusException, InvalidLoadBalancerInfoException, InvalidMinimumHealthyHostValueException, InvalidNextTokenException, InvalidOnPremisesTagCombinationException, InvalidOperationException, InvalidRegistrationStatusException, InvalidRevisionException, InvalidRoleException, InvalidSortByException, InvalidSortOrderException, InvalidTagException, InvalidTagFilterException, InvalidTagsToAddException, InvalidTargetFilterNameException, InvalidTargetGroupPairException, InvalidTargetInstancesException, InvalidTimeRangeException, InvalidTrafficRoutingConfigurationException, InvalidTriggerConfigException, InvalidUpdateOutdatedInstancesOnlyValueException, InvalidZonalDeploymentConfigurationException, LifecycleEventAlreadyCompletedException, LifecycleHookLimitExceededException, MultipleIamArnsProvidedException, OperationNotSupportedException, ResourceArnRequiredException, ResourceValidationException, RevisionDoesNotExistException, RevisionRequiredException, RoleRequiredException, TagLimitExceededException, TagRequiredException, TagSetListLimitExceededException, ThrottlingException, TriggerTargetsLimitExceededException, UnsupportedActionForDeploymentTypeException, } from "../models/errors";
552
556
  const _s_registry = new TypeRegistry(_s);
553
557
  export var CodeDeployServiceException$ = [-3, _s, "CodeDeployServiceException", 0, [], []];
554
558
  _s_registry.registerError(CodeDeployServiceException$, CodeDeployServiceException);
@@ -823,6 +827,12 @@ export var InvalidAutoScalingGroupException$ = [-3, n0, _IASGE,
823
827
  [0]
824
828
  ];
825
829
  n0_registry.registerError(InvalidAutoScalingGroupException$, InvalidAutoScalingGroupException);
830
+ export var InvalidAutoScalingGroupProcessToSuspendException$ = [-3, n0, _IASGPTSE,
831
+ { [_e]: _c },
832
+ [_m],
833
+ [0]
834
+ ];
835
+ n0_registry.registerError(InvalidAutoScalingGroupProcessToSuspendException$, InvalidAutoScalingGroupProcessToSuspendException);
826
836
  export var InvalidBlueGreenDeploymentConfigurationException$ = [-3, n0, _IBGDCE,
827
837
  { [_e]: _c },
828
838
  [_m],
@@ -1364,8 +1374,8 @@ export var CreateDeploymentConfigOutput$ = [3, n0, _CDCO,
1364
1374
  ];
1365
1375
  export var CreateDeploymentGroupInput$ = [3, n0, _CDGI,
1366
1376
  0,
1367
- [_aN, _dGNe, _sRA, _dCN, _eTF, _oPITF, _aSG, _tC, _aC, _aRC, _oIS, _dS, _bGDC, _lBI, _eTS, _eS, _oPTS, _t, _tHE],
1368
- [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, 64 | 0, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, 0, () => DeploymentStyle$, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => EC2TagSet$, () => ECSServiceList, () => OnPremisesTagSet$, () => TagList, 2], 3
1377
+ [_aN, _dGNe, _sRA, _dCN, _eTF, _oPITF, _aSG, _tC, _aC, _aRC, _oIS, _dS, _bGDC, _lBI, _eTS, _eS, _oPTS, _t, _eDO, _tHE],
1378
+ [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, 64 | 0, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, 0, () => DeploymentStyle$, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => EC2TagSet$, () => ECSServiceList, () => OnPremisesTagSet$, () => TagList, () => EC2DeploymentOptions$, 2], 3
1369
1379
  ];
1370
1380
  export var CreateDeploymentGroupOutput$ = [3, n0, _CDGO,
1371
1381
  0,
@@ -1374,8 +1384,8 @@ export var CreateDeploymentGroupOutput$ = [3, n0, _CDGO,
1374
1384
  ];
1375
1385
  export var CreateDeploymentInput$ = [3, n0, _CDIr,
1376
1386
  0,
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
1387
+ [_aN, _dGNe, _re, _dCN, _d, _iASF, _tIar, _aRC, _uOIO, _fEB, _dM, _oAC, _eDO],
1388
+ [0, 0, () => RevisionLocation$, 0, 0, 2, () => TargetInstances$, () => AutoRollbackConfiguration$, 2, 0, 0, () => AlarmConfiguration$, () => EC2DeploymentOptions$], 1
1379
1389
  ];
1380
1390
  export var CreateDeploymentOutput$ = [3, n0, _CDO,
1381
1391
  0,
@@ -1429,13 +1439,13 @@ export var DeploymentConfigInfo$ = [3, n0, _DCI,
1429
1439
  ];
1430
1440
  export var DeploymentGroupInfo$ = [3, n0, _DGI,
1431
1441
  0,
1432
- [_aN, _dGIe, _dGNe, _dCN, _eTF, _oPITF, _aSG, _sRA, _tR, _tC, _aC, _aRC, _dS, _oIS, _bGDC, _lBI, _lSD, _lAD, _eTS, _oPTS, _cP, _eS, _tHE],
1433
- [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, () => AutoScalingGroupList, 0, () => RevisionLocation$, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, () => DeploymentStyle$, 0, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => LastDeploymentInfo$, () => LastDeploymentInfo$, () => EC2TagSet$, () => OnPremisesTagSet$, 0, () => ECSServiceList, 2]
1442
+ [_aN, _dGIe, _dGNe, _dCN, _eTF, _oPITF, _aSG, _sRA, _tR, _tC, _aC, _aRC, _dS, _oIS, _bGDC, _lBI, _lSD, _lAD, _eTS, _oPTS, _cP, _eS, _eDO, _tHE],
1443
+ [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, () => AutoScalingGroupList, 0, () => RevisionLocation$, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, () => DeploymentStyle$, 0, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => LastDeploymentInfo$, () => LastDeploymentInfo$, () => EC2TagSet$, () => OnPremisesTagSet$, 0, () => ECSServiceList, () => EC2DeploymentOptions$, 2]
1434
1444
  ];
1435
1445
  export var DeploymentInfo$ = [3, n0, _DI,
1436
1446
  0,
1437
- [_aN, _dGNe, _dCN, _dI, _pR, _re, _st, _eIr, _cT, _sT, _cTo, _dO, _d, _cr, _iASF, _aRC, _uOIO, _rI, _dS, _tIar, _iTWTS, _bGDC, _lBI, _aDSI, _fEB, _dM, _dSM, _cP, _eI, _rD, _oAC],
1438
- [0, 0, 0, 0, () => RevisionLocation$, () => RevisionLocation$, 0, () => ErrorInformation$, 4, 4, 4, () => DeploymentOverview$, 0, 0, 2, () => AutoRollbackConfiguration$, 2, () => RollbackInfo$, () => DeploymentStyle$, () => TargetInstances$, 2, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, 0, 0, 0, 64 | 0, 0, 0, () => RelatedDeployments$, () => AlarmConfiguration$]
1447
+ [_aN, _dGNe, _dCN, _dI, _pR, _re, _st, _eIr, _cT, _sT, _cTo, _dO, _d, _cr, _iASF, _aRC, _uOIO, _rI, _dS, _tIar, _iTWTS, _bGDC, _lBI, _aDSI, _fEB, _dM, _dSM, _cP, _eI, _rD, _oAC, _eDO],
1448
+ [0, 0, 0, 0, () => RevisionLocation$, () => RevisionLocation$, 0, () => ErrorInformation$, 4, 4, 4, () => DeploymentOverview$, 0, 0, 2, () => AutoRollbackConfiguration$, 2, () => RollbackInfo$, () => DeploymentStyle$, () => TargetInstances$, 2, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, 0, 0, 0, 64 | 0, 0, 0, () => RelatedDeployments$, () => AlarmConfiguration$, () => EC2DeploymentOptions$]
1439
1449
  ];
1440
1450
  export var DeploymentOverview$ = [3, n0, _DO,
1441
1451
  0,
@@ -1467,6 +1477,11 @@ export var Diagnostics$ = [3, n0, _D,
1467
1477
  [_eC, _sN, _m, _lTo],
1468
1478
  [0, 0, 0, 0]
1469
1479
  ];
1480
+ export var EC2DeploymentOptions$ = [3, n0, _ECDO,
1481
+ 0,
1482
+ [_aSGPTS],
1483
+ [64 | 0]
1484
+ ];
1470
1485
  export var EC2TagFilter$ = [3, n0, _ECTF,
1471
1486
  0,
1472
1487
  [_K, _V, _T],
@@ -1904,8 +1919,8 @@ export var UpdateApplicationInput$ = [3, n0, _UAI,
1904
1919
  ];
1905
1920
  export var UpdateDeploymentGroupInput$ = [3, n0, _UDGI,
1906
1921
  0,
1907
- [_aN, _cDGN, _nDGN, _dCN, _eTF, _oPITF, _aSG, _sRA, _tC, _aC, _aRC, _oIS, _dS, _bGDC, _lBI, _eTS, _eS, _oPTS, _tHE],
1908
- [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, 64 | 0, 0, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, 0, () => DeploymentStyle$, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => EC2TagSet$, () => ECSServiceList, () => OnPremisesTagSet$, 2], 2
1922
+ [_aN, _cDGN, _nDGN, _dCN, _eTF, _oPITF, _aSG, _sRA, _tC, _aC, _aRC, _oIS, _dS, _bGDC, _lBI, _eTS, _eS, _oPTS, _eDO, _tHE],
1923
+ [0, 0, 0, 0, () => EC2TagFilterList, () => TagFilterList, 64 | 0, 0, () => TriggerConfigList, () => AlarmConfiguration$, () => AutoRollbackConfiguration$, 0, () => DeploymentStyle$, () => BlueGreenDeploymentConfiguration$, () => LoadBalancerInfo$, () => EC2TagSet$, () => ECSServiceList, () => OnPremisesTagSet$, () => EC2DeploymentOptions$, 2], 2
1909
1924
  ];
1910
1925
  export var UpdateDeploymentGroupOutput$ = [3, n0, _UDGO,
1911
1926
  0,
@@ -1930,6 +1945,7 @@ var AutoScalingGroupList = [1, n0, _ASGL,
1930
1945
  0, () => AutoScalingGroup$
1931
1946
  ];
1932
1947
  var AutoScalingGroupNameList = 64 | 0;
1948
+ var AutoScalingGroupProcessesToSuspendList = 64 | 0;
1933
1949
  var DeploymentConfigsList = 64 | 0;
1934
1950
  var DeploymentGroupInfoList = [1, n0, _DGIL,
1935
1951
  0, () => DeploymentGroupInfo$
@@ -206,6 +206,11 @@ declare const BatchGetDeploymentGroupsCommand_base: {
206
206
  * // clusterName: "STRING_VALUE",
207
207
  * // },
208
208
  * // ],
209
+ * // ec2DeploymentOptions: { // EC2DeploymentOptions
210
+ * // autoScalingGroupProcessesToSuspend: [ // AutoScalingGroupProcessesToSuspendList
211
+ * // "Terminate" || "AZRebalance" || "InstanceRefresh" || "ScheduledActions",
212
+ * // ],
213
+ * // },
209
214
  * // terminationHookEnabled: true || false,
210
215
  * // },
211
216
  * // ],
@@ -218,6 +218,11 @@ declare const BatchGetDeploymentsCommand_base: {
218
218
  * // },
219
219
  * // ],
220
220
  * // },
221
+ * // ec2DeploymentOptions: { // EC2DeploymentOptions
222
+ * // autoScalingGroupProcessesToSuspend: [ // AutoScalingGroupProcessesToSuspendList
223
+ * // "Terminate" || "AZRebalance" || "InstanceRefresh" || "ScheduledActions",
224
+ * // ],
225
+ * // },
221
226
  * // },
222
227
  * // ],
223
228
  * // };
@@ -102,6 +102,11 @@ declare const CreateDeploymentCommand_base: {
102
102
  * },
103
103
  * ],
104
104
  * },
105
+ * ec2DeploymentOptions: { // EC2DeploymentOptions
106
+ * autoScalingGroupProcessesToSuspend: [ // AutoScalingGroupProcessesToSuspendList
107
+ * "Terminate" || "AZRebalance" || "InstanceRefresh" || "ScheduledActions",
108
+ * ],
109
+ * },
105
110
  * };
106
111
  * const command = new CreateDeploymentCommand(input);
107
112
  * const response = await client.send(command);
@@ -174,6 +179,12 @@ declare const CreateDeploymentCommand_base: {
174
179
  * <p>The Auto Scaling group was specified in an invalid format or does not
175
180
  * exist.</p>
176
181
  *
182
+ * @throws {@link InvalidAutoScalingGroupProcessToSuspendException} (client fault)
183
+ * <p>The <code>autoScalingGroupProcessesToSuspend</code> list in
184
+ * <code>ec2DeploymentOptions</code> contains a process that is not valid. Valid values
185
+ * are <code>Terminate</code>, <code>AZRebalance</code>, <code>InstanceRefresh</code>,
186
+ * and <code>ScheduledActions</code>. Process names are case sensitive.</p>
187
+ *
177
188
  * @throws {@link InvalidComputePlatformException} (client fault)
178
189
  * <p>The computePlatform is invalid. The computePlatform should be <code>Lambda</code>, <code>Server</code>, or <code>ECS</code>.</p>
179
190
  *
@@ -162,6 +162,11 @@ declare const CreateDeploymentGroupCommand_base: {
162
162
  * Value: "STRING_VALUE",
163
163
  * },
164
164
  * ],
165
+ * ec2DeploymentOptions: { // EC2DeploymentOptions
166
+ * autoScalingGroupProcessesToSuspend: [ // AutoScalingGroupProcessesToSuspendList
167
+ * "Terminate" || "AZRebalance" || "InstanceRefresh" || "ScheduledActions",
168
+ * ],
169
+ * },
165
170
  * terminationHookEnabled: true || false,
166
171
  * };
167
172
  * const command = new CreateDeploymentGroupCommand(input);
@@ -236,6 +241,12 @@ declare const CreateDeploymentGroupCommand_base: {
236
241
  * <p>The Auto Scaling group was specified in an invalid format or does not
237
242
  * exist.</p>
238
243
  *
244
+ * @throws {@link InvalidAutoScalingGroupProcessToSuspendException} (client fault)
245
+ * <p>The <code>autoScalingGroupProcessesToSuspend</code> list in
246
+ * <code>ec2DeploymentOptions</code> contains a process that is not valid. Valid values
247
+ * are <code>Terminate</code>, <code>AZRebalance</code>, <code>InstanceRefresh</code>,
248
+ * and <code>ScheduledActions</code>. Process names are case sensitive.</p>
249
+ *
239
250
  * @throws {@link InvalidBlueGreenDeploymentConfigurationException} (client fault)
240
251
  * <p>The configuration for the blue/green deployment group was provided in an invalid
241
252
  * format. For information about deployment configuration format, see <a>CreateDeploymentConfig</a>.</p>
@@ -220,6 +220,11 @@ declare const GetDeploymentCommand_base: {
220
220
  * // },
221
221
  * // ],
222
222
  * // },
223
+ * // ec2DeploymentOptions: { // EC2DeploymentOptions
224
+ * // autoScalingGroupProcessesToSuspend: [ // AutoScalingGroupProcessesToSuspendList
225
+ * // "Terminate" || "AZRebalance" || "InstanceRefresh" || "ScheduledActions",
226
+ * // ],
227
+ * // },
223
228
  * // },
224
229
  * // };
225
230
  *
@@ -203,6 +203,11 @@ declare const GetDeploymentGroupCommand_base: {
203
203
  * // clusterName: "STRING_VALUE",
204
204
  * // },
205
205
  * // ],
206
+ * // ec2DeploymentOptions: { // EC2DeploymentOptions
207
+ * // autoScalingGroupProcessesToSuspend: [ // AutoScalingGroupProcessesToSuspendList
208
+ * // "Terminate" || "AZRebalance" || "InstanceRefresh" || "ScheduledActions",
209
+ * // ],
210
+ * // },
206
211
  * // terminationHookEnabled: true || false,
207
212
  * // },
208
213
  * // };
@@ -157,6 +157,11 @@ declare const UpdateDeploymentGroupCommand_base: {
157
157
  * ],
158
158
  * ],
159
159
  * },
160
+ * ec2DeploymentOptions: { // EC2DeploymentOptions
161
+ * autoScalingGroupProcessesToSuspend: [ // AutoScalingGroupProcessesToSuspendList
162
+ * "Terminate" || "AZRebalance" || "InstanceRefresh" || "ScheduledActions",
163
+ * ],
164
+ * },
160
165
  * terminationHookEnabled: true || false,
161
166
  * };
162
167
  * const command = new UpdateDeploymentGroupCommand(input);
@@ -238,6 +243,12 @@ declare const UpdateDeploymentGroupCommand_base: {
238
243
  * <p>The Auto Scaling group was specified in an invalid format or does not
239
244
  * exist.</p>
240
245
  *
246
+ * @throws {@link InvalidAutoScalingGroupProcessToSuspendException} (client fault)
247
+ * <p>The <code>autoScalingGroupProcessesToSuspend</code> list in
248
+ * <code>ec2DeploymentOptions</code> contains a process that is not valid. Valid values
249
+ * are <code>Terminate</code>, <code>AZRebalance</code>, <code>InstanceRefresh</code>,
250
+ * and <code>ScheduledActions</code>. Process names are case sensitive.</p>
251
+ *
241
252
  * @throws {@link InvalidBlueGreenDeploymentConfigurationException} (client fault)
242
253
  * <p>The configuration for the blue/green deployment group was provided in an invalid
243
254
  * format. For information about deployment configuration format, see <a>CreateDeploymentConfig</a>.</p>
@@ -37,6 +37,20 @@ export declare const AutoRollbackEvent: {
37
37
  * @public
38
38
  */
39
39
  export type AutoRollbackEvent = (typeof AutoRollbackEvent)[keyof typeof AutoRollbackEvent];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const AutoScalingGroupProcess: {
45
+ readonly AZ_REBALANCE: "AZRebalance";
46
+ readonly INSTANCE_REFRESH: "InstanceRefresh";
47
+ readonly SCHEDULED_ACTIONS: "ScheduledActions";
48
+ readonly TERMINATE: "Terminate";
49
+ };
50
+ /**
51
+ * @public
52
+ */
53
+ export type AutoScalingGroupProcess = (typeof AutoScalingGroupProcess)[keyof typeof AutoScalingGroupProcess];
40
54
  /**
41
55
  * @public
42
56
  * @enum
@@ -616,6 +616,22 @@ export declare class InvalidAutoScalingGroupException extends __BaseException {
616
616
  */
617
617
  constructor(opts: __ExceptionOptionType<InvalidAutoScalingGroupException, __BaseException>);
618
618
  }
619
+ /**
620
+ * <p>The <code>autoScalingGroupProcessesToSuspend</code> list in
621
+ * <code>ec2DeploymentOptions</code> contains a process that is not valid. Valid values
622
+ * are <code>Terminate</code>, <code>AZRebalance</code>, <code>InstanceRefresh</code>,
623
+ * and <code>ScheduledActions</code>. Process names are case sensitive.</p>
624
+ * @public
625
+ */
626
+ export declare class InvalidAutoScalingGroupProcessToSuspendException extends __BaseException {
627
+ static readonly shapeId: string;
628
+ readonly name: "InvalidAutoScalingGroupProcessToSuspendException";
629
+ readonly $fault: "client";
630
+ /**
631
+ * @internal
632
+ */
633
+ constructor(opts: __ExceptionOptionType<InvalidAutoScalingGroupProcessToSuspendException, __BaseException>);
634
+ }
619
635
  /**
620
636
  * <p>The deployment configuration name was specified in an invalid format.</p>
621
637
  * @public
@@ -1,4 +1,4 @@
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";
1
+ import type { _InstanceType, ApplicationRevisionSortBy, AutoRollbackEvent, AutoScalingGroupProcess, 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
@@ -605,6 +605,39 @@ export interface DeploymentStyle {
605
605
  */
606
606
  deploymentOption?: DeploymentOption | undefined;
607
607
  }
608
+ /**
609
+ * <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
610
+ * during a deployment.</p>
611
+ * @public
612
+ */
613
+ export interface EC2DeploymentOptions {
614
+ /**
615
+ * <p>The Amazon EC2 Auto Scaling processes to suspend during the deployment.
616
+ * CodeDeploy suspends these processes before it deploys to instances in an
617
+ * Auto Scaling group, and resumes them when the deployment succeeds, fails, or is
618
+ * stopped. Valid values are <code>Terminate</code>, <code>AZRebalance</code>,
619
+ * <code>InstanceRefresh</code>, and <code>ScheduledActions</code>.</p>
620
+ * <p>This parameter applies only to in-place deployments on the EC2/On-premises compute
621
+ * platform. If the list is empty, or if the deployment does not target instances in an
622
+ * Auto Scaling group, no processes are suspended.</p>
623
+ * <p>The service role for the deployment group must have permission to call
624
+ * <code>autoscaling:SuspendProcesses</code> and <code>autoscaling:ResumeProcesses</code>
625
+ * on the target Auto Scaling groups. If the processes cannot be suspended, the
626
+ * deployment fails before any instance is updated.</p>
627
+ * <p>If you suspend <code>ScheduledActions</code>, scheduled actions with a start time
628
+ * during the deployment are skipped and do not run after the process resumes.</p>
629
+ * <note>
630
+ * <p>If CodeDeploy cannot resume the processes, the deployment fails and the
631
+ * processes stay suspended until you resume them with the Auto Scaling
632
+ * <code>ResumeProcesses</code> action. While <code>Terminate</code> is suspended,
633
+ * Auto Scaling does not replace unhealthy instances. If you suspend
634
+ * <code>Terminate</code>, configure a trigger that notifies you when a deployment
635
+ * fails.</p>
636
+ * </note>
637
+ * @public
638
+ */
639
+ autoScalingGroupProcessesToSuspend?: AutoScalingGroupProcess[] | undefined;
640
+ }
608
641
  /**
609
642
  * <p>Information about an EC2 tag filter.</p>
610
643
  * @public
@@ -1021,6 +1054,12 @@ export interface DeploymentGroupInfo {
1021
1054
  * @public
1022
1055
  */
1023
1056
  ecsServices?: ECSService[] | undefined;
1057
+ /**
1058
+ * <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
1059
+ * during a deployment.</p>
1060
+ * @public
1061
+ */
1062
+ ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
1024
1063
  /**
1025
1064
  * <p>Indicates whether the deployment group was configured to have CodeDeploy
1026
1065
  * install a termination hook into an Auto Scaling group.</p>
@@ -1701,6 +1740,12 @@ export interface DeploymentInfo {
1701
1740
  * @public
1702
1741
  */
1703
1742
  overrideAlarmConfiguration?: AlarmConfiguration | undefined;
1743
+ /**
1744
+ * <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
1745
+ * during a deployment.</p>
1746
+ * @public
1747
+ */
1748
+ ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
1704
1749
  }
1705
1750
  /**
1706
1751
  * <p> Represents the output of a <code>BatchGetDeployments</code> operation. </p>
@@ -2393,6 +2438,12 @@ export interface CreateDeploymentInput {
2393
2438
  * @public
2394
2439
  */
2395
2440
  overrideAlarmConfiguration?: AlarmConfiguration | undefined;
2441
+ /**
2442
+ * <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
2443
+ * during a deployment.</p>
2444
+ * @public
2445
+ */
2446
+ ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
2396
2447
  }
2397
2448
  /**
2398
2449
  * <p> Represents the output of a <code>CreateDeployment</code> operation. </p>
@@ -2786,6 +2837,12 @@ export interface CreateDeploymentGroupInput {
2786
2837
  * @public
2787
2838
  */
2788
2839
  tags?: Tag[] | undefined;
2840
+ /**
2841
+ * <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
2842
+ * during a deployment.</p>
2843
+ * @public
2844
+ */
2845
+ ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
2789
2846
  /**
2790
2847
  * <p>This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html">Integrating
2791
2848
  * CodeDeploy with Amazon EC2 Auto Scaling</a> in the <i>CodeDeploy User Guide</i>.</p>
@@ -4082,6 +4139,12 @@ export interface UpdateDeploymentGroupInput {
4082
4139
  * @public
4083
4140
  */
4084
4141
  onPremisesTagSet?: OnPremisesTagSet | undefined;
4142
+ /**
4143
+ * <p>Options that control how CodeDeploy manages Amazon EC2 Auto Scaling groups
4144
+ * during a deployment.</p>
4145
+ * @public
4146
+ */
4147
+ ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
4085
4148
  /**
4086
4149
  * <p>This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html">Integrating
4087
4150
  * CodeDeploy with Amazon EC2 Auto Scaling</a> in the <i>CodeDeploy User Guide</i>.</p>
@@ -46,6 +46,7 @@ export declare var InvalidApplicationNameException$: StaticErrorSchema;
46
46
  export declare var InvalidArnException$: StaticErrorSchema;
47
47
  export declare var InvalidAutoRollbackConfigException$: StaticErrorSchema;
48
48
  export declare var InvalidAutoScalingGroupException$: StaticErrorSchema;
49
+ export declare var InvalidAutoScalingGroupProcessToSuspendException$: StaticErrorSchema;
49
50
  export declare var InvalidBlueGreenDeploymentConfigurationException$: StaticErrorSchema;
50
51
  export declare var InvalidBucketNameFilterException$: StaticErrorSchema;
51
52
  export declare var InvalidComputePlatformException$: StaticErrorSchema;
@@ -167,6 +168,7 @@ export declare var DeploymentStyle$: StaticStructureSchema;
167
168
  export declare var DeploymentTarget$: StaticStructureSchema;
168
169
  export declare var DeregisterOnPremisesInstanceInput$: StaticStructureSchema;
169
170
  export declare var Diagnostics$: StaticStructureSchema;
171
+ export declare var EC2DeploymentOptions$: StaticStructureSchema;
170
172
  export declare var EC2TagFilter$: StaticStructureSchema;
171
173
  export declare var EC2TagSet$: StaticStructureSchema;
172
174
  export declare var ECSService$: StaticStructureSchema;
@@ -17,6 +17,14 @@ export declare const AutoRollbackEvent: {
17
17
  readonly DEPLOYMENT_STOP_ON_REQUEST: "DEPLOYMENT_STOP_ON_REQUEST";
18
18
  };
19
19
  export type AutoRollbackEvent = (typeof AutoRollbackEvent)[keyof typeof AutoRollbackEvent];
20
+ export declare const AutoScalingGroupProcess: {
21
+ readonly AZ_REBALANCE: "AZRebalance";
22
+ readonly INSTANCE_REFRESH: "InstanceRefresh";
23
+ readonly SCHEDULED_ACTIONS: "ScheduledActions";
24
+ readonly TERMINATE: "Terminate";
25
+ };
26
+ export type AutoScalingGroupProcess =
27
+ (typeof AutoScalingGroupProcess)[keyof typeof AutoScalingGroupProcess];
20
28
  export declare const RevisionLocationType: {
21
29
  readonly AppSpecContent: "AppSpecContent";
22
30
  readonly GitHub: "GitHub";
@@ -274,6 +274,14 @@ export declare class InvalidAutoScalingGroupException extends __BaseException {
274
274
  readonly $fault: "client";
275
275
  constructor(opts: __ExceptionOptionType<InvalidAutoScalingGroupException, __BaseException>);
276
276
  }
277
+ export declare class InvalidAutoScalingGroupProcessToSuspendException extends __BaseException {
278
+ static readonly shapeId: string;
279
+ readonly name: "InvalidAutoScalingGroupProcessToSuspendException";
280
+ readonly $fault: "client";
281
+ constructor(
282
+ opts: __ExceptionOptionType<InvalidAutoScalingGroupProcessToSuspendException, __BaseException>,
283
+ );
284
+ }
277
285
  export declare class InvalidDeploymentConfigNameException extends __BaseException {
278
286
  static readonly shapeId: string;
279
287
  readonly name: "InvalidDeploymentConfigNameException";
@@ -2,6 +2,7 @@ import {
2
2
  _InstanceType,
3
3
  ApplicationRevisionSortBy,
4
4
  AutoRollbackEvent,
5
+ AutoScalingGroupProcess,
5
6
  BundleType,
6
7
  ComputePlatform,
7
8
  DeploymentCreator,
@@ -144,6 +145,9 @@ export interface DeploymentStyle {
144
145
  deploymentType?: DeploymentType | undefined;
145
146
  deploymentOption?: DeploymentOption | undefined;
146
147
  }
148
+ export interface EC2DeploymentOptions {
149
+ autoScalingGroupProcessesToSuspend?: AutoScalingGroupProcess[] | undefined;
150
+ }
147
151
  export interface EC2TagFilter {
148
152
  Key?: string | undefined;
149
153
  Value?: string | undefined;
@@ -217,6 +221,7 @@ export interface DeploymentGroupInfo {
217
221
  onPremisesTagSet?: OnPremisesTagSet | undefined;
218
222
  computePlatform?: ComputePlatform | undefined;
219
223
  ecsServices?: ECSService[] | undefined;
224
+ ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
220
225
  terminationHookEnabled?: boolean | undefined;
221
226
  }
222
227
  export interface BatchGetDeploymentGroupsOutput {
@@ -313,6 +318,7 @@ export interface DeploymentInfo {
313
318
  externalId?: string | undefined;
314
319
  relatedDeployments?: RelatedDeployments | undefined;
315
320
  overrideAlarmConfiguration?: AlarmConfiguration | undefined;
321
+ ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
316
322
  }
317
323
  export interface BatchGetDeploymentsOutput {
318
324
  deploymentsInfo?: DeploymentInfo[] | undefined;
@@ -424,6 +430,7 @@ export interface CreateDeploymentInput {
424
430
  fileExistsBehavior?: FileExistsBehavior | undefined;
425
431
  deploymentMode?: DeploymentMode | undefined;
426
432
  overrideAlarmConfiguration?: AlarmConfiguration | undefined;
433
+ ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
427
434
  }
428
435
  export interface CreateDeploymentOutput {
429
436
  deploymentId?: string | undefined;
@@ -483,6 +490,7 @@ export interface CreateDeploymentGroupInput {
483
490
  ecsServices?: ECSService[] | undefined;
484
491
  onPremisesTagSet?: OnPremisesTagSet | undefined;
485
492
  tags?: Tag[] | undefined;
493
+ ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
486
494
  terminationHookEnabled?: boolean | undefined;
487
495
  }
488
496
  export interface CreateDeploymentGroupOutput {
@@ -738,6 +746,7 @@ export interface UpdateDeploymentGroupInput {
738
746
  ec2TagSet?: EC2TagSet | undefined;
739
747
  ecsServices?: ECSService[] | undefined;
740
748
  onPremisesTagSet?: OnPremisesTagSet | undefined;
749
+ ec2DeploymentOptions?: EC2DeploymentOptions | undefined;
741
750
  terminationHookEnabled?: boolean | undefined;
742
751
  }
743
752
  export interface UpdateDeploymentGroupOutput {
@@ -46,6 +46,7 @@ export declare var InvalidApplicationNameException$: StaticErrorSchema;
46
46
  export declare var InvalidArnException$: StaticErrorSchema;
47
47
  export declare var InvalidAutoRollbackConfigException$: StaticErrorSchema;
48
48
  export declare var InvalidAutoScalingGroupException$: StaticErrorSchema;
49
+ export declare var InvalidAutoScalingGroupProcessToSuspendException$: StaticErrorSchema;
49
50
  export declare var InvalidBlueGreenDeploymentConfigurationException$: StaticErrorSchema;
50
51
  export declare var InvalidBucketNameFilterException$: StaticErrorSchema;
51
52
  export declare var InvalidComputePlatformException$: StaticErrorSchema;
@@ -162,6 +163,7 @@ export declare var DeploymentStyle$: StaticStructureSchema;
162
163
  export declare var DeploymentTarget$: StaticStructureSchema;
163
164
  export declare var DeregisterOnPremisesInstanceInput$: StaticStructureSchema;
164
165
  export declare var Diagnostics$: StaticStructureSchema;
166
+ export declare var EC2DeploymentOptions$: StaticStructureSchema;
165
167
  export declare var EC2TagFilter$: StaticStructureSchema;
166
168
  export declare var EC2TagSet$: StaticStructureSchema;
167
169
  export declare var ECSService$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codedeploy",
3
- "version": "3.1151.0",
3
+ "version": "3.1153.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",
@@ -48,10 +48,10 @@
48
48
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.978.3",
52
- "@aws-sdk/credential-provider-node": "^3.972.86",
51
+ "@aws-sdk/core": "^3.978.4",
52
+ "@aws-sdk/credential-provider-node": "^3.972.87",
53
53
  "@aws-sdk/types": "^3.974.6",
54
- "@smithy/core": "^3.35.2",
54
+ "@smithy/core": "^3.36.0",
55
55
  "@smithy/fetch-http-handler": "^5.8.0",
56
56
  "@smithy/node-http-handler": "^4.12.1",
57
57
  "@smithy/types": "^4.19.0",