@aws-sdk/client-servicediscovery 3.190.0 → 3.191.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/CHANGELOG.md +11 -0
- package/README.md +6 -5
- package/dist-cjs/ServiceDiscoveryClient.js +11 -8
- package/dist-cjs/commands/CreateHttpNamespaceCommand.js +10 -0
- package/dist-cjs/commands/CreatePrivateDnsNamespaceCommand.js +10 -0
- package/dist-cjs/commands/CreatePublicDnsNamespaceCommand.js +10 -0
- package/dist-cjs/commands/CreateServiceCommand.js +10 -0
- package/dist-cjs/commands/DeleteNamespaceCommand.js +10 -0
- package/dist-cjs/commands/DeleteServiceCommand.js +10 -0
- package/dist-cjs/commands/DeregisterInstanceCommand.js +10 -0
- package/dist-cjs/commands/DiscoverInstancesCommand.js +10 -0
- package/dist-cjs/commands/GetInstanceCommand.js +10 -0
- package/dist-cjs/commands/GetInstancesHealthStatusCommand.js +10 -0
- package/dist-cjs/commands/GetNamespaceCommand.js +10 -0
- package/dist-cjs/commands/GetOperationCommand.js +10 -0
- package/dist-cjs/commands/GetServiceCommand.js +10 -0
- package/dist-cjs/commands/ListInstancesCommand.js +10 -0
- package/dist-cjs/commands/ListNamespacesCommand.js +10 -0
- package/dist-cjs/commands/ListOperationsCommand.js +10 -0
- package/dist-cjs/commands/ListServicesCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/RegisterInstanceCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateHttpNamespaceCommand.js +10 -0
- package/dist-cjs/commands/UpdateInstanceCustomHealthStatusCommand.js +10 -0
- package/dist-cjs/commands/UpdatePrivateDnsNamespaceCommand.js +10 -0
- package/dist-cjs/commands/UpdatePublicDnsNamespaceCommand.js +10 -0
- package/dist-cjs/commands/UpdateServiceCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +356 -0
- package/dist-cjs/models/models_0.js +3 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/ServiceDiscoveryClient.js +12 -9
- package/dist-es/commands/CreateHttpNamespaceCommand.js +10 -0
- package/dist-es/commands/CreatePrivateDnsNamespaceCommand.js +10 -0
- package/dist-es/commands/CreatePublicDnsNamespaceCommand.js +10 -0
- package/dist-es/commands/CreateServiceCommand.js +10 -0
- package/dist-es/commands/DeleteNamespaceCommand.js +10 -0
- package/dist-es/commands/DeleteServiceCommand.js +10 -0
- package/dist-es/commands/DeregisterInstanceCommand.js +10 -0
- package/dist-es/commands/DiscoverInstancesCommand.js +10 -0
- package/dist-es/commands/GetInstanceCommand.js +10 -0
- package/dist-es/commands/GetInstancesHealthStatusCommand.js +10 -0
- package/dist-es/commands/GetNamespaceCommand.js +10 -0
- package/dist-es/commands/GetOperationCommand.js +10 -0
- package/dist-es/commands/GetServiceCommand.js +10 -0
- package/dist-es/commands/ListInstancesCommand.js +10 -0
- package/dist-es/commands/ListNamespacesCommand.js +10 -0
- package/dist-es/commands/ListOperationsCommand.js +10 -0
- package/dist-es/commands/ListServicesCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/RegisterInstanceCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateHttpNamespaceCommand.js +10 -0
- package/dist-es/commands/UpdateInstanceCustomHealthStatusCommand.js +10 -0
- package/dist-es/commands/UpdatePrivateDnsNamespaceCommand.js +10 -0
- package/dist-es/commands/UpdatePublicDnsNamespaceCommand.js +10 -0
- package/dist-es/commands/UpdateServiceCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +353 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/ServiceDiscovery.d.ts +90 -71
- package/dist-types/ServiceDiscoveryClient.d.ts +12 -14
- package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +6 -4
- package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +9 -6
- package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +13 -6
- package/dist-types/commands/CreateServiceCommand.d.ts +9 -6
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +4 -2
- package/dist-types/commands/DeleteServiceCommand.d.ts +4 -2
- package/dist-types/commands/DeregisterInstanceCommand.d.ts +4 -2
- package/dist-types/commands/DiscoverInstancesCommand.d.ts +5 -3
- package/dist-types/commands/GetInstanceCommand.d.ts +2 -0
- package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +7 -4
- package/dist-types/commands/GetNamespaceCommand.d.ts +2 -0
- package/dist-types/commands/GetOperationCommand.d.ts +2 -0
- package/dist-types/commands/GetServiceCommand.d.ts +2 -0
- package/dist-types/commands/ListInstancesCommand.d.ts +4 -1
- package/dist-types/commands/ListNamespacesCommand.d.ts +3 -1
- package/dist-types/commands/ListOperationsCommand.d.ts +2 -0
- package/dist-types/commands/ListServicesCommand.d.ts +4 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/RegisterInstanceCommand.d.ts +23 -17
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +8 -4
- package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +11 -7
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +811 -651
- package/dist-types/runtimeConfig.browser.d.ts +5 -2
- package/dist-types/runtimeConfig.d.ts +5 -2
- package/dist-types/runtimeConfig.native.d.ts +5 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/ServiceDiscoveryClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CreateHttpNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreatePrivateDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreatePublicDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeregisterInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DiscoverInstancesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInstancesHealthStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RegisterInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateHttpNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdatePrivateDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdatePublicDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +2 -1
- package/dist-cjs/endpoints.js +0 -203
- package/dist-es/endpoints.js +0 -199
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -31,7 +31,6 @@ export declare const getRuntimeConfig: (
|
|
|
31
31
|
credentialDefaultProvider: (
|
|
32
32
|
input: any
|
|
33
33
|
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
34
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
35
34
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
36
35
|
import("@aws-sdk/types").UserAgent
|
|
37
36
|
>;
|
|
@@ -44,7 +43,15 @@ export declare const getRuntimeConfig: (
|
|
|
44
43
|
| string
|
|
45
44
|
| import("@aws-sdk/types").Endpoint
|
|
46
45
|
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
46
|
+
| import("@aws-sdk/types").EndpointV2
|
|
47
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
47
48
|
| undefined;
|
|
49
|
+
endpointProvider: (
|
|
50
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
51
|
+
context?: {
|
|
52
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
53
|
+
}
|
|
54
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
48
55
|
tls?: boolean | undefined;
|
|
49
56
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
50
57
|
credentials?:
|
|
@@ -67,4 +74,5 @@ export declare const getRuntimeConfig: (
|
|
|
67
74
|
) => import("@aws-sdk/types").RequestSigner)
|
|
68
75
|
| undefined;
|
|
69
76
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
77
|
+
Endpoint?: string | import("@aws-sdk/types").Provider<string> | undefined;
|
|
70
78
|
};
|
|
@@ -5,8 +5,13 @@ export declare const getRuntimeConfig: (
|
|
|
5
5
|
) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
disableHostPrefix: boolean;
|
|
8
|
+
endpointProvider: (
|
|
9
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
|
+
context?: {
|
|
11
|
+
logger?: __Logger | undefined;
|
|
12
|
+
}
|
|
13
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
8
14
|
logger: __Logger;
|
|
9
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
10
15
|
serviceId: string;
|
|
11
16
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
12
17
|
};
|
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.191.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"@aws-sdk/hash-node": "3.190.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.190.0",
|
|
28
28
|
"@aws-sdk/middleware-content-length": "3.190.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.190.0",
|
|
29
30
|
"@aws-sdk/middleware-host-header": "3.190.0",
|
|
30
31
|
"@aws-sdk/middleware-logger": "3.190.0",
|
|
31
32
|
"@aws-sdk/middleware-recursion-detection": "3.190.0",
|
package/dist-cjs/endpoints.js
DELETED
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const regionHash = {
|
|
6
|
-
"ca-central-1": {
|
|
7
|
-
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "servicediscovery-fips.ca-central-1.amazonaws.com",
|
|
10
|
-
tags: ["fips"],
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
},
|
|
14
|
-
"us-east-1": {
|
|
15
|
-
variants: [
|
|
16
|
-
{
|
|
17
|
-
hostname: "servicediscovery-fips.us-east-1.amazonaws.com",
|
|
18
|
-
tags: ["fips"],
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
"us-east-2": {
|
|
23
|
-
variants: [
|
|
24
|
-
{
|
|
25
|
-
hostname: "servicediscovery-fips.us-east-2.amazonaws.com",
|
|
26
|
-
tags: ["fips"],
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
"us-gov-east-1": {
|
|
31
|
-
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "servicediscovery-fips.us-gov-east-1.amazonaws.com",
|
|
34
|
-
tags: ["fips"],
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
"us-gov-west-1": {
|
|
39
|
-
variants: [
|
|
40
|
-
{
|
|
41
|
-
hostname: "servicediscovery-fips.us-gov-west-1.amazonaws.com",
|
|
42
|
-
tags: ["fips"],
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
"us-west-1": {
|
|
47
|
-
variants: [
|
|
48
|
-
{
|
|
49
|
-
hostname: "servicediscovery-fips.us-west-1.amazonaws.com",
|
|
50
|
-
tags: ["fips"],
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
},
|
|
54
|
-
"us-west-2": {
|
|
55
|
-
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "servicediscovery-fips.us-west-2.amazonaws.com",
|
|
58
|
-
tags: ["fips"],
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
},
|
|
62
|
-
};
|
|
63
|
-
const partitionHash = {
|
|
64
|
-
aws: {
|
|
65
|
-
regions: [
|
|
66
|
-
"af-south-1",
|
|
67
|
-
"ap-east-1",
|
|
68
|
-
"ap-northeast-1",
|
|
69
|
-
"ap-northeast-2",
|
|
70
|
-
"ap-northeast-3",
|
|
71
|
-
"ap-south-1",
|
|
72
|
-
"ap-southeast-1",
|
|
73
|
-
"ap-southeast-2",
|
|
74
|
-
"ap-southeast-3",
|
|
75
|
-
"ca-central-1",
|
|
76
|
-
"ca-central-1-fips",
|
|
77
|
-
"eu-central-1",
|
|
78
|
-
"eu-north-1",
|
|
79
|
-
"eu-south-1",
|
|
80
|
-
"eu-west-1",
|
|
81
|
-
"eu-west-2",
|
|
82
|
-
"eu-west-3",
|
|
83
|
-
"me-central-1",
|
|
84
|
-
"me-south-1",
|
|
85
|
-
"sa-east-1",
|
|
86
|
-
"servicediscovery",
|
|
87
|
-
"servicediscovery-fips",
|
|
88
|
-
"us-east-1",
|
|
89
|
-
"us-east-1-fips",
|
|
90
|
-
"us-east-2",
|
|
91
|
-
"us-east-2-fips",
|
|
92
|
-
"us-west-1",
|
|
93
|
-
"us-west-1-fips",
|
|
94
|
-
"us-west-2",
|
|
95
|
-
"us-west-2-fips",
|
|
96
|
-
],
|
|
97
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
98
|
-
variants: [
|
|
99
|
-
{
|
|
100
|
-
hostname: "servicediscovery.{region}.amazonaws.com",
|
|
101
|
-
tags: [],
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
hostname: "servicediscovery-fips.{region}.amazonaws.com",
|
|
105
|
-
tags: ["fips"],
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
hostname: "servicediscovery-fips.{region}.api.aws",
|
|
109
|
-
tags: ["dualstack", "fips"],
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
hostname: "servicediscovery.{region}.api.aws",
|
|
113
|
-
tags: ["dualstack"],
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
},
|
|
117
|
-
"aws-cn": {
|
|
118
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
119
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
120
|
-
variants: [
|
|
121
|
-
{
|
|
122
|
-
hostname: "servicediscovery.{region}.amazonaws.com.cn",
|
|
123
|
-
tags: [],
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
hostname: "servicediscovery-fips.{region}.amazonaws.com.cn",
|
|
127
|
-
tags: ["fips"],
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
hostname: "servicediscovery-fips.{region}.api.amazonwebservices.com.cn",
|
|
131
|
-
tags: ["dualstack", "fips"],
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
hostname: "servicediscovery.{region}.api.amazonwebservices.com.cn",
|
|
135
|
-
tags: ["dualstack"],
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
},
|
|
139
|
-
"aws-iso": {
|
|
140
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
141
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
142
|
-
variants: [
|
|
143
|
-
{
|
|
144
|
-
hostname: "servicediscovery.{region}.c2s.ic.gov",
|
|
145
|
-
tags: [],
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
hostname: "servicediscovery-fips.{region}.c2s.ic.gov",
|
|
149
|
-
tags: ["fips"],
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
},
|
|
153
|
-
"aws-iso-b": {
|
|
154
|
-
regions: ["us-isob-east-1"],
|
|
155
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
156
|
-
variants: [
|
|
157
|
-
{
|
|
158
|
-
hostname: "servicediscovery.{region}.sc2s.sgov.gov",
|
|
159
|
-
tags: [],
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
hostname: "servicediscovery-fips.{region}.sc2s.sgov.gov",
|
|
163
|
-
tags: ["fips"],
|
|
164
|
-
},
|
|
165
|
-
],
|
|
166
|
-
},
|
|
167
|
-
"aws-us-gov": {
|
|
168
|
-
regions: [
|
|
169
|
-
"servicediscovery",
|
|
170
|
-
"servicediscovery-fips",
|
|
171
|
-
"us-gov-east-1",
|
|
172
|
-
"us-gov-east-1-fips",
|
|
173
|
-
"us-gov-west-1",
|
|
174
|
-
"us-gov-west-1-fips",
|
|
175
|
-
],
|
|
176
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
177
|
-
variants: [
|
|
178
|
-
{
|
|
179
|
-
hostname: "servicediscovery.{region}.amazonaws.com",
|
|
180
|
-
tags: [],
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
hostname: "servicediscovery-fips.{region}.amazonaws.com",
|
|
184
|
-
tags: ["fips"],
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
hostname: "servicediscovery-fips.{region}.api.aws",
|
|
188
|
-
tags: ["dualstack", "fips"],
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
hostname: "servicediscovery.{region}.api.aws",
|
|
192
|
-
tags: ["dualstack"],
|
|
193
|
-
},
|
|
194
|
-
],
|
|
195
|
-
},
|
|
196
|
-
};
|
|
197
|
-
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
198
|
-
...options,
|
|
199
|
-
signingService: "servicediscovery",
|
|
200
|
-
regionHash,
|
|
201
|
-
partitionHash,
|
|
202
|
-
});
|
|
203
|
-
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
package/dist-es/endpoints.js
DELETED
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
const regionHash = {
|
|
3
|
-
"ca-central-1": {
|
|
4
|
-
variants: [
|
|
5
|
-
{
|
|
6
|
-
hostname: "servicediscovery-fips.ca-central-1.amazonaws.com",
|
|
7
|
-
tags: ["fips"],
|
|
8
|
-
},
|
|
9
|
-
],
|
|
10
|
-
},
|
|
11
|
-
"us-east-1": {
|
|
12
|
-
variants: [
|
|
13
|
-
{
|
|
14
|
-
hostname: "servicediscovery-fips.us-east-1.amazonaws.com",
|
|
15
|
-
tags: ["fips"],
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
"us-east-2": {
|
|
20
|
-
variants: [
|
|
21
|
-
{
|
|
22
|
-
hostname: "servicediscovery-fips.us-east-2.amazonaws.com",
|
|
23
|
-
tags: ["fips"],
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
"us-gov-east-1": {
|
|
28
|
-
variants: [
|
|
29
|
-
{
|
|
30
|
-
hostname: "servicediscovery-fips.us-gov-east-1.amazonaws.com",
|
|
31
|
-
tags: ["fips"],
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
},
|
|
35
|
-
"us-gov-west-1": {
|
|
36
|
-
variants: [
|
|
37
|
-
{
|
|
38
|
-
hostname: "servicediscovery-fips.us-gov-west-1.amazonaws.com",
|
|
39
|
-
tags: ["fips"],
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
},
|
|
43
|
-
"us-west-1": {
|
|
44
|
-
variants: [
|
|
45
|
-
{
|
|
46
|
-
hostname: "servicediscovery-fips.us-west-1.amazonaws.com",
|
|
47
|
-
tags: ["fips"],
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
},
|
|
51
|
-
"us-west-2": {
|
|
52
|
-
variants: [
|
|
53
|
-
{
|
|
54
|
-
hostname: "servicediscovery-fips.us-west-2.amazonaws.com",
|
|
55
|
-
tags: ["fips"],
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
},
|
|
59
|
-
};
|
|
60
|
-
const partitionHash = {
|
|
61
|
-
aws: {
|
|
62
|
-
regions: [
|
|
63
|
-
"af-south-1",
|
|
64
|
-
"ap-east-1",
|
|
65
|
-
"ap-northeast-1",
|
|
66
|
-
"ap-northeast-2",
|
|
67
|
-
"ap-northeast-3",
|
|
68
|
-
"ap-south-1",
|
|
69
|
-
"ap-southeast-1",
|
|
70
|
-
"ap-southeast-2",
|
|
71
|
-
"ap-southeast-3",
|
|
72
|
-
"ca-central-1",
|
|
73
|
-
"ca-central-1-fips",
|
|
74
|
-
"eu-central-1",
|
|
75
|
-
"eu-north-1",
|
|
76
|
-
"eu-south-1",
|
|
77
|
-
"eu-west-1",
|
|
78
|
-
"eu-west-2",
|
|
79
|
-
"eu-west-3",
|
|
80
|
-
"me-central-1",
|
|
81
|
-
"me-south-1",
|
|
82
|
-
"sa-east-1",
|
|
83
|
-
"servicediscovery",
|
|
84
|
-
"servicediscovery-fips",
|
|
85
|
-
"us-east-1",
|
|
86
|
-
"us-east-1-fips",
|
|
87
|
-
"us-east-2",
|
|
88
|
-
"us-east-2-fips",
|
|
89
|
-
"us-west-1",
|
|
90
|
-
"us-west-1-fips",
|
|
91
|
-
"us-west-2",
|
|
92
|
-
"us-west-2-fips",
|
|
93
|
-
],
|
|
94
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
95
|
-
variants: [
|
|
96
|
-
{
|
|
97
|
-
hostname: "servicediscovery.{region}.amazonaws.com",
|
|
98
|
-
tags: [],
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
hostname: "servicediscovery-fips.{region}.amazonaws.com",
|
|
102
|
-
tags: ["fips"],
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
hostname: "servicediscovery-fips.{region}.api.aws",
|
|
106
|
-
tags: ["dualstack", "fips"],
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
hostname: "servicediscovery.{region}.api.aws",
|
|
110
|
-
tags: ["dualstack"],
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
},
|
|
114
|
-
"aws-cn": {
|
|
115
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
116
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
117
|
-
variants: [
|
|
118
|
-
{
|
|
119
|
-
hostname: "servicediscovery.{region}.amazonaws.com.cn",
|
|
120
|
-
tags: [],
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
hostname: "servicediscovery-fips.{region}.amazonaws.com.cn",
|
|
124
|
-
tags: ["fips"],
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
hostname: "servicediscovery-fips.{region}.api.amazonwebservices.com.cn",
|
|
128
|
-
tags: ["dualstack", "fips"],
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
hostname: "servicediscovery.{region}.api.amazonwebservices.com.cn",
|
|
132
|
-
tags: ["dualstack"],
|
|
133
|
-
},
|
|
134
|
-
],
|
|
135
|
-
},
|
|
136
|
-
"aws-iso": {
|
|
137
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
138
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
139
|
-
variants: [
|
|
140
|
-
{
|
|
141
|
-
hostname: "servicediscovery.{region}.c2s.ic.gov",
|
|
142
|
-
tags: [],
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
hostname: "servicediscovery-fips.{region}.c2s.ic.gov",
|
|
146
|
-
tags: ["fips"],
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
},
|
|
150
|
-
"aws-iso-b": {
|
|
151
|
-
regions: ["us-isob-east-1"],
|
|
152
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
153
|
-
variants: [
|
|
154
|
-
{
|
|
155
|
-
hostname: "servicediscovery.{region}.sc2s.sgov.gov",
|
|
156
|
-
tags: [],
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
hostname: "servicediscovery-fips.{region}.sc2s.sgov.gov",
|
|
160
|
-
tags: ["fips"],
|
|
161
|
-
},
|
|
162
|
-
],
|
|
163
|
-
},
|
|
164
|
-
"aws-us-gov": {
|
|
165
|
-
regions: [
|
|
166
|
-
"servicediscovery",
|
|
167
|
-
"servicediscovery-fips",
|
|
168
|
-
"us-gov-east-1",
|
|
169
|
-
"us-gov-east-1-fips",
|
|
170
|
-
"us-gov-west-1",
|
|
171
|
-
"us-gov-west-1-fips",
|
|
172
|
-
],
|
|
173
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
174
|
-
variants: [
|
|
175
|
-
{
|
|
176
|
-
hostname: "servicediscovery.{region}.amazonaws.com",
|
|
177
|
-
tags: [],
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
hostname: "servicediscovery-fips.{region}.amazonaws.com",
|
|
181
|
-
tags: ["fips"],
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
hostname: "servicediscovery-fips.{region}.api.aws",
|
|
185
|
-
tags: ["dualstack", "fips"],
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
hostname: "servicediscovery.{region}.api.aws",
|
|
189
|
-
tags: ["dualstack"],
|
|
190
|
-
},
|
|
191
|
-
],
|
|
192
|
-
},
|
|
193
|
-
};
|
|
194
|
-
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
195
|
-
...options,
|
|
196
|
-
signingService: "servicediscovery",
|
|
197
|
-
regionHash,
|
|
198
|
-
partitionHash,
|
|
199
|
-
});
|