@aws-sdk/client-arc-region-switch 3.1060.0 → 3.1062.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
@@ -659,8 +659,17 @@ const EventSourceMappingAction = {
659
659
  const LambdaEventSourceMappingUngracefulBehavior = {
660
660
  SKIP: "skip",
661
661
  };
662
+ const NeptuneDefaultBehavior = {
663
+ FAILOVER: "failover",
664
+ SWITCHOVER_ONLY: "switchoverOnly",
665
+ };
666
+ const NeptuneUngracefulBehavior = {
667
+ FAILOVER: "failover",
668
+ };
662
669
  const ExecutionBlockType = {
663
670
  AURORA: "AuroraGlobalDatabase",
671
+ AURORA_PROVISIONED_SCALING: "AuroraProvisionedScaling",
672
+ AURORA_SERVERLESS_SCALING: "AuroraServerlessScaling",
664
673
  CUSTOM_ACTION_LAMBDA: "CustomActionLambda",
665
674
  DOCUMENTDB: "DocumentDb",
666
675
  EC2_ASG: "EC2AutoScaling",
@@ -668,6 +677,7 @@ const ExecutionBlockType = {
668
677
  EKS_RESOURCE_SCALING: "EKSResourceScaling",
669
678
  EXECUTION_APPROVAL: "ManualApproval",
670
679
  LAMBDA_EVENT_SOURCE_MAPPING: "LambdaEventSourceMapping",
680
+ NEPTUNE: "NeptuneGlobalDatabase",
671
681
  PARALLEL: "Parallel",
672
682
  RDS_CREATE_CROSS_REGION_REPLICA: "RdsCreateCrossRegionReplica",
673
683
  RDS_PROMOTE_READ_REPLICA: "RdsPromoteReadReplica",
@@ -768,6 +778,8 @@ exports.ListPlansInRegionCommand = ListPlansInRegionCommand;
768
778
  exports.ListRoute53HealthChecksCommand = ListRoute53HealthChecksCommand;
769
779
  exports.ListRoute53HealthChecksInRegionCommand = ListRoute53HealthChecksInRegionCommand;
770
780
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
781
+ exports.NeptuneDefaultBehavior = NeptuneDefaultBehavior;
782
+ exports.NeptuneUngracefulBehavior = NeptuneUngracefulBehavior;
771
783
  exports.RecoveryApproach = RecoveryApproach;
772
784
  exports.RegionToRunIn = RegionToRunIn;
773
785
  exports.ResourceWarningStatus = ResourceWarningStatus;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IllegalStateException = exports.IllegalArgumentException = exports.InternalServerException = exports.ResourceNotFoundException = exports.AccessDeniedException = void 0;
3
+ exports.IllegalStateException = exports.InternalServerException = exports.IllegalArgumentException = exports.ResourceNotFoundException = exports.AccessDeniedException = void 0;
4
4
  const ARCRegionSwitchServiceException_1 = require("./ARCRegionSwitchServiceException");
5
5
  class AccessDeniedException extends ARCRegionSwitchServiceException_1.ARCRegionSwitchServiceException {
6
6
  name = "AccessDeniedException";
@@ -28,19 +28,6 @@ class ResourceNotFoundException extends ARCRegionSwitchServiceException_1.ARCReg
28
28
  }
29
29
  }
30
30
  exports.ResourceNotFoundException = ResourceNotFoundException;
31
- class InternalServerException extends ARCRegionSwitchServiceException_1.ARCRegionSwitchServiceException {
32
- name = "InternalServerException";
33
- $fault = "server";
34
- constructor(opts) {
35
- super({
36
- name: "InternalServerException",
37
- $fault: "server",
38
- ...opts,
39
- });
40
- Object.setPrototypeOf(this, InternalServerException.prototype);
41
- }
42
- }
43
- exports.InternalServerException = InternalServerException;
44
31
  class IllegalArgumentException extends ARCRegionSwitchServiceException_1.ARCRegionSwitchServiceException {
45
32
  name = "IllegalArgumentException";
46
33
  $fault = "client";
@@ -54,6 +41,19 @@ class IllegalArgumentException extends ARCRegionSwitchServiceException_1.ARCRegi
54
41
  }
55
42
  }
56
43
  exports.IllegalArgumentException = IllegalArgumentException;
44
+ class InternalServerException extends ARCRegionSwitchServiceException_1.ARCRegionSwitchServiceException {
45
+ name = "InternalServerException";
46
+ $fault = "server";
47
+ constructor(opts) {
48
+ super({
49
+ name: "InternalServerException",
50
+ $fault: "server",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, InternalServerException.prototype);
54
+ }
55
+ }
56
+ exports.InternalServerException = InternalServerException;
57
57
  class IllegalStateException extends ARCRegionSwitchServiceException_1.ARCRegionSwitchServiceException {
58
58
  name = "IllegalStateException";
59
59
  $fault = "client";
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LambdaEventSourceMappingUngraceful$ = exports.LambdaEventSourceMappingConfiguration$ = exports.KubernetesScalingResource$ = exports.KubernetesResourceType$ = exports.GlobalAuroraUngraceful$ = exports.GlobalAuroraConfiguration$ = exports.GetPlanResponse$ = exports.GetPlanRequest$ = exports.GetPlanInRegionResponse$ = exports.GetPlanInRegionRequest$ = exports.GetPlanExecutionResponse$ = exports.GetPlanExecutionRequest$ = exports.GetPlanEvaluationStatusResponse$ = exports.GetPlanEvaluationStatusRequest$ = exports.GeneratedReport$ = exports.FailedReportOutput$ = exports.ExecutionEvent$ = exports.ExecutionApprovalConfiguration$ = exports.EventSourceMapping$ = exports.EksResourceScalingUngraceful$ = exports.EksResourceScalingConfiguration$ = exports.EksCluster$ = exports.EcsUngraceful$ = exports.EcsCapacityIncreaseConfiguration$ = exports.Ec2Ungraceful$ = exports.Ec2AsgCapacityIncreaseConfiguration$ = exports.DocumentDbUngraceful$ = exports.DocumentDbConfiguration$ = exports.DeletePlanResponse$ = exports.DeletePlanRequest$ = exports.CustomActionLambdaConfiguration$ = exports.CreatePlanResponse$ = exports.CreatePlanRequest$ = exports.CancelPlanExecutionResponse$ = exports.CancelPlanExecutionRequest$ = exports.AssociatedAlarm$ = exports.Asg$ = exports.ArcRoutingControlState$ = exports.ArcRoutingControlConfiguration$ = exports.ApprovePlanExecutionStepResponse$ = exports.ApprovePlanExecutionStepRequest$ = exports.AbbreviatedPlan$ = exports.AbbreviatedExecution$ = exports.errorTypeRegistries = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.IllegalStateException$ = exports.IllegalArgumentException$ = exports.AccessDeniedException$ = exports.ARCRegionSwitchServiceException$ = void 0;
4
- exports.ReportOutputConfiguration$ = exports.ReportOutput$ = exports.ExecutionBlockConfiguration$ = exports.Workflow$ = exports.UpdatePlanResponse$ = exports.UpdatePlanRequest$ = exports.UpdatePlanExecutionStepResponse$ = exports.UpdatePlanExecutionStepRequest$ = exports.UpdatePlanExecutionResponse$ = exports.UpdatePlanExecutionRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TriggerCondition$ = exports.Trigger$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StepState$ = exports.Step$ = exports.StartPlanExecutionResponse$ = exports.StartPlanExecutionRequest$ = exports.Service$ = exports.S3ReportOutputConfiguration$ = exports.S3ReportOutput$ = exports.Route53ResourceRecordSet$ = exports.Route53HealthCheckConfiguration$ = exports.Route53HealthCheck$ = exports.ResourceWarning$ = exports.ReportConfiguration$ = exports.RegionSwitchPlanConfiguration$ = exports.RdsPromoteReadReplicaConfiguration$ = exports.RdsCreateCrossRegionReplicaConfiguration$ = exports.Plan$ = exports.ParallelExecutionBlockConfiguration$ = exports.MinimalWorkflow$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListRoute53HealthChecksResponse$ = exports.ListRoute53HealthChecksRequest$ = exports.ListRoute53HealthChecksInRegionResponse$ = exports.ListRoute53HealthChecksInRegionRequest$ = exports.ListPlansResponse$ = exports.ListPlansRequest$ = exports.ListPlansInRegionResponse$ = exports.ListPlansInRegionRequest$ = exports.ListPlanExecutionsResponse$ = exports.ListPlanExecutionsRequest$ = exports.ListPlanExecutionEventsResponse$ = exports.ListPlanExecutionEventsRequest$ = exports.LambdaUngraceful$ = exports.Lambdas$ = void 0;
5
- exports.UpdatePlanExecutionStep$ = exports.UpdatePlanExecution$ = exports.UpdatePlan$ = exports.UntagResource$ = exports.TagResource$ = exports.StartPlanExecution$ = exports.ListTagsForResource$ = exports.ListRoute53HealthChecksInRegion$ = exports.ListRoute53HealthChecks$ = exports.ListPlansInRegion$ = exports.ListPlans$ = exports.ListPlanExecutions$ = exports.ListPlanExecutionEvents$ = exports.GetPlanInRegion$ = exports.GetPlanExecution$ = exports.GetPlanEvaluationStatus$ = exports.GetPlan$ = exports.DeletePlan$ = exports.CreatePlan$ = exports.CancelPlanExecution$ = exports.ApprovePlanExecutionStep$ = void 0;
3
+ exports.KubernetesScalingResource$ = exports.KubernetesResourceType$ = exports.GlobalAuroraUngraceful$ = exports.GlobalAuroraConfiguration$ = exports.GetPlanResponse$ = exports.GetPlanRequest$ = exports.GetPlanInRegionResponse$ = exports.GetPlanInRegionRequest$ = exports.GetPlanExecutionResponse$ = exports.GetPlanExecutionRequest$ = exports.GetPlanEvaluationStatusResponse$ = exports.GetPlanEvaluationStatusRequest$ = exports.GeneratedReport$ = exports.FailedReportOutput$ = exports.ExecutionEvent$ = exports.ExecutionApprovalConfiguration$ = exports.EventSourceMapping$ = exports.EksResourceScalingUngraceful$ = exports.EksResourceScalingConfiguration$ = exports.EksCluster$ = exports.EcsUngraceful$ = exports.EcsCapacityIncreaseConfiguration$ = exports.Ec2Ungraceful$ = exports.Ec2AsgCapacityIncreaseConfiguration$ = exports.DocumentDbUngraceful$ = exports.DocumentDbConfiguration$ = exports.DeletePlanResponse$ = exports.DeletePlanRequest$ = exports.CustomActionLambdaConfiguration$ = exports.CreatePlanResponse$ = exports.CreatePlanRequest$ = exports.CancelPlanExecutionResponse$ = exports.CancelPlanExecutionRequest$ = exports.AuroraServerlessScalingConfiguration$ = exports.AuroraProvisionedScalingConfiguration$ = exports.AssociatedAlarm$ = exports.Asg$ = exports.ArcRoutingControlState$ = exports.ArcRoutingControlConfiguration$ = exports.ApprovePlanExecutionStepResponse$ = exports.ApprovePlanExecutionStepRequest$ = exports.AbbreviatedPlan$ = exports.AbbreviatedExecution$ = exports.errorTypeRegistries = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.IllegalStateException$ = exports.IllegalArgumentException$ = exports.AccessDeniedException$ = exports.ARCRegionSwitchServiceException$ = void 0;
4
+ exports.UpdatePlanResponse$ = exports.UpdatePlanRequest$ = exports.UpdatePlanExecutionStepResponse$ = exports.UpdatePlanExecutionStepRequest$ = exports.UpdatePlanExecutionResponse$ = exports.UpdatePlanExecutionRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TriggerCondition$ = exports.Trigger$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StepState$ = exports.Step$ = exports.StartPlanExecutionResponse$ = exports.StartPlanExecutionRequest$ = exports.Service$ = exports.S3ReportOutputConfiguration$ = exports.S3ReportOutput$ = exports.Route53ResourceRecordSet$ = exports.Route53HealthCheckConfiguration$ = exports.Route53HealthCheck$ = exports.ResourceWarning$ = exports.ReportConfiguration$ = exports.RegionSwitchPlanConfiguration$ = exports.RdsPromoteReadReplicaConfiguration$ = exports.RdsCreateCrossRegionReplicaConfiguration$ = exports.Plan$ = exports.ParallelExecutionBlockConfiguration$ = exports.NeptuneUngraceful$ = exports.NeptuneGlobalDatabaseConfiguration$ = exports.MinimalWorkflow$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListRoute53HealthChecksResponse$ = exports.ListRoute53HealthChecksRequest$ = exports.ListRoute53HealthChecksInRegionResponse$ = exports.ListRoute53HealthChecksInRegionRequest$ = exports.ListPlansResponse$ = exports.ListPlansRequest$ = exports.ListPlansInRegionResponse$ = exports.ListPlansInRegionRequest$ = exports.ListPlanExecutionsResponse$ = exports.ListPlanExecutionsRequest$ = exports.ListPlanExecutionEventsResponse$ = exports.ListPlanExecutionEventsRequest$ = exports.LambdaUngraceful$ = exports.Lambdas$ = exports.LambdaEventSourceMappingUngraceful$ = exports.LambdaEventSourceMappingConfiguration$ = void 0;
5
+ exports.UpdatePlanExecutionStep$ = exports.UpdatePlanExecution$ = exports.UpdatePlan$ = exports.UntagResource$ = exports.TagResource$ = exports.StartPlanExecution$ = exports.ListTagsForResource$ = exports.ListRoute53HealthChecksInRegion$ = exports.ListRoute53HealthChecks$ = exports.ListPlansInRegion$ = exports.ListPlans$ = exports.ListPlanExecutions$ = exports.ListPlanExecutionEvents$ = exports.GetPlanInRegion$ = exports.GetPlanExecution$ = exports.GetPlanEvaluationStatus$ = exports.GetPlan$ = exports.DeletePlan$ = exports.CreatePlan$ = exports.CancelPlanExecution$ = exports.ApprovePlanExecutionStep$ = exports.ReportOutputConfiguration$ = exports.ReportOutput$ = exports.ExecutionBlockConfiguration$ = exports.Workflow$ = void 0;
6
6
  const _A = "Asg";
7
7
  const _AA = "AssociatedAlarm";
8
8
  const _AAM = "AssociatedAlarmMap";
@@ -14,9 +14,11 @@ const _AP = "AbbreviatedPlan";
14
14
  const _APES = "ApprovePlanExecutionStep";
15
15
  const _APESR = "ApprovePlanExecutionStepRequest";
16
16
  const _APESRp = "ApprovePlanExecutionStepResponse";
17
+ const _APSC = "AuroraProvisionedScalingConfiguration";
17
18
  const _ARCC = "ArcRoutingControlConfiguration";
18
19
  const _ARCS = "ArcRoutingControlState";
19
20
  const _ARCSr = "ArcRoutingControlStates";
21
+ const _ASSC = "AuroraServerlessScalingConfiguration";
20
22
  const _CALC = "CustomActionLambdaConfiguration";
21
23
  const _CP = "CreatePlan";
22
24
  const _CPE = "CancelPlanExecution";
@@ -93,6 +95,8 @@ const _LTFRR = "ListTagsForResourceRequest";
93
95
  const _LTFRRi = "ListTagsForResourceResponse";
94
96
  const _LU = "LambdaUngraceful";
95
97
  const _MW = "MinimalWorkflow";
98
+ const _NGDC = "NeptuneGlobalDatabaseConfiguration";
99
+ const _NU = "NeptuneUngraceful";
96
100
  const _P = "Plan";
97
101
  const _PEBC = "ParallelExecutionBlockConfiguration";
98
102
  const _PL = "PlanList";
@@ -150,10 +154,12 @@ const _a = "arn";
150
154
  const _aA = "associatedAlarms";
151
155
  const _aAN = "associatedAlarmName";
152
156
  const _aPE = "activePlanExecution";
157
+ const _aPSC = "auroraProvisionedScalingConfig";
153
158
  const _aR = "approvalRole";
154
159
  const _aRCC = "arcRoutingControlConfig";
155
160
  const _aRT = "actualRecoveryTime";
156
161
  const _aRc = "activateRegion";
162
+ const _aSSC = "auroraServerlessScalingConfig";
157
163
  const _aT = "alarmType";
158
164
  const _aTT = "actionToTake";
159
165
  const _aV = "apiVersion";
@@ -205,6 +211,7 @@ const _hE = "httpError";
205
211
  const _hN = "hpaName";
206
212
  const _hZI = "hostedZoneId";
207
213
  const _i = "items";
214
+ const _iA = "instanceArns";
208
215
  const _k = "kind";
209
216
  const _kRT = "kubernetesResourceType";
210
217
  const _l = "lambdas";
@@ -218,6 +225,7 @@ const _mR = "maxResults";
218
225
  const _mSP = "minimumSuccessPercentage";
219
226
  const _mo = "mode";
220
227
  const _n = "name";
228
+ const _nGDC = "neptuneGlobalDatabaseConfig";
221
229
  const _nT = "nextToken";
222
230
  const _na = "namespace";
223
231
  const _o = "owner";
@@ -235,6 +243,7 @@ const _rAe = "resourceArn";
235
243
  const _rC = "reportConfiguration";
236
244
  const _rCA = "routingControlArn";
237
245
  const _rCCRRRC = "rdsCreateCrossRegionReadReplicaConfig";
246
+ const _rDCA = "regionDatabaseClusterArns";
238
247
  const _rEI = "recoveryExecutionId";
239
248
  const _rESM = "regionEventSourceMappings";
240
249
  const _rGT = "reportGenerationTime";
@@ -369,6 +378,16 @@ exports.AssociatedAlarm$ = [3, n0, _AA,
369
378
  [_rI, _aT, _cAR, _eIx],
370
379
  [0, 0, 0, 0], 2
371
380
  ];
381
+ exports.AuroraProvisionedScalingConfiguration$ = [3, n0, _APSC,
382
+ 0,
383
+ [_gCI, _rDCA, _iA, _tM, _cAR, _eIx],
384
+ [0, 128 | 0, 128 | 0, 1, 0, 0], 3
385
+ ];
386
+ exports.AuroraServerlessScalingConfiguration$ = [3, n0, _ASSC,
387
+ 0,
388
+ [_gCI, _rDCA, _tM, _cAR, _eIx, _tP],
389
+ [0, 128 | 0, 1, 0, 0, 1], 2
390
+ ];
372
391
  exports.CancelPlanExecutionRequest$ = [3, n0, _CPER,
373
392
  0,
374
393
  [_pA, _eI, _co],
@@ -629,6 +648,16 @@ exports.MinimalWorkflow$ = [3, n0, _MW,
629
648
  [_ac, _n],
630
649
  [0, 0]
631
650
  ];
651
+ exports.NeptuneGlobalDatabaseConfiguration$ = [3, n0, _NGDC,
652
+ 0,
653
+ [_b, _gCI, _rDCA, _tM, _cAR, _eIx, _u],
654
+ [0, 0, 128 | 0, 1, 0, 0, () => exports.NeptuneUngraceful$], 3
655
+ ];
656
+ exports.NeptuneUngraceful$ = [3, n0, _NU,
657
+ 0,
658
+ [_u],
659
+ [0]
660
+ ];
632
661
  exports.ParallelExecutionBlockConfiguration$ = [3, n0, _PEBC,
633
662
  0,
634
663
  [_ste],
@@ -854,14 +883,17 @@ var RegionalScalingResource = [2, n0, _RSR,
854
883
  var RegionAndRoutingControls = [2, n0, _RARC,
855
884
  0, 0, () => ArcRoutingControlStates
856
885
  ];
886
+ var RegionAuroraClusterMap = 128 | 0;
887
+ var RegionAuroraInstanceArnMap = 128 | 0;
857
888
  var RegionEventSourceMappingMap = [2, n0, _RESMM,
858
889
  0, 0, () => exports.EventSourceMapping$
859
890
  ];
891
+ var RegionNeptuneClusterArnMap = 128 | 0;
860
892
  var Tags = 128 | 0;
861
893
  exports.ExecutionBlockConfiguration$ = [4, n0, _EBC,
862
894
  0,
863
- [_cALC, _eACIC, _eAC, _aRCC, _gAC, _pC, _rSPC, _eCIC, _eRSC, _rHCC, _dDC, _rPRRC, _rCCRRRC, _lESMC],
864
- [() => exports.CustomActionLambdaConfiguration$, () => exports.Ec2AsgCapacityIncreaseConfiguration$, () => exports.ExecutionApprovalConfiguration$, () => exports.ArcRoutingControlConfiguration$, () => exports.GlobalAuroraConfiguration$, () => exports.ParallelExecutionBlockConfiguration$, () => exports.RegionSwitchPlanConfiguration$, () => exports.EcsCapacityIncreaseConfiguration$, () => exports.EksResourceScalingConfiguration$, () => exports.Route53HealthCheckConfiguration$, () => exports.DocumentDbConfiguration$, () => exports.RdsPromoteReadReplicaConfiguration$, () => exports.RdsCreateCrossRegionReplicaConfiguration$, () => exports.LambdaEventSourceMappingConfiguration$]
895
+ [_cALC, _eACIC, _eAC, _aRCC, _gAC, _pC, _rSPC, _eCIC, _eRSC, _rHCC, _dDC, _rPRRC, _rCCRRRC, _lESMC, _aSSC, _aPSC, _nGDC],
896
+ [() => exports.CustomActionLambdaConfiguration$, () => exports.Ec2AsgCapacityIncreaseConfiguration$, () => exports.ExecutionApprovalConfiguration$, () => exports.ArcRoutingControlConfiguration$, () => exports.GlobalAuroraConfiguration$, () => exports.ParallelExecutionBlockConfiguration$, () => exports.RegionSwitchPlanConfiguration$, () => exports.EcsCapacityIncreaseConfiguration$, () => exports.EksResourceScalingConfiguration$, () => exports.Route53HealthCheckConfiguration$, () => exports.DocumentDbConfiguration$, () => exports.RdsPromoteReadReplicaConfiguration$, () => exports.RdsCreateCrossRegionReplicaConfiguration$, () => exports.LambdaEventSourceMappingConfiguration$, () => exports.AuroraServerlessScalingConfiguration$, () => exports.AuroraProvisionedScalingConfiguration$, () => exports.NeptuneGlobalDatabaseConfiguration$]
865
897
  ];
866
898
  exports.ReportOutput$ = [4, n0, _RO,
867
899
  0,
@@ -101,8 +101,17 @@ export const EventSourceMappingAction = {
101
101
  export const LambdaEventSourceMappingUngracefulBehavior = {
102
102
  SKIP: "skip",
103
103
  };
104
+ export const NeptuneDefaultBehavior = {
105
+ FAILOVER: "failover",
106
+ SWITCHOVER_ONLY: "switchoverOnly",
107
+ };
108
+ export const NeptuneUngracefulBehavior = {
109
+ FAILOVER: "failover",
110
+ };
104
111
  export const ExecutionBlockType = {
105
112
  AURORA: "AuroraGlobalDatabase",
113
+ AURORA_PROVISIONED_SCALING: "AuroraProvisionedScaling",
114
+ AURORA_SERVERLESS_SCALING: "AuroraServerlessScaling",
106
115
  CUSTOM_ACTION_LAMBDA: "CustomActionLambda",
107
116
  DOCUMENTDB: "DocumentDb",
108
117
  EC2_ASG: "EC2AutoScaling",
@@ -110,6 +119,7 @@ export const ExecutionBlockType = {
110
119
  EKS_RESOURCE_SCALING: "EKSResourceScaling",
111
120
  EXECUTION_APPROVAL: "ManualApproval",
112
121
  LAMBDA_EVENT_SOURCE_MAPPING: "LambdaEventSourceMapping",
122
+ NEPTUNE: "NeptuneGlobalDatabase",
113
123
  PARALLEL: "Parallel",
114
124
  RDS_CREATE_CROSS_REGION_REPLICA: "RdsCreateCrossRegionReplica",
115
125
  RDS_PROMOTE_READ_REPLICA: "RdsPromoteReadReplica",
@@ -23,18 +23,6 @@ export class ResourceNotFoundException extends __BaseException {
23
23
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
24
24
  }
25
25
  }
26
- export class InternalServerException extends __BaseException {
27
- name = "InternalServerException";
28
- $fault = "server";
29
- constructor(opts) {
30
- super({
31
- name: "InternalServerException",
32
- $fault: "server",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, InternalServerException.prototype);
36
- }
37
- }
38
26
  export class IllegalArgumentException extends __BaseException {
39
27
  name = "IllegalArgumentException";
40
28
  $fault = "client";
@@ -47,6 +35,18 @@ export class IllegalArgumentException extends __BaseException {
47
35
  Object.setPrototypeOf(this, IllegalArgumentException.prototype);
48
36
  }
49
37
  }
38
+ export class InternalServerException extends __BaseException {
39
+ name = "InternalServerException";
40
+ $fault = "server";
41
+ constructor(opts) {
42
+ super({
43
+ name: "InternalServerException",
44
+ $fault: "server",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, InternalServerException.prototype);
48
+ }
49
+ }
50
50
  export class IllegalStateException extends __BaseException {
51
51
  name = "IllegalStateException";
52
52
  $fault = "client";
@@ -9,9 +9,11 @@ const _AP = "AbbreviatedPlan";
9
9
  const _APES = "ApprovePlanExecutionStep";
10
10
  const _APESR = "ApprovePlanExecutionStepRequest";
11
11
  const _APESRp = "ApprovePlanExecutionStepResponse";
12
+ const _APSC = "AuroraProvisionedScalingConfiguration";
12
13
  const _ARCC = "ArcRoutingControlConfiguration";
13
14
  const _ARCS = "ArcRoutingControlState";
14
15
  const _ARCSr = "ArcRoutingControlStates";
16
+ const _ASSC = "AuroraServerlessScalingConfiguration";
15
17
  const _CALC = "CustomActionLambdaConfiguration";
16
18
  const _CP = "CreatePlan";
17
19
  const _CPE = "CancelPlanExecution";
@@ -88,6 +90,8 @@ const _LTFRR = "ListTagsForResourceRequest";
88
90
  const _LTFRRi = "ListTagsForResourceResponse";
89
91
  const _LU = "LambdaUngraceful";
90
92
  const _MW = "MinimalWorkflow";
93
+ const _NGDC = "NeptuneGlobalDatabaseConfiguration";
94
+ const _NU = "NeptuneUngraceful";
91
95
  const _P = "Plan";
92
96
  const _PEBC = "ParallelExecutionBlockConfiguration";
93
97
  const _PL = "PlanList";
@@ -145,10 +149,12 @@ const _a = "arn";
145
149
  const _aA = "associatedAlarms";
146
150
  const _aAN = "associatedAlarmName";
147
151
  const _aPE = "activePlanExecution";
152
+ const _aPSC = "auroraProvisionedScalingConfig";
148
153
  const _aR = "approvalRole";
149
154
  const _aRCC = "arcRoutingControlConfig";
150
155
  const _aRT = "actualRecoveryTime";
151
156
  const _aRc = "activateRegion";
157
+ const _aSSC = "auroraServerlessScalingConfig";
152
158
  const _aT = "alarmType";
153
159
  const _aTT = "actionToTake";
154
160
  const _aV = "apiVersion";
@@ -200,6 +206,7 @@ const _hE = "httpError";
200
206
  const _hN = "hpaName";
201
207
  const _hZI = "hostedZoneId";
202
208
  const _i = "items";
209
+ const _iA = "instanceArns";
203
210
  const _k = "kind";
204
211
  const _kRT = "kubernetesResourceType";
205
212
  const _l = "lambdas";
@@ -213,6 +220,7 @@ const _mR = "maxResults";
213
220
  const _mSP = "minimumSuccessPercentage";
214
221
  const _mo = "mode";
215
222
  const _n = "name";
223
+ const _nGDC = "neptuneGlobalDatabaseConfig";
216
224
  const _nT = "nextToken";
217
225
  const _na = "namespace";
218
226
  const _o = "owner";
@@ -230,6 +238,7 @@ const _rAe = "resourceArn";
230
238
  const _rC = "reportConfiguration";
231
239
  const _rCA = "routingControlArn";
232
240
  const _rCCRRRC = "rdsCreateCrossRegionReadReplicaConfig";
241
+ const _rDCA = "regionDatabaseClusterArns";
233
242
  const _rEI = "recoveryExecutionId";
234
243
  const _rESM = "regionEventSourceMappings";
235
244
  const _rGT = "reportGenerationTime";
@@ -364,6 +373,16 @@ export var AssociatedAlarm$ = [3, n0, _AA,
364
373
  [_rI, _aT, _cAR, _eIx],
365
374
  [0, 0, 0, 0], 2
366
375
  ];
376
+ export var AuroraProvisionedScalingConfiguration$ = [3, n0, _APSC,
377
+ 0,
378
+ [_gCI, _rDCA, _iA, _tM, _cAR, _eIx],
379
+ [0, 128 | 0, 128 | 0, 1, 0, 0], 3
380
+ ];
381
+ export var AuroraServerlessScalingConfiguration$ = [3, n0, _ASSC,
382
+ 0,
383
+ [_gCI, _rDCA, _tM, _cAR, _eIx, _tP],
384
+ [0, 128 | 0, 1, 0, 0, 1], 2
385
+ ];
367
386
  export var CancelPlanExecutionRequest$ = [3, n0, _CPER,
368
387
  0,
369
388
  [_pA, _eI, _co],
@@ -624,6 +643,16 @@ export var MinimalWorkflow$ = [3, n0, _MW,
624
643
  [_ac, _n],
625
644
  [0, 0]
626
645
  ];
646
+ export var NeptuneGlobalDatabaseConfiguration$ = [3, n0, _NGDC,
647
+ 0,
648
+ [_b, _gCI, _rDCA, _tM, _cAR, _eIx, _u],
649
+ [0, 0, 128 | 0, 1, 0, 0, () => NeptuneUngraceful$], 3
650
+ ];
651
+ export var NeptuneUngraceful$ = [3, n0, _NU,
652
+ 0,
653
+ [_u],
654
+ [0]
655
+ ];
627
656
  export var ParallelExecutionBlockConfiguration$ = [3, n0, _PEBC,
628
657
  0,
629
658
  [_ste],
@@ -849,14 +878,17 @@ var RegionalScalingResource = [2, n0, _RSR,
849
878
  var RegionAndRoutingControls = [2, n0, _RARC,
850
879
  0, 0, () => ArcRoutingControlStates
851
880
  ];
881
+ var RegionAuroraClusterMap = 128 | 0;
882
+ var RegionAuroraInstanceArnMap = 128 | 0;
852
883
  var RegionEventSourceMappingMap = [2, n0, _RESMM,
853
884
  0, 0, () => EventSourceMapping$
854
885
  ];
886
+ var RegionNeptuneClusterArnMap = 128 | 0;
855
887
  var Tags = 128 | 0;
856
888
  export var ExecutionBlockConfiguration$ = [4, n0, _EBC,
857
889
  0,
858
- [_cALC, _eACIC, _eAC, _aRCC, _gAC, _pC, _rSPC, _eCIC, _eRSC, _rHCC, _dDC, _rPRRC, _rCCRRRC, _lESMC],
859
- [() => CustomActionLambdaConfiguration$, () => Ec2AsgCapacityIncreaseConfiguration$, () => ExecutionApprovalConfiguration$, () => ArcRoutingControlConfiguration$, () => GlobalAuroraConfiguration$, () => ParallelExecutionBlockConfiguration$, () => RegionSwitchPlanConfiguration$, () => EcsCapacityIncreaseConfiguration$, () => EksResourceScalingConfiguration$, () => Route53HealthCheckConfiguration$, () => DocumentDbConfiguration$, () => RdsPromoteReadReplicaConfiguration$, () => RdsCreateCrossRegionReplicaConfiguration$, () => LambdaEventSourceMappingConfiguration$]
890
+ [_cALC, _eACIC, _eAC, _aRCC, _gAC, _pC, _rSPC, _eCIC, _eRSC, _rHCC, _dDC, _rPRRC, _rCCRRRC, _lESMC, _aSSC, _aPSC, _nGDC],
891
+ [() => CustomActionLambdaConfiguration$, () => Ec2AsgCapacityIncreaseConfiguration$, () => ExecutionApprovalConfiguration$, () => ArcRoutingControlConfiguration$, () => GlobalAuroraConfiguration$, () => ParallelExecutionBlockConfiguration$, () => RegionSwitchPlanConfiguration$, () => EcsCapacityIncreaseConfiguration$, () => EksResourceScalingConfiguration$, () => Route53HealthCheckConfiguration$, () => DocumentDbConfiguration$, () => RdsPromoteReadReplicaConfiguration$, () => RdsCreateCrossRegionReplicaConfiguration$, () => LambdaEventSourceMappingConfiguration$, () => AuroraServerlessScalingConfiguration$, () => AuroraProvisionedScalingConfiguration$, () => NeptuneGlobalDatabaseConfiguration$]
860
892
  ];
861
893
  export var ReportOutput$ = [4, n0, _RO,
862
894
  0,
@@ -283,8 +283,43 @@ declare const CreatePlanCommand_base: {
283
283
  * behavior: "skip",
284
284
  * },
285
285
  * },
286
+ * auroraServerlessScalingConfig: { // AuroraServerlessScalingConfiguration
287
+ * timeoutMinutes: Number("int"),
288
+ * crossAccountRole: "STRING_VALUE",
289
+ * externalId: "STRING_VALUE",
290
+ * globalClusterIdentifier: "STRING_VALUE", // required
291
+ * regionDatabaseClusterArns: { // RegionAuroraClusterMap // required
292
+ * "<keys>": "STRING_VALUE",
293
+ * },
294
+ * targetPercent: Number("int"),
295
+ * },
296
+ * auroraProvisionedScalingConfig: { // AuroraProvisionedScalingConfiguration
297
+ * timeoutMinutes: Number("int"),
298
+ * crossAccountRole: "STRING_VALUE",
299
+ * externalId: "STRING_VALUE",
300
+ * globalClusterIdentifier: "STRING_VALUE", // required
301
+ * regionDatabaseClusterArns: { // required
302
+ * "<keys>": "STRING_VALUE",
303
+ * },
304
+ * instanceArns: { // RegionAuroraInstanceArnMap // required
305
+ * "<keys>": "STRING_VALUE",
306
+ * },
307
+ * },
308
+ * neptuneGlobalDatabaseConfig: { // NeptuneGlobalDatabaseConfiguration
309
+ * timeoutMinutes: Number("int"),
310
+ * crossAccountRole: "STRING_VALUE",
311
+ * externalId: "STRING_VALUE",
312
+ * behavior: "switchoverOnly" || "failover", // required
313
+ * ungraceful: { // NeptuneUngraceful
314
+ * ungraceful: "failover",
315
+ * },
316
+ * globalClusterIdentifier: "STRING_VALUE", // required
317
+ * regionDatabaseClusterArns: { // RegionNeptuneClusterArnMap // required
318
+ * "<keys>": "STRING_VALUE",
319
+ * },
320
+ * },
286
321
  * },
287
- * executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
322
+ * executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping" || "AuroraServerlessScaling" || "AuroraProvisionedScaling" || "NeptuneGlobalDatabase", // required
288
323
  * },
289
324
  * ],
290
325
  * },
@@ -395,8 +430,43 @@ declare const CreatePlanCommand_base: {
395
430
  * behavior: "skip",
396
431
  * },
397
432
  * },
433
+ * auroraServerlessScalingConfig: {
434
+ * timeoutMinutes: Number("int"),
435
+ * crossAccountRole: "STRING_VALUE",
436
+ * externalId: "STRING_VALUE",
437
+ * globalClusterIdentifier: "STRING_VALUE", // required
438
+ * regionDatabaseClusterArns: { // required
439
+ * "<keys>": "STRING_VALUE",
440
+ * },
441
+ * targetPercent: Number("int"),
442
+ * },
443
+ * auroraProvisionedScalingConfig: {
444
+ * timeoutMinutes: Number("int"),
445
+ * crossAccountRole: "STRING_VALUE",
446
+ * externalId: "STRING_VALUE",
447
+ * globalClusterIdentifier: "STRING_VALUE", // required
448
+ * regionDatabaseClusterArns: { // required
449
+ * "<keys>": "STRING_VALUE",
450
+ * },
451
+ * instanceArns: { // required
452
+ * "<keys>": "STRING_VALUE",
453
+ * },
454
+ * },
455
+ * neptuneGlobalDatabaseConfig: {
456
+ * timeoutMinutes: Number("int"),
457
+ * crossAccountRole: "STRING_VALUE",
458
+ * externalId: "STRING_VALUE",
459
+ * behavior: "switchoverOnly" || "failover", // required
460
+ * ungraceful: {
461
+ * ungraceful: "failover",
462
+ * },
463
+ * globalClusterIdentifier: "STRING_VALUE", // required
464
+ * regionDatabaseClusterArns: { // required
465
+ * "<keys>": "STRING_VALUE",
466
+ * },
467
+ * },
398
468
  * },
399
- * executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
469
+ * executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping" || "AuroraServerlessScaling" || "AuroraProvisionedScaling" || "NeptuneGlobalDatabase", // required
400
470
  * },
401
471
  * ],
402
472
  * workflowTargetAction: "activate" || "deactivate" || "postRecovery", // required
@@ -697,8 +767,43 @@ declare const CreatePlanCommand_base: {
697
767
  * // behavior: "skip",
698
768
  * // },
699
769
  * // },
770
+ * // auroraServerlessScalingConfig: { // AuroraServerlessScalingConfiguration
771
+ * // timeoutMinutes: Number("int"),
772
+ * // crossAccountRole: "STRING_VALUE",
773
+ * // externalId: "STRING_VALUE",
774
+ * // globalClusterIdentifier: "STRING_VALUE", // required
775
+ * // regionDatabaseClusterArns: { // RegionAuroraClusterMap // required
776
+ * // "<keys>": "STRING_VALUE",
777
+ * // },
778
+ * // targetPercent: Number("int"),
779
+ * // },
780
+ * // auroraProvisionedScalingConfig: { // AuroraProvisionedScalingConfiguration
781
+ * // timeoutMinutes: Number("int"),
782
+ * // crossAccountRole: "STRING_VALUE",
783
+ * // externalId: "STRING_VALUE",
784
+ * // globalClusterIdentifier: "STRING_VALUE", // required
785
+ * // regionDatabaseClusterArns: { // required
786
+ * // "<keys>": "STRING_VALUE",
787
+ * // },
788
+ * // instanceArns: { // RegionAuroraInstanceArnMap // required
789
+ * // "<keys>": "STRING_VALUE",
790
+ * // },
791
+ * // },
792
+ * // neptuneGlobalDatabaseConfig: { // NeptuneGlobalDatabaseConfiguration
793
+ * // timeoutMinutes: Number("int"),
794
+ * // crossAccountRole: "STRING_VALUE",
795
+ * // externalId: "STRING_VALUE",
796
+ * // behavior: "switchoverOnly" || "failover", // required
797
+ * // ungraceful: { // NeptuneUngraceful
798
+ * // ungraceful: "failover",
799
+ * // },
800
+ * // globalClusterIdentifier: "STRING_VALUE", // required
801
+ * // regionDatabaseClusterArns: { // RegionNeptuneClusterArnMap // required
802
+ * // "<keys>": "STRING_VALUE",
803
+ * // },
804
+ * // },
700
805
  * // },
701
- * // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
806
+ * // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping" || "AuroraServerlessScaling" || "AuroraProvisionedScaling" || "NeptuneGlobalDatabase", // required
702
807
  * // },
703
808
  * // ],
704
809
  * // },
@@ -809,8 +914,43 @@ declare const CreatePlanCommand_base: {
809
914
  * // behavior: "skip",
810
915
  * // },
811
916
  * // },
917
+ * // auroraServerlessScalingConfig: {
918
+ * // timeoutMinutes: Number("int"),
919
+ * // crossAccountRole: "STRING_VALUE",
920
+ * // externalId: "STRING_VALUE",
921
+ * // globalClusterIdentifier: "STRING_VALUE", // required
922
+ * // regionDatabaseClusterArns: { // required
923
+ * // "<keys>": "STRING_VALUE",
924
+ * // },
925
+ * // targetPercent: Number("int"),
926
+ * // },
927
+ * // auroraProvisionedScalingConfig: {
928
+ * // timeoutMinutes: Number("int"),
929
+ * // crossAccountRole: "STRING_VALUE",
930
+ * // externalId: "STRING_VALUE",
931
+ * // globalClusterIdentifier: "STRING_VALUE", // required
932
+ * // regionDatabaseClusterArns: { // required
933
+ * // "<keys>": "STRING_VALUE",
934
+ * // },
935
+ * // instanceArns: { // required
936
+ * // "<keys>": "STRING_VALUE",
937
+ * // },
938
+ * // },
939
+ * // neptuneGlobalDatabaseConfig: {
940
+ * // timeoutMinutes: Number("int"),
941
+ * // crossAccountRole: "STRING_VALUE",
942
+ * // externalId: "STRING_VALUE",
943
+ * // behavior: "switchoverOnly" || "failover", // required
944
+ * // ungraceful: {
945
+ * // ungraceful: "failover",
946
+ * // },
947
+ * // globalClusterIdentifier: "STRING_VALUE", // required
948
+ * // regionDatabaseClusterArns: { // required
949
+ * // "<keys>": "STRING_VALUE",
950
+ * // },
951
+ * // },
812
952
  * // },
813
- * // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping", // required
953
+ * // executionBlockType: "CustomActionLambda" || "ManualApproval" || "AuroraGlobalDatabase" || "EC2AutoScaling" || "ARCRoutingControl" || "ARCRegionSwitchPlan" || "Parallel" || "ECSServiceScaling" || "EKSResourceScaling" || "Route53HealthCheck" || "DocumentDb" || "RdsPromoteReadReplica" || "RdsCreateCrossRegionReplica" || "LambdaEventSourceMapping" || "AuroraServerlessScaling" || "AuroraProvisionedScaling" || "NeptuneGlobalDatabase", // required
814
954
  * // },
815
955
  * // ],
816
956
  * // workflowTargetAction: "activate" || "deactivate" || "postRecovery", // required