@aws-sdk/client-health 3.948.0 → 3.953.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +211 -142
- package/dist-cjs/runtimeConfig.shared.js +6 -6
- package/dist-es/commands/DescribeAffectedAccountsForOrganizationCommand.js +2 -2
- package/dist-es/commands/DescribeAffectedEntitiesCommand.js +2 -2
- package/dist-es/commands/DescribeAffectedEntitiesForOrganizationCommand.js +2 -2
- package/dist-es/commands/DescribeEntityAggregatesCommand.js +2 -2
- package/dist-es/commands/DescribeEntityAggregatesForOrganizationCommand.js +2 -2
- package/dist-es/commands/DescribeEventAggregatesCommand.js +2 -2
- package/dist-es/commands/DescribeEventDetailsCommand.js +2 -2
- package/dist-es/commands/DescribeEventDetailsForOrganizationCommand.js +2 -2
- package/dist-es/commands/DescribeEventTypesCommand.js +2 -2
- package/dist-es/commands/DescribeEventsCommand.js +2 -2
- package/dist-es/commands/DescribeEventsForOrganizationCommand.js +2 -2
- package/dist-es/commands/DescribeHealthServiceStatusForOrganizationCommand.js +2 -2
- package/dist-es/commands/DisableHealthServiceAccessForOrganizationCommand.js +2 -2
- package/dist-es/commands/EnableHealthServiceAccessForOrganizationCommand.js +2 -2
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -6
- package/dist-es/schemas/schemas_0.js +156 -149
- package/dist-types/HealthClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +63 -107
- package/dist-types/ts3.4/HealthClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +62 -107
- package/package.json +34 -34
|
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.health",
|
|
32
|
+
version: "2016-08-04",
|
|
33
|
+
serviceTarget: "AWSHealth_20160804",
|
|
34
|
+
},
|
|
35
35
|
serviceId: config?.serviceId ?? "Health",
|
|
36
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
37
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeAffectedAccountsForOrganization } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeAffectedAccountsForOrganization$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeAffectedAccountsForOrganizationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeAffectedAccountsForOrganizationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeAffectedAccountsForOrganization", {})
|
|
13
13
|
.n("HealthClient", "DescribeAffectedAccountsForOrganizationCommand")
|
|
14
|
-
.sc(DescribeAffectedAccountsForOrganization)
|
|
14
|
+
.sc(DescribeAffectedAccountsForOrganization$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeAffectedEntities } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeAffectedEntities$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeAffectedEntitiesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeAffectedEntitiesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeAffectedEntities", {})
|
|
13
13
|
.n("HealthClient", "DescribeAffectedEntitiesCommand")
|
|
14
|
-
.sc(DescribeAffectedEntities)
|
|
14
|
+
.sc(DescribeAffectedEntities$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeAffectedEntitiesForOrganization } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeAffectedEntitiesForOrganization$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeAffectedEntitiesForOrganizationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeAffectedEntitiesForOrganizationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeAffectedEntitiesForOrganization", {})
|
|
13
13
|
.n("HealthClient", "DescribeAffectedEntitiesForOrganizationCommand")
|
|
14
|
-
.sc(DescribeAffectedEntitiesForOrganization)
|
|
14
|
+
.sc(DescribeAffectedEntitiesForOrganization$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeEntityAggregates } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeEntityAggregates$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeEntityAggregatesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeEntityAggregatesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeEntityAggregates", {})
|
|
13
13
|
.n("HealthClient", "DescribeEntityAggregatesCommand")
|
|
14
|
-
.sc(DescribeEntityAggregates)
|
|
14
|
+
.sc(DescribeEntityAggregates$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeEntityAggregatesForOrganization } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeEntityAggregatesForOrganization$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeEntityAggregatesForOrganizationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeEntityAggregatesForOrganizationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeEntityAggregatesForOrganization", {})
|
|
13
13
|
.n("HealthClient", "DescribeEntityAggregatesForOrganizationCommand")
|
|
14
|
-
.sc(DescribeEntityAggregatesForOrganization)
|
|
14
|
+
.sc(DescribeEntityAggregatesForOrganization$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeEventAggregates } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeEventAggregates$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeEventAggregatesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeEventAggregatesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeEventAggregates", {})
|
|
13
13
|
.n("HealthClient", "DescribeEventAggregatesCommand")
|
|
14
|
-
.sc(DescribeEventAggregates)
|
|
14
|
+
.sc(DescribeEventAggregates$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeEventDetails } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeEventDetails$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeEventDetailsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeEventDetailsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeEventDetails", {})
|
|
13
13
|
.n("HealthClient", "DescribeEventDetailsCommand")
|
|
14
|
-
.sc(DescribeEventDetails)
|
|
14
|
+
.sc(DescribeEventDetails$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeEventDetailsForOrganization } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeEventDetailsForOrganization$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeEventDetailsForOrganizationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeEventDetailsForOrganizationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeEventDetailsForOrganization", {})
|
|
13
13
|
.n("HealthClient", "DescribeEventDetailsForOrganizationCommand")
|
|
14
|
-
.sc(DescribeEventDetailsForOrganization)
|
|
14
|
+
.sc(DescribeEventDetailsForOrganization$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeEventTypes } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeEventTypes$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeEventTypesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeEventTypesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeEventTypes", {})
|
|
13
13
|
.n("HealthClient", "DescribeEventTypesCommand")
|
|
14
|
-
.sc(DescribeEventTypes)
|
|
14
|
+
.sc(DescribeEventTypes$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeEvents } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeEvents$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeEventsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeEventsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeEvents", {})
|
|
13
13
|
.n("HealthClient", "DescribeEventsCommand")
|
|
14
|
-
.sc(DescribeEvents)
|
|
14
|
+
.sc(DescribeEvents$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeEventsForOrganization } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeEventsForOrganization$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeEventsForOrganizationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeEventsForOrganizationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeEventsForOrganization", {})
|
|
13
13
|
.n("HealthClient", "DescribeEventsForOrganizationCommand")
|
|
14
|
-
.sc(DescribeEventsForOrganization)
|
|
14
|
+
.sc(DescribeEventsForOrganization$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeHealthServiceStatusForOrganization } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeHealthServiceStatusForOrganization$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeHealthServiceStatusForOrganizationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeHealthServiceStatusForOrganizationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DescribeHealthServiceStatusForOrganization", {})
|
|
13
13
|
.n("HealthClient", "DescribeHealthServiceStatusForOrganizationCommand")
|
|
14
|
-
.sc(DescribeHealthServiceStatusForOrganization)
|
|
14
|
+
.sc(DescribeHealthServiceStatusForOrganization$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DisableHealthServiceAccessForOrganization } from "../schemas/schemas_0";
|
|
4
|
+
import { DisableHealthServiceAccessForOrganization$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DisableHealthServiceAccessForOrganizationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DisableHealthServiceAccessForOrganizationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "DisableHealthServiceAccessForOrganization", {})
|
|
13
13
|
.n("HealthClient", "DisableHealthServiceAccessForOrganizationCommand")
|
|
14
|
-
.sc(DisableHealthServiceAccessForOrganization)
|
|
14
|
+
.sc(DisableHealthServiceAccessForOrganization$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { EnableHealthServiceAccessForOrganization } from "../schemas/schemas_0";
|
|
4
|
+
import { EnableHealthServiceAccessForOrganization$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class EnableHealthServiceAccessForOrganizationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class EnableHealthServiceAccessForOrganizationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSHealth_20160804", "EnableHealthServiceAccessForOrganization", {})
|
|
13
13
|
.n("HealthClient", "EnableHealthServiceAccessForOrganizationCommand")
|
|
14
|
-
.sc(EnableHealthServiceAccessForOrganization)
|
|
14
|
+
.sc(EnableHealthServiceAccessForOrganization$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [
|
|
1
|
+
const C = "required", D = "type", E = "fn", F = "argv", G = "ref", H = "properties", I = "headers";
|
|
2
|
+
const a = false, b = true, c = "not", d = "booleanEquals", e = "stringEquals", f = "endpoint", g = "tree", h = "error", i = "sigv4", j = "health", k = { [C]: false, [D]: "string" }, l = { [C]: true, "default": false, [D]: "boolean" }, m = { [G]: "Endpoint" }, n = { [G]: "UseDualStack" }, o = { [E]: "isSet", [F]: [{ [G]: "Region" }] }, p = { [G]: "Region" }, q = { [E]: "aws.partition", [F]: [p], "assign": "PartitionResult" }, r = { [E]: "getAttr", [F]: [{ [G]: "PartitionResult" }, "name"] }, s = { [E]: d, [F]: [{ [G]: "UseFIPS" }, true] }, t = { "url": "https://health-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [H]: {}, [I]: {} }, u = {}, v = { [f]: { "url": "https://health.{Region}.{PartitionResult#dualStackDnsSuffix}", [H]: {}, [I]: {} }, [D]: f }, w = { [E]: d, [F]: [n, true] }, x = { [E]: "getAttr", [F]: [{ [G]: "PartitionResult" }, "supportsFIPS"] }, y = { [E]: d, [F]: [true, { [E]: "getAttr", [F]: [{ [G]: "PartitionResult" }, "supportsDualStack"] }] }, z = [{ [E]: "isSet", [F]: [m] }], A = [s], B = [w];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [E]: c, [F]: z }, { [E]: d, [F]: [n, a] }, o, q, { [E]: c, [F]: [{ [E]: e, [F]: [r, "aws"] }] }, { [E]: c, [F]: [{ [E]: e, [F]: [r, "aws-cn"] }] }, { [E]: c, [F]: [{ [E]: e, [F]: [r, "aws-us-gov"] }] }, { [E]: c, [F]: [{ [E]: e, [F]: [r, "aws-iso"] }] }, { [E]: c, [F]: [{ [E]: e, [F]: [r, "aws-iso-b"] }] }, { [E]: c, [F]: [{ [E]: e, [F]: [r, "aws-iso-e"] }] }, { [E]: c, [F]: [{ [E]: e, [F]: [r, "aws-iso-f"] }] }], rules: [{ conditions: A, endpoint: t, [D]: f }, v], [D]: g }, { conditions: z, rules: [{ conditions: A, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [D]: h }, { conditions: B, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [D]: h }, { endpoint: { url: m, [H]: u, [I]: u }, [D]: f }], [D]: g }, { conditions: [o], rules: [{ conditions: [q], rules: [{ conditions: [s, w], rules: [{ conditions: [{ [E]: d, [F]: [b, x] }, y], rules: [{ endpoint: t, [D]: f }], [D]: g }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [D]: h }], [D]: g }, { conditions: A, rules: [{ conditions: [{ [E]: d, [F]: [x, b] }], rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dnsSuffix}", [H]: u, [I]: u }, [D]: f }], [D]: g }, { error: "FIPS is enabled but this partition does not support FIPS", [D]: h }], [D]: g }, { conditions: B, rules: [{ conditions: [y], rules: [v], [D]: g }, { error: "DualStack is enabled but this partition does not support DualStack", [D]: h }], [D]: g }, { conditions: [{ [E]: e, [F]: [p, "aws-global"] }], endpoint: { url: "https://global.health.amazonaws.com", [H]: { authSchemes: [{ name: i, signingName: j, signingRegion: "us-east-1" }] }, [I]: u }, [D]: f }, { conditions: [{ [E]: e, [F]: [p, "aws-cn-global"] }], endpoint: { url: "https://global.health.amazonaws.com.cn", [H]: { authSchemes: [{ name: i, signingName: j, signingRegion: "cn-northwest-1" }] }, [I]: u }, [D]: f }, { endpoint: { url: "https://health.{Region}.{PartitionResult#dnsSuffix}", [H]: u, [I]: u }, [D]: f }], [D]: g }], [D]: g }, { error: "Invalid Configuration: Missing Region", [D]: h }] };
|
|
4
4
|
export const ruleSet = _data;
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.health",
|
|
29
|
+
version: "2016-08-04",
|
|
30
|
+
serviceTarget: "AWSHealth_20160804",
|
|
31
|
+
},
|
|
32
32
|
serviceId: config?.serviceId ?? "Health",
|
|
33
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|