@aws-sdk/client-servicediscovery 3.1086.0 → 3.1087.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,39 +69,34 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1085.0";
72
+ var version = "3.1086.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
76
- const m = "ref";
77
- const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { "fn": f, "argv": [i, "name"] }, k = {}, l = [{ [m]: "Region" }];
76
+ const k = "ref";
77
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
78
78
  const _data = {
79
79
  conditions: [
80
- [c, [h]],
81
- [c, l],
82
- ["aws.partition", l, d],
83
- [e, [{ [m]: "UseFIPS" }, b]],
84
- [e, [{ [m]: "UseDualStack" }, b]],
85
- [e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]],
86
- [e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]],
87
- [g, [j, "aws"]],
88
- [g, [j, "aws-cn"]],
89
- [g, [j, "aws-us-gov"]]
80
+ [c, [g]],
81
+ [c, j],
82
+ ["aws.partition", j, d],
83
+ [e, [{ [k]: "UseFIPS" }, b]],
84
+ [e, [{ [k]: "UseDualStack" }, b]],
85
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
86
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
90
87
  ],
91
88
  results: [
92
89
  [a],
93
90
  [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
94
91
  [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
95
- [h, k],
96
- ["https://servicediscovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
92
+ [g, i],
93
+ ["https://servicediscovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
97
94
  [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
98
- ["https://servicediscovery-fips.{Region}.{PartitionResult#dnsSuffix}", k],
95
+ ["https://servicediscovery-fips.{Region}.{PartitionResult#dnsSuffix}", i],
99
96
  [a, "FIPS is enabled but this partition does not support FIPS"],
100
- ["https://servicediscovery.{Region}.amazonaws.com", k],
101
- ["https://servicediscovery.{Region}.amazonaws.com.cn", k],
102
- ["https://servicediscovery.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
97
+ ["https://servicediscovery.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
103
98
  [a, "DualStack is enabled but this partition does not support DualStack"],
104
- ["https://servicediscovery.{Region}.{PartitionResult#dnsSuffix}", k],
99
+ ["https://servicediscovery.{Region}.{PartitionResult#dnsSuffix}", i],
105
100
  [a, "Invalid Configuration: Missing Region"]
106
101
  ]
107
102
  };
@@ -109,20 +104,17 @@ const root = 2;
109
104
  const r = 100_000_000;
110
105
  const nodes = new Int32Array([
111
106
  -1, 1, -1,
112
- 0, 15, 3,
113
- 1, 4, r + 13,
114
- 2, 5, r + 13,
115
- 3, 11, 6,
116
- 4, 7, r + 12,
117
- 5, 8, r + 11,
118
- 7, r + 8, 9,
119
- 8, r + 9, 10,
120
- 9, r + 8, r + 10,
121
- 4, 13, 12,
107
+ 0, 12, 3,
108
+ 1, 4, r + 11,
109
+ 2, 5, r + 11,
110
+ 3, 8, 6,
111
+ 4, 7, r + 10,
112
+ 5, r + 8, r + 9,
113
+ 4, 10, 9,
122
114
  6, r + 6, r + 7,
123
- 5, 14, r + 5,
115
+ 5, 11, r + 5,
124
116
  6, r + 4, r + 5,
125
- 3, r + 1, 16,
117
+ 3, r + 1, 13,
126
118
  4, r + 2, r + 3,
127
119
  ]);
128
120
  const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -1,33 +1,28 @@
1
1
  import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
- const m = "ref";
3
- const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { "fn": f, "argv": [i, "name"] }, k = {}, l = [{ [m]: "Region" }];
2
+ const k = "ref";
3
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
4
4
  const _data = {
5
5
  conditions: [
6
- [c, [h]],
7
- [c, l],
8
- ["aws.partition", l, d],
9
- [e, [{ [m]: "UseFIPS" }, b]],
10
- [e, [{ [m]: "UseDualStack" }, b]],
11
- [e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]],
12
- [e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]],
13
- [g, [j, "aws"]],
14
- [g, [j, "aws-cn"]],
15
- [g, [j, "aws-us-gov"]]
6
+ [c, [g]],
7
+ [c, j],
8
+ ["aws.partition", j, d],
9
+ [e, [{ [k]: "UseFIPS" }, b]],
10
+ [e, [{ [k]: "UseDualStack" }, b]],
11
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
12
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
16
13
  ],
17
14
  results: [
18
15
  [a],
19
16
  [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
20
17
  [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
21
- [h, k],
22
- ["https://servicediscovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
18
+ [g, i],
19
+ ["https://servicediscovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
23
20
  [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
24
- ["https://servicediscovery-fips.{Region}.{PartitionResult#dnsSuffix}", k],
21
+ ["https://servicediscovery-fips.{Region}.{PartitionResult#dnsSuffix}", i],
25
22
  [a, "FIPS is enabled but this partition does not support FIPS"],
26
- ["https://servicediscovery.{Region}.amazonaws.com", k],
27
- ["https://servicediscovery.{Region}.amazonaws.com.cn", k],
28
- ["https://servicediscovery.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
23
+ ["https://servicediscovery.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
29
24
  [a, "DualStack is enabled but this partition does not support DualStack"],
30
- ["https://servicediscovery.{Region}.{PartitionResult#dnsSuffix}", k],
25
+ ["https://servicediscovery.{Region}.{PartitionResult#dnsSuffix}", i],
31
26
  [a, "Invalid Configuration: Missing Region"]
32
27
  ]
33
28
  };
@@ -35,20 +30,17 @@ const root = 2;
35
30
  const r = 100_000_000;
36
31
  const nodes = new Int32Array([
37
32
  -1, 1, -1,
38
- 0, 15, 3,
39
- 1, 4, r + 13,
40
- 2, 5, r + 13,
41
- 3, 11, 6,
42
- 4, 7, r + 12,
43
- 5, 8, r + 11,
44
- 7, r + 8, 9,
45
- 8, r + 9, 10,
46
- 9, r + 8, r + 10,
47
- 4, 13, 12,
33
+ 0, 12, 3,
34
+ 1, 4, r + 11,
35
+ 2, 5, r + 11,
36
+ 3, 8, 6,
37
+ 4, 7, r + 10,
38
+ 5, r + 8, r + 9,
39
+ 4, 10, 9,
48
40
  6, r + 6, r + 7,
49
- 5, 14, r + 5,
41
+ 5, 11, r + 5,
50
42
  6, r + 4, r + 5,
51
- 3, r + 1, 16,
43
+ 3, r + 1, 13,
52
44
  4, r + 2, r + 3,
53
45
  ]);
54
46
  export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -3,10 +3,10 @@ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2,
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | undefined | Provider<string | undefined>;
7
6
  useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
7
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
8
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
9
+ region?: string | undefined | Provider<string | undefined>;
10
10
  }
11
11
  /**
12
12
  * @public
@@ -43,8 +43,8 @@ export declare const commonParams: {
43
43
  * @internal
44
44
  */
45
45
  export interface EndpointParameters extends __EndpointParameters {
46
- Region?: string | undefined;
47
46
  UseDualStack?: boolean | undefined;
48
47
  UseFIPS?: boolean | undefined;
49
48
  Endpoint?: string | undefined;
49
+ Region?: string | undefined;
50
50
  }
@@ -5,7 +5,6 @@ import {
5
5
  Provider,
6
6
  } from "@smithy/types";
7
7
  export interface ClientInputEndpointParameters {
8
- region?: string | undefined | Provider<string | undefined>;
9
8
  useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
10
9
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
11
10
  endpoint?:
@@ -15,6 +14,7 @@ export interface ClientInputEndpointParameters {
15
14
  | Provider<Endpoint>
16
15
  | EndpointV2
17
16
  | Provider<EndpointV2>;
17
+ region?: string | undefined | Provider<string | undefined>;
18
18
  }
19
19
  export type ClientResolvedEndpointParameters = Pick<
20
20
  ClientInputEndpointParameters,
@@ -44,8 +44,8 @@ export declare const commonParams: {
44
44
  };
45
45
  };
46
46
  export interface EndpointParameters extends __EndpointParameters {
47
- Region?: string | undefined;
48
47
  UseDualStack?: boolean | undefined;
49
48
  UseFIPS?: boolean | undefined;
50
49
  Endpoint?: string | undefined;
50
+ Region?: string | undefined;
51
51
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-servicediscovery",
3
3
  "description": "AWS SDK for JavaScript Servicediscovery Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
4
+ "version": "3.1087.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",
@@ -19,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
22
+ "@aws-sdk/core": "^3.975.2",
23
+ "@aws-sdk/credential-provider-node": "^3.972.68",
24
+ "@aws-sdk/types": "^3.974.1",
25
+ "@smithy/core": "^3.29.3",
26
+ "@smithy/fetch-http-handler": "^5.6.5",
27
+ "@smithy/node-http-handler": "^4.9.5",
28
+ "@smithy/types": "^4.16.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {