@jjrawlins/cdk-iam-policy-builder-helper 0.0.57 → 0.0.59
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/.jsii +3 -3
- package/cdk-iam-policy-builder-helper/go.mod +2 -2
- package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
- package/cdk-iam-policy-builder-helper/version +1 -1
- package/node_modules/@aws-sdk/client-iam/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +6 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +6 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +4 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +7 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +35 -63
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +44 -75
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +19 -48
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +59 -95
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +18 -290
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +395 -469
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +106 -160
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +4 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +1 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +235 -220
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -4
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +16 -9
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +4 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +4 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +26 -35
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +4 -21
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +4 -21
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/package.json +7 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +1 -4
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +4 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -4
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-es/index.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js +1 -0
- package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +136 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +26 -68
- package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +8 -8
- package/node_modules/@smithy/types/dist-types/serde.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +142 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +27 -72
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +10 -10
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -2
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +31 -22
- package/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js +1 -11
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +15 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +17 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js +1 -13
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +25 -2
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js +1 -21
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +1 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +7 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +6 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +6 -0
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts +1 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +7 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +6 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +6 -0
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +1 -3
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +8 -15
- package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +10 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +5 -5
- package/node_modules/@smithy/util-stream/dist-es/blob/transforms.js +0 -15
- package/node_modules/@smithy/util-stream/dist-types/blob/transforms.d.ts +0 -9
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/transforms.d.ts +0 -9
|
@@ -1,105 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const getAwsRegionExtensionConfiguration = (runtimeConfig) => {
|
|
4
|
+
return {
|
|
5
|
+
setRegion(region) {
|
|
6
|
+
runtimeConfig.region = region;
|
|
7
|
+
},
|
|
8
|
+
region() {
|
|
9
|
+
return runtimeConfig.region;
|
|
10
|
+
},
|
|
11
|
+
};
|
|
10
12
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
13
|
+
const resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => {
|
|
14
|
+
return {
|
|
15
|
+
region: awsRegionExtensionConfiguration.region(),
|
|
16
|
+
};
|
|
18
17
|
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
-
|
|
21
|
-
// src/index.ts
|
|
22
|
-
var index_exports = {};
|
|
23
|
-
__export(index_exports, {
|
|
24
|
-
NODE_REGION_CONFIG_FILE_OPTIONS: () => NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
25
|
-
NODE_REGION_CONFIG_OPTIONS: () => NODE_REGION_CONFIG_OPTIONS,
|
|
26
|
-
REGION_ENV_NAME: () => REGION_ENV_NAME,
|
|
27
|
-
REGION_INI_NAME: () => REGION_INI_NAME,
|
|
28
|
-
getAwsRegionExtensionConfiguration: () => getAwsRegionExtensionConfiguration,
|
|
29
|
-
resolveAwsRegionExtensionConfiguration: () => resolveAwsRegionExtensionConfiguration,
|
|
30
|
-
resolveRegionConfig: () => resolveRegionConfig
|
|
31
|
-
});
|
|
32
|
-
module.exports = __toCommonJS(index_exports);
|
|
33
18
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
19
|
+
const REGION_ENV_NAME = "AWS_REGION";
|
|
20
|
+
const REGION_INI_NAME = "region";
|
|
21
|
+
const NODE_REGION_CONFIG_OPTIONS = {
|
|
22
|
+
environmentVariableSelector: (env) => env[REGION_ENV_NAME],
|
|
23
|
+
configFileSelector: (profile) => profile[REGION_INI_NAME],
|
|
24
|
+
default: () => {
|
|
25
|
+
throw new Error("Region is missing");
|
|
39
26
|
},
|
|
40
|
-
region() {
|
|
41
|
-
return runtimeConfig.region;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
}, "getAwsRegionExtensionConfiguration");
|
|
45
|
-
var resolveAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((awsRegionExtensionConfiguration) => {
|
|
46
|
-
return {
|
|
47
|
-
region: awsRegionExtensionConfiguration.region()
|
|
48
|
-
};
|
|
49
|
-
}, "resolveAwsRegionExtensionConfiguration");
|
|
50
|
-
|
|
51
|
-
// src/regionConfig/config.ts
|
|
52
|
-
var REGION_ENV_NAME = "AWS_REGION";
|
|
53
|
-
var REGION_INI_NAME = "region";
|
|
54
|
-
var NODE_REGION_CONFIG_OPTIONS = {
|
|
55
|
-
environmentVariableSelector: /* @__PURE__ */ __name((env) => env[REGION_ENV_NAME], "environmentVariableSelector"),
|
|
56
|
-
configFileSelector: /* @__PURE__ */ __name((profile) => profile[REGION_INI_NAME], "configFileSelector"),
|
|
57
|
-
default: /* @__PURE__ */ __name(() => {
|
|
58
|
-
throw new Error("Region is missing");
|
|
59
|
-
}, "default")
|
|
60
27
|
};
|
|
61
|
-
|
|
62
|
-
|
|
28
|
+
const NODE_REGION_CONFIG_FILE_OPTIONS = {
|
|
29
|
+
preferredFile: "credentials",
|
|
63
30
|
};
|
|
64
31
|
|
|
65
|
-
|
|
66
|
-
var isFipsRegion = /* @__PURE__ */ __name((region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips")), "isFipsRegion");
|
|
32
|
+
const isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips"));
|
|
67
33
|
|
|
68
|
-
|
|
69
|
-
|
|
34
|
+
const getRealRegion = (region) => isFipsRegion(region)
|
|
35
|
+
? ["fips-aws-global", "aws-fips"].includes(region)
|
|
36
|
+
? "us-east-1"
|
|
37
|
+
: region.replace(/fips-(dkr-|prod-)?|-fips/, "")
|
|
38
|
+
: region;
|
|
70
39
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
}, "resolveRegionConfig");
|
|
94
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
95
|
-
|
|
96
|
-
0 && (module.exports = {
|
|
97
|
-
getAwsRegionExtensionConfiguration,
|
|
98
|
-
resolveAwsRegionExtensionConfiguration,
|
|
99
|
-
REGION_ENV_NAME,
|
|
100
|
-
REGION_INI_NAME,
|
|
101
|
-
NODE_REGION_CONFIG_OPTIONS,
|
|
102
|
-
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
103
|
-
resolveRegionConfig
|
|
104
|
-
});
|
|
40
|
+
const resolveRegionConfig = (input) => {
|
|
41
|
+
const { region, useFipsEndpoint } = input;
|
|
42
|
+
if (!region) {
|
|
43
|
+
throw new Error("Region is missing");
|
|
44
|
+
}
|
|
45
|
+
return Object.assign(input, {
|
|
46
|
+
region: async () => {
|
|
47
|
+
if (typeof region === "string") {
|
|
48
|
+
return getRealRegion(region);
|
|
49
|
+
}
|
|
50
|
+
const providedRegion = await region();
|
|
51
|
+
return getRealRegion(providedRegion);
|
|
52
|
+
},
|
|
53
|
+
useFipsEndpoint: async () => {
|
|
54
|
+
const providedRegion = typeof region === "string" ? region : await region();
|
|
55
|
+
if (isFipsRegion(providedRegion)) {
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
};
|
|
105
62
|
|
|
63
|
+
exports.NODE_REGION_CONFIG_FILE_OPTIONS = NODE_REGION_CONFIG_FILE_OPTIONS;
|
|
64
|
+
exports.NODE_REGION_CONFIG_OPTIONS = NODE_REGION_CONFIG_OPTIONS;
|
|
65
|
+
exports.REGION_ENV_NAME = REGION_ENV_NAME;
|
|
66
|
+
exports.REGION_INI_NAME = REGION_INI_NAME;
|
|
67
|
+
exports.getAwsRegionExtensionConfiguration = getAwsRegionExtensionConfiguration;
|
|
68
|
+
exports.resolveAwsRegionExtensionConfiguration = resolveAwsRegionExtensionConfiguration;
|
|
69
|
+
exports.resolveRegionConfig = resolveRegionConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.910.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/node-config-provider": "^4.3.
|
|
28
|
-
"@smithy/types": "^4.
|
|
26
|
+
"@aws-sdk/types": "3.910.0",
|
|
27
|
+
"@smithy/node-config-provider": "^4.3.2",
|
|
28
|
+
"@smithy/types": "^4.7.1",
|
|
29
29
|
"@smithy/util-config-provider": "^4.2.0",
|
|
30
|
-
"@smithy/util-middleware": "^4.2.
|
|
30
|
+
"@smithy/util-middleware": "^4.2.2",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.911.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
33
|
-
"@aws-sdk/nested-clients": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@smithy/property-provider": "^4.2.
|
|
36
|
-
"@smithy/shared-ini-file-loader": "^4.3.
|
|
37
|
-
"@smithy/types": "^4.
|
|
32
|
+
"@aws-sdk/core": "3.911.0",
|
|
33
|
+
"@aws-sdk/nested-clients": "3.911.0",
|
|
34
|
+
"@aws-sdk/types": "3.910.0",
|
|
35
|
+
"@smithy/property-provider": "^4.2.2",
|
|
36
|
+
"@smithy/shared-ini-file-loader": "^4.3.2",
|
|
37
|
+
"@smithy/types": "^4.7.1",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -1,294 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
'use strict';
|
|
19
2
|
|
|
20
|
-
|
|
21
|
-
var index_exports = {};
|
|
22
|
-
__export(index_exports, {
|
|
23
|
-
AbortController: () => import_types.AbortController,
|
|
24
|
-
AbortHandler: () => import_types.AbortHandler,
|
|
25
|
-
AbortSignal: () => import_types.AbortSignal,
|
|
26
|
-
AbsoluteLocation: () => import_types.AbsoluteLocation,
|
|
27
|
-
AuthScheme: () => import_types.AuthScheme,
|
|
28
|
-
AvailableMessage: () => import_types.AvailableMessage,
|
|
29
|
-
AvailableMessages: () => import_types.AvailableMessages,
|
|
30
|
-
AwsCredentialIdentity: () => import_types.AwsCredentialIdentity,
|
|
31
|
-
AwsCredentialIdentityProvider: () => import_types.AwsCredentialIdentityProvider,
|
|
32
|
-
BinaryHeaderValue: () => import_types.BinaryHeaderValue,
|
|
33
|
-
BlobTypes: () => import_types.BlobTypes,
|
|
34
|
-
BodyLengthCalculator: () => import_types.BodyLengthCalculator,
|
|
35
|
-
BooleanHeaderValue: () => import_types.BooleanHeaderValue,
|
|
36
|
-
BuildHandler: () => import_types.BuildHandler,
|
|
37
|
-
BuildHandlerArguments: () => import_types.BuildHandlerArguments,
|
|
38
|
-
BuildHandlerOptions: () => import_types.BuildHandlerOptions,
|
|
39
|
-
BuildHandlerOutput: () => import_types.BuildHandlerOutput,
|
|
40
|
-
BuildMiddleware: () => import_types.BuildMiddleware,
|
|
41
|
-
ByteHeaderValue: () => import_types.ByteHeaderValue,
|
|
42
|
-
Checksum: () => import_types.Checksum,
|
|
43
|
-
ChecksumConstructor: () => import_types.ChecksumConstructor,
|
|
44
|
-
Client: () => import_types.Client,
|
|
45
|
-
Command: () => import_types.Command,
|
|
46
|
-
ConnectConfiguration: () => import_types.ConnectConfiguration,
|
|
47
|
-
ConnectionManager: () => import_types.ConnectionManager,
|
|
48
|
-
ConnectionManagerConfiguration: () => import_types.ConnectionManagerConfiguration,
|
|
49
|
-
ConnectionPool: () => import_types.ConnectionPool,
|
|
50
|
-
DateInput: () => import_types.DateInput,
|
|
51
|
-
Decoder: () => import_types.Decoder,
|
|
52
|
-
DeserializeHandler: () => import_types.DeserializeHandler,
|
|
53
|
-
DeserializeHandlerArguments: () => import_types.DeserializeHandlerArguments,
|
|
54
|
-
DeserializeHandlerOptions: () => import_types.DeserializeHandlerOptions,
|
|
55
|
-
DeserializeHandlerOutput: () => import_types.DeserializeHandlerOutput,
|
|
56
|
-
DeserializeMiddleware: () => import_types.DeserializeMiddleware,
|
|
57
|
-
DocumentType: () => import_types.DocumentType,
|
|
58
|
-
Encoder: () => import_types.Encoder,
|
|
59
|
-
Endpoint: () => import_types.Endpoint,
|
|
60
|
-
EndpointARN: () => import_types.EndpointARN,
|
|
61
|
-
EndpointBearer: () => import_types.EndpointBearer,
|
|
62
|
-
EndpointObjectProperty: () => import_types.EndpointObjectProperty,
|
|
63
|
-
EndpointParameters: () => import_types.EndpointParameters,
|
|
64
|
-
EndpointPartition: () => import_types.EndpointPartition,
|
|
65
|
-
EndpointURL: () => import_types.EndpointURL,
|
|
66
|
-
EndpointURLScheme: () => import_types.EndpointURLScheme,
|
|
67
|
-
EndpointV2: () => import_types.EndpointV2,
|
|
68
|
-
EventSigner: () => import_types.EventSigner,
|
|
69
|
-
EventSigningArguments: () => import_types.EventSigningArguments,
|
|
70
|
-
EventStreamMarshaller: () => import_types.EventStreamMarshaller,
|
|
71
|
-
EventStreamMarshallerDeserFn: () => import_types.EventStreamMarshallerDeserFn,
|
|
72
|
-
EventStreamMarshallerSerFn: () => import_types.EventStreamMarshallerSerFn,
|
|
73
|
-
EventStreamPayloadHandler: () => import_types.EventStreamPayloadHandler,
|
|
74
|
-
EventStreamPayloadHandlerProvider: () => import_types.EventStreamPayloadHandlerProvider,
|
|
75
|
-
EventStreamRequestSigner: () => import_types.EventStreamRequestSigner,
|
|
76
|
-
EventStreamSerdeContext: () => import_types.EventStreamSerdeContext,
|
|
77
|
-
EventStreamSerdeProvider: () => import_types.EventStreamSerdeProvider,
|
|
78
|
-
EventStreamSignerProvider: () => import_types.EventStreamSignerProvider,
|
|
79
|
-
ExponentialBackoffJitterType: () => import_types.ExponentialBackoffJitterType,
|
|
80
|
-
ExponentialBackoffStrategyOptions: () => import_types.ExponentialBackoffStrategyOptions,
|
|
81
|
-
FinalizeHandler: () => import_types.FinalizeHandler,
|
|
82
|
-
FinalizeHandlerArguments: () => import_types.FinalizeHandlerArguments,
|
|
83
|
-
FinalizeHandlerOutput: () => import_types.FinalizeHandlerOutput,
|
|
84
|
-
FinalizeRequestHandlerOptions: () => import_types.FinalizeRequestHandlerOptions,
|
|
85
|
-
FinalizeRequestMiddleware: () => import_types.FinalizeRequestMiddleware,
|
|
86
|
-
FormattedEvent: () => import_types.FormattedEvent,
|
|
87
|
-
GetAwsChunkedEncodingStream: () => import_types.GetAwsChunkedEncodingStream,
|
|
88
|
-
GetAwsChunkedEncodingStreamOptions: () => import_types.GetAwsChunkedEncodingStreamOptions,
|
|
89
|
-
Handler: () => import_types.Handler,
|
|
90
|
-
HandlerExecutionContext: () => import_types.HandlerExecutionContext,
|
|
91
|
-
HandlerOptions: () => import_types.HandlerOptions,
|
|
92
|
-
Hash: () => import_types.Hash,
|
|
93
|
-
HashConstructor: () => import_types.HashConstructor,
|
|
94
|
-
HeaderBag: () => import_types.HeaderBag,
|
|
95
|
-
HostAddressType: () => HostAddressType,
|
|
96
|
-
HttpAuthDefinition: () => import_types.HttpAuthDefinition,
|
|
97
|
-
HttpAuthLocation: () => import_types.HttpAuthLocation,
|
|
98
|
-
HttpHandlerOptions: () => import_types.HttpHandlerOptions,
|
|
99
|
-
HttpMessage: () => import_types.HttpMessage,
|
|
100
|
-
HttpRequest: () => import_types.HttpRequest,
|
|
101
|
-
HttpResponse: () => import_types.HttpResponse,
|
|
102
|
-
Identity: () => import_types.Identity,
|
|
103
|
-
IniSection: () => import_types.IniSection,
|
|
104
|
-
InitializeHandler: () => import_types.InitializeHandler,
|
|
105
|
-
InitializeHandlerArguments: () => import_types.InitializeHandlerArguments,
|
|
106
|
-
InitializeHandlerOptions: () => import_types.InitializeHandlerOptions,
|
|
107
|
-
InitializeHandlerOutput: () => import_types.InitializeHandlerOutput,
|
|
108
|
-
InitializeMiddleware: () => import_types.InitializeMiddleware,
|
|
109
|
-
Int64: () => import_types.Int64,
|
|
110
|
-
IntegerHeaderValue: () => import_types.IntegerHeaderValue,
|
|
111
|
-
LongHeaderValue: () => import_types.LongHeaderValue,
|
|
112
|
-
MemoizedProvider: () => import_types.MemoizedProvider,
|
|
113
|
-
Message: () => import_types.Message,
|
|
114
|
-
MessageDecoder: () => import_types.MessageDecoder,
|
|
115
|
-
MessageEncoder: () => import_types.MessageEncoder,
|
|
116
|
-
MessageHeaderValue: () => import_types.MessageHeaderValue,
|
|
117
|
-
MessageHeaders: () => import_types.MessageHeaders,
|
|
118
|
-
MessageSigner: () => import_types.MessageSigner,
|
|
119
|
-
MetadataBearer: () => import_types.MetadataBearer,
|
|
120
|
-
MiddlewareStack: () => import_types.MiddlewareStack,
|
|
121
|
-
MiddlewareType: () => import_types.MiddlewareType,
|
|
122
|
-
PaginationConfiguration: () => import_types.PaginationConfiguration,
|
|
123
|
-
Paginator: () => import_types.Paginator,
|
|
124
|
-
ParsedIniData: () => import_types.ParsedIniData,
|
|
125
|
-
Pluggable: () => import_types.Pluggable,
|
|
126
|
-
Priority: () => import_types.Priority,
|
|
127
|
-
Profile: () => import_types.Profile,
|
|
128
|
-
Provider: () => import_types.Provider,
|
|
129
|
-
QueryParameterBag: () => import_types.QueryParameterBag,
|
|
130
|
-
RegionInfo: () => import_types.RegionInfo,
|
|
131
|
-
RegionInfoProvider: () => import_types.RegionInfoProvider,
|
|
132
|
-
RegionInfoProviderOptions: () => import_types.RegionInfoProviderOptions,
|
|
133
|
-
Relation: () => import_types.Relation,
|
|
134
|
-
RelativeLocation: () => import_types.RelativeLocation,
|
|
135
|
-
RelativeMiddlewareOptions: () => import_types.RelativeMiddlewareOptions,
|
|
136
|
-
RequestContext: () => import_types.RequestContext,
|
|
137
|
-
RequestHandler: () => import_types.RequestHandler,
|
|
138
|
-
RequestHandlerMetadata: () => import_types.RequestHandlerMetadata,
|
|
139
|
-
RequestHandlerOutput: () => import_types.RequestHandlerOutput,
|
|
140
|
-
RequestHandlerProtocol: () => import_types.RequestHandlerProtocol,
|
|
141
|
-
RequestPresigner: () => import_types.RequestPresigner,
|
|
142
|
-
RequestPresigningArguments: () => import_types.RequestPresigningArguments,
|
|
143
|
-
RequestSerializer: () => import_types.RequestSerializer,
|
|
144
|
-
RequestSigner: () => import_types.RequestSigner,
|
|
145
|
-
RequestSigningArguments: () => import_types.RequestSigningArguments,
|
|
146
|
-
ResponseDeserializer: () => import_types.ResponseDeserializer,
|
|
147
|
-
ResponseMetadata: () => import_types.ResponseMetadata,
|
|
148
|
-
RetryBackoffStrategy: () => import_types.RetryBackoffStrategy,
|
|
149
|
-
RetryErrorInfo: () => import_types.RetryErrorInfo,
|
|
150
|
-
RetryErrorType: () => import_types.RetryErrorType,
|
|
151
|
-
RetryStrategy: () => import_types.RetryStrategy,
|
|
152
|
-
RetryStrategyOptions: () => import_types.RetryStrategyOptions,
|
|
153
|
-
RetryStrategyV2: () => import_types.RetryStrategyV2,
|
|
154
|
-
RetryToken: () => import_types.RetryToken,
|
|
155
|
-
RetryableTrait: () => import_types.RetryableTrait,
|
|
156
|
-
SdkError: () => import_types.SdkError,
|
|
157
|
-
SdkStream: () => import_types.SdkStream,
|
|
158
|
-
SdkStreamMixin: () => import_types.SdkStreamMixin,
|
|
159
|
-
SdkStreamMixinInjector: () => import_types.SdkStreamMixinInjector,
|
|
160
|
-
SdkStreamSerdeContext: () => import_types.SdkStreamSerdeContext,
|
|
161
|
-
SerdeContext: () => import_types.SerdeContext,
|
|
162
|
-
SerializeHandler: () => import_types.SerializeHandler,
|
|
163
|
-
SerializeHandlerArguments: () => import_types.SerializeHandlerArguments,
|
|
164
|
-
SerializeHandlerOptions: () => import_types.SerializeHandlerOptions,
|
|
165
|
-
SerializeHandlerOutput: () => import_types.SerializeHandlerOutput,
|
|
166
|
-
SerializeMiddleware: () => import_types.SerializeMiddleware,
|
|
167
|
-
SharedConfigFiles: () => import_types.SharedConfigFiles,
|
|
168
|
-
ShortHeaderValue: () => import_types.ShortHeaderValue,
|
|
169
|
-
SignableMessage: () => import_types.SignableMessage,
|
|
170
|
-
SignedMessage: () => import_types.SignedMessage,
|
|
171
|
-
SigningArguments: () => import_types.SigningArguments,
|
|
172
|
-
SmithyException: () => import_types.SmithyException,
|
|
173
|
-
SourceData: () => import_types.SourceData,
|
|
174
|
-
StandardRetryBackoffStrategy: () => import_types.StandardRetryBackoffStrategy,
|
|
175
|
-
StandardRetryToken: () => import_types.StandardRetryToken,
|
|
176
|
-
Step: () => import_types.Step,
|
|
177
|
-
StreamCollector: () => import_types.StreamCollector,
|
|
178
|
-
StreamHasher: () => import_types.StreamHasher,
|
|
179
|
-
StringHeaderValue: () => import_types.StringHeaderValue,
|
|
180
|
-
StringSigner: () => import_types.StringSigner,
|
|
181
|
-
Terminalware: () => import_types.Terminalware,
|
|
182
|
-
TimestampHeaderValue: () => import_types.TimestampHeaderValue,
|
|
183
|
-
TokenIdentity: () => import_types.TokenIdentity,
|
|
184
|
-
TokenIdentityProvider: () => import_types.TokenIdentityProvider,
|
|
185
|
-
URI: () => import_types.URI,
|
|
186
|
-
UrlParser: () => import_types.UrlParser,
|
|
187
|
-
UserAgent: () => import_types.UserAgent,
|
|
188
|
-
UserAgentPair: () => import_types.UserAgentPair,
|
|
189
|
-
UuidHeaderValue: () => import_types.UuidHeaderValue,
|
|
190
|
-
WaiterConfiguration: () => import_types.WaiterConfiguration,
|
|
191
|
-
WithSdkStreamMixin: () => import_types.WithSdkStreamMixin,
|
|
192
|
-
randomValues: () => import_types.randomValues
|
|
193
|
-
});
|
|
194
|
-
module.exports = __toCommonJS(index_exports);
|
|
195
|
-
|
|
196
|
-
// src/abort.ts
|
|
197
|
-
var import_types = require("@smithy/types");
|
|
198
|
-
|
|
199
|
-
// src/auth.ts
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
// src/blob/blob-types.ts
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
// src/checksum.ts
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
// src/client.ts
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
// src/command.ts
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
// src/connection.ts
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
// src/crypto.ts
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
// src/dns.ts
|
|
221
|
-
var HostAddressType = /* @__PURE__ */ ((HostAddressType2) => {
|
|
222
|
-
HostAddressType2["AAAA"] = "AAAA";
|
|
223
|
-
HostAddressType2["A"] = "A";
|
|
224
|
-
return HostAddressType2;
|
|
225
|
-
})(HostAddressType || {});
|
|
226
|
-
|
|
227
|
-
// src/encode.ts
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
// src/endpoint.ts
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
// src/eventStream.ts
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
// src/http.ts
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
// src/identity/AwsCredentialIdentity.ts
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
// src/identity/Identity.ts
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
// src/identity/TokenIdentity.ts
|
|
3
|
+
var types = require('@smithy/types');
|
|
246
4
|
|
|
5
|
+
exports.HostAddressType = void 0;
|
|
6
|
+
(function (HostAddressType) {
|
|
7
|
+
HostAddressType["AAAA"] = "AAAA";
|
|
8
|
+
HostAddressType["A"] = "A";
|
|
9
|
+
})(exports.HostAddressType || (exports.HostAddressType = {}));
|
|
247
10
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
// src/retry.ts
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
// src/serde.ts
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
// src/shapes.ts
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
// src/signature.ts
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
// src/stream.ts
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
// src/transfer.ts
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
// src/uri.ts
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
// src/util.ts
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
// src/waiter.ts
|
|
285
|
-
|
|
286
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
287
|
-
|
|
288
|
-
0 && (module.exports = {
|
|
289
|
-
HttpAuthLocation,
|
|
290
|
-
HostAddressType,
|
|
291
|
-
EndpointURLScheme,
|
|
292
|
-
RequestHandlerProtocol
|
|
11
|
+
Object.defineProperty(exports, "EndpointURLScheme", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return types.EndpointURLScheme; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "HttpAuthLocation", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return types.HttpAuthLocation; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "RequestHandlerProtocol", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return types.RequestHandlerProtocol; }
|
|
293
22
|
});
|
|
294
|
-
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.910.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"directory": "packages/types"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@smithy/types": "^4.
|
|
45
|
+
"@smithy/types": "^4.7.1",
|
|
46
46
|
"tslib": "^2.6.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|