@aws-sdk/client-arc-region-switch 3.954.0 → 3.956.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/README.md +8 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +191 -19
- package/dist-es/ARCRegionSwitch.js +2 -0
- package/dist-es/commands/ListRoute53HealthChecksInRegionCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +19 -0
- package/dist-es/models/errors.js +8 -8
- package/dist-es/pagination/ListRoute53HealthChecksInRegionPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +132 -11
- package/dist-types/ARCRegionSwitch.d.ts +7 -0
- package/dist-types/ARCRegionSwitchClient.d.ts +3 -2
- package/dist-types/commands/CreatePlanCommand.d.ts +76 -4
- package/dist-types/commands/GetPlanCommand.d.ts +38 -2
- package/dist-types/commands/GetPlanExecutionCommand.d.ts +52 -2
- package/dist-types/commands/GetPlanInRegionCommand.d.ts +38 -2
- package/dist-types/commands/ListPlanExecutionEventsCommand.d.ts +2 -2
- package/dist-types/commands/ListRoute53HealthChecksCommand.d.ts +1 -0
- package/dist-types/commands/ListRoute53HealthChecksInRegionCommand.d.ts +133 -0
- package/dist-types/commands/UpdatePlanCommand.d.ts +76 -4
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +51 -0
- package/dist-types/models/errors.d.ts +8 -8
- package/dist-types/models/models_0.d.ts +302 -2
- package/dist-types/pagination/ListRoute53HealthChecksInRegionPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +14 -2
- package/dist-types/ts3.4/ARCRegionSwitch.d.ts +17 -0
- package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListRoute53HealthChecksInRegionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +27 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -6
- package/dist-types/ts3.4/models/models_0.d.ts +120 -0
- package/dist-types/ts3.4/pagination/ListRoute53HealthChecksInRegionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -1
- package/package.json +34 -34
package/README.md
CHANGED
|
@@ -306,6 +306,14 @@ ListRoute53HealthChecks
|
|
|
306
306
|
|
|
307
307
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/arc-region-switch/command/ListRoute53HealthChecksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-arc-region-switch/Interface/ListRoute53HealthChecksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-arc-region-switch/Interface/ListRoute53HealthChecksCommandOutput/)
|
|
308
308
|
|
|
309
|
+
</details>
|
|
310
|
+
<details>
|
|
311
|
+
<summary>
|
|
312
|
+
ListRoute53HealthChecksInRegion
|
|
313
|
+
</summary>
|
|
314
|
+
|
|
315
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/arc-region-switch/command/ListRoute53HealthChecksInRegionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-arc-region-switch/Interface/ListRoute53HealthChecksInRegionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-arc-region-switch/Interface/ListRoute53HealthChecksInRegionCommandOutput/)
|
|
316
|
+
|
|
309
317
|
</details>
|
|
310
318
|
<details>
|
|
311
319
|
<summary>
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const w = "fn", x = "argv", y = "ref";
|
|
5
|
-
const a = true, b = false, c = "
|
|
5
|
+
const a = true, b = false, c = "boolean", d = "sigv4", e = "arc-region-switch", f = "endpoint", g = "tree", h = "error", i = { "required": false, "type": "string" }, j = { [w]: "isSet", [x]: [{ [y]: "UseControlPlaneEndpoint" }] }, k = { [w]: "booleanEquals", [x]: [{ [y]: "UseControlPlaneEndpoint" }, true] }, l = { [w]: "isSet", [x]: [{ [y]: "Region" }] }, m = { [w]: "not", [x]: [{ [w]: "booleanEquals", [x]: [{ [y]: "UseFIPS" }, true] }] }, n = { [w]: "booleanEquals", [x]: [{ [y]: "UseFIPS" }, true] }, o = { [w]: "not", [x]: [{ [w]: "isSet", [x]: [{ [y]: "Endpoint" }] }] }, p = { [y]: "Endpoint" }, q = { [w]: "aws.partition", [x]: [{ [y]: "Region" }], "assign": "PartitionResult" }, r = { [w]: "stringEquals", [x]: [{ [w]: "getAttr", [x]: [{ [y]: "PartitionResult" }, "name"] }, "aws-cn"] }, s = {}, t = { "authSchemes": [{ "name": d, "signingName": e, "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, u = [n], v = [{ [w]: "isSet", [x]: [p] }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: c }, Endpoint: i, Region: i, UseControlPlaneEndpoint: { required: b, type: c } }, rules: [{ conditions: [j, k, l, m, o, q, r], rules: [{ endpoint: { url: "https://arc-region-switch-control-plane.cn-north-1.{PartitionResult#dualStackDnsSuffix}", properties: { authSchemes: [{ name: d, signingName: e, signingRegion: "cn-north-1" }] }, headers: s }, type: f }], type: g }, { conditions: [o, j, k, l, n, q], rules: [{ conditions: [r], error: "Invalid Configuration: FIPS is not supported in this partition", type: h }, { rules: [{ endpoint: { url: "https://arc-region-switch-control-plane-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: t, headers: s }, type: f }], type: g }], type: g }, { conditions: [j, k, l, m, o, q], rules: [{ endpoint: { url: "https://arc-region-switch-control-plane.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: t, headers: s }, type: f }], type: g }, { conditions: v, rules: [{ conditions: u, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: h }, { endpoint: { url: p, properties: s, headers: s }, type: f }], type: g }, { rules: [{ conditions: [l], rules: [{ conditions: [q], rules: [{ conditions: u, endpoint: { url: "https://arc-region-switch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: s, headers: s }, type: f }, { endpoint: { url: "https://arc-region-switch.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: s, headers: s }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: h }], type: g }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -152,28 +152,28 @@ class InternalServerException extends ARCRegionSwitchServiceException {
|
|
|
152
152
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
class
|
|
156
|
-
name = "
|
|
155
|
+
class IllegalArgumentException extends ARCRegionSwitchServiceException {
|
|
156
|
+
name = "IllegalArgumentException";
|
|
157
157
|
$fault = "client";
|
|
158
158
|
constructor(opts) {
|
|
159
159
|
super({
|
|
160
|
-
name: "
|
|
160
|
+
name: "IllegalArgumentException",
|
|
161
161
|
$fault: "client",
|
|
162
162
|
...opts,
|
|
163
163
|
});
|
|
164
|
-
Object.setPrototypeOf(this,
|
|
164
|
+
Object.setPrototypeOf(this, IllegalArgumentException.prototype);
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
class
|
|
168
|
-
name = "
|
|
167
|
+
class IllegalStateException extends ARCRegionSwitchServiceException {
|
|
168
|
+
name = "IllegalStateException";
|
|
169
169
|
$fault = "client";
|
|
170
170
|
constructor(opts) {
|
|
171
171
|
super({
|
|
172
|
-
name: "
|
|
172
|
+
name: "IllegalStateException",
|
|
173
173
|
$fault: "client",
|
|
174
174
|
...opts,
|
|
175
175
|
});
|
|
176
|
-
Object.setPrototypeOf(this,
|
|
176
|
+
Object.setPrototypeOf(this, IllegalStateException.prototype);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
|
|
@@ -198,6 +198,8 @@ const _CPER = "CancelPlanExecutionRequest";
|
|
|
198
198
|
const _CPERa = "CancelPlanExecutionResponse";
|
|
199
199
|
const _CPR = "CreatePlanRequest";
|
|
200
200
|
const _CPRr = "CreatePlanResponse";
|
|
201
|
+
const _DDC = "DocumentDbConfiguration";
|
|
202
|
+
const _DDU = "DocumentDbUngraceful";
|
|
201
203
|
const _DP = "DeletePlan";
|
|
202
204
|
const _DPR = "DeletePlanRequest";
|
|
203
205
|
const _DPRe = "DeletePlanResponse";
|
|
@@ -213,6 +215,7 @@ const _ERSC = "EksResourceScalingConfiguration";
|
|
|
213
215
|
const _ERSU = "EksResourceScalingUngraceful";
|
|
214
216
|
const _EU = "Ec2Ungraceful";
|
|
215
217
|
const _EUc = "EcsUngraceful";
|
|
218
|
+
const _FRO = "FailedReportOutput";
|
|
216
219
|
const _GAC = "GlobalAuroraConfiguration";
|
|
217
220
|
const _GAU = "GlobalAuroraUngraceful";
|
|
218
221
|
const _GP = "GetPlan";
|
|
@@ -227,6 +230,8 @@ const _GPIRR = "GetPlanInRegionRequest";
|
|
|
227
230
|
const _GPIRRe = "GetPlanInRegionResponse";
|
|
228
231
|
const _GPR = "GetPlanRequest";
|
|
229
232
|
const _GPRe = "GetPlanResponse";
|
|
233
|
+
const _GR = "GeneratedReport";
|
|
234
|
+
const _GRD = "GeneratedReportDetails";
|
|
230
235
|
const _IAE = "IllegalArgumentException";
|
|
231
236
|
const _ISE = "IllegalStateException";
|
|
232
237
|
const _ISEn = "InternalServerException";
|
|
@@ -249,6 +254,9 @@ const _LPIRRi = "ListPlansInRegionResponse";
|
|
|
249
254
|
const _LPR = "ListPlansRequest";
|
|
250
255
|
const _LPRi = "ListPlansResponse";
|
|
251
256
|
const _LRHC = "ListRoute53HealthChecks";
|
|
257
|
+
const _LRHCIR = "ListRoute53HealthChecksInRegion";
|
|
258
|
+
const _LRHCIRR = "ListRoute53HealthChecksInRegionRequest";
|
|
259
|
+
const _LRHCIRRi = "ListRoute53HealthChecksInRegionResponse";
|
|
252
260
|
const _LRHCR = "ListRoute53HealthChecksRequest";
|
|
253
261
|
const _LRHCRi = "ListRoute53HealthChecksResponse";
|
|
254
262
|
const _LTFR = "ListTagsForResource";
|
|
@@ -261,10 +269,14 @@ const _PEBC = "ParallelExecutionBlockConfiguration";
|
|
|
261
269
|
const _PL = "PlanList";
|
|
262
270
|
const _PW = "PlanWarnings";
|
|
263
271
|
const _RARC = "RegionAndRoutingControls";
|
|
272
|
+
const _RC = "ReportConfiguration";
|
|
264
273
|
const _RHC = "Route53HealthCheck";
|
|
265
274
|
const _RHCC = "Route53HealthCheckConfiguration";
|
|
266
275
|
const _RHCL = "Route53HealthCheckList";
|
|
267
276
|
const _RNFE = "ResourceNotFoundException";
|
|
277
|
+
const _RO = "ReportOutput";
|
|
278
|
+
const _ROC = "ReportOutputConfiguration";
|
|
279
|
+
const _ROL = "ReportOutputList";
|
|
268
280
|
const _RRRS = "Route53ResourceRecordSet";
|
|
269
281
|
const _RRRSL = "Route53ResourceRecordSetList";
|
|
270
282
|
const _RSPC = "RegionSwitchPlanConfiguration";
|
|
@@ -275,6 +287,8 @@ const _SL = "ServiceList";
|
|
|
275
287
|
const _SPE = "StartPlanExecution";
|
|
276
288
|
const _SPER = "StartPlanExecutionRequest";
|
|
277
289
|
const _SPERt = "StartPlanExecutionResponse";
|
|
290
|
+
const _SRO = "S3ReportOutput";
|
|
291
|
+
const _SROC = "S3ReportOutputConfiguration";
|
|
278
292
|
const _SS = "StepState";
|
|
279
293
|
const _SSt = "StepStates";
|
|
280
294
|
const _St = "Step";
|
|
@@ -315,6 +329,8 @@ const _ac = "action";
|
|
|
315
329
|
const _ap = "approval";
|
|
316
330
|
const _as = "asgs";
|
|
317
331
|
const _b = "behavior";
|
|
332
|
+
const _bO = "bucketOwner";
|
|
333
|
+
const _bP = "bucketPath";
|
|
318
334
|
const _c = "comment";
|
|
319
335
|
const _cA = "clusterArn";
|
|
320
336
|
const _cALC = "customActionLambdaConfig";
|
|
@@ -325,6 +341,7 @@ const _co = "conditions";
|
|
|
325
341
|
const _con = "condition";
|
|
326
342
|
const _d = "description";
|
|
327
343
|
const _dCA = "databaseClusterArns";
|
|
344
|
+
const _dDC = "documentDbConfig";
|
|
328
345
|
const _dR = "deactivateRegion";
|
|
329
346
|
const _e = "error";
|
|
330
347
|
const _eA = "executionAction";
|
|
@@ -334,17 +351,21 @@ const _eBC = "executionBlockConfiguration";
|
|
|
334
351
|
const _eBT = "executionBlockType";
|
|
335
352
|
const _eC = "eksClusters";
|
|
336
353
|
const _eCIC = "ecsCapacityIncreaseConfig";
|
|
354
|
+
const _eCr = "errorCode";
|
|
337
355
|
const _eI = "executionId";
|
|
338
356
|
const _eIv = "eventId";
|
|
339
357
|
const _eIx = "externalId";
|
|
358
|
+
const _eM = "errorMessage";
|
|
340
359
|
const _eR = "executionRegion";
|
|
341
360
|
const _eRSC = "eksResourceScalingConfig";
|
|
342
361
|
const _eRx = "executionRole";
|
|
343
362
|
const _eS = "executionState";
|
|
344
363
|
const _eSv = "evaluationState";
|
|
345
364
|
const _eT = "endTime";
|
|
365
|
+
const _fRO = "failedReportOutput";
|
|
346
366
|
const _gAC = "globalAuroraConfig";
|
|
347
367
|
const _gCI = "globalClusterIdentifier";
|
|
368
|
+
const _gRD = "generatedReportDetails";
|
|
348
369
|
const _hC = "healthChecks";
|
|
349
370
|
const _hCI = "healthCheckId";
|
|
350
371
|
const _hE = "httpError";
|
|
@@ -377,11 +398,14 @@ const _r = "regions";
|
|
|
377
398
|
const _rA = "recoveryApproach";
|
|
378
399
|
const _rARC = "regionAndRoutingControls";
|
|
379
400
|
const _rAe = "resourceArn";
|
|
401
|
+
const _rC = "reportConfiguration";
|
|
380
402
|
const _rCA = "routingControlArn";
|
|
403
|
+
const _rGT = "reportGenerationTime";
|
|
381
404
|
const _rHCC = "route53HealthCheckConfig";
|
|
382
405
|
const _rI = "resourceIdentifier";
|
|
383
406
|
const _rIM = "retryIntervalMinutes";
|
|
384
407
|
const _rN = "recordName";
|
|
408
|
+
const _rO = "reportOutput";
|
|
385
409
|
const _rS = "recordSets";
|
|
386
410
|
const _rSI = "recordSetIdentifier";
|
|
387
411
|
const _rSPC = "regionSwitchPlanConfig";
|
|
@@ -393,9 +417,12 @@ const _re = "resources";
|
|
|
393
417
|
const _reg = "region";
|
|
394
418
|
const _s = "state";
|
|
395
419
|
const _sA = "serviceArn";
|
|
420
|
+
const _sC = "s3Configuration";
|
|
396
421
|
const _sM = "stepMode";
|
|
397
422
|
const _sN = "stepName";
|
|
423
|
+
const _sOK = "s3ObjectKey";
|
|
398
424
|
const _sR = "scalingResources";
|
|
425
|
+
const _sRO = "s3ReportOutput";
|
|
399
426
|
const _sS = "stepStates";
|
|
400
427
|
const _sT = "startTime";
|
|
401
428
|
const _se = "services";
|
|
@@ -468,8 +495,21 @@ var CreatePlanRequest$ = [
|
|
|
468
495
|
n0,
|
|
469
496
|
_CPR,
|
|
470
497
|
0,
|
|
471
|
-
[_d, _w, _eRx, _rTOM, _aA, _t, _n, _r, _rA, _pR, _ta],
|
|
472
|
-
[
|
|
498
|
+
[_d, _w, _eRx, _rTOM, _aA, _t, _rC, _n, _r, _rA, _pR, _ta],
|
|
499
|
+
[
|
|
500
|
+
0,
|
|
501
|
+
() => WorkflowList,
|
|
502
|
+
0,
|
|
503
|
+
1,
|
|
504
|
+
() => AssociatedAlarmMap,
|
|
505
|
+
() => TriggerList,
|
|
506
|
+
() => ReportConfiguration$,
|
|
507
|
+
0,
|
|
508
|
+
64 | 0,
|
|
509
|
+
0,
|
|
510
|
+
0,
|
|
511
|
+
128 | 0,
|
|
512
|
+
],
|
|
473
513
|
];
|
|
474
514
|
var CreatePlanResponse$ = [3, n0, _CPRr, 0, [_p], [() => Plan$]];
|
|
475
515
|
var CustomActionLambdaConfiguration$ = [
|
|
@@ -482,6 +522,15 @@ var CustomActionLambdaConfiguration$ = [
|
|
|
482
522
|
];
|
|
483
523
|
var DeletePlanRequest$ = [3, n0, _DPR, 0, [_a], [0]];
|
|
484
524
|
var DeletePlanResponse$ = [3, n0, _DPRe, 0, [], []];
|
|
525
|
+
var DocumentDbConfiguration$ = [
|
|
526
|
+
3,
|
|
527
|
+
n0,
|
|
528
|
+
_DDC,
|
|
529
|
+
0,
|
|
530
|
+
[_tM, _cAR, _eIx, _b, _u, _gCI, _dCA],
|
|
531
|
+
[1, 0, 0, 0, () => DocumentDbUngraceful$, 0, 64 | 0],
|
|
532
|
+
];
|
|
533
|
+
var DocumentDbUngraceful$ = [3, n0, _DDU, 0, [_u], [0]];
|
|
485
534
|
var Ec2AsgCapacityIncreaseConfiguration$ = [
|
|
486
535
|
3,
|
|
487
536
|
n0,
|
|
@@ -527,6 +576,8 @@ var ExecutionEvent$ = [
|
|
|
527
576
|
[_ti, _ty, _sN, _eBT, _re, _e, _d, _eIv, _pEI],
|
|
528
577
|
[4, 0, 0, 0, 64 | 0, 0, 0, 0, 0],
|
|
529
578
|
];
|
|
579
|
+
var FailedReportOutput$ = [3, n0, _FRO, 0, [_eCr, _eM], [0, 0]];
|
|
580
|
+
var GeneratedReport$ = [3, n0, _GR, 0, [_rGT, _rO], [4, () => ReportOutput$]];
|
|
530
581
|
var GetPlanEvaluationStatusRequest$ = [3, n0, _GPESR, 0, [_pA, _mR, _nT], [0, 1, 0]];
|
|
531
582
|
var GetPlanEvaluationStatusResponse$ = [
|
|
532
583
|
3,
|
|
@@ -542,8 +593,8 @@ var GetPlanExecutionResponse$ = [
|
|
|
542
593
|
n0,
|
|
543
594
|
_GPERe,
|
|
544
595
|
0,
|
|
545
|
-
[_pA, _eI, _v, _uA, _c, _sT, _eT, _m, _eS, _eA, _eR, _sS, _p, _aRT, _nT],
|
|
546
|
-
[0, 0, 0, 4, 0, 4, 4, 0, 0, 0, 0, () => StepStates, () => Plan$, 0, 0],
|
|
596
|
+
[_pA, _eI, _v, _uA, _c, _sT, _eT, _m, _eS, _eA, _eR, _sS, _p, _aRT, _gRD, _nT],
|
|
597
|
+
[0, 0, 0, 4, 0, 4, 4, 0, 0, 0, 0, () => StepStates, () => Plan$, 0, () => GeneratedReportDetails, 0],
|
|
547
598
|
];
|
|
548
599
|
var GetPlanInRegionRequest$ = [3, n0, _GPIRR, 0, [_a], [0]];
|
|
549
600
|
var GetPlanInRegionResponse$ = [3, n0, _GPIRRe, 0, [_p], [() => Plan$]];
|
|
@@ -597,6 +648,22 @@ var ListPlansInRegionRequest$ = [3, n0, _LPIRR, 0, [_mR, _nT], [1, 0]];
|
|
|
597
648
|
var ListPlansInRegionResponse$ = [3, n0, _LPIRRi, 0, [_pl, _nT], [() => PlanList, 0]];
|
|
598
649
|
var ListPlansRequest$ = [3, n0, _LPR, 0, [_mR, _nT], [1, 0]];
|
|
599
650
|
var ListPlansResponse$ = [3, n0, _LPRi, 0, [_pl, _nT], [() => PlanList, 0]];
|
|
651
|
+
var ListRoute53HealthChecksInRegionRequest$ = [
|
|
652
|
+
3,
|
|
653
|
+
n0,
|
|
654
|
+
_LRHCIRR,
|
|
655
|
+
0,
|
|
656
|
+
[_a, _hZI, _rN, _mR, _nT],
|
|
657
|
+
[0, 0, 0, 1, 0],
|
|
658
|
+
];
|
|
659
|
+
var ListRoute53HealthChecksInRegionResponse$ = [
|
|
660
|
+
3,
|
|
661
|
+
n0,
|
|
662
|
+
_LRHCIRRi,
|
|
663
|
+
0,
|
|
664
|
+
[_hC, _nT],
|
|
665
|
+
[() => Route53HealthCheckList, 0],
|
|
666
|
+
];
|
|
600
667
|
var ListRoute53HealthChecksRequest$ = [
|
|
601
668
|
3,
|
|
602
669
|
n0,
|
|
@@ -622,10 +689,27 @@ var Plan$ = [
|
|
|
622
689
|
n0,
|
|
623
690
|
_P,
|
|
624
691
|
0,
|
|
625
|
-
[_a, _d, _w, _eRx, _rTOM, _aA, _t, _n, _r, _rA, _pR, _o, _v, _uA],
|
|
626
|
-
[
|
|
692
|
+
[_a, _d, _w, _eRx, _rTOM, _aA, _t, _rC, _n, _r, _rA, _pR, _o, _v, _uA],
|
|
693
|
+
[
|
|
694
|
+
0,
|
|
695
|
+
0,
|
|
696
|
+
() => WorkflowList,
|
|
697
|
+
0,
|
|
698
|
+
1,
|
|
699
|
+
() => AssociatedAlarmMap,
|
|
700
|
+
() => TriggerList,
|
|
701
|
+
() => ReportConfiguration$,
|
|
702
|
+
0,
|
|
703
|
+
64 | 0,
|
|
704
|
+
0,
|
|
705
|
+
0,
|
|
706
|
+
0,
|
|
707
|
+
0,
|
|
708
|
+
4,
|
|
709
|
+
],
|
|
627
710
|
];
|
|
628
711
|
var RegionSwitchPlanConfiguration$ = [3, n0, _RSPC, 0, [_cAR, _eIx, _a], [0, 0, 0]];
|
|
712
|
+
var ReportConfiguration$ = [3, n0, _RC, 0, [_rO], [() => ReportOutputList]];
|
|
629
713
|
var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _cl, [_hE]: 404 }, [_me], [0]];
|
|
630
714
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
631
715
|
var ResourceWarning$ = [
|
|
@@ -636,7 +720,14 @@ var ResourceWarning$ = [
|
|
|
636
720
|
[_wo, _v, _sN, _rAe, _wS, _wUT, _wM],
|
|
637
721
|
[() => MinimalWorkflow$, 0, 0, 0, 0, 4, 0],
|
|
638
722
|
];
|
|
639
|
-
var Route53HealthCheck$ = [
|
|
723
|
+
var Route53HealthCheck$ = [
|
|
724
|
+
3,
|
|
725
|
+
n0,
|
|
726
|
+
_RHC,
|
|
727
|
+
0,
|
|
728
|
+
[_hZI, _rN, _hCI, _sta, _reg],
|
|
729
|
+
[0, 0, 0, 0, 0],
|
|
730
|
+
];
|
|
640
731
|
var Route53HealthCheckConfiguration$ = [
|
|
641
732
|
3,
|
|
642
733
|
n0,
|
|
@@ -646,6 +737,8 @@ var Route53HealthCheckConfiguration$ = [
|
|
|
646
737
|
[1, 0, 0, 0, 0, () => Route53ResourceRecordSetList],
|
|
647
738
|
];
|
|
648
739
|
var Route53ResourceRecordSet$ = [3, n0, _RRRS, 0, [_rSI, _reg], [0, 0]];
|
|
740
|
+
var S3ReportOutput$ = [3, n0, _SRO, 0, [_sOK], [0]];
|
|
741
|
+
var S3ReportOutputConfiguration$ = [3, n0, _SROC, 0, [_bP, _bO], [0, 0]];
|
|
649
742
|
var Service$ = [3, n0, _S, 0, [_cAR, _eIx, _cA, _sA], [0, 0, 0, 0]];
|
|
650
743
|
var StartPlanExecutionRequest$ = [
|
|
651
744
|
3,
|
|
@@ -701,8 +794,8 @@ var UpdatePlanRequest$ = [
|
|
|
701
794
|
n0,
|
|
702
795
|
_UPR,
|
|
703
796
|
0,
|
|
704
|
-
[_a, _d, _w, _eRx, _rTOM, _aA, _t],
|
|
705
|
-
[0, 0, () => WorkflowList, 0, 1, () => AssociatedAlarmMap, () => TriggerList],
|
|
797
|
+
[_a, _d, _w, _eRx, _rTOM, _aA, _t, _rC],
|
|
798
|
+
[0, 0, () => WorkflowList, 0, 1, () => AssociatedAlarmMap, () => TriggerList, () => ReportConfiguration$],
|
|
706
799
|
];
|
|
707
800
|
var UpdatePlanResponse$ = [3, n0, _UPRp, 0, [_p], [() => Plan$]];
|
|
708
801
|
var Workflow$ = [3, n0, _W, 0, [_st, _wTA, _wTR, _wD], [() => Steps, 0, 0, 0]];
|
|
@@ -720,10 +813,12 @@ var ArcRoutingControlStates = [1, n0, _ARCSr, 0, () => ArcRoutingControlState$];
|
|
|
720
813
|
var AsgList = [1, n0, _AL, 0, () => Asg$];
|
|
721
814
|
var EksClusters = [1, n0, _ECk, 0, () => EksCluster$];
|
|
722
815
|
var ExecutionEventList = [1, n0, _EEL, 0, () => ExecutionEvent$];
|
|
816
|
+
var GeneratedReportDetails = [1, n0, _GRD, 0, () => GeneratedReport$];
|
|
723
817
|
var KubernetesScalingApps = [1, n0, _KSA, 0, () => KubernetesScalingApplication];
|
|
724
818
|
var LambdaList = [1, n0, _LL, 0, () => Lambdas$];
|
|
725
819
|
var PlanList = [1, n0, _PL, 0, () => AbbreviatedPlan$];
|
|
726
820
|
var PlanWarnings = [1, n0, _PW, 0, () => ResourceWarning$];
|
|
821
|
+
var ReportOutputList = [1, n0, _ROL, 0, () => ReportOutputConfiguration$];
|
|
727
822
|
var Route53HealthCheckList = [1, n0, _RHCL, 0, () => Route53HealthCheck$];
|
|
728
823
|
var Route53ResourceRecordSetList = [1, n0, _RRRSL, 0, () => Route53ResourceRecordSet$];
|
|
729
824
|
var ServiceList = [1, n0, _SL, 0, () => Service$];
|
|
@@ -737,11 +832,11 @@ var KubernetesScalingApplication = [2, n0, _KSAu, 0, 0, () => RegionalScalingRes
|
|
|
737
832
|
var RegionalScalingResource = [2, n0, _RSR, 0, 0, () => KubernetesScalingResource$];
|
|
738
833
|
var RegionAndRoutingControls = [2, n0, _RARC, 0, 0, () => ArcRoutingControlStates];
|
|
739
834
|
var ExecutionBlockConfiguration$ = [
|
|
740
|
-
|
|
835
|
+
4,
|
|
741
836
|
n0,
|
|
742
837
|
_EBC,
|
|
743
838
|
0,
|
|
744
|
-
[_cALC, _eACIC, _eAC, _aRCC, _gAC, _pC, _rSPC, _eCIC, _eRSC, _rHCC],
|
|
839
|
+
[_cALC, _eACIC, _eAC, _aRCC, _gAC, _pC, _rSPC, _eCIC, _eRSC, _rHCC, _dDC],
|
|
745
840
|
[
|
|
746
841
|
() => CustomActionLambdaConfiguration$,
|
|
747
842
|
() => Ec2AsgCapacityIncreaseConfiguration$,
|
|
@@ -753,8 +848,25 @@ var ExecutionBlockConfiguration$ = [
|
|
|
753
848
|
() => EcsCapacityIncreaseConfiguration$,
|
|
754
849
|
() => EksResourceScalingConfiguration$,
|
|
755
850
|
() => Route53HealthCheckConfiguration$,
|
|
851
|
+
() => DocumentDbConfiguration$,
|
|
756
852
|
],
|
|
757
853
|
];
|
|
854
|
+
var ReportOutput$ = [
|
|
855
|
+
4,
|
|
856
|
+
n0,
|
|
857
|
+
_RO,
|
|
858
|
+
0,
|
|
859
|
+
[_sRO, _fRO],
|
|
860
|
+
[() => S3ReportOutput$, () => FailedReportOutput$],
|
|
861
|
+
];
|
|
862
|
+
var ReportOutputConfiguration$ = [
|
|
863
|
+
4,
|
|
864
|
+
n0,
|
|
865
|
+
_ROC,
|
|
866
|
+
0,
|
|
867
|
+
[_sC],
|
|
868
|
+
[() => S3ReportOutputConfiguration$],
|
|
869
|
+
];
|
|
758
870
|
var ApprovePlanExecutionStep$ = [
|
|
759
871
|
9,
|
|
760
872
|
n0,
|
|
@@ -831,6 +943,14 @@ var ListRoute53HealthChecks$ = [
|
|
|
831
943
|
() => ListRoute53HealthChecksRequest$,
|
|
832
944
|
() => ListRoute53HealthChecksResponse$,
|
|
833
945
|
];
|
|
946
|
+
var ListRoute53HealthChecksInRegion$ = [
|
|
947
|
+
9,
|
|
948
|
+
n0,
|
|
949
|
+
_LRHCIR,
|
|
950
|
+
0,
|
|
951
|
+
() => ListRoute53HealthChecksInRegionRequest$,
|
|
952
|
+
() => ListRoute53HealthChecksInRegionResponse$,
|
|
953
|
+
];
|
|
834
954
|
var ListTagsForResource$ = [
|
|
835
955
|
9,
|
|
836
956
|
n0,
|
|
@@ -1045,6 +1165,18 @@ class ListRoute53HealthChecksCommand extends smithyClient.Command
|
|
|
1045
1165
|
.build() {
|
|
1046
1166
|
}
|
|
1047
1167
|
|
|
1168
|
+
class ListRoute53HealthChecksInRegionCommand extends smithyClient.Command
|
|
1169
|
+
.classBuilder()
|
|
1170
|
+
.ep(commonParams)
|
|
1171
|
+
.m(function (Command, cs, config, o) {
|
|
1172
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1173
|
+
})
|
|
1174
|
+
.s("ArcRegionSwitch", "ListRoute53HealthChecksInRegion", {})
|
|
1175
|
+
.n("ARCRegionSwitchClient", "ListRoute53HealthChecksInRegionCommand")
|
|
1176
|
+
.sc(ListRoute53HealthChecksInRegion$)
|
|
1177
|
+
.build() {
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1048
1180
|
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1049
1181
|
.classBuilder()
|
|
1050
1182
|
.ep({
|
|
@@ -1155,6 +1287,7 @@ const commands = {
|
|
|
1155
1287
|
ListPlansCommand,
|
|
1156
1288
|
ListPlansInRegionCommand,
|
|
1157
1289
|
ListRoute53HealthChecksCommand,
|
|
1290
|
+
ListRoute53HealthChecksInRegionCommand,
|
|
1158
1291
|
ListTagsForResourceCommand,
|
|
1159
1292
|
StartPlanExecutionCommand,
|
|
1160
1293
|
TagResourceCommand,
|
|
@@ -1179,6 +1312,8 @@ const paginateListPlansInRegion = core.createPaginator(ARCRegionSwitchClient, Li
|
|
|
1179
1312
|
|
|
1180
1313
|
const paginateListPlans = core.createPaginator(ARCRegionSwitchClient, ListPlansCommand, "nextToken", "nextToken", "maxResults");
|
|
1181
1314
|
|
|
1315
|
+
const paginateListRoute53HealthChecksInRegion = core.createPaginator(ARCRegionSwitchClient, ListRoute53HealthChecksInRegionCommand, "nextToken", "nextToken", "maxResults");
|
|
1316
|
+
|
|
1182
1317
|
const paginateListRoute53HealthChecks = core.createPaginator(ARCRegionSwitchClient, ListRoute53HealthChecksCommand, "nextToken", "nextToken", "maxResults");
|
|
1183
1318
|
|
|
1184
1319
|
const checkState$1 = async (client, input) => {
|
|
@@ -1342,6 +1477,11 @@ const ResourceWarningStatus = {
|
|
|
1342
1477
|
ACTIVE: "active",
|
|
1343
1478
|
RESOLVED: "resolved",
|
|
1344
1479
|
};
|
|
1480
|
+
const FailedReportErrorCode = {
|
|
1481
|
+
CONFIGURATION_ERROR: "configurationError",
|
|
1482
|
+
INSUFFICIENT_PERMISSIONS: "insufficientPermissions",
|
|
1483
|
+
INVALID_RESOURCE: "invalidResource",
|
|
1484
|
+
};
|
|
1345
1485
|
const WorkflowTargetAction = {
|
|
1346
1486
|
ACTIVATE: "activate",
|
|
1347
1487
|
DEACTIVATE: "deactivate",
|
|
@@ -1357,6 +1497,13 @@ const RegionToRunIn = {
|
|
|
1357
1497
|
const LambdaUngracefulBehavior = {
|
|
1358
1498
|
SKIP: "skip",
|
|
1359
1499
|
};
|
|
1500
|
+
const DocumentDbDefaultBehavior = {
|
|
1501
|
+
FAILOVER: "failover",
|
|
1502
|
+
SWITCHOVER_ONLY: "switchoverOnly",
|
|
1503
|
+
};
|
|
1504
|
+
const DocumentDbUngracefulBehavior = {
|
|
1505
|
+
FAILOVER: "failover",
|
|
1506
|
+
};
|
|
1360
1507
|
const Ec2AsgCapacityMonitoringApproach = {
|
|
1361
1508
|
AUTOSCALING_MAX_IN_LAST_24_HOURS: "autoscalingMaxInLast24Hours",
|
|
1362
1509
|
SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours",
|
|
@@ -1378,6 +1525,7 @@ const GlobalAuroraUngracefulBehavior = {
|
|
|
1378
1525
|
const ExecutionBlockType = {
|
|
1379
1526
|
AURORA: "AuroraGlobalDatabase",
|
|
1380
1527
|
CUSTOM_ACTION_LAMBDA: "CustomActionLambda",
|
|
1528
|
+
DOCUMENTDB: "DocumentDb",
|
|
1381
1529
|
EC2_ASG: "EC2AutoScaling",
|
|
1382
1530
|
ECS: "ECSServiceScaling",
|
|
1383
1531
|
EKS_RESOURCE_SCALING: "EKSResourceScaling",
|
|
@@ -1410,6 +1558,7 @@ const ExecutionEventType = {
|
|
|
1410
1558
|
EXECUTION_STARTED: "executionStarted",
|
|
1411
1559
|
EXECUTION_SUCCEEDED: "executionSucceeded",
|
|
1412
1560
|
EXECUTION_SUCCESS_MONITORING_APPLICATION_HEALTH: "executionSuccessMonitoringApplicationHealth",
|
|
1561
|
+
PLAN_EVALUATION_WARNING: "planEvaluationWarning",
|
|
1413
1562
|
STEP_CANCELED: "stepCanceled",
|
|
1414
1563
|
STEP_EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "stepExecutionBehaviorChangedToUngraceful",
|
|
1415
1564
|
STEP_FAILED: "stepFailed",
|
|
@@ -1423,6 +1572,11 @@ const ExecutionEventType = {
|
|
|
1423
1572
|
STEP_UPDATE: "stepUpdate",
|
|
1424
1573
|
UNKNOWN: "unknown",
|
|
1425
1574
|
};
|
|
1575
|
+
const Route53HealthCheckStatus = {
|
|
1576
|
+
HEALTHY: "healthy",
|
|
1577
|
+
UNHEALTHY: "unhealthy",
|
|
1578
|
+
UNKNOWN: "unknown",
|
|
1579
|
+
};
|
|
1426
1580
|
const UpdatePlanExecutionAction = {
|
|
1427
1581
|
PAUSE: "pause",
|
|
1428
1582
|
RESUME: "resume",
|
|
@@ -1474,6 +1628,10 @@ exports.DeletePlan$ = DeletePlan$;
|
|
|
1474
1628
|
exports.DeletePlanCommand = DeletePlanCommand;
|
|
1475
1629
|
exports.DeletePlanRequest$ = DeletePlanRequest$;
|
|
1476
1630
|
exports.DeletePlanResponse$ = DeletePlanResponse$;
|
|
1631
|
+
exports.DocumentDbConfiguration$ = DocumentDbConfiguration$;
|
|
1632
|
+
exports.DocumentDbDefaultBehavior = DocumentDbDefaultBehavior;
|
|
1633
|
+
exports.DocumentDbUngraceful$ = DocumentDbUngraceful$;
|
|
1634
|
+
exports.DocumentDbUngracefulBehavior = DocumentDbUngracefulBehavior;
|
|
1477
1635
|
exports.Ec2AsgCapacityIncreaseConfiguration$ = Ec2AsgCapacityIncreaseConfiguration$;
|
|
1478
1636
|
exports.Ec2AsgCapacityMonitoringApproach = Ec2AsgCapacityMonitoringApproach;
|
|
1479
1637
|
exports.Ec2Ungraceful$ = Ec2Ungraceful$;
|
|
@@ -1493,6 +1651,9 @@ exports.ExecutionEvent$ = ExecutionEvent$;
|
|
|
1493
1651
|
exports.ExecutionEventType = ExecutionEventType;
|
|
1494
1652
|
exports.ExecutionMode = ExecutionMode;
|
|
1495
1653
|
exports.ExecutionState = ExecutionState;
|
|
1654
|
+
exports.FailedReportErrorCode = FailedReportErrorCode;
|
|
1655
|
+
exports.FailedReportOutput$ = FailedReportOutput$;
|
|
1656
|
+
exports.GeneratedReport$ = GeneratedReport$;
|
|
1496
1657
|
exports.GetPlan$ = GetPlan$;
|
|
1497
1658
|
exports.GetPlanCommand = GetPlanCommand;
|
|
1498
1659
|
exports.GetPlanEvaluationStatus$ = GetPlanEvaluationStatus$;
|
|
@@ -1542,6 +1703,10 @@ exports.ListPlansRequest$ = ListPlansRequest$;
|
|
|
1542
1703
|
exports.ListPlansResponse$ = ListPlansResponse$;
|
|
1543
1704
|
exports.ListRoute53HealthChecks$ = ListRoute53HealthChecks$;
|
|
1544
1705
|
exports.ListRoute53HealthChecksCommand = ListRoute53HealthChecksCommand;
|
|
1706
|
+
exports.ListRoute53HealthChecksInRegion$ = ListRoute53HealthChecksInRegion$;
|
|
1707
|
+
exports.ListRoute53HealthChecksInRegionCommand = ListRoute53HealthChecksInRegionCommand;
|
|
1708
|
+
exports.ListRoute53HealthChecksInRegionRequest$ = ListRoute53HealthChecksInRegionRequest$;
|
|
1709
|
+
exports.ListRoute53HealthChecksInRegionResponse$ = ListRoute53HealthChecksInRegionResponse$;
|
|
1545
1710
|
exports.ListRoute53HealthChecksRequest$ = ListRoute53HealthChecksRequest$;
|
|
1546
1711
|
exports.ListRoute53HealthChecksResponse$ = ListRoute53HealthChecksResponse$;
|
|
1547
1712
|
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
@@ -1554,14 +1719,20 @@ exports.Plan$ = Plan$;
|
|
|
1554
1719
|
exports.RecoveryApproach = RecoveryApproach;
|
|
1555
1720
|
exports.RegionSwitchPlanConfiguration$ = RegionSwitchPlanConfiguration$;
|
|
1556
1721
|
exports.RegionToRunIn = RegionToRunIn;
|
|
1722
|
+
exports.ReportConfiguration$ = ReportConfiguration$;
|
|
1723
|
+
exports.ReportOutput$ = ReportOutput$;
|
|
1724
|
+
exports.ReportOutputConfiguration$ = ReportOutputConfiguration$;
|
|
1557
1725
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1558
1726
|
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1559
1727
|
exports.ResourceWarning$ = ResourceWarning$;
|
|
1560
1728
|
exports.ResourceWarningStatus = ResourceWarningStatus;
|
|
1561
1729
|
exports.Route53HealthCheck$ = Route53HealthCheck$;
|
|
1562
1730
|
exports.Route53HealthCheckConfiguration$ = Route53HealthCheckConfiguration$;
|
|
1731
|
+
exports.Route53HealthCheckStatus = Route53HealthCheckStatus;
|
|
1563
1732
|
exports.Route53ResourceRecordSet$ = Route53ResourceRecordSet$;
|
|
1564
1733
|
exports.RoutingControlStateChange = RoutingControlStateChange;
|
|
1734
|
+
exports.S3ReportOutput$ = S3ReportOutput$;
|
|
1735
|
+
exports.S3ReportOutputConfiguration$ = S3ReportOutputConfiguration$;
|
|
1565
1736
|
exports.Service$ = Service$;
|
|
1566
1737
|
exports.StartPlanExecution$ = StartPlanExecution$;
|
|
1567
1738
|
exports.StartPlanExecutionCommand = StartPlanExecutionCommand;
|
|
@@ -1603,6 +1774,7 @@ exports.paginateListPlanExecutions = paginateListPlanExecutions;
|
|
|
1603
1774
|
exports.paginateListPlans = paginateListPlans;
|
|
1604
1775
|
exports.paginateListPlansInRegion = paginateListPlansInRegion;
|
|
1605
1776
|
exports.paginateListRoute53HealthChecks = paginateListRoute53HealthChecks;
|
|
1777
|
+
exports.paginateListRoute53HealthChecksInRegion = paginateListRoute53HealthChecksInRegion;
|
|
1606
1778
|
exports.waitForPlanEvaluationStatusPassed = waitForPlanEvaluationStatusPassed;
|
|
1607
1779
|
exports.waitForPlanExecutionCompleted = waitForPlanExecutionCompleted;
|
|
1608
1780
|
exports.waitUntilPlanEvaluationStatusPassed = waitUntilPlanEvaluationStatusPassed;
|
|
@@ -13,6 +13,7 @@ import { ListPlanExecutionsCommand, } from "./commands/ListPlanExecutionsCommand
|
|
|
13
13
|
import { ListPlansCommand } from "./commands/ListPlansCommand";
|
|
14
14
|
import { ListPlansInRegionCommand, } from "./commands/ListPlansInRegionCommand";
|
|
15
15
|
import { ListRoute53HealthChecksCommand, } from "./commands/ListRoute53HealthChecksCommand";
|
|
16
|
+
import { ListRoute53HealthChecksInRegionCommand, } from "./commands/ListRoute53HealthChecksInRegionCommand";
|
|
16
17
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
17
18
|
import { StartPlanExecutionCommand, } from "./commands/StartPlanExecutionCommand";
|
|
18
19
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -34,6 +35,7 @@ const commands = {
|
|
|
34
35
|
ListPlansCommand,
|
|
35
36
|
ListPlansInRegionCommand,
|
|
36
37
|
ListRoute53HealthChecksCommand,
|
|
38
|
+
ListRoute53HealthChecksInRegionCommand,
|
|
37
39
|
ListTagsForResourceCommand,
|
|
38
40
|
StartPlanExecutionCommand,
|
|
39
41
|
TagResourceCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListRoute53HealthChecksInRegion$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListRoute53HealthChecksInRegionCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("ArcRegionSwitch", "ListRoute53HealthChecksInRegion", {})
|
|
13
|
+
.n("ARCRegionSwitchClient", "ListRoute53HealthChecksInRegionCommand")
|
|
14
|
+
.sc(ListRoute53HealthChecksInRegion$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -11,6 +11,7 @@ export * from "./ListPlanExecutionsCommand";
|
|
|
11
11
|
export * from "./ListPlansCommand";
|
|
12
12
|
export * from "./ListPlansInRegionCommand";
|
|
13
13
|
export * from "./ListRoute53HealthChecksCommand";
|
|
14
|
+
export * from "./ListRoute53HealthChecksInRegionCommand";
|
|
14
15
|
export * from "./ListTagsForResourceCommand";
|
|
15
16
|
export * from "./StartPlanExecutionCommand";
|
|
16
17
|
export * from "./TagResourceCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const w = "fn", x = "argv", y = "ref";
|
|
2
|
-
const a = true, b = false, c = "
|
|
2
|
+
const a = true, b = false, c = "boolean", d = "sigv4", e = "arc-region-switch", f = "endpoint", g = "tree", h = "error", i = { "required": false, "type": "string" }, j = { [w]: "isSet", [x]: [{ [y]: "UseControlPlaneEndpoint" }] }, k = { [w]: "booleanEquals", [x]: [{ [y]: "UseControlPlaneEndpoint" }, true] }, l = { [w]: "isSet", [x]: [{ [y]: "Region" }] }, m = { [w]: "not", [x]: [{ [w]: "booleanEquals", [x]: [{ [y]: "UseFIPS" }, true] }] }, n = { [w]: "booleanEquals", [x]: [{ [y]: "UseFIPS" }, true] }, o = { [w]: "not", [x]: [{ [w]: "isSet", [x]: [{ [y]: "Endpoint" }] }] }, p = { [y]: "Endpoint" }, q = { [w]: "aws.partition", [x]: [{ [y]: "Region" }], "assign": "PartitionResult" }, r = { [w]: "stringEquals", [x]: [{ [w]: "getAttr", [x]: [{ [y]: "PartitionResult" }, "name"] }, "aws-cn"] }, s = {}, t = { "authSchemes": [{ "name": d, "signingName": e, "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, u = [n], v = [{ [w]: "isSet", [x]: [p] }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: c }, Endpoint: i, Region: i, UseControlPlaneEndpoint: { required: b, type: c } }, rules: [{ conditions: [j, k, l, m, o, q, r], rules: [{ endpoint: { url: "https://arc-region-switch-control-plane.cn-north-1.{PartitionResult#dualStackDnsSuffix}", properties: { authSchemes: [{ name: d, signingName: e, signingRegion: "cn-north-1" }] }, headers: s }, type: f }], type: g }, { conditions: [o, j, k, l, n, q], rules: [{ conditions: [r], error: "Invalid Configuration: FIPS is not supported in this partition", type: h }, { rules: [{ endpoint: { url: "https://arc-region-switch-control-plane-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: t, headers: s }, type: f }], type: g }], type: g }, { conditions: [j, k, l, m, o, q], rules: [{ endpoint: { url: "https://arc-region-switch-control-plane.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: t, headers: s }, type: f }], type: g }, { conditions: v, rules: [{ conditions: u, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: h }, { endpoint: { url: p, properties: s, headers: s }, type: f }], type: g }, { rules: [{ conditions: [l], rules: [{ conditions: [q], rules: [{ conditions: u, endpoint: { url: "https://arc-region-switch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: s, headers: s }, type: f }, { endpoint: { url: "https://arc-region-switch.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: s, headers: s }, type: f }], type: g }], type: g }, { error: "Invalid Configuration: Missing Region", type: h }], type: g }] };
|
|
4
4
|
export const ruleSet = _data;
|
package/dist-es/index.js
CHANGED
package/dist-es/models/enums.js
CHANGED
|
@@ -45,6 +45,11 @@ export const ResourceWarningStatus = {
|
|
|
45
45
|
ACTIVE: "active",
|
|
46
46
|
RESOLVED: "resolved",
|
|
47
47
|
};
|
|
48
|
+
export const FailedReportErrorCode = {
|
|
49
|
+
CONFIGURATION_ERROR: "configurationError",
|
|
50
|
+
INSUFFICIENT_PERMISSIONS: "insufficientPermissions",
|
|
51
|
+
INVALID_RESOURCE: "invalidResource",
|
|
52
|
+
};
|
|
48
53
|
export const WorkflowTargetAction = {
|
|
49
54
|
ACTIVATE: "activate",
|
|
50
55
|
DEACTIVATE: "deactivate",
|
|
@@ -60,6 +65,13 @@ export const RegionToRunIn = {
|
|
|
60
65
|
export const LambdaUngracefulBehavior = {
|
|
61
66
|
SKIP: "skip",
|
|
62
67
|
};
|
|
68
|
+
export const DocumentDbDefaultBehavior = {
|
|
69
|
+
FAILOVER: "failover",
|
|
70
|
+
SWITCHOVER_ONLY: "switchoverOnly",
|
|
71
|
+
};
|
|
72
|
+
export const DocumentDbUngracefulBehavior = {
|
|
73
|
+
FAILOVER: "failover",
|
|
74
|
+
};
|
|
63
75
|
export const Ec2AsgCapacityMonitoringApproach = {
|
|
64
76
|
AUTOSCALING_MAX_IN_LAST_24_HOURS: "autoscalingMaxInLast24Hours",
|
|
65
77
|
SAMPLED_MAX_IN_LAST_24_HOURS: "sampledMaxInLast24Hours",
|
|
@@ -81,6 +93,7 @@ export const GlobalAuroraUngracefulBehavior = {
|
|
|
81
93
|
export const ExecutionBlockType = {
|
|
82
94
|
AURORA: "AuroraGlobalDatabase",
|
|
83
95
|
CUSTOM_ACTION_LAMBDA: "CustomActionLambda",
|
|
96
|
+
DOCUMENTDB: "DocumentDb",
|
|
84
97
|
EC2_ASG: "EC2AutoScaling",
|
|
85
98
|
ECS: "ECSServiceScaling",
|
|
86
99
|
EKS_RESOURCE_SCALING: "EKSResourceScaling",
|
|
@@ -113,6 +126,7 @@ export const ExecutionEventType = {
|
|
|
113
126
|
EXECUTION_STARTED: "executionStarted",
|
|
114
127
|
EXECUTION_SUCCEEDED: "executionSucceeded",
|
|
115
128
|
EXECUTION_SUCCESS_MONITORING_APPLICATION_HEALTH: "executionSuccessMonitoringApplicationHealth",
|
|
129
|
+
PLAN_EVALUATION_WARNING: "planEvaluationWarning",
|
|
116
130
|
STEP_CANCELED: "stepCanceled",
|
|
117
131
|
STEP_EXECUTION_BEHAVIOR_CHANGED_TO_UNGRACEFUL: "stepExecutionBehaviorChangedToUngraceful",
|
|
118
132
|
STEP_FAILED: "stepFailed",
|
|
@@ -126,6 +140,11 @@ export const ExecutionEventType = {
|
|
|
126
140
|
STEP_UPDATE: "stepUpdate",
|
|
127
141
|
UNKNOWN: "unknown",
|
|
128
142
|
};
|
|
143
|
+
export const Route53HealthCheckStatus = {
|
|
144
|
+
HEALTHY: "healthy",
|
|
145
|
+
UNHEALTHY: "unhealthy",
|
|
146
|
+
UNKNOWN: "unknown",
|
|
147
|
+
};
|
|
129
148
|
export const UpdatePlanExecutionAction = {
|
|
130
149
|
PAUSE: "pause",
|
|
131
150
|
RESUME: "resume",
|