@aws-sdk/client-servicediscovery 3.1085.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 +24 -32
- package/dist-es/endpoint/bdd.js +23 -31
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/package.json +8 -8
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.
|
|
72
|
+
var version = "3.1086.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
76
|
-
const
|
|
77
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g =
|
|
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, [
|
|
81
|
-
[c,
|
|
82
|
-
["aws.partition",
|
|
83
|
-
[e, [{ [
|
|
84
|
-
[e, [{ [
|
|
85
|
-
[e, [{ fn: f, argv: [
|
|
86
|
-
[e, [{ fn: f, argv: [
|
|
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
|
-
[
|
|
96
|
-
["https://servicediscovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
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}",
|
|
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}.
|
|
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}",
|
|
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,
|
|
113
|
-
1, 4, r +
|
|
114
|
-
2, 5, r +
|
|
115
|
-
3,
|
|
116
|
-
4, 7, r +
|
|
117
|
-
5, 8, r +
|
|
118
|
-
|
|
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,
|
|
115
|
+
5, 11, r + 5,
|
|
124
116
|
6, r + 4, r + 5,
|
|
125
|
-
3, r + 1,
|
|
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);
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,33 +1,28 @@
|
|
|
1
1
|
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
|
-
const
|
|
3
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g =
|
|
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, [
|
|
7
|
-
[c,
|
|
8
|
-
["aws.partition",
|
|
9
|
-
[e, [{ [
|
|
10
|
-
[e, [{ [
|
|
11
|
-
[e, [{ fn: f, argv: [
|
|
12
|
-
[e, [{ fn: f, argv: [
|
|
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
|
-
[
|
|
22
|
-
["https://servicediscovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
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}",
|
|
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}.
|
|
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}",
|
|
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,
|
|
39
|
-
1, 4, r +
|
|
40
|
-
2, 5, r +
|
|
41
|
-
3,
|
|
42
|
-
4, 7, r +
|
|
43
|
-
5, 8, r +
|
|
44
|
-
|
|
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,
|
|
41
|
+
5, 11, r + 5,
|
|
50
42
|
6, r + 4, r + 5,
|
|
51
|
-
3, r + 1,
|
|
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
|
}
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ServiceDiscoveryClientConfig) =>
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node
|
|
11
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
12
12
|
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -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
|
}
|
|
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (
|
|
|
13
13
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
14
|
| ((
|
|
15
15
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
-
) => import("@aws-sdk/credential-provider-node
|
|
16
|
+
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
17
|
defaultUserAgentProvider: (
|
|
18
18
|
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
19
19
|
) => Promise<import("@smithy/types").UserAgent>;
|
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.
|
|
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.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.16.
|
|
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": {
|