@aws-sdk/middleware-sdk-s3-control 3.972.13 → 3.972.15
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
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var middlewareBucketEndpoint = require('@aws-sdk/middleware-bucket-endpoint');
|
|
4
4
|
var protocols = require('@smithy/core/protocols');
|
|
5
|
+
var client = require('@aws-sdk/core/client');
|
|
5
6
|
var util = require('@aws-sdk/core/util');
|
|
6
|
-
var utilEndpoints = require('@aws-sdk/util-endpoints');
|
|
7
7
|
|
|
8
8
|
function resolveS3ControlConfig(input) {
|
|
9
9
|
const { useArnRegion } = input;
|
|
@@ -38,7 +38,7 @@ const parseOutpostArnablesMiddleaware = (options) => (next, context) => async (a
|
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
40
|
signingRegion = context.endpointV2?.properties?.authSchemes?.[0]?.signingRegion || baseRegion;
|
|
41
|
-
clientPartition =
|
|
41
|
+
clientPartition = client.partition(signingRegion).name;
|
|
42
42
|
}
|
|
43
43
|
const validatorOptions = {
|
|
44
44
|
clientPartition};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { partition } from "@aws-sdk/core/client";
|
|
1
2
|
import { parse as parseArn, validate as validateArn } from "@aws-sdk/core/util";
|
|
2
3
|
import { getArnResources as getS3AccesspointArnResources, validateAccountId, validateOutpostService, validatePartition, } from "@aws-sdk/middleware-bucket-endpoint";
|
|
3
|
-
import { partition } from "@aws-sdk/util-endpoints";
|
|
4
4
|
import { CONTEXT_ARN_REGION, CONTEXT_OUTPOST_ID, CONTEXT_SIGNING_REGION, CONTEXT_SIGNING_SERVICE } from "../constants";
|
|
5
5
|
export const parseOutpostArnablesMiddleaware = (options) => (next, context) => async (args) => {
|
|
6
6
|
const { input } = args;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-s3-control",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.15",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3-control",
|
|
@@ -25,11 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "^3.974.
|
|
29
|
-
"@aws-sdk/middleware-bucket-endpoint": "^3.972.
|
|
28
|
+
"@aws-sdk/core": "^3.974.12",
|
|
29
|
+
"@aws-sdk/middleware-bucket-endpoint": "^3.972.14",
|
|
30
30
|
"@aws-sdk/types": "^3.973.8",
|
|
31
|
-
"@
|
|
32
|
-
"@smithy/core": "^3.24.1",
|
|
31
|
+
"@smithy/core": "^3.24.2",
|
|
33
32
|
"@smithy/types": "^4.14.1",
|
|
34
33
|
"tslib": "^2.6.2"
|
|
35
34
|
},
|