@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.
Files changed (36) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/index.js +211 -142
  3. package/dist-cjs/runtimeConfig.shared.js +6 -6
  4. package/dist-es/commands/DescribeAffectedAccountsForOrganizationCommand.js +2 -2
  5. package/dist-es/commands/DescribeAffectedEntitiesCommand.js +2 -2
  6. package/dist-es/commands/DescribeAffectedEntitiesForOrganizationCommand.js +2 -2
  7. package/dist-es/commands/DescribeEntityAggregatesCommand.js +2 -2
  8. package/dist-es/commands/DescribeEntityAggregatesForOrganizationCommand.js +2 -2
  9. package/dist-es/commands/DescribeEventAggregatesCommand.js +2 -2
  10. package/dist-es/commands/DescribeEventDetailsCommand.js +2 -2
  11. package/dist-es/commands/DescribeEventDetailsForOrganizationCommand.js +2 -2
  12. package/dist-es/commands/DescribeEventTypesCommand.js +2 -2
  13. package/dist-es/commands/DescribeEventsCommand.js +2 -2
  14. package/dist-es/commands/DescribeEventsForOrganizationCommand.js +2 -2
  15. package/dist-es/commands/DescribeHealthServiceStatusForOrganizationCommand.js +2 -2
  16. package/dist-es/commands/DisableHealthServiceAccessForOrganizationCommand.js +2 -2
  17. package/dist-es/commands/EnableHealthServiceAccessForOrganizationCommand.js +2 -2
  18. package/dist-es/endpoint/ruleset.js +3 -3
  19. package/dist-es/index.js +1 -0
  20. package/dist-es/runtimeConfig.shared.js +6 -6
  21. package/dist-es/schemas/schemas_0.js +156 -149
  22. package/dist-types/HealthClient.d.ts +1 -10
  23. package/dist-types/index.d.ts +1 -0
  24. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  25. package/dist-types/runtimeConfig.d.ts +6 -2
  26. package/dist-types/runtimeConfig.native.d.ts +6 -2
  27. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  28. package/dist-types/schemas/schemas_0.d.ts +63 -107
  29. package/dist-types/ts3.4/HealthClient.d.ts +0 -4
  30. package/dist-types/ts3.4/index.d.ts +1 -0
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  34. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  35. package/dist-types/ts3.4/schemas/schemas_0.d.ts +62 -107
  36. 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
- new protocols_1.AwsJson1_1Protocol({
31
- defaultNamespace: "com.amazonaws.health",
32
- serviceTarget: "AWSHealth_20160804",
33
- awsQueryCompatible: false,
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 w = "required", x = "fn", y = "argv", z = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j = "health", k = { [w]: false, "type": "string" }, l = { [w]: true, "default": false, "type": "boolean" }, m = { [z]: "Endpoint" }, n = { [x]: c, [y]: [{ [z]: "UseFIPS" }, true] }, o = { [x]: c, [y]: [{ [z]: "UseDualStack" }, true] }, p = {}, q = { [z]: "Region" }, r = { [x]: "getAttr", [y]: [{ [z]: g }, "supportsFIPS"] }, s = { [x]: c, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: g }, "supportsDualStack"] }] }, t = [n], u = [o], v = [q];
3
- const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [x]: b, [y]: [m] }], rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: m, properties: p, headers: p }, type: e }], type: f }, { conditions: [{ [x]: b, [y]: v }], rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], rules: [{ conditions: [n, o], rules: [{ conditions: [{ [x]: c, [y]: [a, r] }, s], rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: t, rules: [{ conditions: [{ [x]: c, [y]: [r, a] }], rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: u, rules: [{ conditions: [s], rules: [{ endpoint: { url: "https://health.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { conditions: [{ [x]: h, [y]: [q, "aws-global"] }], endpoint: { url: "https://global.health.amazonaws.com", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: "us-east-1" }] }, headers: p }, type: e }, { conditions: [{ [x]: h, [y]: [q, "aws-cn-global"] }], endpoint: { url: "https://global.health.amazonaws.com.cn", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: "cn-northwest-1" }] }, headers: p }, type: e }, { endpoint: { url: "https://health.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
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
@@ -1,6 +1,7 @@
1
1
  export * from "./HealthClient";
2
2
  export * from "./Health";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.health",
29
- serviceTarget: "AWSHealth_20160804",
30
- awsQueryCompatible: false,
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,