@aws-sdk/client-arc-region-switch 3.954.0 → 3.955.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 +69 -9
- 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 +5 -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 +35 -1
- package/dist-types/ARCRegionSwitch.d.ts +7 -0
- package/dist-types/ARCRegionSwitchClient.d.ts +3 -2
- package/dist-types/commands/ListRoute53HealthChecksCommand.d.ts +1 -0
- package/dist-types/commands/ListRoute53HealthChecksInRegionCommand.d.ts +133 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/errors.d.ts +8 -8
- package/dist-types/models/models_0.d.ts +51 -1
- 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 +3 -0
- 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 +7 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -6
- package/dist-types/ts3.4/models/models_0.d.ts +13 -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 +3 -0
- package/package.json +2 -2
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
|
|
|
@@ -249,6 +249,9 @@ const _LPIRRi = "ListPlansInRegionResponse";
|
|
|
249
249
|
const _LPR = "ListPlansRequest";
|
|
250
250
|
const _LPRi = "ListPlansResponse";
|
|
251
251
|
const _LRHC = "ListRoute53HealthChecks";
|
|
252
|
+
const _LRHCIR = "ListRoute53HealthChecksInRegion";
|
|
253
|
+
const _LRHCIRR = "ListRoute53HealthChecksInRegionRequest";
|
|
254
|
+
const _LRHCIRRi = "ListRoute53HealthChecksInRegionResponse";
|
|
252
255
|
const _LRHCR = "ListRoute53HealthChecksRequest";
|
|
253
256
|
const _LRHCRi = "ListRoute53HealthChecksResponse";
|
|
254
257
|
const _LTFR = "ListTagsForResource";
|
|
@@ -597,6 +600,22 @@ var ListPlansInRegionRequest$ = [3, n0, _LPIRR, 0, [_mR, _nT], [1, 0]];
|
|
|
597
600
|
var ListPlansInRegionResponse$ = [3, n0, _LPIRRi, 0, [_pl, _nT], [() => PlanList, 0]];
|
|
598
601
|
var ListPlansRequest$ = [3, n0, _LPR, 0, [_mR, _nT], [1, 0]];
|
|
599
602
|
var ListPlansResponse$ = [3, n0, _LPRi, 0, [_pl, _nT], [() => PlanList, 0]];
|
|
603
|
+
var ListRoute53HealthChecksInRegionRequest$ = [
|
|
604
|
+
3,
|
|
605
|
+
n0,
|
|
606
|
+
_LRHCIRR,
|
|
607
|
+
0,
|
|
608
|
+
[_a, _hZI, _rN, _mR, _nT],
|
|
609
|
+
[0, 0, 0, 1, 0],
|
|
610
|
+
];
|
|
611
|
+
var ListRoute53HealthChecksInRegionResponse$ = [
|
|
612
|
+
3,
|
|
613
|
+
n0,
|
|
614
|
+
_LRHCIRRi,
|
|
615
|
+
0,
|
|
616
|
+
[_hC, _nT],
|
|
617
|
+
[() => Route53HealthCheckList, 0],
|
|
618
|
+
];
|
|
600
619
|
var ListRoute53HealthChecksRequest$ = [
|
|
601
620
|
3,
|
|
602
621
|
n0,
|
|
@@ -636,7 +655,14 @@ var ResourceWarning$ = [
|
|
|
636
655
|
[_wo, _v, _sN, _rAe, _wS, _wUT, _wM],
|
|
637
656
|
[() => MinimalWorkflow$, 0, 0, 0, 0, 4, 0],
|
|
638
657
|
];
|
|
639
|
-
var Route53HealthCheck$ = [
|
|
658
|
+
var Route53HealthCheck$ = [
|
|
659
|
+
3,
|
|
660
|
+
n0,
|
|
661
|
+
_RHC,
|
|
662
|
+
0,
|
|
663
|
+
[_hZI, _rN, _hCI, _sta, _reg],
|
|
664
|
+
[0, 0, 0, 0, 0],
|
|
665
|
+
];
|
|
640
666
|
var Route53HealthCheckConfiguration$ = [
|
|
641
667
|
3,
|
|
642
668
|
n0,
|
|
@@ -831,6 +857,14 @@ var ListRoute53HealthChecks$ = [
|
|
|
831
857
|
() => ListRoute53HealthChecksRequest$,
|
|
832
858
|
() => ListRoute53HealthChecksResponse$,
|
|
833
859
|
];
|
|
860
|
+
var ListRoute53HealthChecksInRegion$ = [
|
|
861
|
+
9,
|
|
862
|
+
n0,
|
|
863
|
+
_LRHCIR,
|
|
864
|
+
0,
|
|
865
|
+
() => ListRoute53HealthChecksInRegionRequest$,
|
|
866
|
+
() => ListRoute53HealthChecksInRegionResponse$,
|
|
867
|
+
];
|
|
834
868
|
var ListTagsForResource$ = [
|
|
835
869
|
9,
|
|
836
870
|
n0,
|
|
@@ -1045,6 +1079,18 @@ class ListRoute53HealthChecksCommand extends smithyClient.Command
|
|
|
1045
1079
|
.build() {
|
|
1046
1080
|
}
|
|
1047
1081
|
|
|
1082
|
+
class ListRoute53HealthChecksInRegionCommand extends smithyClient.Command
|
|
1083
|
+
.classBuilder()
|
|
1084
|
+
.ep(commonParams)
|
|
1085
|
+
.m(function (Command, cs, config, o) {
|
|
1086
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1087
|
+
})
|
|
1088
|
+
.s("ArcRegionSwitch", "ListRoute53HealthChecksInRegion", {})
|
|
1089
|
+
.n("ARCRegionSwitchClient", "ListRoute53HealthChecksInRegionCommand")
|
|
1090
|
+
.sc(ListRoute53HealthChecksInRegion$)
|
|
1091
|
+
.build() {
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1048
1094
|
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1049
1095
|
.classBuilder()
|
|
1050
1096
|
.ep({
|
|
@@ -1155,6 +1201,7 @@ const commands = {
|
|
|
1155
1201
|
ListPlansCommand,
|
|
1156
1202
|
ListPlansInRegionCommand,
|
|
1157
1203
|
ListRoute53HealthChecksCommand,
|
|
1204
|
+
ListRoute53HealthChecksInRegionCommand,
|
|
1158
1205
|
ListTagsForResourceCommand,
|
|
1159
1206
|
StartPlanExecutionCommand,
|
|
1160
1207
|
TagResourceCommand,
|
|
@@ -1179,6 +1226,8 @@ const paginateListPlansInRegion = core.createPaginator(ARCRegionSwitchClient, Li
|
|
|
1179
1226
|
|
|
1180
1227
|
const paginateListPlans = core.createPaginator(ARCRegionSwitchClient, ListPlansCommand, "nextToken", "nextToken", "maxResults");
|
|
1181
1228
|
|
|
1229
|
+
const paginateListRoute53HealthChecksInRegion = core.createPaginator(ARCRegionSwitchClient, ListRoute53HealthChecksInRegionCommand, "nextToken", "nextToken", "maxResults");
|
|
1230
|
+
|
|
1182
1231
|
const paginateListRoute53HealthChecks = core.createPaginator(ARCRegionSwitchClient, ListRoute53HealthChecksCommand, "nextToken", "nextToken", "maxResults");
|
|
1183
1232
|
|
|
1184
1233
|
const checkState$1 = async (client, input) => {
|
|
@@ -1423,6 +1472,11 @@ const ExecutionEventType = {
|
|
|
1423
1472
|
STEP_UPDATE: "stepUpdate",
|
|
1424
1473
|
UNKNOWN: "unknown",
|
|
1425
1474
|
};
|
|
1475
|
+
const Route53HealthCheckStatus = {
|
|
1476
|
+
HEALTHY: "healthy",
|
|
1477
|
+
UNHEALTHY: "unhealthy",
|
|
1478
|
+
UNKNOWN: "unknown",
|
|
1479
|
+
};
|
|
1426
1480
|
const UpdatePlanExecutionAction = {
|
|
1427
1481
|
PAUSE: "pause",
|
|
1428
1482
|
RESUME: "resume",
|
|
@@ -1542,6 +1596,10 @@ exports.ListPlansRequest$ = ListPlansRequest$;
|
|
|
1542
1596
|
exports.ListPlansResponse$ = ListPlansResponse$;
|
|
1543
1597
|
exports.ListRoute53HealthChecks$ = ListRoute53HealthChecks$;
|
|
1544
1598
|
exports.ListRoute53HealthChecksCommand = ListRoute53HealthChecksCommand;
|
|
1599
|
+
exports.ListRoute53HealthChecksInRegion$ = ListRoute53HealthChecksInRegion$;
|
|
1600
|
+
exports.ListRoute53HealthChecksInRegionCommand = ListRoute53HealthChecksInRegionCommand;
|
|
1601
|
+
exports.ListRoute53HealthChecksInRegionRequest$ = ListRoute53HealthChecksInRegionRequest$;
|
|
1602
|
+
exports.ListRoute53HealthChecksInRegionResponse$ = ListRoute53HealthChecksInRegionResponse$;
|
|
1545
1603
|
exports.ListRoute53HealthChecksRequest$ = ListRoute53HealthChecksRequest$;
|
|
1546
1604
|
exports.ListRoute53HealthChecksResponse$ = ListRoute53HealthChecksResponse$;
|
|
1547
1605
|
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
@@ -1560,6 +1618,7 @@ exports.ResourceWarning$ = ResourceWarning$;
|
|
|
1560
1618
|
exports.ResourceWarningStatus = ResourceWarningStatus;
|
|
1561
1619
|
exports.Route53HealthCheck$ = Route53HealthCheck$;
|
|
1562
1620
|
exports.Route53HealthCheckConfiguration$ = Route53HealthCheckConfiguration$;
|
|
1621
|
+
exports.Route53HealthCheckStatus = Route53HealthCheckStatus;
|
|
1563
1622
|
exports.Route53ResourceRecordSet$ = Route53ResourceRecordSet$;
|
|
1564
1623
|
exports.RoutingControlStateChange = RoutingControlStateChange;
|
|
1565
1624
|
exports.Service$ = Service$;
|
|
@@ -1603,6 +1662,7 @@ exports.paginateListPlanExecutions = paginateListPlanExecutions;
|
|
|
1603
1662
|
exports.paginateListPlans = paginateListPlans;
|
|
1604
1663
|
exports.paginateListPlansInRegion = paginateListPlansInRegion;
|
|
1605
1664
|
exports.paginateListRoute53HealthChecks = paginateListRoute53HealthChecks;
|
|
1665
|
+
exports.paginateListRoute53HealthChecksInRegion = paginateListRoute53HealthChecksInRegion;
|
|
1606
1666
|
exports.waitForPlanEvaluationStatusPassed = waitForPlanEvaluationStatusPassed;
|
|
1607
1667
|
exports.waitForPlanExecutionCompleted = waitForPlanExecutionCompleted;
|
|
1608
1668
|
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
|
@@ -126,6 +126,11 @@ export const ExecutionEventType = {
|
|
|
126
126
|
STEP_UPDATE: "stepUpdate",
|
|
127
127
|
UNKNOWN: "unknown",
|
|
128
128
|
};
|
|
129
|
+
export const Route53HealthCheckStatus = {
|
|
130
|
+
HEALTHY: "healthy",
|
|
131
|
+
UNHEALTHY: "unhealthy",
|
|
132
|
+
UNKNOWN: "unknown",
|
|
133
|
+
};
|
|
129
134
|
export const UpdatePlanExecutionAction = {
|
|
130
135
|
PAUSE: "pause",
|
|
131
136
|
RESUME: "resume",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -35,27 +35,27 @@ export class InternalServerException extends __BaseException {
|
|
|
35
35
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
export class
|
|
39
|
-
name = "
|
|
38
|
+
export class IllegalArgumentException extends __BaseException {
|
|
39
|
+
name = "IllegalArgumentException";
|
|
40
40
|
$fault = "client";
|
|
41
41
|
constructor(opts) {
|
|
42
42
|
super({
|
|
43
|
-
name: "
|
|
43
|
+
name: "IllegalArgumentException",
|
|
44
44
|
$fault: "client",
|
|
45
45
|
...opts,
|
|
46
46
|
});
|
|
47
|
-
Object.setPrototypeOf(this,
|
|
47
|
+
Object.setPrototypeOf(this, IllegalArgumentException.prototype);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
export class
|
|
51
|
-
name = "
|
|
50
|
+
export class IllegalStateException extends __BaseException {
|
|
51
|
+
name = "IllegalStateException";
|
|
52
52
|
$fault = "client";
|
|
53
53
|
constructor(opts) {
|
|
54
54
|
super({
|
|
55
|
-
name: "
|
|
55
|
+
name: "IllegalStateException",
|
|
56
56
|
$fault: "client",
|
|
57
57
|
...opts,
|
|
58
58
|
});
|
|
59
|
-
Object.setPrototypeOf(this,
|
|
59
|
+
Object.setPrototypeOf(this, IllegalStateException.prototype);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ARCRegionSwitchClient } from "../ARCRegionSwitchClient";
|
|
3
|
+
import { ListRoute53HealthChecksInRegionCommand, } from "../commands/ListRoute53HealthChecksInRegionCommand";
|
|
4
|
+
export const paginateListRoute53HealthChecksInRegion = createPaginator(ARCRegionSwitchClient, ListRoute53HealthChecksInRegionCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -5,4 +5,5 @@ export * from "./ListPlanExecutionEventsPaginator";
|
|
|
5
5
|
export * from "./ListPlanExecutionsPaginator";
|
|
6
6
|
export * from "./ListPlansInRegionPaginator";
|
|
7
7
|
export * from "./ListPlansPaginator";
|
|
8
|
+
export * from "./ListRoute53HealthChecksInRegionPaginator";
|
|
8
9
|
export * from "./ListRoute53HealthChecksPaginator";
|
|
@@ -70,6 +70,9 @@ const _LPIRRi = "ListPlansInRegionResponse";
|
|
|
70
70
|
const _LPR = "ListPlansRequest";
|
|
71
71
|
const _LPRi = "ListPlansResponse";
|
|
72
72
|
const _LRHC = "ListRoute53HealthChecks";
|
|
73
|
+
const _LRHCIR = "ListRoute53HealthChecksInRegion";
|
|
74
|
+
const _LRHCIRR = "ListRoute53HealthChecksInRegionRequest";
|
|
75
|
+
const _LRHCIRRi = "ListRoute53HealthChecksInRegionResponse";
|
|
73
76
|
const _LRHCR = "ListRoute53HealthChecksRequest";
|
|
74
77
|
const _LRHCRi = "ListRoute53HealthChecksResponse";
|
|
75
78
|
const _LTFR = "ListTagsForResource";
|
|
@@ -421,6 +424,22 @@ export var ListPlansInRegionRequest$ = [3, n0, _LPIRR, 0, [_mR, _nT], [1, 0]];
|
|
|
421
424
|
export var ListPlansInRegionResponse$ = [3, n0, _LPIRRi, 0, [_pl, _nT], [() => PlanList, 0]];
|
|
422
425
|
export var ListPlansRequest$ = [3, n0, _LPR, 0, [_mR, _nT], [1, 0]];
|
|
423
426
|
export var ListPlansResponse$ = [3, n0, _LPRi, 0, [_pl, _nT], [() => PlanList, 0]];
|
|
427
|
+
export var ListRoute53HealthChecksInRegionRequest$ = [
|
|
428
|
+
3,
|
|
429
|
+
n0,
|
|
430
|
+
_LRHCIRR,
|
|
431
|
+
0,
|
|
432
|
+
[_a, _hZI, _rN, _mR, _nT],
|
|
433
|
+
[0, 0, 0, 1, 0],
|
|
434
|
+
];
|
|
435
|
+
export var ListRoute53HealthChecksInRegionResponse$ = [
|
|
436
|
+
3,
|
|
437
|
+
n0,
|
|
438
|
+
_LRHCIRRi,
|
|
439
|
+
0,
|
|
440
|
+
[_hC, _nT],
|
|
441
|
+
[() => Route53HealthCheckList, 0],
|
|
442
|
+
];
|
|
424
443
|
export var ListRoute53HealthChecksRequest$ = [
|
|
425
444
|
3,
|
|
426
445
|
n0,
|
|
@@ -460,7 +479,14 @@ export var ResourceWarning$ = [
|
|
|
460
479
|
[_wo, _v, _sN, _rAe, _wS, _wUT, _wM],
|
|
461
480
|
[() => MinimalWorkflow$, 0, 0, 0, 0, 4, 0],
|
|
462
481
|
];
|
|
463
|
-
export var Route53HealthCheck$ = [
|
|
482
|
+
export var Route53HealthCheck$ = [
|
|
483
|
+
3,
|
|
484
|
+
n0,
|
|
485
|
+
_RHC,
|
|
486
|
+
0,
|
|
487
|
+
[_hZI, _rN, _hCI, _sta, _reg],
|
|
488
|
+
[0, 0, 0, 0, 0],
|
|
489
|
+
];
|
|
464
490
|
export var Route53HealthCheckConfiguration$ = [
|
|
465
491
|
3,
|
|
466
492
|
n0,
|
|
@@ -660,6 +686,14 @@ export var ListRoute53HealthChecks$ = [
|
|
|
660
686
|
() => ListRoute53HealthChecksRequest$,
|
|
661
687
|
() => ListRoute53HealthChecksResponse$,
|
|
662
688
|
];
|
|
689
|
+
export var ListRoute53HealthChecksInRegion$ = [
|
|
690
|
+
9,
|
|
691
|
+
n0,
|
|
692
|
+
_LRHCIR,
|
|
693
|
+
0,
|
|
694
|
+
() => ListRoute53HealthChecksInRegionRequest$,
|
|
695
|
+
() => ListRoute53HealthChecksInRegionResponse$,
|
|
696
|
+
];
|
|
663
697
|
export var ListTagsForResource$ = [
|
|
664
698
|
9,
|
|
665
699
|
n0,
|
|
@@ -13,6 +13,7 @@ import { ListPlanExecutionsCommandInput, ListPlanExecutionsCommandOutput } from
|
|
|
13
13
|
import { ListPlansCommandInput, ListPlansCommandOutput } from "./commands/ListPlansCommand";
|
|
14
14
|
import { ListPlansInRegionCommandInput, ListPlansInRegionCommandOutput } from "./commands/ListPlansInRegionCommand";
|
|
15
15
|
import { ListRoute53HealthChecksCommandInput, ListRoute53HealthChecksCommandOutput } from "./commands/ListRoute53HealthChecksCommand";
|
|
16
|
+
import { ListRoute53HealthChecksInRegionCommandInput, ListRoute53HealthChecksInRegionCommandOutput } from "./commands/ListRoute53HealthChecksInRegionCommand";
|
|
16
17
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
17
18
|
import { StartPlanExecutionCommandInput, StartPlanExecutionCommandOutput } from "./commands/StartPlanExecutionCommand";
|
|
18
19
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -101,6 +102,12 @@ export interface ARCRegionSwitch {
|
|
|
101
102
|
listRoute53HealthChecks(args: ListRoute53HealthChecksCommandInput, options?: __HttpHandlerOptions): Promise<ListRoute53HealthChecksCommandOutput>;
|
|
102
103
|
listRoute53HealthChecks(args: ListRoute53HealthChecksCommandInput, cb: (err: any, data?: ListRoute53HealthChecksCommandOutput) => void): void;
|
|
103
104
|
listRoute53HealthChecks(args: ListRoute53HealthChecksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoute53HealthChecksCommandOutput) => void): void;
|
|
105
|
+
/**
|
|
106
|
+
* @see {@link ListRoute53HealthChecksInRegionCommand}
|
|
107
|
+
*/
|
|
108
|
+
listRoute53HealthChecksInRegion(args: ListRoute53HealthChecksInRegionCommandInput, options?: __HttpHandlerOptions): Promise<ListRoute53HealthChecksInRegionCommandOutput>;
|
|
109
|
+
listRoute53HealthChecksInRegion(args: ListRoute53HealthChecksInRegionCommandInput, cb: (err: any, data?: ListRoute53HealthChecksInRegionCommandOutput) => void): void;
|
|
110
|
+
listRoute53HealthChecksInRegion(args: ListRoute53HealthChecksInRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoute53HealthChecksInRegionCommandOutput) => void): void;
|
|
104
111
|
/**
|
|
105
112
|
* @see {@link ListTagsForResourceCommand}
|
|
106
113
|
*/
|
|
@@ -20,6 +20,7 @@ import { ListPlanExecutionsCommandInput, ListPlanExecutionsCommandOutput } from
|
|
|
20
20
|
import { ListPlansCommandInput, ListPlansCommandOutput } from "./commands/ListPlansCommand";
|
|
21
21
|
import { ListPlansInRegionCommandInput, ListPlansInRegionCommandOutput } from "./commands/ListPlansInRegionCommand";
|
|
22
22
|
import { ListRoute53HealthChecksCommandInput, ListRoute53HealthChecksCommandOutput } from "./commands/ListRoute53HealthChecksCommand";
|
|
23
|
+
import { ListRoute53HealthChecksInRegionCommandInput, ListRoute53HealthChecksInRegionCommandOutput } from "./commands/ListRoute53HealthChecksInRegionCommand";
|
|
23
24
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
24
25
|
import { StartPlanExecutionCommandInput, StartPlanExecutionCommandOutput } from "./commands/StartPlanExecutionCommand";
|
|
25
26
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -33,11 +34,11 @@ export { __Client };
|
|
|
33
34
|
/**
|
|
34
35
|
* @public
|
|
35
36
|
*/
|
|
36
|
-
export type ServiceInputTypes = ApprovePlanExecutionStepCommandInput | CancelPlanExecutionCommandInput | CreatePlanCommandInput | DeletePlanCommandInput | GetPlanCommandInput | GetPlanEvaluationStatusCommandInput | GetPlanExecutionCommandInput | GetPlanInRegionCommandInput | ListPlanExecutionEventsCommandInput | ListPlanExecutionsCommandInput | ListPlansCommandInput | ListPlansInRegionCommandInput | ListRoute53HealthChecksCommandInput | ListTagsForResourceCommandInput | StartPlanExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePlanCommandInput | UpdatePlanExecutionCommandInput | UpdatePlanExecutionStepCommandInput;
|
|
37
|
+
export type ServiceInputTypes = ApprovePlanExecutionStepCommandInput | CancelPlanExecutionCommandInput | CreatePlanCommandInput | DeletePlanCommandInput | GetPlanCommandInput | GetPlanEvaluationStatusCommandInput | GetPlanExecutionCommandInput | GetPlanInRegionCommandInput | ListPlanExecutionEventsCommandInput | ListPlanExecutionsCommandInput | ListPlansCommandInput | ListPlansInRegionCommandInput | ListRoute53HealthChecksCommandInput | ListRoute53HealthChecksInRegionCommandInput | ListTagsForResourceCommandInput | StartPlanExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePlanCommandInput | UpdatePlanExecutionCommandInput | UpdatePlanExecutionStepCommandInput;
|
|
37
38
|
/**
|
|
38
39
|
* @public
|
|
39
40
|
*/
|
|
40
|
-
export type ServiceOutputTypes = ApprovePlanExecutionStepCommandOutput | CancelPlanExecutionCommandOutput | CreatePlanCommandOutput | DeletePlanCommandOutput | GetPlanCommandOutput | GetPlanEvaluationStatusCommandOutput | GetPlanExecutionCommandOutput | GetPlanInRegionCommandOutput | ListPlanExecutionEventsCommandOutput | ListPlanExecutionsCommandOutput | ListPlansCommandOutput | ListPlansInRegionCommandOutput | ListRoute53HealthChecksCommandOutput | ListTagsForResourceCommandOutput | StartPlanExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePlanCommandOutput | UpdatePlanExecutionCommandOutput | UpdatePlanExecutionStepCommandOutput;
|
|
41
|
+
export type ServiceOutputTypes = ApprovePlanExecutionStepCommandOutput | CancelPlanExecutionCommandOutput | CreatePlanCommandOutput | DeletePlanCommandOutput | GetPlanCommandOutput | GetPlanEvaluationStatusCommandOutput | GetPlanExecutionCommandOutput | GetPlanInRegionCommandOutput | ListPlanExecutionEventsCommandOutput | ListPlanExecutionsCommandOutput | ListPlansCommandOutput | ListPlansInRegionCommandOutput | ListRoute53HealthChecksCommandOutput | ListRoute53HealthChecksInRegionCommandOutput | ListTagsForResourceCommandOutput | StartPlanExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePlanCommandOutput | UpdatePlanExecutionCommandOutput | UpdatePlanExecutionStepCommandOutput;
|
|
41
42
|
/**
|
|
42
43
|
* @public
|
|
43
44
|
*/
|
|
@@ -51,6 +51,7 @@ declare const ListRoute53HealthChecksCommand_base: {
|
|
|
51
51
|
* // hostedZoneId: "STRING_VALUE", // required
|
|
52
52
|
* // recordName: "STRING_VALUE", // required
|
|
53
53
|
* // healthCheckId: "STRING_VALUE",
|
|
54
|
+
* // status: "healthy" || "unhealthy" || "unknown",
|
|
54
55
|
* // region: "STRING_VALUE", // required
|
|
55
56
|
* // },
|
|
56
57
|
* // ],
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCRegionSwitchClient";
|
|
4
|
+
import type { ListRoute53HealthChecksInRegionRequest, ListRoute53HealthChecksInRegionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListRoute53HealthChecksInRegionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListRoute53HealthChecksInRegionCommandInput extends ListRoute53HealthChecksInRegionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListRoute53HealthChecksInRegionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRoute53HealthChecksInRegionCommandOutput extends ListRoute53HealthChecksInRegionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListRoute53HealthChecksInRegionCommand_base: {
|
|
25
|
+
new (input: ListRoute53HealthChecksInRegionCommandInput): import("@smithy/smithy-client").CommandImpl<ListRoute53HealthChecksInRegionCommandInput, ListRoute53HealthChecksInRegionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListRoute53HealthChecksInRegionCommandInput): import("@smithy/smithy-client").CommandImpl<ListRoute53HealthChecksInRegionCommandInput, ListRoute53HealthChecksInRegionCommandOutput, ARCRegionSwitchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>List the Amazon Route 53 health checks in a specific Amazon Web Services Region.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ARCRegionSwitchClient, ListRoute53HealthChecksInRegionCommand } from "@aws-sdk/client-arc-region-switch"; // ES Modules import
|
|
35
|
+
* // const { ARCRegionSwitchClient, ListRoute53HealthChecksInRegionCommand } = require("@aws-sdk/client-arc-region-switch"); // CommonJS import
|
|
36
|
+
* // import type { ARCRegionSwitchClientConfig } from "@aws-sdk/client-arc-region-switch";
|
|
37
|
+
* const config = {}; // type is ARCRegionSwitchClientConfig
|
|
38
|
+
* const client = new ARCRegionSwitchClient(config);
|
|
39
|
+
* const input = { // ListRoute53HealthChecksInRegionRequest
|
|
40
|
+
* arn: "STRING_VALUE", // required
|
|
41
|
+
* hostedZoneId: "STRING_VALUE",
|
|
42
|
+
* recordName: "STRING_VALUE",
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListRoute53HealthChecksInRegionCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListRoute53HealthChecksInRegionResponse
|
|
49
|
+
* // healthChecks: [ // Route53HealthCheckList
|
|
50
|
+
* // { // Route53HealthCheck
|
|
51
|
+
* // hostedZoneId: "STRING_VALUE", // required
|
|
52
|
+
* // recordName: "STRING_VALUE", // required
|
|
53
|
+
* // healthCheckId: "STRING_VALUE",
|
|
54
|
+
* // status: "healthy" || "unhealthy" || "unknown",
|
|
55
|
+
* // region: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // nextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListRoute53HealthChecksInRegionCommandInput - {@link ListRoute53HealthChecksInRegionCommandInput}
|
|
64
|
+
* @returns {@link ListRoute53HealthChecksInRegionCommandOutput}
|
|
65
|
+
* @see {@link ListRoute53HealthChecksInRegionCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListRoute53HealthChecksInRegionCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link ARCRegionSwitchClientResolvedConfig | config} for ARCRegionSwitchClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>You do not have sufficient access to perform this action.</p> <p>HTTP Status Code: 403</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link IllegalArgumentException} (client fault)
|
|
73
|
+
* <p>The request processing has an invalid argument.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure.</p> <p>HTTP Status Code: 500</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The specified resource was not found.</p> <p>HTTP Status Code: 404</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ARCRegionSwitchServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from ARCRegionSwitch service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @example Example ListRoute53HealthChecksInRegion
|
|
86
|
+
* ```javascript
|
|
87
|
+
* //
|
|
88
|
+
* const input = {
|
|
89
|
+
* arn: "arn:aws:arc-region-switch::123456789012:plan/example:000000",
|
|
90
|
+
* hostedZoneId: "Z0123456789ABCDEFGHI",
|
|
91
|
+
* maxResults: 10,
|
|
92
|
+
* nextToken: "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAxfQ",
|
|
93
|
+
* recordName: "my.record.name"
|
|
94
|
+
* };
|
|
95
|
+
* const command = new ListRoute53HealthChecksInRegionCommand(input);
|
|
96
|
+
* const response = await client.send(command);
|
|
97
|
+
* /* response is
|
|
98
|
+
* {
|
|
99
|
+
* healthChecks: [
|
|
100
|
+
* {
|
|
101
|
+
* healthCheckId: "01234567-8901-abcd-efgh-ijklmnop0123",
|
|
102
|
+
* hostedZoneId: "Z0123456789ABCDEFGHI",
|
|
103
|
+
* recordName: "my.record.name",
|
|
104
|
+
* region: "us-west-2",
|
|
105
|
+
* status: "healthy"
|
|
106
|
+
* },
|
|
107
|
+
* {
|
|
108
|
+
* healthCheckId: "zyxwvuts-rqpo-9876-5432-10nmlkji0123",
|
|
109
|
+
* hostedZoneId: "Z0123456789ABCDEFGHI",
|
|
110
|
+
* recordName: "my.record.name",
|
|
111
|
+
* region: "us-east-1",
|
|
112
|
+
* status: "healthy"
|
|
113
|
+
* }
|
|
114
|
+
* ]
|
|
115
|
+
* }
|
|
116
|
+
* *\/
|
|
117
|
+
* ```
|
|
118
|
+
*
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class ListRoute53HealthChecksInRegionCommand extends ListRoute53HealthChecksInRegionCommand_base {
|
|
122
|
+
/** @internal type navigation helper, not in runtime. */
|
|
123
|
+
protected static __types: {
|
|
124
|
+
api: {
|
|
125
|
+
input: ListRoute53HealthChecksInRegionRequest;
|
|
126
|
+
output: ListRoute53HealthChecksInRegionResponse;
|
|
127
|
+
};
|
|
128
|
+
sdk: {
|
|
129
|
+
input: ListRoute53HealthChecksInRegionCommandInput;
|
|
130
|
+
output: ListRoute53HealthChecksInRegionCommandOutput;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
}
|
|
@@ -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";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export * from "./pagination";
|
|
|
14
14
|
export * from "./waiters";
|
|
15
15
|
export * from "./models/enums";
|
|
16
16
|
export * from "./models/errors";
|
|
17
|
-
export
|
|
17
|
+
export * from "./models/models_0";
|
|
18
18
|
export { ARCRegionSwitchServiceException } from "./models/ARCRegionSwitchServiceException";
|
|
@@ -294,6 +294,19 @@ export declare const ExecutionEventType: {
|
|
|
294
294
|
* @public
|
|
295
295
|
*/
|
|
296
296
|
export type ExecutionEventType = (typeof ExecutionEventType)[keyof typeof ExecutionEventType];
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
* @enum
|
|
300
|
+
*/
|
|
301
|
+
export declare const Route53HealthCheckStatus: {
|
|
302
|
+
readonly HEALTHY: "healthy";
|
|
303
|
+
readonly UNHEALTHY: "unhealthy";
|
|
304
|
+
readonly UNKNOWN: "unknown";
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
309
|
+
export type Route53HealthCheckStatus = (typeof Route53HealthCheckStatus)[keyof typeof Route53HealthCheckStatus];
|
|
297
310
|
/**
|
|
298
311
|
* @public
|
|
299
312
|
* @enum
|
|
@@ -37,26 +37,26 @@ export declare class InternalServerException extends __BaseException {
|
|
|
37
37
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
|
-
* <p>The
|
|
40
|
+
* <p>The request processing has an invalid argument.</p>
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
|
-
export declare class
|
|
44
|
-
readonly name: "
|
|
43
|
+
export declare class IllegalArgumentException extends __BaseException {
|
|
44
|
+
readonly name: "IllegalArgumentException";
|
|
45
45
|
readonly $fault: "client";
|
|
46
46
|
/**
|
|
47
47
|
* @internal
|
|
48
48
|
*/
|
|
49
|
-
constructor(opts: __ExceptionOptionType<
|
|
49
|
+
constructor(opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>);
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
* <p>The
|
|
52
|
+
* <p>The operation failed because the current state of the resource doesn't allow the operation to proceed.</p> <p>HTTP Status Code: 400</p>
|
|
53
53
|
* @public
|
|
54
54
|
*/
|
|
55
|
-
export declare class
|
|
56
|
-
readonly name: "
|
|
55
|
+
export declare class IllegalStateException extends __BaseException {
|
|
56
|
+
readonly name: "IllegalStateException";
|
|
57
57
|
readonly $fault: "client";
|
|
58
58
|
/**
|
|
59
59
|
* @internal
|
|
60
60
|
*/
|
|
61
|
-
constructor(opts: __ExceptionOptionType<
|
|
61
|
+
constructor(opts: __ExceptionOptionType<IllegalStateException, __BaseException>);
|
|
62
62
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlarmCondition, AlarmType, Approval, Ec2AsgCapacityMonitoringApproach, EcsCapacityMonitoringApproach, EksCapacityMonitoringApproach, EvaluationStatus, ExecutionAction, ExecutionBlockType, ExecutionEventType, ExecutionMode, ExecutionState, GlobalAuroraDefaultBehavior, GlobalAuroraUngracefulBehavior, LambdaUngracefulBehavior, RecoveryApproach, RegionToRunIn, ResourceWarningStatus, RoutingControlStateChange, StepStatus, UpdatePlanExecutionAction, UpdatePlanExecutionStepAction, WorkflowTargetAction } from "./enums";
|
|
1
|
+
import { AlarmCondition, AlarmType, Approval, Ec2AsgCapacityMonitoringApproach, EcsCapacityMonitoringApproach, EksCapacityMonitoringApproach, EvaluationStatus, ExecutionAction, ExecutionBlockType, ExecutionEventType, ExecutionMode, ExecutionState, GlobalAuroraDefaultBehavior, GlobalAuroraUngracefulBehavior, LambdaUngracefulBehavior, RecoveryApproach, RegionToRunIn, ResourceWarningStatus, Route53HealthCheckStatus, RoutingControlStateChange, StepStatus, UpdatePlanExecutionAction, UpdatePlanExecutionStepAction, WorkflowTargetAction } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>A summarized representation of a plan execution. This structure contains key information about an execution without all the detailed step data.</p>
|
|
4
4
|
* @public
|
|
@@ -1150,6 +1150,11 @@ export interface Route53HealthCheck {
|
|
|
1150
1150
|
* @public
|
|
1151
1151
|
*/
|
|
1152
1152
|
healthCheckId?: string | undefined;
|
|
1153
|
+
/**
|
|
1154
|
+
* <p>The Amazon Route 53 health check status.</p>
|
|
1155
|
+
* @public
|
|
1156
|
+
*/
|
|
1157
|
+
status?: Route53HealthCheckStatus | undefined;
|
|
1153
1158
|
/**
|
|
1154
1159
|
* <p>The Amazon Route 53 Region.</p>
|
|
1155
1160
|
* @public
|
|
@@ -1171,6 +1176,51 @@ export interface ListRoute53HealthChecksResponse {
|
|
|
1171
1176
|
*/
|
|
1172
1177
|
nextToken?: string | undefined;
|
|
1173
1178
|
}
|
|
1179
|
+
/**
|
|
1180
|
+
* @public
|
|
1181
|
+
*/
|
|
1182
|
+
export interface ListRoute53HealthChecksInRegionRequest {
|
|
1183
|
+
/**
|
|
1184
|
+
* <p>The Amazon Resource Name (ARN) of the Arc Region Switch Plan.</p>
|
|
1185
|
+
* @public
|
|
1186
|
+
*/
|
|
1187
|
+
arn: string | undefined;
|
|
1188
|
+
/**
|
|
1189
|
+
* <p>The hosted zone ID for the health checks.</p>
|
|
1190
|
+
* @public
|
|
1191
|
+
*/
|
|
1192
|
+
hostedZoneId?: string | undefined;
|
|
1193
|
+
/**
|
|
1194
|
+
* <p>The record name for the health checks.</p>
|
|
1195
|
+
* @public
|
|
1196
|
+
*/
|
|
1197
|
+
recordName?: string | undefined;
|
|
1198
|
+
/**
|
|
1199
|
+
* <p>The number of objects that you want to return with this call.</p>
|
|
1200
|
+
* @public
|
|
1201
|
+
*/
|
|
1202
|
+
maxResults?: number | undefined;
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>nextToken</code> response to request the next page of results.</p>
|
|
1205
|
+
* @public
|
|
1206
|
+
*/
|
|
1207
|
+
nextToken?: string | undefined;
|
|
1208
|
+
}
|
|
1209
|
+
/**
|
|
1210
|
+
* @public
|
|
1211
|
+
*/
|
|
1212
|
+
export interface ListRoute53HealthChecksInRegionResponse {
|
|
1213
|
+
/**
|
|
1214
|
+
* <p>List of the health checks requested.</p>
|
|
1215
|
+
* @public
|
|
1216
|
+
*/
|
|
1217
|
+
healthChecks?: Route53HealthCheck[] | undefined;
|
|
1218
|
+
/**
|
|
1219
|
+
* <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>nextToken</code> response to request the next page of results.</p>
|
|
1220
|
+
* @public
|
|
1221
|
+
*/
|
|
1222
|
+
nextToken?: string | undefined;
|
|
1223
|
+
}
|
|
1174
1224
|
/**
|
|
1175
1225
|
* @public
|
|
1176
1226
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListRoute53HealthChecksInRegionCommandInput, ListRoute53HealthChecksInRegionCommandOutput } from "../commands/ListRoute53HealthChecksInRegionCommand";
|
|
3
|
+
import { ARCRegionSwitchPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListRoute53HealthChecksInRegion: (config: ARCRegionSwitchPaginationConfiguration, input: ListRoute53HealthChecksInRegionCommandInput, ...rest: any[]) => Paginator<ListRoute53HealthChecksInRegionCommandOutput>;
|
|
@@ -5,4 +5,5 @@ export * from "./ListPlanExecutionEventsPaginator";
|
|
|
5
5
|
export * from "./ListPlanExecutionsPaginator";
|
|
6
6
|
export * from "./ListPlansInRegionPaginator";
|
|
7
7
|
export * from "./ListPlansPaginator";
|
|
8
|
+
export * from "./ListRoute53HealthChecksInRegionPaginator";
|
|
8
9
|
export * from "./ListRoute53HealthChecksPaginator";
|
|
@@ -49,6 +49,8 @@ export declare var ListPlansInRegionRequest$: StaticStructureSchema;
|
|
|
49
49
|
export declare var ListPlansInRegionResponse$: StaticStructureSchema;
|
|
50
50
|
export declare var ListPlansRequest$: StaticStructureSchema;
|
|
51
51
|
export declare var ListPlansResponse$: StaticStructureSchema;
|
|
52
|
+
export declare var ListRoute53HealthChecksInRegionRequest$: StaticStructureSchema;
|
|
53
|
+
export declare var ListRoute53HealthChecksInRegionResponse$: StaticStructureSchema;
|
|
52
54
|
export declare var ListRoute53HealthChecksRequest$: StaticStructureSchema;
|
|
53
55
|
export declare var ListRoute53HealthChecksResponse$: StaticStructureSchema;
|
|
54
56
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
@@ -95,6 +97,7 @@ export declare var ListPlanExecutions$: StaticOperationSchema;
|
|
|
95
97
|
export declare var ListPlans$: StaticOperationSchema;
|
|
96
98
|
export declare var ListPlansInRegion$: StaticOperationSchema;
|
|
97
99
|
export declare var ListRoute53HealthChecks$: StaticOperationSchema;
|
|
100
|
+
export declare var ListRoute53HealthChecksInRegion$: StaticOperationSchema;
|
|
98
101
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
99
102
|
export declare var StartPlanExecution$: StaticOperationSchema;
|
|
100
103
|
export declare var TagResource$: StaticOperationSchema;
|
|
@@ -52,6 +52,10 @@ import {
|
|
|
52
52
|
ListRoute53HealthChecksCommandInput,
|
|
53
53
|
ListRoute53HealthChecksCommandOutput,
|
|
54
54
|
} from "./commands/ListRoute53HealthChecksCommand";
|
|
55
|
+
import {
|
|
56
|
+
ListRoute53HealthChecksInRegionCommandInput,
|
|
57
|
+
ListRoute53HealthChecksInRegionCommandOutput,
|
|
58
|
+
} from "./commands/ListRoute53HealthChecksInRegionCommand";
|
|
55
59
|
import {
|
|
56
60
|
ListTagsForResourceCommandInput,
|
|
57
61
|
ListTagsForResourceCommandOutput,
|
|
@@ -252,6 +256,19 @@ export interface ARCRegionSwitch {
|
|
|
252
256
|
options: __HttpHandlerOptions,
|
|
253
257
|
cb: (err: any, data?: ListRoute53HealthChecksCommandOutput) => void
|
|
254
258
|
): void;
|
|
259
|
+
listRoute53HealthChecksInRegion(
|
|
260
|
+
args: ListRoute53HealthChecksInRegionCommandInput,
|
|
261
|
+
options?: __HttpHandlerOptions
|
|
262
|
+
): Promise<ListRoute53HealthChecksInRegionCommandOutput>;
|
|
263
|
+
listRoute53HealthChecksInRegion(
|
|
264
|
+
args: ListRoute53HealthChecksInRegionCommandInput,
|
|
265
|
+
cb: (err: any, data?: ListRoute53HealthChecksInRegionCommandOutput) => void
|
|
266
|
+
): void;
|
|
267
|
+
listRoute53HealthChecksInRegion(
|
|
268
|
+
args: ListRoute53HealthChecksInRegionCommandInput,
|
|
269
|
+
options: __HttpHandlerOptions,
|
|
270
|
+
cb: (err: any, data?: ListRoute53HealthChecksInRegionCommandOutput) => void
|
|
271
|
+
): void;
|
|
255
272
|
listTagsForResource(
|
|
256
273
|
args: ListTagsForResourceCommandInput,
|
|
257
274
|
options?: __HttpHandlerOptions
|
|
@@ -97,6 +97,10 @@ import {
|
|
|
97
97
|
ListRoute53HealthChecksCommandInput,
|
|
98
98
|
ListRoute53HealthChecksCommandOutput,
|
|
99
99
|
} from "./commands/ListRoute53HealthChecksCommand";
|
|
100
|
+
import {
|
|
101
|
+
ListRoute53HealthChecksInRegionCommandInput,
|
|
102
|
+
ListRoute53HealthChecksInRegionCommandOutput,
|
|
103
|
+
} from "./commands/ListRoute53HealthChecksInRegionCommand";
|
|
100
104
|
import {
|
|
101
105
|
ListTagsForResourceCommandInput,
|
|
102
106
|
ListTagsForResourceCommandOutput,
|
|
@@ -146,6 +150,7 @@ export type ServiceInputTypes =
|
|
|
146
150
|
| ListPlansCommandInput
|
|
147
151
|
| ListPlansInRegionCommandInput
|
|
148
152
|
| ListRoute53HealthChecksCommandInput
|
|
153
|
+
| ListRoute53HealthChecksInRegionCommandInput
|
|
149
154
|
| ListTagsForResourceCommandInput
|
|
150
155
|
| StartPlanExecutionCommandInput
|
|
151
156
|
| TagResourceCommandInput
|
|
@@ -167,6 +172,7 @@ export type ServiceOutputTypes =
|
|
|
167
172
|
| ListPlansCommandOutput
|
|
168
173
|
| ListPlansInRegionCommandOutput
|
|
169
174
|
| ListRoute53HealthChecksCommandOutput
|
|
175
|
+
| ListRoute53HealthChecksInRegionCommandOutput
|
|
170
176
|
| ListTagsForResourceCommandOutput
|
|
171
177
|
| StartPlanExecutionCommandOutput
|
|
172
178
|
| TagResourceCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ARCRegionSwitchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ARCRegionSwitchClient";
|
|
8
|
+
import {
|
|
9
|
+
ListRoute53HealthChecksInRegionRequest,
|
|
10
|
+
ListRoute53HealthChecksInRegionResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListRoute53HealthChecksInRegionCommandInput
|
|
15
|
+
extends ListRoute53HealthChecksInRegionRequest {}
|
|
16
|
+
export interface ListRoute53HealthChecksInRegionCommandOutput
|
|
17
|
+
extends ListRoute53HealthChecksInRegionResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListRoute53HealthChecksInRegionCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListRoute53HealthChecksInRegionCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListRoute53HealthChecksInRegionCommandInput,
|
|
24
|
+
ListRoute53HealthChecksInRegionCommandOutput,
|
|
25
|
+
ARCRegionSwitchClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListRoute53HealthChecksInRegionCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListRoute53HealthChecksInRegionCommandInput,
|
|
33
|
+
ListRoute53HealthChecksInRegionCommandOutput,
|
|
34
|
+
ARCRegionSwitchClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListRoute53HealthChecksInRegionCommand extends ListRoute53HealthChecksInRegionCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListRoute53HealthChecksInRegionRequest;
|
|
44
|
+
output: ListRoute53HealthChecksInRegionResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListRoute53HealthChecksInRegionCommandInput;
|
|
48
|
+
output: ListRoute53HealthChecksInRegionCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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";
|
|
@@ -163,6 +163,13 @@ export declare const ExecutionEventType: {
|
|
|
163
163
|
};
|
|
164
164
|
export type ExecutionEventType =
|
|
165
165
|
(typeof ExecutionEventType)[keyof typeof ExecutionEventType];
|
|
166
|
+
export declare const Route53HealthCheckStatus: {
|
|
167
|
+
readonly HEALTHY: "healthy";
|
|
168
|
+
readonly UNHEALTHY: "unhealthy";
|
|
169
|
+
readonly UNKNOWN: "unknown";
|
|
170
|
+
};
|
|
171
|
+
export type Route53HealthCheckStatus =
|
|
172
|
+
(typeof Route53HealthCheckStatus)[keyof typeof Route53HealthCheckStatus];
|
|
166
173
|
export declare const UpdatePlanExecutionAction: {
|
|
167
174
|
readonly PAUSE: "pause";
|
|
168
175
|
readonly RESUME: "resume";
|
|
@@ -21,17 +21,17 @@ export declare class InternalServerException extends __BaseException {
|
|
|
21
21
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
|
-
export declare class
|
|
25
|
-
readonly name: "
|
|
24
|
+
export declare class IllegalArgumentException extends __BaseException {
|
|
25
|
+
readonly name: "IllegalArgumentException";
|
|
26
26
|
readonly $fault: "client";
|
|
27
27
|
constructor(
|
|
28
|
-
opts: __ExceptionOptionType<
|
|
28
|
+
opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
|
-
export declare class
|
|
32
|
-
readonly name: "
|
|
31
|
+
export declare class IllegalStateException extends __BaseException {
|
|
32
|
+
readonly name: "IllegalStateException";
|
|
33
33
|
readonly $fault: "client";
|
|
34
34
|
constructor(
|
|
35
|
-
opts: __ExceptionOptionType<
|
|
35
|
+
opts: __ExceptionOptionType<IllegalStateException, __BaseException>
|
|
36
36
|
);
|
|
37
37
|
}
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
RecoveryApproach,
|
|
18
18
|
RegionToRunIn,
|
|
19
19
|
ResourceWarningStatus,
|
|
20
|
+
Route53HealthCheckStatus,
|
|
20
21
|
RoutingControlStateChange,
|
|
21
22
|
StepStatus,
|
|
22
23
|
UpdatePlanExecutionAction,
|
|
@@ -295,12 +296,24 @@ export interface Route53HealthCheck {
|
|
|
295
296
|
hostedZoneId: string | undefined;
|
|
296
297
|
recordName: string | undefined;
|
|
297
298
|
healthCheckId?: string | undefined;
|
|
299
|
+
status?: Route53HealthCheckStatus | undefined;
|
|
298
300
|
region: string | undefined;
|
|
299
301
|
}
|
|
300
302
|
export interface ListRoute53HealthChecksResponse {
|
|
301
303
|
healthChecks?: Route53HealthCheck[] | undefined;
|
|
302
304
|
nextToken?: string | undefined;
|
|
303
305
|
}
|
|
306
|
+
export interface ListRoute53HealthChecksInRegionRequest {
|
|
307
|
+
arn: string | undefined;
|
|
308
|
+
hostedZoneId?: string | undefined;
|
|
309
|
+
recordName?: string | undefined;
|
|
310
|
+
maxResults?: number | undefined;
|
|
311
|
+
nextToken?: string | undefined;
|
|
312
|
+
}
|
|
313
|
+
export interface ListRoute53HealthChecksInRegionResponse {
|
|
314
|
+
healthChecks?: Route53HealthCheck[] | undefined;
|
|
315
|
+
nextToken?: string | undefined;
|
|
316
|
+
}
|
|
304
317
|
export interface DeletePlanRequest {
|
|
305
318
|
arn: string | undefined;
|
|
306
319
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListRoute53HealthChecksInRegionCommandInput,
|
|
4
|
+
ListRoute53HealthChecksInRegionCommandOutput,
|
|
5
|
+
} from "../commands/ListRoute53HealthChecksInRegionCommand";
|
|
6
|
+
import { ARCRegionSwitchPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListRoute53HealthChecksInRegion: (
|
|
8
|
+
config: ARCRegionSwitchPaginationConfiguration,
|
|
9
|
+
input: ListRoute53HealthChecksInRegionCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListRoute53HealthChecksInRegionCommandOutput>;
|
|
@@ -5,4 +5,5 @@ export * from "./ListPlanExecutionEventsPaginator";
|
|
|
5
5
|
export * from "./ListPlanExecutionsPaginator";
|
|
6
6
|
export * from "./ListPlansInRegionPaginator";
|
|
7
7
|
export * from "./ListPlansPaginator";
|
|
8
|
+
export * from "./ListRoute53HealthChecksInRegionPaginator";
|
|
8
9
|
export * from "./ListRoute53HealthChecksPaginator";
|
|
@@ -53,6 +53,8 @@ export declare var ListPlansInRegionRequest$: StaticStructureSchema;
|
|
|
53
53
|
export declare var ListPlansInRegionResponse$: StaticStructureSchema;
|
|
54
54
|
export declare var ListPlansRequest$: StaticStructureSchema;
|
|
55
55
|
export declare var ListPlansResponse$: StaticStructureSchema;
|
|
56
|
+
export declare var ListRoute53HealthChecksInRegionRequest$: StaticStructureSchema;
|
|
57
|
+
export declare var ListRoute53HealthChecksInRegionResponse$: StaticStructureSchema;
|
|
56
58
|
export declare var ListRoute53HealthChecksRequest$: StaticStructureSchema;
|
|
57
59
|
export declare var ListRoute53HealthChecksResponse$: StaticStructureSchema;
|
|
58
60
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
@@ -99,6 +101,7 @@ export declare var ListPlanExecutions$: StaticOperationSchema;
|
|
|
99
101
|
export declare var ListPlans$: StaticOperationSchema;
|
|
100
102
|
export declare var ListPlansInRegion$: StaticOperationSchema;
|
|
101
103
|
export declare var ListRoute53HealthChecks$: StaticOperationSchema;
|
|
104
|
+
export declare var ListRoute53HealthChecksInRegion$: StaticOperationSchema;
|
|
102
105
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
103
106
|
export declare var StartPlanExecution$: StaticOperationSchema;
|
|
104
107
|
export declare var TagResource$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-arc-region-switch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Arc Region Switch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.955.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-arc-region-switch",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.954.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.955.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.953.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|