@aws-sdk/util-endpoints 3.743.0 → 3.782.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
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
ConditionObject: () => import_util_endpoints.ConditionObject,
|
|
25
25
|
DeprecatedObject: () => import_util_endpoints.DeprecatedObject,
|
|
26
26
|
EndpointError: () => import_util_endpoints.EndpointError,
|
|
@@ -50,7 +50,7 @@ __export(src_exports, {
|
|
|
50
50
|
setPartitionInfo: () => setPartitionInfo,
|
|
51
51
|
useDefaultPartitionInfo: () => useDefaultPartitionInfo
|
|
52
52
|
});
|
|
53
|
-
module.exports = __toCommonJS(
|
|
53
|
+
module.exports = __toCommonJS(index_exports);
|
|
54
54
|
|
|
55
55
|
// src/aws.ts
|
|
56
56
|
|
|
@@ -91,11 +91,9 @@ var ARN_DELIMITER = ":";
|
|
|
91
91
|
var RESOURCE_DELIMITER = "/";
|
|
92
92
|
var parseArn = /* @__PURE__ */ __name((value) => {
|
|
93
93
|
const segments = value.split(ARN_DELIMITER);
|
|
94
|
-
if (segments.length < 6)
|
|
95
|
-
return null;
|
|
94
|
+
if (segments.length < 6) return null;
|
|
96
95
|
const [arn, partition2, service, region, accountId, ...resourcePath] = segments;
|
|
97
|
-
if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
|
|
98
|
-
return null;
|
|
96
|
+
if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") return null;
|
|
99
97
|
const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
|
|
100
98
|
return {
|
|
101
99
|
partition: partition2,
|
|
@@ -343,6 +341,22 @@ var partitions_default = {
|
|
|
343
341
|
description: "US ISOF SOUTH"
|
|
344
342
|
}
|
|
345
343
|
}
|
|
344
|
+
}, {
|
|
345
|
+
id: "aws-eusc",
|
|
346
|
+
outputs: {
|
|
347
|
+
dnsSuffix: "amazonaws.eu",
|
|
348
|
+
dualStackDnsSuffix: "amazonaws.eu",
|
|
349
|
+
implicitGlobalRegion: "eusc-de-east-1",
|
|
350
|
+
name: "aws-eusc",
|
|
351
|
+
supportsDualStack: false,
|
|
352
|
+
supportsFIPS: true
|
|
353
|
+
},
|
|
354
|
+
regionRegex: "^eusc\\-(de)\\-\\w+\\-\\d+$",
|
|
355
|
+
regions: {
|
|
356
|
+
"eusc-de-east-1": {
|
|
357
|
+
description: "EU (Germany)"
|
|
358
|
+
}
|
|
359
|
+
}
|
|
346
360
|
}],
|
|
347
361
|
version: "1.1"
|
|
348
362
|
};
|
|
@@ -234,6 +234,22 @@
|
|
|
234
234
|
"description": "US ISOF SOUTH"
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
+
}, {
|
|
238
|
+
"id": "aws-eusc",
|
|
239
|
+
"outputs": {
|
|
240
|
+
"dnsSuffix": "amazonaws.eu",
|
|
241
|
+
"dualStackDnsSuffix": "amazonaws.eu",
|
|
242
|
+
"implicitGlobalRegion": "eusc-de-east-1",
|
|
243
|
+
"name": "aws-eusc",
|
|
244
|
+
"supportsDualStack": false,
|
|
245
|
+
"supportsFIPS": true
|
|
246
|
+
},
|
|
247
|
+
"regionRegex": "^eusc\\-(de)\\-\\w+\\-\\d+$",
|
|
248
|
+
"regions": {
|
|
249
|
+
"eusc-de-east-1": {
|
|
250
|
+
"description": "EU (Germany)"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
237
253
|
}],
|
|
238
254
|
"version": "1.1"
|
|
239
255
|
}
|
|
@@ -234,6 +234,22 @@
|
|
|
234
234
|
"description": "US ISOF SOUTH"
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
+
}, {
|
|
238
|
+
"id": "aws-eusc",
|
|
239
|
+
"outputs": {
|
|
240
|
+
"dnsSuffix": "amazonaws.eu",
|
|
241
|
+
"dualStackDnsSuffix": "amazonaws.eu",
|
|
242
|
+
"implicitGlobalRegion": "eusc-de-east-1",
|
|
243
|
+
"name": "aws-eusc",
|
|
244
|
+
"supportsDualStack": false,
|
|
245
|
+
"supportsFIPS": true
|
|
246
|
+
},
|
|
247
|
+
"regionRegex": "^eusc\\-(de)\\-\\w+\\-\\d+$",
|
|
248
|
+
"regions": {
|
|
249
|
+
"eusc-de-east-1": {
|
|
250
|
+
"description": "EU (Germany)"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
237
253
|
}],
|
|
238
254
|
"version": "1.1"
|
|
239
255
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.782.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@smithy/types": "^4.
|
|
29
|
-
"@smithy/util-endpoints": "^3.0.
|
|
27
|
+
"@aws-sdk/types": "3.775.0",
|
|
28
|
+
"@smithy/types": "^4.2.0",
|
|
29
|
+
"@smithy/util-endpoints": "^3.0.2",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|