cdk-nextjs 0.3.7 → 0.3.9
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/lib/nextjs-assets-deployment.js +1 -1
- package/lib/nextjs-build/cache-handler.cjs +1025 -465
- package/lib/nextjs-build/nextjs-build.js +1 -1
- package/lib/nextjs-compute/nextjs-containers.js +1 -1
- package/lib/nextjs-compute/nextjs-functions.js +1 -1
- package/lib/nextjs-distribution.js +1 -1
- package/lib/nextjs-file-system.js +1 -1
- package/lib/nextjs-invalidation.js +1 -1
- package/lib/nextjs-revalidation.js +1 -1
- package/lib/nextjs-static-assets.js +1 -1
- package/lib/nextjs-vpc.js +1 -1
- package/lib/root-constructs/nextjs-global-containers.js +1 -1
- package/lib/root-constructs/nextjs-global-functions.js +1 -1
- package/lib/root-constructs/nextjs-regional-containers.js +1 -1
- package/package.json +9 -9
|
@@ -3014,10 +3014,10 @@ var require_dist_cjs16 = __commonJS({
|
|
|
3014
3014
|
}
|
|
3015
3015
|
});
|
|
3016
3016
|
|
|
3017
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
3017
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js
|
|
3018
3018
|
var import_util_stream, collectBody2;
|
|
3019
3019
|
var init_collect_stream_body = __esm({
|
|
3020
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
3020
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js"() {
|
|
3021
3021
|
import_util_stream = __toESM(require_dist_cjs16());
|
|
3022
3022
|
collectBody2 = async (streamBody = new Uint8Array(), context) => {
|
|
3023
3023
|
if (streamBody instanceof Uint8Array) {
|
|
@@ -3032,21 +3032,21 @@ var init_collect_stream_body = __esm({
|
|
|
3032
3032
|
}
|
|
3033
3033
|
});
|
|
3034
3034
|
|
|
3035
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
3035
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js
|
|
3036
3036
|
function extendedEncodeURIComponent2(str) {
|
|
3037
3037
|
return encodeURIComponent(str).replace(/[!'()*]/g, function(c3) {
|
|
3038
3038
|
return "%" + c3.charCodeAt(0).toString(16).toUpperCase();
|
|
3039
3039
|
});
|
|
3040
3040
|
}
|
|
3041
3041
|
var init_extended_encode_uri_component = __esm({
|
|
3042
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
3042
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js"() {
|
|
3043
3043
|
}
|
|
3044
3044
|
});
|
|
3045
3045
|
|
|
3046
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
3046
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js
|
|
3047
3047
|
var resolvedPath2;
|
|
3048
3048
|
var init_resolve_path = __esm({
|
|
3049
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
3049
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js"() {
|
|
3050
3050
|
init_extended_encode_uri_component();
|
|
3051
3051
|
resolvedPath2 = (resolvedPath3, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
|
|
3052
3052
|
if (input != null && input[memberName] !== void 0) {
|
|
@@ -3063,13 +3063,13 @@ var init_resolve_path = __esm({
|
|
|
3063
3063
|
}
|
|
3064
3064
|
});
|
|
3065
3065
|
|
|
3066
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
3066
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js
|
|
3067
3067
|
function requestBuilder(input, context) {
|
|
3068
3068
|
return new RequestBuilder(input, context);
|
|
3069
3069
|
}
|
|
3070
3070
|
var import_protocol_http, RequestBuilder;
|
|
3071
3071
|
var init_requestBuilder = __esm({
|
|
3072
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
3072
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js"() {
|
|
3073
3073
|
import_protocol_http = __toESM(require_dist_cjs2());
|
|
3074
3074
|
init_resolve_path();
|
|
3075
3075
|
RequestBuilder = class {
|
|
@@ -3137,7 +3137,7 @@ var init_requestBuilder = __esm({
|
|
|
3137
3137
|
}
|
|
3138
3138
|
});
|
|
3139
3139
|
|
|
3140
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
3140
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/submodules/protocols/index.js
|
|
3141
3141
|
var protocols_exports = {};
|
|
3142
3142
|
__export(protocols_exports, {
|
|
3143
3143
|
RequestBuilder: () => RequestBuilder,
|
|
@@ -3147,7 +3147,7 @@ __export(protocols_exports, {
|
|
|
3147
3147
|
resolvedPath: () => resolvedPath2
|
|
3148
3148
|
});
|
|
3149
3149
|
var init_protocols = __esm({
|
|
3150
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
3150
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/submodules/protocols/index.js"() {
|
|
3151
3151
|
init_collect_stream_body();
|
|
3152
3152
|
init_extended_encode_uri_component();
|
|
3153
3153
|
init_requestBuilder();
|
|
@@ -3155,9 +3155,9 @@ var init_protocols = __esm({
|
|
|
3155
3155
|
}
|
|
3156
3156
|
});
|
|
3157
3157
|
|
|
3158
|
-
// node_modules/.pnpm/@smithy+smithy-client@4.2.
|
|
3158
|
+
// node_modules/.pnpm/@smithy+smithy-client@4.2.1/node_modules/@smithy/smithy-client/dist-cjs/index.js
|
|
3159
3159
|
var require_dist_cjs17 = __commonJS({
|
|
3160
|
-
"node_modules/.pnpm/@smithy+smithy-client@4.2.
|
|
3160
|
+
"node_modules/.pnpm/@smithy+smithy-client@4.2.1/node_modules/@smithy/smithy-client/dist-cjs/index.js"(exports2, module2) {
|
|
3161
3161
|
var __defProp2 = Object.defineProperty;
|
|
3162
3162
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
3163
3163
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -4348,9 +4348,9 @@ var require_dist_cjs17 = __commonJS({
|
|
|
4348
4348
|
}
|
|
4349
4349
|
});
|
|
4350
4350
|
|
|
4351
|
-
// node_modules/.pnpm/@aws-sdk+middleware-sdk-sqs@3.
|
|
4351
|
+
// node_modules/.pnpm/@aws-sdk+middleware-sdk-sqs@3.798.0/node_modules/@aws-sdk/middleware-sdk-sqs/dist-cjs/index.js
|
|
4352
4352
|
var require_dist_cjs18 = __commonJS({
|
|
4353
|
-
"node_modules/.pnpm/@aws-sdk+middleware-sdk-sqs@3.
|
|
4353
|
+
"node_modules/.pnpm/@aws-sdk+middleware-sdk-sqs@3.798.0/node_modules/@aws-sdk/middleware-sdk-sqs/dist-cjs/index.js"(exports2, module2) {
|
|
4354
4354
|
"use strict";
|
|
4355
4355
|
var __defProp2 = Object.defineProperty;
|
|
4356
4356
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -4541,10 +4541,10 @@ Set [endpoint=string] or [useQueueUrlAsEndpoint=false] on the SQSClient.`
|
|
|
4541
4541
|
}
|
|
4542
4542
|
});
|
|
4543
4543
|
|
|
4544
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4544
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/getSmithyContext.js
|
|
4545
4545
|
var import_types, getSmithyContext;
|
|
4546
4546
|
var init_getSmithyContext = __esm({
|
|
4547
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4547
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/getSmithyContext.js"() {
|
|
4548
4548
|
import_types = __toESM(require_dist_cjs());
|
|
4549
4549
|
getSmithyContext = (context) => context[import_types.SMITHY_CONTEXT_KEY] || (context[import_types.SMITHY_CONTEXT_KEY] = {});
|
|
4550
4550
|
}
|
|
@@ -4588,7 +4588,34 @@ var require_dist_cjs19 = __commonJS({
|
|
|
4588
4588
|
}
|
|
4589
4589
|
});
|
|
4590
4590
|
|
|
4591
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4591
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js
|
|
4592
|
+
var resolveAuthOptions;
|
|
4593
|
+
var init_resolveAuthOptions = __esm({
|
|
4594
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js"() {
|
|
4595
|
+
resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => {
|
|
4596
|
+
if (!authSchemePreference || authSchemePreference.length === 0) {
|
|
4597
|
+
return candidateAuthOptions;
|
|
4598
|
+
}
|
|
4599
|
+
const preferredAuthOptions = [];
|
|
4600
|
+
for (const preferredSchemeName of authSchemePreference) {
|
|
4601
|
+
for (const candidateAuthOption of candidateAuthOptions) {
|
|
4602
|
+
const candidateAuthSchemeName = candidateAuthOption.schemeId.split("#")[1];
|
|
4603
|
+
if (candidateAuthSchemeName === preferredSchemeName) {
|
|
4604
|
+
preferredAuthOptions.push(candidateAuthOption);
|
|
4605
|
+
}
|
|
4606
|
+
}
|
|
4607
|
+
}
|
|
4608
|
+
for (const candidateAuthOption of candidateAuthOptions) {
|
|
4609
|
+
if (!preferredAuthOptions.find(({ schemeId }) => schemeId === candidateAuthOption.schemeId)) {
|
|
4610
|
+
preferredAuthOptions.push(candidateAuthOption);
|
|
4611
|
+
}
|
|
4612
|
+
}
|
|
4613
|
+
return preferredAuthOptions;
|
|
4614
|
+
};
|
|
4615
|
+
}
|
|
4616
|
+
});
|
|
4617
|
+
|
|
4618
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js
|
|
4592
4619
|
function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
4593
4620
|
const map2 = /* @__PURE__ */ new Map();
|
|
4594
4621
|
for (const scheme of httpAuthSchemes) {
|
|
@@ -4598,15 +4625,18 @@ function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
|
4598
4625
|
}
|
|
4599
4626
|
var import_types2, import_util_middleware, httpAuthSchemeMiddleware;
|
|
4600
4627
|
var init_httpAuthSchemeMiddleware = __esm({
|
|
4601
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4628
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js"() {
|
|
4602
4629
|
import_types2 = __toESM(require_dist_cjs());
|
|
4603
4630
|
import_util_middleware = __toESM(require_dist_cjs19());
|
|
4631
|
+
init_resolveAuthOptions();
|
|
4604
4632
|
httpAuthSchemeMiddleware = (config, mwOptions) => (next, context) => async (args) => {
|
|
4605
4633
|
const options = config.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input));
|
|
4634
|
+
const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : [];
|
|
4635
|
+
const resolvedOptions = resolveAuthOptions(options, authSchemePreference);
|
|
4606
4636
|
const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes);
|
|
4607
4637
|
const smithyContext = (0, import_util_middleware.getSmithyContext)(context);
|
|
4608
4638
|
const failureReasons = [];
|
|
4609
|
-
for (const option of
|
|
4639
|
+
for (const option of resolvedOptions) {
|
|
4610
4640
|
const scheme = authSchemes.get(option.schemeId);
|
|
4611
4641
|
if (!scheme) {
|
|
4612
4642
|
failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` was not enabled for this service.`);
|
|
@@ -4635,10 +4665,10 @@ var init_httpAuthSchemeMiddleware = __esm({
|
|
|
4635
4665
|
}
|
|
4636
4666
|
});
|
|
4637
4667
|
|
|
4638
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4668
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js
|
|
4639
4669
|
var httpAuthSchemeEndpointRuleSetMiddlewareOptions, getHttpAuthSchemeEndpointRuleSetPlugin;
|
|
4640
4670
|
var init_getHttpAuthSchemeEndpointRuleSetPlugin = __esm({
|
|
4641
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4671
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js"() {
|
|
4642
4672
|
init_httpAuthSchemeMiddleware();
|
|
4643
4673
|
httpAuthSchemeEndpointRuleSetMiddlewareOptions = {
|
|
4644
4674
|
step: "serialize",
|
|
@@ -4756,10 +4786,10 @@ var require_dist_cjs20 = __commonJS({
|
|
|
4756
4786
|
}
|
|
4757
4787
|
});
|
|
4758
4788
|
|
|
4759
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4789
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js
|
|
4760
4790
|
var import_middleware_serde, httpAuthSchemeMiddlewareOptions, getHttpAuthSchemePlugin;
|
|
4761
4791
|
var init_getHttpAuthSchemePlugin = __esm({
|
|
4762
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4792
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js"() {
|
|
4763
4793
|
import_middleware_serde = __toESM(require_dist_cjs20());
|
|
4764
4794
|
init_httpAuthSchemeMiddleware();
|
|
4765
4795
|
httpAuthSchemeMiddlewareOptions = {
|
|
@@ -4781,19 +4811,19 @@ var init_getHttpAuthSchemePlugin = __esm({
|
|
|
4781
4811
|
}
|
|
4782
4812
|
});
|
|
4783
4813
|
|
|
4784
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4814
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/index.js
|
|
4785
4815
|
var init_middleware_http_auth_scheme = __esm({
|
|
4786
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4816
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/index.js"() {
|
|
4787
4817
|
init_httpAuthSchemeMiddleware();
|
|
4788
4818
|
init_getHttpAuthSchemeEndpointRuleSetPlugin();
|
|
4789
4819
|
init_getHttpAuthSchemePlugin();
|
|
4790
4820
|
}
|
|
4791
4821
|
});
|
|
4792
4822
|
|
|
4793
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4823
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js
|
|
4794
4824
|
var import_protocol_http2, import_types3, import_util_middleware2, defaultErrorHandler, defaultSuccessHandler, httpSigningMiddleware;
|
|
4795
4825
|
var init_httpSigningMiddleware = __esm({
|
|
4796
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4826
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js"() {
|
|
4797
4827
|
import_protocol_http2 = __toESM(require_dist_cjs2());
|
|
4798
4828
|
import_types3 = __toESM(require_dist_cjs());
|
|
4799
4829
|
import_util_middleware2 = __toESM(require_dist_cjs19());
|
|
@@ -4822,10 +4852,10 @@ var init_httpSigningMiddleware = __esm({
|
|
|
4822
4852
|
}
|
|
4823
4853
|
});
|
|
4824
4854
|
|
|
4825
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4855
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js
|
|
4826
4856
|
var httpSigningMiddlewareOptions, getHttpSigningPlugin;
|
|
4827
4857
|
var init_getHttpSigningMiddleware = __esm({
|
|
4828
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4858
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js"() {
|
|
4829
4859
|
init_httpSigningMiddleware();
|
|
4830
4860
|
httpSigningMiddlewareOptions = {
|
|
4831
4861
|
step: "finalizeRequest",
|
|
@@ -4844,18 +4874,18 @@ var init_getHttpSigningMiddleware = __esm({
|
|
|
4844
4874
|
}
|
|
4845
4875
|
});
|
|
4846
4876
|
|
|
4847
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4877
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-signing/index.js
|
|
4848
4878
|
var init_middleware_http_signing = __esm({
|
|
4849
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4879
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/middleware-http-signing/index.js"() {
|
|
4850
4880
|
init_httpSigningMiddleware();
|
|
4851
4881
|
init_getHttpSigningMiddleware();
|
|
4852
4882
|
}
|
|
4853
4883
|
});
|
|
4854
4884
|
|
|
4855
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4885
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/normalizeProvider.js
|
|
4856
4886
|
var normalizeProvider;
|
|
4857
4887
|
var init_normalizeProvider = __esm({
|
|
4858
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4888
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/normalizeProvider.js"() {
|
|
4859
4889
|
normalizeProvider = (input) => {
|
|
4860
4890
|
if (typeof input === "function")
|
|
4861
4891
|
return input;
|
|
@@ -4865,7 +4895,7 @@ var init_normalizeProvider = __esm({
|
|
|
4865
4895
|
}
|
|
4866
4896
|
});
|
|
4867
4897
|
|
|
4868
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4898
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/pagination/createPaginator.js
|
|
4869
4899
|
function createPaginator(ClientCtor, CommandCtor, inputTokenName, outputTokenName, pageSizeTokenName) {
|
|
4870
4900
|
return async function* paginateOperation(config, input, ...additionalArguments) {
|
|
4871
4901
|
const _input = input;
|
|
@@ -4892,7 +4922,7 @@ function createPaginator(ClientCtor, CommandCtor, inputTokenName, outputTokenNam
|
|
|
4892
4922
|
}
|
|
4893
4923
|
var makePagedClientRequest, get;
|
|
4894
4924
|
var init_createPaginator = __esm({
|
|
4895
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4925
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/pagination/createPaginator.js"() {
|
|
4896
4926
|
makePagedClientRequest = async (CommandCtor, client, input, withCommand = (_2) => _2, ...args) => {
|
|
4897
4927
|
let command = new CommandCtor(input);
|
|
4898
4928
|
command = withCommand(command) ?? command;
|
|
@@ -4912,14 +4942,14 @@ var init_createPaginator = __esm({
|
|
|
4912
4942
|
}
|
|
4913
4943
|
});
|
|
4914
4944
|
|
|
4915
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4945
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js
|
|
4916
4946
|
var init_requestBuilder2 = __esm({
|
|
4917
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4947
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js"() {
|
|
4918
4948
|
init_protocols();
|
|
4919
4949
|
}
|
|
4920
4950
|
});
|
|
4921
4951
|
|
|
4922
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4952
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/setFeature.js
|
|
4923
4953
|
function setFeature(context, feature, value) {
|
|
4924
4954
|
if (!context.__smithy_context) {
|
|
4925
4955
|
context.__smithy_context = {
|
|
@@ -4931,14 +4961,14 @@ function setFeature(context, feature, value) {
|
|
|
4931
4961
|
context.__smithy_context.features[feature] = value;
|
|
4932
4962
|
}
|
|
4933
4963
|
var init_setFeature = __esm({
|
|
4934
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4964
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/setFeature.js"() {
|
|
4935
4965
|
}
|
|
4936
4966
|
});
|
|
4937
4967
|
|
|
4938
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4968
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js
|
|
4939
4969
|
var DefaultIdentityProviderConfig;
|
|
4940
4970
|
var init_DefaultIdentityProviderConfig = __esm({
|
|
4941
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4971
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js"() {
|
|
4942
4972
|
DefaultIdentityProviderConfig = class {
|
|
4943
4973
|
constructor(config) {
|
|
4944
4974
|
this.authSchemes = /* @__PURE__ */ new Map();
|
|
@@ -4955,10 +4985,10 @@ var init_DefaultIdentityProviderConfig = __esm({
|
|
|
4955
4985
|
}
|
|
4956
4986
|
});
|
|
4957
4987
|
|
|
4958
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
4988
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js
|
|
4959
4989
|
var import_protocol_http3, import_types4, HttpApiKeyAuthSigner;
|
|
4960
4990
|
var init_httpApiKeyAuth = __esm({
|
|
4961
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
4991
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js"() {
|
|
4962
4992
|
import_protocol_http3 = __toESM(require_dist_cjs2());
|
|
4963
4993
|
import_types4 = __toESM(require_dist_cjs());
|
|
4964
4994
|
HttpApiKeyAuthSigner = class {
|
|
@@ -4989,10 +5019,10 @@ var init_httpApiKeyAuth = __esm({
|
|
|
4989
5019
|
}
|
|
4990
5020
|
});
|
|
4991
5021
|
|
|
4992
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
5022
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js
|
|
4993
5023
|
var import_protocol_http4, HttpBearerAuthSigner;
|
|
4994
5024
|
var init_httpBearerAuth = __esm({
|
|
4995
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
5025
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js"() {
|
|
4996
5026
|
import_protocol_http4 = __toESM(require_dist_cjs2());
|
|
4997
5027
|
HttpBearerAuthSigner = class {
|
|
4998
5028
|
async sign(httpRequest, identity, signingProperties) {
|
|
@@ -5007,10 +5037,10 @@ var init_httpBearerAuth = __esm({
|
|
|
5007
5037
|
}
|
|
5008
5038
|
});
|
|
5009
5039
|
|
|
5010
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
5040
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/noAuth.js
|
|
5011
5041
|
var NoAuthSigner;
|
|
5012
5042
|
var init_noAuth = __esm({
|
|
5013
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
5043
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/noAuth.js"() {
|
|
5014
5044
|
NoAuthSigner = class {
|
|
5015
5045
|
async sign(httpRequest, identity, signingProperties) {
|
|
5016
5046
|
return httpRequest;
|
|
@@ -5019,19 +5049,19 @@ var init_noAuth = __esm({
|
|
|
5019
5049
|
}
|
|
5020
5050
|
});
|
|
5021
5051
|
|
|
5022
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
5052
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/index.js
|
|
5023
5053
|
var init_httpAuthSchemes = __esm({
|
|
5024
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
5054
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/index.js"() {
|
|
5025
5055
|
init_httpApiKeyAuth();
|
|
5026
5056
|
init_httpBearerAuth();
|
|
5027
5057
|
init_noAuth();
|
|
5028
5058
|
}
|
|
5029
5059
|
});
|
|
5030
5060
|
|
|
5031
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
5061
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js
|
|
5032
5062
|
var createIsIdentityExpiredFunction, EXPIRATION_MS, isIdentityExpired, doesIdentityRequireRefresh, memoizeIdentityProvider;
|
|
5033
5063
|
var init_memoizeIdentityProvider = __esm({
|
|
5034
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
5064
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js"() {
|
|
5035
5065
|
createIsIdentityExpiredFunction = (expirationMs) => (identity) => doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs;
|
|
5036
5066
|
EXPIRATION_MS = 3e5;
|
|
5037
5067
|
isIdentityExpired = createIsIdentityExpiredFunction(EXPIRATION_MS);
|
|
@@ -5087,16 +5117,16 @@ var init_memoizeIdentityProvider = __esm({
|
|
|
5087
5117
|
}
|
|
5088
5118
|
});
|
|
5089
5119
|
|
|
5090
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
5120
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/index.js
|
|
5091
5121
|
var init_util_identity_and_auth = __esm({
|
|
5092
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
5122
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/util-identity-and-auth/index.js"() {
|
|
5093
5123
|
init_DefaultIdentityProviderConfig();
|
|
5094
5124
|
init_httpAuthSchemes();
|
|
5095
5125
|
init_memoizeIdentityProvider();
|
|
5096
5126
|
}
|
|
5097
5127
|
});
|
|
5098
5128
|
|
|
5099
|
-
// node_modules/.pnpm/@smithy+core@3.
|
|
5129
|
+
// node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/index.js
|
|
5100
5130
|
var dist_es_exports = {};
|
|
5101
5131
|
__export(dist_es_exports, {
|
|
5102
5132
|
DefaultIdentityProviderConfig: () => DefaultIdentityProviderConfig,
|
|
@@ -5123,7 +5153,7 @@ __export(dist_es_exports, {
|
|
|
5123
5153
|
setFeature: () => setFeature
|
|
5124
5154
|
});
|
|
5125
5155
|
var init_dist_es = __esm({
|
|
5126
|
-
"node_modules/.pnpm/@smithy+core@3.
|
|
5156
|
+
"node_modules/.pnpm/@smithy+core@3.3.0/node_modules/@smithy/core/dist-es/index.js"() {
|
|
5127
5157
|
init_getSmithyContext();
|
|
5128
5158
|
init_middleware_http_auth_scheme();
|
|
5129
5159
|
init_middleware_http_signing();
|
|
@@ -6010,10 +6040,10 @@ var require_dist_cjs22 = __commonJS({
|
|
|
6010
6040
|
}
|
|
6011
6041
|
});
|
|
6012
6042
|
|
|
6013
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6043
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js
|
|
6014
6044
|
var state, emitWarningIfUnsupportedVersion;
|
|
6015
6045
|
var init_emitWarningIfUnsupportedVersion = __esm({
|
|
6016
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6046
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js"() {
|
|
6017
6047
|
state = {
|
|
6018
6048
|
warningEmitted: false
|
|
6019
6049
|
};
|
|
@@ -6032,7 +6062,7 @@ More information can be found at: https://a.co/74kJMmI`);
|
|
|
6032
6062
|
}
|
|
6033
6063
|
});
|
|
6034
6064
|
|
|
6035
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6065
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js
|
|
6036
6066
|
function setCredentialFeature(credentials, feature, value) {
|
|
6037
6067
|
if (!credentials.$source) {
|
|
6038
6068
|
credentials.$source = {};
|
|
@@ -6041,11 +6071,11 @@ function setCredentialFeature(credentials, feature, value) {
|
|
|
6041
6071
|
return credentials;
|
|
6042
6072
|
}
|
|
6043
6073
|
var init_setCredentialFeature = __esm({
|
|
6044
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6074
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js"() {
|
|
6045
6075
|
}
|
|
6046
6076
|
});
|
|
6047
6077
|
|
|
6048
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6078
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js
|
|
6049
6079
|
function setFeature2(context, feature, value) {
|
|
6050
6080
|
if (!context.__aws_sdk_context) {
|
|
6051
6081
|
context.__aws_sdk_context = {
|
|
@@ -6057,11 +6087,11 @@ function setFeature2(context, feature, value) {
|
|
|
6057
6087
|
context.__aws_sdk_context.features[feature] = value;
|
|
6058
6088
|
}
|
|
6059
6089
|
var init_setFeature2 = __esm({
|
|
6060
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6090
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js"() {
|
|
6061
6091
|
}
|
|
6062
6092
|
});
|
|
6063
6093
|
|
|
6064
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6094
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js
|
|
6065
6095
|
var client_exports = {};
|
|
6066
6096
|
__export(client_exports, {
|
|
6067
6097
|
emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,
|
|
@@ -6070,43 +6100,43 @@ __export(client_exports, {
|
|
|
6070
6100
|
state: () => state
|
|
6071
6101
|
});
|
|
6072
6102
|
var init_client = __esm({
|
|
6073
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6103
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js"() {
|
|
6074
6104
|
init_emitWarningIfUnsupportedVersion();
|
|
6075
6105
|
init_setCredentialFeature();
|
|
6076
6106
|
init_setFeature2();
|
|
6077
6107
|
}
|
|
6078
6108
|
});
|
|
6079
6109
|
|
|
6080
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6110
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js
|
|
6081
6111
|
var import_protocol_http5, getDateHeader;
|
|
6082
6112
|
var init_getDateHeader = __esm({
|
|
6083
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6113
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js"() {
|
|
6084
6114
|
import_protocol_http5 = __toESM(require_dist_cjs2());
|
|
6085
6115
|
getDateHeader = (response) => import_protocol_http5.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0;
|
|
6086
6116
|
}
|
|
6087
6117
|
});
|
|
6088
6118
|
|
|
6089
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6119
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js
|
|
6090
6120
|
var getSkewCorrectedDate;
|
|
6091
6121
|
var init_getSkewCorrectedDate = __esm({
|
|
6092
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6122
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js"() {
|
|
6093
6123
|
getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);
|
|
6094
6124
|
}
|
|
6095
6125
|
});
|
|
6096
6126
|
|
|
6097
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6127
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js
|
|
6098
6128
|
var isClockSkewed;
|
|
6099
6129
|
var init_isClockSkewed = __esm({
|
|
6100
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6130
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js"() {
|
|
6101
6131
|
init_getSkewCorrectedDate();
|
|
6102
6132
|
isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5;
|
|
6103
6133
|
}
|
|
6104
6134
|
});
|
|
6105
6135
|
|
|
6106
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6136
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js
|
|
6107
6137
|
var getUpdatedSystemClockOffset;
|
|
6108
6138
|
var init_getUpdatedSystemClockOffset = __esm({
|
|
6109
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6139
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js"() {
|
|
6110
6140
|
init_isClockSkewed();
|
|
6111
6141
|
getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => {
|
|
6112
6142
|
const clockTimeInMs = Date.parse(clockTime);
|
|
@@ -6118,19 +6148,19 @@ var init_getUpdatedSystemClockOffset = __esm({
|
|
|
6118
6148
|
}
|
|
6119
6149
|
});
|
|
6120
6150
|
|
|
6121
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6151
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js
|
|
6122
6152
|
var init_utils = __esm({
|
|
6123
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6153
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js"() {
|
|
6124
6154
|
init_getDateHeader();
|
|
6125
6155
|
init_getSkewCorrectedDate();
|
|
6126
6156
|
init_getUpdatedSystemClockOffset();
|
|
6127
6157
|
}
|
|
6128
6158
|
});
|
|
6129
6159
|
|
|
6130
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6160
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
6131
6161
|
var import_protocol_http6, throwSigningPropertyError, validateSigningProperties, AwsSdkSigV4Signer, AWSSDKSigV4Signer;
|
|
6132
6162
|
var init_AwsSdkSigV4Signer = __esm({
|
|
6133
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6163
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js"() {
|
|
6134
6164
|
import_protocol_http6 = __toESM(require_dist_cjs2());
|
|
6135
6165
|
init_utils();
|
|
6136
6166
|
throwSigningPropertyError = (name, property) => {
|
|
@@ -6206,10 +6236,10 @@ var init_AwsSdkSigV4Signer = __esm({
|
|
|
6206
6236
|
}
|
|
6207
6237
|
});
|
|
6208
6238
|
|
|
6209
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6239
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js
|
|
6210
6240
|
var import_protocol_http7, AwsSdkSigV4ASigner;
|
|
6211
6241
|
var init_AwsSdkSigV4ASigner = __esm({
|
|
6212
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6242
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js"() {
|
|
6213
6243
|
import_protocol_http7 = __toESM(require_dist_cjs2());
|
|
6214
6244
|
init_utils();
|
|
6215
6245
|
init_AwsSdkSigV4Signer();
|
|
@@ -6232,6 +6262,37 @@ var init_AwsSdkSigV4ASigner = __esm({
|
|
|
6232
6262
|
}
|
|
6233
6263
|
});
|
|
6234
6264
|
|
|
6265
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js
|
|
6266
|
+
var getArrayForCommaSeparatedString;
|
|
6267
|
+
var init_getArrayForCommaSeparatedString = __esm({
|
|
6268
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js"() {
|
|
6269
|
+
getArrayForCommaSeparatedString = (str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : [];
|
|
6270
|
+
}
|
|
6271
|
+
});
|
|
6272
|
+
|
|
6273
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js
|
|
6274
|
+
var NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY, NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS;
|
|
6275
|
+
var init_NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = __esm({
|
|
6276
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js"() {
|
|
6277
|
+
init_getArrayForCommaSeparatedString();
|
|
6278
|
+
NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE";
|
|
6279
|
+
NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference";
|
|
6280
|
+
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
|
6281
|
+
environmentVariableSelector: (env) => {
|
|
6282
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env))
|
|
6283
|
+
return void 0;
|
|
6284
|
+
return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);
|
|
6285
|
+
},
|
|
6286
|
+
configFileSelector: (profile) => {
|
|
6287
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile))
|
|
6288
|
+
return void 0;
|
|
6289
|
+
return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);
|
|
6290
|
+
},
|
|
6291
|
+
default: []
|
|
6292
|
+
};
|
|
6293
|
+
}
|
|
6294
|
+
});
|
|
6295
|
+
|
|
6235
6296
|
// node_modules/.pnpm/@smithy+property-provider@4.0.2/node_modules/@smithy/property-provider/dist-cjs/index.js
|
|
6236
6297
|
var require_dist_cjs23 = __commonJS({
|
|
6237
6298
|
"node_modules/.pnpm/@smithy+property-provider@4.0.2/node_modules/@smithy/property-provider/dist-cjs/index.js"(exports2, module2) {
|
|
@@ -6383,10 +6444,10 @@ var require_dist_cjs23 = __commonJS({
|
|
|
6383
6444
|
}
|
|
6384
6445
|
});
|
|
6385
6446
|
|
|
6386
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
6447
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js
|
|
6387
6448
|
var import_property_provider, resolveAwsSdkSigV4AConfig, NODE_SIGV4A_CONFIG_OPTIONS;
|
|
6388
6449
|
var init_resolveAwsSdkSigV4AConfig = __esm({
|
|
6389
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
6450
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js"() {
|
|
6390
6451
|
init_dist_es();
|
|
6391
6452
|
import_property_provider = __toESM(require_dist_cjs23());
|
|
6392
6453
|
resolveAwsSdkSigV4AConfig = (config) => {
|
|
@@ -6415,9 +6476,9 @@ var init_resolveAwsSdkSigV4AConfig = __esm({
|
|
|
6415
6476
|
}
|
|
6416
6477
|
});
|
|
6417
6478
|
|
|
6418
|
-
// node_modules/.pnpm/@smithy+signature-v4@5.0
|
|
6479
|
+
// node_modules/.pnpm/@smithy+signature-v4@5.1.0/node_modules/@smithy/signature-v4/dist-cjs/index.js
|
|
6419
6480
|
var require_dist_cjs24 = __commonJS({
|
|
6420
|
-
"node_modules/.pnpm/@smithy+signature-v4@5.0
|
|
6481
|
+
"node_modules/.pnpm/@smithy+signature-v4@5.1.0/node_modules/@smithy/signature-v4/dist-cjs/index.js"(exports2, module2) {
|
|
6421
6482
|
var __defProp2 = Object.defineProperty;
|
|
6422
6483
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
6423
6484
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -6438,19 +6499,48 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6438
6499
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
6439
6500
|
var src_exports = {};
|
|
6440
6501
|
__export2(src_exports, {
|
|
6502
|
+
ALGORITHM_IDENTIFIER: () => ALGORITHM_IDENTIFIER,
|
|
6503
|
+
ALGORITHM_IDENTIFIER_V4A: () => ALGORITHM_IDENTIFIER_V4A,
|
|
6504
|
+
ALGORITHM_QUERY_PARAM: () => ALGORITHM_QUERY_PARAM,
|
|
6505
|
+
ALWAYS_UNSIGNABLE_HEADERS: () => ALWAYS_UNSIGNABLE_HEADERS,
|
|
6506
|
+
AMZ_DATE_HEADER: () => AMZ_DATE_HEADER,
|
|
6507
|
+
AMZ_DATE_QUERY_PARAM: () => AMZ_DATE_QUERY_PARAM,
|
|
6508
|
+
AUTH_HEADER: () => AUTH_HEADER,
|
|
6509
|
+
CREDENTIAL_QUERY_PARAM: () => CREDENTIAL_QUERY_PARAM,
|
|
6510
|
+
DATE_HEADER: () => DATE_HEADER,
|
|
6511
|
+
EVENT_ALGORITHM_IDENTIFIER: () => EVENT_ALGORITHM_IDENTIFIER,
|
|
6512
|
+
EXPIRES_QUERY_PARAM: () => EXPIRES_QUERY_PARAM,
|
|
6513
|
+
GENERATED_HEADERS: () => GENERATED_HEADERS,
|
|
6514
|
+
HOST_HEADER: () => HOST_HEADER,
|
|
6515
|
+
KEY_TYPE_IDENTIFIER: () => KEY_TYPE_IDENTIFIER,
|
|
6516
|
+
MAX_CACHE_SIZE: () => MAX_CACHE_SIZE,
|
|
6517
|
+
MAX_PRESIGNED_TTL: () => MAX_PRESIGNED_TTL,
|
|
6518
|
+
PROXY_HEADER_PATTERN: () => PROXY_HEADER_PATTERN,
|
|
6519
|
+
REGION_SET_PARAM: () => REGION_SET_PARAM,
|
|
6520
|
+
SEC_HEADER_PATTERN: () => SEC_HEADER_PATTERN,
|
|
6521
|
+
SHA256_HEADER: () => SHA256_HEADER,
|
|
6522
|
+
SIGNATURE_HEADER: () => SIGNATURE_HEADER,
|
|
6523
|
+
SIGNATURE_QUERY_PARAM: () => SIGNATURE_QUERY_PARAM,
|
|
6524
|
+
SIGNED_HEADERS_QUERY_PARAM: () => SIGNED_HEADERS_QUERY_PARAM,
|
|
6441
6525
|
SignatureV4: () => SignatureV42,
|
|
6526
|
+
SignatureV4Base: () => SignatureV4Base,
|
|
6527
|
+
TOKEN_HEADER: () => TOKEN_HEADER,
|
|
6528
|
+
TOKEN_QUERY_PARAM: () => TOKEN_QUERY_PARAM,
|
|
6529
|
+
UNSIGNABLE_PATTERNS: () => UNSIGNABLE_PATTERNS,
|
|
6530
|
+
UNSIGNED_PAYLOAD: () => UNSIGNED_PAYLOAD,
|
|
6442
6531
|
clearCredentialCache: () => clearCredentialCache,
|
|
6443
6532
|
createScope: () => createScope,
|
|
6444
6533
|
getCanonicalHeaders: () => getCanonicalHeaders,
|
|
6445
6534
|
getCanonicalQuery: () => getCanonicalQuery,
|
|
6446
6535
|
getPayloadHash: () => getPayloadHash,
|
|
6447
6536
|
getSigningKey: () => getSigningKey,
|
|
6537
|
+
hasHeader: () => hasHeader,
|
|
6448
6538
|
moveHeadersToQuery: () => moveHeadersToQuery,
|
|
6449
|
-
prepareRequest: () => prepareRequest
|
|
6539
|
+
prepareRequest: () => prepareRequest,
|
|
6540
|
+
signatureV4aContainer: () => signatureV4aContainer
|
|
6450
6541
|
});
|
|
6451
6542
|
module2.exports = __toCommonJS2(src_exports);
|
|
6452
|
-
var
|
|
6453
|
-
var import_util_utf84 = require_dist_cjs9();
|
|
6543
|
+
var import_util_utf85 = require_dist_cjs9();
|
|
6454
6544
|
var ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm";
|
|
6455
6545
|
var CREDENTIAL_QUERY_PARAM = "X-Amz-Credential";
|
|
6456
6546
|
var AMZ_DATE_QUERY_PARAM = "X-Amz-Date";
|
|
@@ -6458,6 +6548,7 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6458
6548
|
var EXPIRES_QUERY_PARAM = "X-Amz-Expires";
|
|
6459
6549
|
var SIGNATURE_QUERY_PARAM = "X-Amz-Signature";
|
|
6460
6550
|
var TOKEN_QUERY_PARAM = "X-Amz-Security-Token";
|
|
6551
|
+
var REGION_SET_PARAM = "X-Amz-Region-Set";
|
|
6461
6552
|
var AUTH_HEADER = "authorization";
|
|
6462
6553
|
var AMZ_DATE_HEADER = AMZ_DATE_QUERY_PARAM.toLowerCase();
|
|
6463
6554
|
var DATE_HEADER = "date";
|
|
@@ -6465,6 +6556,7 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6465
6556
|
var SIGNATURE_HEADER = SIGNATURE_QUERY_PARAM.toLowerCase();
|
|
6466
6557
|
var SHA256_HEADER = "x-amz-content-sha256";
|
|
6467
6558
|
var TOKEN_HEADER = TOKEN_QUERY_PARAM.toLowerCase();
|
|
6559
|
+
var HOST_HEADER = "host";
|
|
6468
6560
|
var ALWAYS_UNSIGNABLE_HEADERS = {
|
|
6469
6561
|
authorization: true,
|
|
6470
6562
|
"cache-control": true,
|
|
@@ -6484,7 +6576,9 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6484
6576
|
};
|
|
6485
6577
|
var PROXY_HEADER_PATTERN = /^proxy-/;
|
|
6486
6578
|
var SEC_HEADER_PATTERN = /^sec-/;
|
|
6579
|
+
var UNSIGNABLE_PATTERNS = [/^proxy-/i, /^sec-/i];
|
|
6487
6580
|
var ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256";
|
|
6581
|
+
var ALGORITHM_IDENTIFIER_V4A = "AWS4-ECDSA-P256-SHA256";
|
|
6488
6582
|
var EVENT_ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256-PAYLOAD";
|
|
6489
6583
|
var UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD";
|
|
6490
6584
|
var MAX_CACHE_SIZE = 50;
|
|
@@ -6538,25 +6632,6 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6538
6632
|
}
|
|
6539
6633
|
return canonical;
|
|
6540
6634
|
}, "getCanonicalHeaders");
|
|
6541
|
-
var import_util_uri_escape = require_dist_cjs11();
|
|
6542
|
-
var getCanonicalQuery = /* @__PURE__ */ __name(({ query = {} }) => {
|
|
6543
|
-
const keys = [];
|
|
6544
|
-
const serialized = {};
|
|
6545
|
-
for (const key of Object.keys(query)) {
|
|
6546
|
-
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
6547
|
-
continue;
|
|
6548
|
-
}
|
|
6549
|
-
const encodedKey = (0, import_util_uri_escape.escapeUri)(key);
|
|
6550
|
-
keys.push(encodedKey);
|
|
6551
|
-
const value = query[key];
|
|
6552
|
-
if (typeof value === "string") {
|
|
6553
|
-
serialized[encodedKey] = `${encodedKey}=${(0, import_util_uri_escape.escapeUri)(value)}`;
|
|
6554
|
-
} else if (Array.isArray(value)) {
|
|
6555
|
-
serialized[encodedKey] = value.slice(0).reduce((encoded, value2) => encoded.concat([`${encodedKey}=${(0, import_util_uri_escape.escapeUri)(value2)}`]), []).sort().join("&");
|
|
6556
|
-
}
|
|
6557
|
-
}
|
|
6558
|
-
return keys.sort().map((key) => serialized[key]).filter((serialized2) => serialized2).join("&");
|
|
6559
|
-
}, "getCanonicalQuery");
|
|
6560
6635
|
var import_is_array_buffer = require_dist_cjs7();
|
|
6561
6636
|
var import_util_utf822 = require_dist_cjs9();
|
|
6562
6637
|
var getPayloadHash = /* @__PURE__ */ __name(async ({ headers, body }, hashConstructor) => {
|
|
@@ -6748,6 +6823,27 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6748
6823
|
}
|
|
6749
6824
|
return request;
|
|
6750
6825
|
}, "prepareRequest");
|
|
6826
|
+
var import_util_middleware5 = require_dist_cjs19();
|
|
6827
|
+
var import_util_utf84 = require_dist_cjs9();
|
|
6828
|
+
var import_util_uri_escape = require_dist_cjs11();
|
|
6829
|
+
var getCanonicalQuery = /* @__PURE__ */ __name(({ query = {} }) => {
|
|
6830
|
+
const keys = [];
|
|
6831
|
+
const serialized = {};
|
|
6832
|
+
for (const key of Object.keys(query)) {
|
|
6833
|
+
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
6834
|
+
continue;
|
|
6835
|
+
}
|
|
6836
|
+
const encodedKey = (0, import_util_uri_escape.escapeUri)(key);
|
|
6837
|
+
keys.push(encodedKey);
|
|
6838
|
+
const value = query[key];
|
|
6839
|
+
if (typeof value === "string") {
|
|
6840
|
+
serialized[encodedKey] = `${encodedKey}=${(0, import_util_uri_escape.escapeUri)(value)}`;
|
|
6841
|
+
} else if (Array.isArray(value)) {
|
|
6842
|
+
serialized[encodedKey] = value.slice(0).reduce((encoded, value2) => encoded.concat([`${encodedKey}=${(0, import_util_uri_escape.escapeUri)(value2)}`]), []).sort().join("&");
|
|
6843
|
+
}
|
|
6844
|
+
}
|
|
6845
|
+
return keys.sort().map((key) => serialized[key]).filter((serialized2) => serialized2).join("&");
|
|
6846
|
+
}, "getCanonicalQuery");
|
|
6751
6847
|
var iso8601 = /* @__PURE__ */ __name((time) => toDate(time).toISOString().replace(/\.\d{3}Z$/, "Z"), "iso8601");
|
|
6752
6848
|
var toDate = /* @__PURE__ */ __name((time) => {
|
|
6753
6849
|
if (typeof time === "number") {
|
|
@@ -6761,7 +6857,10 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6761
6857
|
}
|
|
6762
6858
|
return time;
|
|
6763
6859
|
}, "toDate");
|
|
6764
|
-
var
|
|
6860
|
+
var SignatureV4Base = class {
|
|
6861
|
+
static {
|
|
6862
|
+
__name(this, "SignatureV4Base");
|
|
6863
|
+
}
|
|
6765
6864
|
constructor({
|
|
6766
6865
|
applyChecksum,
|
|
6767
6866
|
credentials,
|
|
@@ -6770,7 +6869,6 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6770
6869
|
sha256,
|
|
6771
6870
|
uriEscapePath = true
|
|
6772
6871
|
}) {
|
|
6773
|
-
this.headerFormatter = new HeaderFormatter();
|
|
6774
6872
|
this.service = service;
|
|
6775
6873
|
this.sha256 = sha256;
|
|
6776
6874
|
this.uriEscapePath = uriEscapePath;
|
|
@@ -6778,6 +6876,82 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6778
6876
|
this.regionProvider = (0, import_util_middleware5.normalizeProvider)(region);
|
|
6779
6877
|
this.credentialProvider = (0, import_util_middleware5.normalizeProvider)(credentials);
|
|
6780
6878
|
}
|
|
6879
|
+
createCanonicalRequest(request, canonicalHeaders, payloadHash) {
|
|
6880
|
+
const sortedHeaders = Object.keys(canonicalHeaders).sort();
|
|
6881
|
+
return `${request.method}
|
|
6882
|
+
${this.getCanonicalPath(request)}
|
|
6883
|
+
${getCanonicalQuery(request)}
|
|
6884
|
+
${sortedHeaders.map((name) => `${name}:${canonicalHeaders[name]}`).join("\n")}
|
|
6885
|
+
|
|
6886
|
+
${sortedHeaders.join(";")}
|
|
6887
|
+
${payloadHash}`;
|
|
6888
|
+
}
|
|
6889
|
+
async createStringToSign(longDate, credentialScope, canonicalRequest, algorithmIdentifier) {
|
|
6890
|
+
const hash = new this.sha256();
|
|
6891
|
+
hash.update((0, import_util_utf84.toUint8Array)(canonicalRequest));
|
|
6892
|
+
const hashedRequest = await hash.digest();
|
|
6893
|
+
return `${algorithmIdentifier}
|
|
6894
|
+
${longDate}
|
|
6895
|
+
${credentialScope}
|
|
6896
|
+
${(0, import_util_hex_encoding.toHex)(hashedRequest)}`;
|
|
6897
|
+
}
|
|
6898
|
+
getCanonicalPath({ path }) {
|
|
6899
|
+
if (this.uriEscapePath) {
|
|
6900
|
+
const normalizedPathSegments = [];
|
|
6901
|
+
for (const pathSegment of path.split("/")) {
|
|
6902
|
+
if (pathSegment?.length === 0)
|
|
6903
|
+
continue;
|
|
6904
|
+
if (pathSegment === ".")
|
|
6905
|
+
continue;
|
|
6906
|
+
if (pathSegment === "..") {
|
|
6907
|
+
normalizedPathSegments.pop();
|
|
6908
|
+
} else {
|
|
6909
|
+
normalizedPathSegments.push(pathSegment);
|
|
6910
|
+
}
|
|
6911
|
+
}
|
|
6912
|
+
const normalizedPath = `${path?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path?.endsWith("/") ? "/" : ""}`;
|
|
6913
|
+
const doubleEncoded = (0, import_util_uri_escape.escapeUri)(normalizedPath);
|
|
6914
|
+
return doubleEncoded.replace(/%2F/g, "/");
|
|
6915
|
+
}
|
|
6916
|
+
return path;
|
|
6917
|
+
}
|
|
6918
|
+
validateResolvedCredentials(credentials) {
|
|
6919
|
+
if (typeof credentials !== "object" || // @ts-expect-error: Property 'accessKeyId' does not exist on type 'object'.ts(2339)
|
|
6920
|
+
typeof credentials.accessKeyId !== "string" || // @ts-expect-error: Property 'secretAccessKey' does not exist on type 'object'.ts(2339)
|
|
6921
|
+
typeof credentials.secretAccessKey !== "string") {
|
|
6922
|
+
throw new Error("Resolved credential object is not valid");
|
|
6923
|
+
}
|
|
6924
|
+
}
|
|
6925
|
+
formatDate(now) {
|
|
6926
|
+
const longDate = iso8601(now).replace(/[\-:]/g, "");
|
|
6927
|
+
return {
|
|
6928
|
+
longDate,
|
|
6929
|
+
shortDate: longDate.slice(0, 8)
|
|
6930
|
+
};
|
|
6931
|
+
}
|
|
6932
|
+
getCanonicalHeaderList(headers) {
|
|
6933
|
+
return Object.keys(headers).sort().join(";");
|
|
6934
|
+
}
|
|
6935
|
+
};
|
|
6936
|
+
var SignatureV42 = class extends SignatureV4Base {
|
|
6937
|
+
constructor({
|
|
6938
|
+
applyChecksum,
|
|
6939
|
+
credentials,
|
|
6940
|
+
region,
|
|
6941
|
+
service,
|
|
6942
|
+
sha256,
|
|
6943
|
+
uriEscapePath = true
|
|
6944
|
+
}) {
|
|
6945
|
+
super({
|
|
6946
|
+
applyChecksum,
|
|
6947
|
+
credentials,
|
|
6948
|
+
region,
|
|
6949
|
+
service,
|
|
6950
|
+
sha256,
|
|
6951
|
+
uriEscapePath
|
|
6952
|
+
});
|
|
6953
|
+
this.headerFormatter = new HeaderFormatter();
|
|
6954
|
+
}
|
|
6781
6955
|
static {
|
|
6782
6956
|
__name(this, "SignatureV4");
|
|
6783
6957
|
}
|
|
@@ -6795,7 +6969,7 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6795
6969
|
const credentials = await this.credentialProvider();
|
|
6796
6970
|
this.validateResolvedCredentials(credentials);
|
|
6797
6971
|
const region = signingRegion ?? await this.regionProvider();
|
|
6798
|
-
const { longDate, shortDate } = formatDate(signingDate);
|
|
6972
|
+
const { longDate, shortDate } = this.formatDate(signingDate);
|
|
6799
6973
|
if (expiresIn > MAX_PRESIGNED_TTL) {
|
|
6800
6974
|
return Promise.reject(
|
|
6801
6975
|
"Signature version 4 presigned URLs must have an expiration date less than one week in the future"
|
|
@@ -6811,7 +6985,7 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6811
6985
|
request.query[AMZ_DATE_QUERY_PARAM] = longDate;
|
|
6812
6986
|
request.query[EXPIRES_QUERY_PARAM] = expiresIn.toString(10);
|
|
6813
6987
|
const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders);
|
|
6814
|
-
request.query[SIGNED_HEADERS_QUERY_PARAM] = getCanonicalHeaderList(canonicalHeaders);
|
|
6988
|
+
request.query[SIGNED_HEADERS_QUERY_PARAM] = this.getCanonicalHeaderList(canonicalHeaders);
|
|
6815
6989
|
request.query[SIGNATURE_QUERY_PARAM] = await this.getSignature(
|
|
6816
6990
|
longDate,
|
|
6817
6991
|
scope,
|
|
@@ -6833,7 +7007,7 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6833
7007
|
}
|
|
6834
7008
|
async signEvent({ headers, payload }, { signingDate = /* @__PURE__ */ new Date(), priorSignature, signingRegion, signingService }) {
|
|
6835
7009
|
const region = signingRegion ?? await this.regionProvider();
|
|
6836
|
-
const { shortDate, longDate } = formatDate(signingDate);
|
|
7010
|
+
const { shortDate, longDate } = this.formatDate(signingDate);
|
|
6837
7011
|
const scope = createScope(shortDate, region, signingService ?? this.service);
|
|
6838
7012
|
const hashedPayload = await getPayloadHash({ headers: {}, body: payload }, this.sha256);
|
|
6839
7013
|
const hash = new this.sha256();
|
|
@@ -6870,9 +7044,9 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6870
7044
|
const credentials = await this.credentialProvider();
|
|
6871
7045
|
this.validateResolvedCredentials(credentials);
|
|
6872
7046
|
const region = signingRegion ?? await this.regionProvider();
|
|
6873
|
-
const { shortDate } = formatDate(signingDate);
|
|
7047
|
+
const { shortDate } = this.formatDate(signingDate);
|
|
6874
7048
|
const hash = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService));
|
|
6875
|
-
hash.update((0,
|
|
7049
|
+
hash.update((0, import_util_utf85.toUint8Array)(stringToSign));
|
|
6876
7050
|
return (0, import_util_hex_encoding.toHex)(await hash.digest());
|
|
6877
7051
|
}
|
|
6878
7052
|
async signRequest(requestToSign, {
|
|
@@ -6886,7 +7060,7 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6886
7060
|
this.validateResolvedCredentials(credentials);
|
|
6887
7061
|
const region = signingRegion ?? await this.regionProvider();
|
|
6888
7062
|
const request = prepareRequest(requestToSign);
|
|
6889
|
-
const { longDate, shortDate } = formatDate(signingDate);
|
|
7063
|
+
const { longDate, shortDate } = this.formatDate(signingDate);
|
|
6890
7064
|
const scope = createScope(shortDate, region, signingService ?? this.service);
|
|
6891
7065
|
request.headers[AMZ_DATE_HEADER] = longDate;
|
|
6892
7066
|
if (credentials.sessionToken) {
|
|
@@ -6903,77 +7077,31 @@ var require_dist_cjs24 = __commonJS({
|
|
|
6903
7077
|
this.getSigningKey(credentials, region, shortDate, signingService),
|
|
6904
7078
|
this.createCanonicalRequest(request, canonicalHeaders, payloadHash)
|
|
6905
7079
|
);
|
|
6906
|
-
request.headers[AUTH_HEADER] = `${ALGORITHM_IDENTIFIER} Credential=${credentials.accessKeyId}/${scope}, SignedHeaders=${getCanonicalHeaderList(canonicalHeaders)}, Signature=${signature}`;
|
|
7080
|
+
request.headers[AUTH_HEADER] = `${ALGORITHM_IDENTIFIER} Credential=${credentials.accessKeyId}/${scope}, SignedHeaders=${this.getCanonicalHeaderList(canonicalHeaders)}, Signature=${signature}`;
|
|
6907
7081
|
return request;
|
|
6908
7082
|
}
|
|
6909
|
-
createCanonicalRequest(request, canonicalHeaders, payloadHash) {
|
|
6910
|
-
const sortedHeaders = Object.keys(canonicalHeaders).sort();
|
|
6911
|
-
return `${request.method}
|
|
6912
|
-
${this.getCanonicalPath(request)}
|
|
6913
|
-
${getCanonicalQuery(request)}
|
|
6914
|
-
${sortedHeaders.map((name) => `${name}:${canonicalHeaders[name]}`).join("\n")}
|
|
6915
|
-
|
|
6916
|
-
${sortedHeaders.join(";")}
|
|
6917
|
-
${payloadHash}`;
|
|
6918
|
-
}
|
|
6919
|
-
async createStringToSign(longDate, credentialScope, canonicalRequest) {
|
|
6920
|
-
const hash = new this.sha256();
|
|
6921
|
-
hash.update((0, import_util_utf84.toUint8Array)(canonicalRequest));
|
|
6922
|
-
const hashedRequest = await hash.digest();
|
|
6923
|
-
return `${ALGORITHM_IDENTIFIER}
|
|
6924
|
-
${longDate}
|
|
6925
|
-
${credentialScope}
|
|
6926
|
-
${(0, import_util_hex_encoding.toHex)(hashedRequest)}`;
|
|
6927
|
-
}
|
|
6928
|
-
getCanonicalPath({ path }) {
|
|
6929
|
-
if (this.uriEscapePath) {
|
|
6930
|
-
const normalizedPathSegments = [];
|
|
6931
|
-
for (const pathSegment of path.split("/")) {
|
|
6932
|
-
if (pathSegment?.length === 0)
|
|
6933
|
-
continue;
|
|
6934
|
-
if (pathSegment === ".")
|
|
6935
|
-
continue;
|
|
6936
|
-
if (pathSegment === "..") {
|
|
6937
|
-
normalizedPathSegments.pop();
|
|
6938
|
-
} else {
|
|
6939
|
-
normalizedPathSegments.push(pathSegment);
|
|
6940
|
-
}
|
|
6941
|
-
}
|
|
6942
|
-
const normalizedPath = `${path?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path?.endsWith("/") ? "/" : ""}`;
|
|
6943
|
-
const doubleEncoded = (0, import_util_uri_escape.escapeUri)(normalizedPath);
|
|
6944
|
-
return doubleEncoded.replace(/%2F/g, "/");
|
|
6945
|
-
}
|
|
6946
|
-
return path;
|
|
6947
|
-
}
|
|
6948
7083
|
async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) {
|
|
6949
|
-
const stringToSign = await this.createStringToSign(
|
|
7084
|
+
const stringToSign = await this.createStringToSign(
|
|
7085
|
+
longDate,
|
|
7086
|
+
credentialScope,
|
|
7087
|
+
canonicalRequest,
|
|
7088
|
+
ALGORITHM_IDENTIFIER
|
|
7089
|
+
);
|
|
6950
7090
|
const hash = new this.sha256(await keyPromise);
|
|
6951
|
-
hash.update((0,
|
|
7091
|
+
hash.update((0, import_util_utf85.toUint8Array)(stringToSign));
|
|
6952
7092
|
return (0, import_util_hex_encoding.toHex)(await hash.digest());
|
|
6953
7093
|
}
|
|
6954
7094
|
getSigningKey(credentials, region, shortDate, service) {
|
|
6955
7095
|
return getSigningKey(this.sha256, credentials, shortDate, region, service || this.service);
|
|
6956
7096
|
}
|
|
6957
|
-
validateResolvedCredentials(credentials) {
|
|
6958
|
-
if (typeof credentials !== "object" || // @ts-expect-error: Property 'accessKeyId' does not exist on type 'object'.ts(2339)
|
|
6959
|
-
typeof credentials.accessKeyId !== "string" || // @ts-expect-error: Property 'secretAccessKey' does not exist on type 'object'.ts(2339)
|
|
6960
|
-
typeof credentials.secretAccessKey !== "string") {
|
|
6961
|
-
throw new Error("Resolved credential object is not valid");
|
|
6962
|
-
}
|
|
6963
|
-
}
|
|
6964
7097
|
};
|
|
6965
|
-
var
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
longDate,
|
|
6969
|
-
shortDate: longDate.slice(0, 8)
|
|
6970
|
-
};
|
|
6971
|
-
}, "formatDate");
|
|
6972
|
-
var getCanonicalHeaderList = /* @__PURE__ */ __name((headers) => Object.keys(headers).sort().join(";"), "getCanonicalHeaderList");
|
|
7098
|
+
var signatureV4aContainer = {
|
|
7099
|
+
SignatureV4a: null
|
|
7100
|
+
};
|
|
6973
7101
|
}
|
|
6974
7102
|
});
|
|
6975
7103
|
|
|
6976
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
7104
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js
|
|
6977
7105
|
function normalizeCredentialProvider(config, { credentials, credentialDefaultProvider }) {
|
|
6978
7106
|
let credentialsProvider;
|
|
6979
7107
|
if (credentials) {
|
|
@@ -7007,7 +7135,7 @@ function bindCallerConfig(config, credentialsProvider) {
|
|
|
7007
7135
|
}
|
|
7008
7136
|
var import_signature_v4, resolveAwsSdkSigV4Config, resolveAWSSDKSigV4Config;
|
|
7009
7137
|
var init_resolveAwsSdkSigV4Config = __esm({
|
|
7010
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
7138
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js"() {
|
|
7011
7139
|
init_client();
|
|
7012
7140
|
init_dist_es();
|
|
7013
7141
|
import_signature_v4 = __toESM(require_dist_cjs24());
|
|
@@ -7103,27 +7231,28 @@ var init_resolveAwsSdkSigV4Config = __esm({
|
|
|
7103
7231
|
}
|
|
7104
7232
|
});
|
|
7105
7233
|
|
|
7106
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
7234
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js
|
|
7107
7235
|
var init_aws_sdk = __esm({
|
|
7108
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
7236
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js"() {
|
|
7109
7237
|
init_AwsSdkSigV4Signer();
|
|
7110
7238
|
init_AwsSdkSigV4ASigner();
|
|
7239
|
+
init_NODE_AUTH_SCHEME_PREFERENCE_OPTIONS();
|
|
7111
7240
|
init_resolveAwsSdkSigV4AConfig();
|
|
7112
7241
|
init_resolveAwsSdkSigV4Config();
|
|
7113
7242
|
}
|
|
7114
7243
|
});
|
|
7115
7244
|
|
|
7116
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
7245
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js
|
|
7117
7246
|
var init_httpAuthSchemes2 = __esm({
|
|
7118
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
7247
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js"() {
|
|
7119
7248
|
init_aws_sdk();
|
|
7120
7249
|
}
|
|
7121
7250
|
});
|
|
7122
7251
|
|
|
7123
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
7252
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/coercing-serializers.js
|
|
7124
7253
|
var _toStr, _toBool, _toNum;
|
|
7125
7254
|
var init_coercing_serializers = __esm({
|
|
7126
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
7255
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/coercing-serializers.js"() {
|
|
7127
7256
|
_toStr = (val2) => {
|
|
7128
7257
|
if (val2 == null) {
|
|
7129
7258
|
return val2;
|
|
@@ -7180,10 +7309,10 @@ var init_coercing_serializers = __esm({
|
|
|
7180
7309
|
}
|
|
7181
7310
|
});
|
|
7182
7311
|
|
|
7183
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
7312
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js
|
|
7184
7313
|
var import_smithy_client, awsExpectUnion;
|
|
7185
7314
|
var init_awsExpectUnion = __esm({
|
|
7186
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
7315
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js"() {
|
|
7187
7316
|
import_smithy_client = __toESM(require_dist_cjs17());
|
|
7188
7317
|
awsExpectUnion = (value) => {
|
|
7189
7318
|
if (value == null) {
|
|
@@ -7197,19 +7326,19 @@ var init_awsExpectUnion = __esm({
|
|
|
7197
7326
|
}
|
|
7198
7327
|
});
|
|
7199
7328
|
|
|
7200
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
7329
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js
|
|
7201
7330
|
var import_smithy_client2, collectBodyString;
|
|
7202
7331
|
var init_common = __esm({
|
|
7203
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
7332
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js"() {
|
|
7204
7333
|
import_smithy_client2 = __toESM(require_dist_cjs17());
|
|
7205
7334
|
collectBodyString = (streamBody, context) => (0, import_smithy_client2.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
7206
7335
|
}
|
|
7207
7336
|
});
|
|
7208
7337
|
|
|
7209
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
7338
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js
|
|
7210
7339
|
var parseJsonBody, parseJsonErrorBody, loadRestJsonErrorCode;
|
|
7211
7340
|
var init_parseJsonBody = __esm({
|
|
7212
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
7341
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js"() {
|
|
7213
7342
|
init_common();
|
|
7214
7343
|
parseJsonBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
7215
7344
|
if (encoded.length) {
|
|
@@ -8907,10 +9036,10 @@ var require_fxp = __commonJS({
|
|
|
8907
9036
|
}
|
|
8908
9037
|
});
|
|
8909
9038
|
|
|
8910
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
9039
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js
|
|
8911
9040
|
var import_smithy_client3, import_fast_xml_parser, parseXmlBody, parseXmlErrorBody, loadRestXmlErrorCode;
|
|
8912
9041
|
var init_parseXmlBody = __esm({
|
|
8913
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
9042
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js"() {
|
|
8914
9043
|
import_smithy_client3 = __toESM(require_dist_cjs17());
|
|
8915
9044
|
import_fast_xml_parser = __toESM(require_fxp());
|
|
8916
9045
|
init_common();
|
|
@@ -8970,9 +9099,9 @@ var init_parseXmlBody = __esm({
|
|
|
8970
9099
|
}
|
|
8971
9100
|
});
|
|
8972
9101
|
|
|
8973
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
9102
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js
|
|
8974
9103
|
var init_protocols2 = __esm({
|
|
8975
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
9104
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js"() {
|
|
8976
9105
|
init_coercing_serializers();
|
|
8977
9106
|
init_awsExpectUnion();
|
|
8978
9107
|
init_parseJsonBody();
|
|
@@ -8980,12 +9109,13 @@ var init_protocols2 = __esm({
|
|
|
8980
9109
|
}
|
|
8981
9110
|
});
|
|
8982
9111
|
|
|
8983
|
-
// node_modules/.pnpm/@aws-sdk+core@3.
|
|
9112
|
+
// node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/index.js
|
|
8984
9113
|
var dist_es_exports2 = {};
|
|
8985
9114
|
__export(dist_es_exports2, {
|
|
8986
9115
|
AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,
|
|
8987
9116
|
AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,
|
|
8988
9117
|
AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,
|
|
9118
|
+
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: () => NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
8989
9119
|
NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS,
|
|
8990
9120
|
_toBool: () => _toBool,
|
|
8991
9121
|
_toNum: () => _toNum,
|
|
@@ -9007,16 +9137,16 @@ __export(dist_es_exports2, {
|
|
|
9007
9137
|
validateSigningProperties: () => validateSigningProperties
|
|
9008
9138
|
});
|
|
9009
9139
|
var init_dist_es2 = __esm({
|
|
9010
|
-
"node_modules/.pnpm/@aws-sdk+core@3.
|
|
9140
|
+
"node_modules/.pnpm/@aws-sdk+core@3.799.0/node_modules/@aws-sdk/core/dist-es/index.js"() {
|
|
9011
9141
|
init_client();
|
|
9012
9142
|
init_httpAuthSchemes2();
|
|
9013
9143
|
init_protocols2();
|
|
9014
9144
|
}
|
|
9015
9145
|
});
|
|
9016
9146
|
|
|
9017
|
-
// node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.
|
|
9147
|
+
// node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.799.0/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js
|
|
9018
9148
|
var require_dist_cjs25 = __commonJS({
|
|
9019
|
-
"node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.
|
|
9149
|
+
"node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.799.0/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js"(exports2, module2) {
|
|
9020
9150
|
"use strict";
|
|
9021
9151
|
var __defProp2 = Object.defineProperty;
|
|
9022
9152
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -9861,9 +9991,9 @@ var require_dist_cjs30 = __commonJS({
|
|
|
9861
9991
|
}
|
|
9862
9992
|
});
|
|
9863
9993
|
|
|
9864
|
-
// node_modules/.pnpm/@smithy+middleware-endpoint@4.1.
|
|
9994
|
+
// node_modules/.pnpm/@smithy+middleware-endpoint@4.1.1/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js
|
|
9865
9995
|
var require_getEndpointUrlConfig = __commonJS({
|
|
9866
|
-
"node_modules/.pnpm/@smithy+middleware-endpoint@4.1.
|
|
9996
|
+
"node_modules/.pnpm/@smithy+middleware-endpoint@4.1.1/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js"(exports2) {
|
|
9867
9997
|
"use strict";
|
|
9868
9998
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9869
9999
|
exports2.getEndpointUrlConfig = void 0;
|
|
@@ -9902,9 +10032,9 @@ var require_getEndpointUrlConfig = __commonJS({
|
|
|
9902
10032
|
}
|
|
9903
10033
|
});
|
|
9904
10034
|
|
|
9905
|
-
// node_modules/.pnpm/@smithy+middleware-endpoint@4.1.
|
|
10035
|
+
// node_modules/.pnpm/@smithy+middleware-endpoint@4.1.1/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js
|
|
9906
10036
|
var require_getEndpointFromConfig = __commonJS({
|
|
9907
|
-
"node_modules/.pnpm/@smithy+middleware-endpoint@4.1.
|
|
10037
|
+
"node_modules/.pnpm/@smithy+middleware-endpoint@4.1.1/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js"(exports2) {
|
|
9908
10038
|
"use strict";
|
|
9909
10039
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9910
10040
|
exports2.getEndpointFromConfig = void 0;
|
|
@@ -10013,9 +10143,9 @@ var require_dist_cjs32 = __commonJS({
|
|
|
10013
10143
|
}
|
|
10014
10144
|
});
|
|
10015
10145
|
|
|
10016
|
-
// node_modules/.pnpm/@smithy+middleware-endpoint@4.1.
|
|
10146
|
+
// node_modules/.pnpm/@smithy+middleware-endpoint@4.1.1/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js
|
|
10017
10147
|
var require_dist_cjs33 = __commonJS({
|
|
10018
|
-
"node_modules/.pnpm/@smithy+middleware-endpoint@4.1.
|
|
10148
|
+
"node_modules/.pnpm/@smithy+middleware-endpoint@4.1.1/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js"(exports2, module2) {
|
|
10019
10149
|
var __defProp2 = Object.defineProperty;
|
|
10020
10150
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
10021
10151
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -10619,9 +10749,9 @@ var init_esm_node = __esm({
|
|
|
10619
10749
|
}
|
|
10620
10750
|
});
|
|
10621
10751
|
|
|
10622
|
-
// node_modules/.pnpm/@smithy+service-error-classification@4.0.
|
|
10752
|
+
// node_modules/.pnpm/@smithy+service-error-classification@4.0.3/node_modules/@smithy/service-error-classification/dist-cjs/index.js
|
|
10623
10753
|
var require_dist_cjs34 = __commonJS({
|
|
10624
|
-
"node_modules/.pnpm/@smithy+service-error-classification@4.0.
|
|
10754
|
+
"node_modules/.pnpm/@smithy+service-error-classification@4.0.3/node_modules/@smithy/service-error-classification/dist-cjs/index.js"(exports2, module2) {
|
|
10625
10755
|
var __defProp2 = Object.defineProperty;
|
|
10626
10756
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
10627
10757
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -10642,6 +10772,7 @@ var require_dist_cjs34 = __commonJS({
|
|
|
10642
10772
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
10643
10773
|
var src_exports = {};
|
|
10644
10774
|
__export2(src_exports, {
|
|
10775
|
+
isBrowserNetworkError: () => isBrowserNetworkError,
|
|
10645
10776
|
isClockSkewCorrectedError: () => isClockSkewCorrectedError,
|
|
10646
10777
|
isClockSkewError: () => isClockSkewError,
|
|
10647
10778
|
isRetryableByTrait: () => isRetryableByTrait,
|
|
@@ -10681,8 +10812,27 @@ var require_dist_cjs34 = __commonJS({
|
|
|
10681
10812
|
var isRetryableByTrait = /* @__PURE__ */ __name((error) => error.$retryable !== void 0, "isRetryableByTrait");
|
|
10682
10813
|
var isClockSkewError = /* @__PURE__ */ __name((error) => CLOCK_SKEW_ERROR_CODES.includes(error.name), "isClockSkewError");
|
|
10683
10814
|
var isClockSkewCorrectedError = /* @__PURE__ */ __name((error) => error.$metadata?.clockSkewCorrected, "isClockSkewCorrectedError");
|
|
10815
|
+
var isBrowserNetworkError = /* @__PURE__ */ __name((error) => {
|
|
10816
|
+
const errorMessages = /* @__PURE__ */ new Set([
|
|
10817
|
+
"Failed to fetch",
|
|
10818
|
+
// Chrome
|
|
10819
|
+
"NetworkError when attempting to fetch resource",
|
|
10820
|
+
// Firefox
|
|
10821
|
+
"The Internet connection appears to be offline",
|
|
10822
|
+
// Safari 16
|
|
10823
|
+
"Load failed",
|
|
10824
|
+
// Safari 17+
|
|
10825
|
+
"Network request failed"
|
|
10826
|
+
// `cross-fetch`
|
|
10827
|
+
]);
|
|
10828
|
+
const isValid = error && error instanceof TypeError;
|
|
10829
|
+
if (!isValid) {
|
|
10830
|
+
return false;
|
|
10831
|
+
}
|
|
10832
|
+
return errorMessages.has(error.message);
|
|
10833
|
+
}, "isBrowserNetworkError");
|
|
10684
10834
|
var isThrottlingError = /* @__PURE__ */ __name((error) => error.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error.name) || error.$retryable?.throttling == true, "isThrottlingError");
|
|
10685
|
-
var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1), "isTransientError");
|
|
10835
|
+
var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1), "isTransientError");
|
|
10686
10836
|
var isServerError = /* @__PURE__ */ __name((error) => {
|
|
10687
10837
|
if (error.$metadata?.httpStatusCode !== void 0) {
|
|
10688
10838
|
const statusCode = error.$metadata.httpStatusCode;
|
|
@@ -10696,9 +10846,9 @@ var require_dist_cjs34 = __commonJS({
|
|
|
10696
10846
|
}
|
|
10697
10847
|
});
|
|
10698
10848
|
|
|
10699
|
-
// node_modules/.pnpm/@smithy+util-retry@4.0.
|
|
10849
|
+
// node_modules/.pnpm/@smithy+util-retry@4.0.3/node_modules/@smithy/util-retry/dist-cjs/index.js
|
|
10700
10850
|
var require_dist_cjs35 = __commonJS({
|
|
10701
|
-
"node_modules/.pnpm/@smithy+util-retry@4.0.
|
|
10851
|
+
"node_modules/.pnpm/@smithy+util-retry@4.0.3/node_modules/@smithy/util-retry/dist-cjs/index.js"(exports2, module2) {
|
|
10702
10852
|
var __defProp2 = Object.defineProperty;
|
|
10703
10853
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
10704
10854
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -11017,9 +11167,9 @@ var require_dist_cjs35 = __commonJS({
|
|
|
11017
11167
|
}
|
|
11018
11168
|
});
|
|
11019
11169
|
|
|
11020
|
-
// node_modules/.pnpm/@smithy+middleware-retry@4.1.
|
|
11170
|
+
// node_modules/.pnpm/@smithy+middleware-retry@4.1.2/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js
|
|
11021
11171
|
var require_isStreamingPayload = __commonJS({
|
|
11022
|
-
"node_modules/.pnpm/@smithy+middleware-retry@4.1.
|
|
11172
|
+
"node_modules/.pnpm/@smithy+middleware-retry@4.1.2/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js"(exports2) {
|
|
11023
11173
|
"use strict";
|
|
11024
11174
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11025
11175
|
exports2.isStreamingPayload = void 0;
|
|
@@ -11029,9 +11179,9 @@ var require_isStreamingPayload = __commonJS({
|
|
|
11029
11179
|
}
|
|
11030
11180
|
});
|
|
11031
11181
|
|
|
11032
|
-
// node_modules/.pnpm/@smithy+middleware-retry@4.1.
|
|
11182
|
+
// node_modules/.pnpm/@smithy+middleware-retry@4.1.2/node_modules/@smithy/middleware-retry/dist-cjs/index.js
|
|
11033
11183
|
var require_dist_cjs36 = __commonJS({
|
|
11034
|
-
"node_modules/.pnpm/@smithy+middleware-retry@4.1.
|
|
11184
|
+
"node_modules/.pnpm/@smithy+middleware-retry@4.1.2/node_modules/@smithy/middleware-retry/dist-cjs/index.js"(exports2, module2) {
|
|
11035
11185
|
var __defProp2 = Object.defineProperty;
|
|
11036
11186
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
11037
11187
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -11402,9 +11552,9 @@ var require_dist_cjs36 = __commonJS({
|
|
|
11402
11552
|
}
|
|
11403
11553
|
});
|
|
11404
11554
|
|
|
11405
|
-
// node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
11555
|
+
// node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/auth/httpAuthSchemeProvider.js
|
|
11406
11556
|
var require_httpAuthSchemeProvider = __commonJS({
|
|
11407
|
-
"node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
11557
|
+
"node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
|
11408
11558
|
"use strict";
|
|
11409
11559
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11410
11560
|
exports2.resolveHttpAuthSchemeConfig = exports2.defaultSQSHttpAuthSchemeProvider = exports2.defaultSQSHttpAuthSchemeParametersProvider = void 0;
|
|
@@ -11446,7 +11596,9 @@ var require_httpAuthSchemeProvider = __commonJS({
|
|
|
11446
11596
|
exports2.defaultSQSHttpAuthSchemeProvider = defaultSQSHttpAuthSchemeProvider;
|
|
11447
11597
|
var resolveHttpAuthSchemeConfig3 = (config) => {
|
|
11448
11598
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
11449
|
-
return Object.assign(config_0, {
|
|
11599
|
+
return Object.assign(config_0, {
|
|
11600
|
+
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? [])
|
|
11601
|
+
});
|
|
11450
11602
|
};
|
|
11451
11603
|
exports2.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig3;
|
|
11452
11604
|
}
|
|
@@ -11977,13 +12129,13 @@ var init_tslib_es6 = __esm({
|
|
|
11977
12129
|
}
|
|
11978
12130
|
});
|
|
11979
12131
|
|
|
11980
|
-
// node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
12132
|
+
// node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/package.json
|
|
11981
12133
|
var require_package = __commonJS({
|
|
11982
|
-
"node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
12134
|
+
"node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/package.json"(exports2, module2) {
|
|
11983
12135
|
module2.exports = {
|
|
11984
12136
|
name: "@aws-sdk/client-sqs",
|
|
11985
12137
|
description: "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
|
|
11986
|
-
version: "3.
|
|
12138
|
+
version: "3.799.0",
|
|
11987
12139
|
scripts: {
|
|
11988
12140
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
11989
12141
|
"build:cjs": "node ../../scripts/compilation/inline client-sqs",
|
|
@@ -12002,40 +12154,40 @@ var require_package = __commonJS({
|
|
|
12002
12154
|
dependencies: {
|
|
12003
12155
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
12004
12156
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
12005
|
-
"@aws-sdk/core": "3.
|
|
12006
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
12157
|
+
"@aws-sdk/core": "3.799.0",
|
|
12158
|
+
"@aws-sdk/credential-provider-node": "3.799.0",
|
|
12007
12159
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
12008
12160
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
12009
12161
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
12010
|
-
"@aws-sdk/middleware-sdk-sqs": "3.
|
|
12011
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
12162
|
+
"@aws-sdk/middleware-sdk-sqs": "3.798.0",
|
|
12163
|
+
"@aws-sdk/middleware-user-agent": "3.799.0",
|
|
12012
12164
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
12013
12165
|
"@aws-sdk/types": "3.775.0",
|
|
12014
12166
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
12015
12167
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
12016
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
12168
|
+
"@aws-sdk/util-user-agent-node": "3.799.0",
|
|
12017
12169
|
"@smithy/config-resolver": "^4.1.0",
|
|
12018
|
-
"@smithy/core": "^3.
|
|
12170
|
+
"@smithy/core": "^3.3.0",
|
|
12019
12171
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
12020
12172
|
"@smithy/hash-node": "^4.0.2",
|
|
12021
12173
|
"@smithy/invalid-dependency": "^4.0.2",
|
|
12022
12174
|
"@smithy/md5-js": "^4.0.2",
|
|
12023
12175
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
12024
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
12025
|
-
"@smithy/middleware-retry": "^4.1.
|
|
12176
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
|
12177
|
+
"@smithy/middleware-retry": "^4.1.1",
|
|
12026
12178
|
"@smithy/middleware-serde": "^4.0.3",
|
|
12027
12179
|
"@smithy/middleware-stack": "^4.0.2",
|
|
12028
12180
|
"@smithy/node-config-provider": "^4.0.2",
|
|
12029
12181
|
"@smithy/node-http-handler": "^4.0.4",
|
|
12030
12182
|
"@smithy/protocol-http": "^5.1.0",
|
|
12031
|
-
"@smithy/smithy-client": "^4.2.
|
|
12183
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
12032
12184
|
"@smithy/types": "^4.2.0",
|
|
12033
12185
|
"@smithy/url-parser": "^4.0.2",
|
|
12034
12186
|
"@smithy/util-base64": "^4.0.0",
|
|
12035
12187
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
12036
12188
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
12037
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
12038
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
12189
|
+
"@smithy/util-defaults-mode-browser": "^4.0.9",
|
|
12190
|
+
"@smithy/util-defaults-mode-node": "^4.0.9",
|
|
12039
12191
|
"@smithy/util-endpoints": "^3.0.2",
|
|
12040
12192
|
"@smithy/util-middleware": "^4.0.2",
|
|
12041
12193
|
"@smithy/util-retry": "^4.0.2",
|
|
@@ -12084,9 +12236,9 @@ var require_package = __commonJS({
|
|
|
12084
12236
|
}
|
|
12085
12237
|
});
|
|
12086
12238
|
|
|
12087
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-env@3.
|
|
12239
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-env@3.799.0/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js
|
|
12088
12240
|
var require_dist_cjs37 = __commonJS({
|
|
12089
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-env@3.
|
|
12241
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-env@3.799.0/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js"(exports2, module2) {
|
|
12090
12242
|
"use strict";
|
|
12091
12243
|
var __defProp2 = Object.defineProperty;
|
|
12092
12244
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -12546,9 +12698,9 @@ For more information, please visit: ` + STATIC_STABILITY_DOC_URL
|
|
|
12546
12698
|
}
|
|
12547
12699
|
});
|
|
12548
12700
|
|
|
12549
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
12701
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.799.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js
|
|
12550
12702
|
var require_checkUrl = __commonJS({
|
|
12551
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
12703
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.799.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js"(exports2) {
|
|
12552
12704
|
"use strict";
|
|
12553
12705
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12554
12706
|
exports2.checkUrl = void 0;
|
|
@@ -12589,9 +12741,9 @@ var require_checkUrl = __commonJS({
|
|
|
12589
12741
|
}
|
|
12590
12742
|
});
|
|
12591
12743
|
|
|
12592
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
12744
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.799.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js
|
|
12593
12745
|
var require_requestHelpers = __commonJS({
|
|
12594
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
12746
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.799.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js"(exports2) {
|
|
12595
12747
|
"use strict";
|
|
12596
12748
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12597
12749
|
exports2.getCredentials = exports2.createGetRequest = void 0;
|
|
@@ -12645,9 +12797,9 @@ var require_requestHelpers = __commonJS({
|
|
|
12645
12797
|
}
|
|
12646
12798
|
});
|
|
12647
12799
|
|
|
12648
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
12800
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.799.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js
|
|
12649
12801
|
var require_retry_wrapper = __commonJS({
|
|
12650
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
12802
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.799.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js"(exports2) {
|
|
12651
12803
|
"use strict";
|
|
12652
12804
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12653
12805
|
exports2.retryWrapper = void 0;
|
|
@@ -12667,9 +12819,9 @@ var require_retry_wrapper = __commonJS({
|
|
|
12667
12819
|
}
|
|
12668
12820
|
});
|
|
12669
12821
|
|
|
12670
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
12822
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.799.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js
|
|
12671
12823
|
var require_fromHttp = __commonJS({
|
|
12672
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
12824
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.799.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js"(exports2) {
|
|
12673
12825
|
"use strict";
|
|
12674
12826
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12675
12827
|
exports2.fromHttp = void 0;
|
|
@@ -12735,9 +12887,9 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
|
|
|
12735
12887
|
}
|
|
12736
12888
|
});
|
|
12737
12889
|
|
|
12738
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
12890
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-http@3.799.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js
|
|
12739
12891
|
var require_dist_cjs39 = __commonJS({
|
|
12740
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.
|
|
12892
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-http@3.799.0/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js"(exports2) {
|
|
12741
12893
|
"use strict";
|
|
12742
12894
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12743
12895
|
exports2.fromHttp = void 0;
|
|
@@ -12748,9 +12900,9 @@ var require_dist_cjs39 = __commonJS({
|
|
|
12748
12900
|
}
|
|
12749
12901
|
});
|
|
12750
12902
|
|
|
12751
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
12903
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js
|
|
12752
12904
|
var require_httpAuthSchemeProvider2 = __commonJS({
|
|
12753
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
12905
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
|
12754
12906
|
"use strict";
|
|
12755
12907
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12756
12908
|
exports2.resolveHttpAuthSchemeConfig = exports2.defaultSSOHttpAuthSchemeProvider = exports2.defaultSSOHttpAuthSchemeParametersProvider = void 0;
|
|
@@ -12813,19 +12965,21 @@ var require_httpAuthSchemeProvider2 = __commonJS({
|
|
|
12813
12965
|
exports2.defaultSSOHttpAuthSchemeProvider = defaultSSOHttpAuthSchemeProvider;
|
|
12814
12966
|
var resolveHttpAuthSchemeConfig3 = (config) => {
|
|
12815
12967
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
12816
|
-
return Object.assign(config_0, {
|
|
12968
|
+
return Object.assign(config_0, {
|
|
12969
|
+
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? [])
|
|
12970
|
+
});
|
|
12817
12971
|
};
|
|
12818
12972
|
exports2.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig3;
|
|
12819
12973
|
}
|
|
12820
12974
|
});
|
|
12821
12975
|
|
|
12822
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
12976
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/package.json
|
|
12823
12977
|
var require_package2 = __commonJS({
|
|
12824
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
12978
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/package.json"(exports2, module2) {
|
|
12825
12979
|
module2.exports = {
|
|
12826
12980
|
name: "@aws-sdk/client-sso",
|
|
12827
12981
|
description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
12828
|
-
version: "3.
|
|
12982
|
+
version: "3.799.0",
|
|
12829
12983
|
scripts: {
|
|
12830
12984
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
12831
12985
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -12844,37 +12998,37 @@ var require_package2 = __commonJS({
|
|
|
12844
12998
|
dependencies: {
|
|
12845
12999
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
12846
13000
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
12847
|
-
"@aws-sdk/core": "3.
|
|
13001
|
+
"@aws-sdk/core": "3.799.0",
|
|
12848
13002
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
12849
13003
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
12850
13004
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
12851
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
13005
|
+
"@aws-sdk/middleware-user-agent": "3.799.0",
|
|
12852
13006
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
12853
13007
|
"@aws-sdk/types": "3.775.0",
|
|
12854
13008
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
12855
13009
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
12856
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
13010
|
+
"@aws-sdk/util-user-agent-node": "3.799.0",
|
|
12857
13011
|
"@smithy/config-resolver": "^4.1.0",
|
|
12858
|
-
"@smithy/core": "^3.
|
|
13012
|
+
"@smithy/core": "^3.3.0",
|
|
12859
13013
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
12860
13014
|
"@smithy/hash-node": "^4.0.2",
|
|
12861
13015
|
"@smithy/invalid-dependency": "^4.0.2",
|
|
12862
13016
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
12863
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
12864
|
-
"@smithy/middleware-retry": "^4.1.
|
|
13017
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
|
13018
|
+
"@smithy/middleware-retry": "^4.1.1",
|
|
12865
13019
|
"@smithy/middleware-serde": "^4.0.3",
|
|
12866
13020
|
"@smithy/middleware-stack": "^4.0.2",
|
|
12867
13021
|
"@smithy/node-config-provider": "^4.0.2",
|
|
12868
13022
|
"@smithy/node-http-handler": "^4.0.4",
|
|
12869
13023
|
"@smithy/protocol-http": "^5.1.0",
|
|
12870
|
-
"@smithy/smithy-client": "^4.2.
|
|
13024
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
12871
13025
|
"@smithy/types": "^4.2.0",
|
|
12872
13026
|
"@smithy/url-parser": "^4.0.2",
|
|
12873
13027
|
"@smithy/util-base64": "^4.0.0",
|
|
12874
13028
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
12875
13029
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
12876
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
12877
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
13030
|
+
"@smithy/util-defaults-mode-browser": "^4.0.9",
|
|
13031
|
+
"@smithy/util-defaults-mode-node": "^4.0.9",
|
|
12878
13032
|
"@smithy/util-endpoints": "^3.0.2",
|
|
12879
13033
|
"@smithy/util-middleware": "^4.0.2",
|
|
12880
13034
|
"@smithy/util-retry": "^4.0.2",
|
|
@@ -12923,9 +13077,9 @@ var require_package2 = __commonJS({
|
|
|
12923
13077
|
}
|
|
12924
13078
|
});
|
|
12925
13079
|
|
|
12926
|
-
// node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.
|
|
13080
|
+
// node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.799.0/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
|
|
12927
13081
|
var require_dist_cjs40 = __commonJS({
|
|
12928
|
-
"node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.
|
|
13082
|
+
"node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.799.0/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js"(exports2, module2) {
|
|
12929
13083
|
"use strict";
|
|
12930
13084
|
var __defProp2 = Object.defineProperty;
|
|
12931
13085
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -13122,68 +13276,466 @@ var require_dist_cjs42 = __commonJS({
|
|
|
13122
13276
|
}
|
|
13123
13277
|
});
|
|
13124
13278
|
|
|
13125
|
-
// node_modules/.pnpm/@
|
|
13126
|
-
var
|
|
13127
|
-
"node_modules/.pnpm/@
|
|
13128
|
-
|
|
13129
|
-
|
|
13130
|
-
|
|
13131
|
-
var
|
|
13132
|
-
var
|
|
13133
|
-
var
|
|
13134
|
-
|
|
13135
|
-
|
|
13136
|
-
var b3 = "isSet";
|
|
13137
|
-
var c3 = "booleanEquals";
|
|
13138
|
-
var d3 = "error";
|
|
13139
|
-
var e3 = "endpoint";
|
|
13140
|
-
var f3 = "tree";
|
|
13141
|
-
var g3 = "PartitionResult";
|
|
13142
|
-
var h3 = "getAttr";
|
|
13143
|
-
var i3 = { [u3]: false, "type": "String" };
|
|
13144
|
-
var j3 = { [u3]: true, "default": false, "type": "Boolean" };
|
|
13145
|
-
var k3 = { [x3]: "Endpoint" };
|
|
13146
|
-
var l3 = { [v6]: c3, [w3]: [{ [x3]: "UseFIPS" }, true] };
|
|
13147
|
-
var m3 = { [v6]: c3, [w3]: [{ [x3]: "UseDualStack" }, true] };
|
|
13148
|
-
var n3 = {};
|
|
13149
|
-
var o3 = { [v6]: h3, [w3]: [{ [x3]: g3 }, "supportsFIPS"] };
|
|
13150
|
-
var p3 = { [x3]: g3 };
|
|
13151
|
-
var q3 = { [v6]: c3, [w3]: [true, { [v6]: h3, [w3]: [p3, "supportsDualStack"] }] };
|
|
13152
|
-
var r3 = [l3];
|
|
13153
|
-
var s3 = [m3];
|
|
13154
|
-
var t3 = [{ [x3]: "Region" }];
|
|
13155
|
-
var _data3 = { version: "1.0", parameters: { Region: i3, UseDualStack: j3, UseFIPS: j3, Endpoint: i3 }, rules: [{ conditions: [{ [v6]: b3, [w3]: [k3] }], rules: [{ conditions: r3, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d3 }, { conditions: s3, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d3 }, { endpoint: { url: k3, properties: n3, headers: n3 }, type: e3 }], type: f3 }, { conditions: [{ [v6]: b3, [w3]: t3 }], rules: [{ conditions: [{ [v6]: "aws.partition", [w3]: t3, assign: g3 }], rules: [{ conditions: [l3, m3], rules: [{ conditions: [{ [v6]: c3, [w3]: [a3, o3] }, q3], rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n3, headers: n3 }, type: e3 }], type: f3 }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d3 }], type: f3 }, { conditions: r3, rules: [{ conditions: [{ [v6]: c3, [w3]: [o3, a3] }], rules: [{ conditions: [{ [v6]: "stringEquals", [w3]: [{ [v6]: h3, [w3]: [p3, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://portal.sso.{Region}.amazonaws.com", properties: n3, headers: n3 }, type: e3 }, { endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n3, headers: n3 }, type: e3 }], type: f3 }, { error: "FIPS is enabled but this partition does not support FIPS", type: d3 }], type: f3 }, { conditions: s3, rules: [{ conditions: [q3], rules: [{ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n3, headers: n3 }, type: e3 }], type: f3 }, { error: "DualStack is enabled but this partition does not support DualStack", type: d3 }], type: f3 }, { endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n3, headers: n3 }, type: e3 }], type: f3 }], type: f3 }, { error: "Invalid Configuration: Missing Region", type: d3 }] };
|
|
13156
|
-
exports2.ruleSet = _data3;
|
|
13157
|
-
}
|
|
13158
|
-
});
|
|
13159
|
-
|
|
13160
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.787.0/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js
|
|
13161
|
-
var require_endpointResolver = __commonJS({
|
|
13162
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.787.0/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
|
13163
|
-
"use strict";
|
|
13164
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
13165
|
-
exports2.defaultEndpointResolver = void 0;
|
|
13166
|
-
var util_endpoints_1 = require_dist_cjs22();
|
|
13167
|
-
var util_endpoints_2 = require_dist_cjs21();
|
|
13168
|
-
var ruleset_1 = require_ruleset();
|
|
13169
|
-
var cache3 = new util_endpoints_2.EndpointCache({
|
|
13170
|
-
size: 50,
|
|
13171
|
-
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
13172
|
-
});
|
|
13173
|
-
var defaultEndpointResolver3 = (endpointParams, context = {}) => {
|
|
13174
|
-
return cache3.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
13175
|
-
endpointParams,
|
|
13176
|
-
logger: context.logger
|
|
13177
|
-
}));
|
|
13279
|
+
// node_modules/.pnpm/@smithy+service-error-classification@4.0.2/node_modules/@smithy/service-error-classification/dist-cjs/index.js
|
|
13280
|
+
var require_dist_cjs43 = __commonJS({
|
|
13281
|
+
"node_modules/.pnpm/@smithy+service-error-classification@4.0.2/node_modules/@smithy/service-error-classification/dist-cjs/index.js"(exports2, module2) {
|
|
13282
|
+
var __defProp2 = Object.defineProperty;
|
|
13283
|
+
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
13284
|
+
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
13285
|
+
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
13286
|
+
var __name = (target, value) => __defProp2(target, "name", { value, configurable: true });
|
|
13287
|
+
var __export2 = (target, all) => {
|
|
13288
|
+
for (var name in all)
|
|
13289
|
+
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
13178
13290
|
};
|
|
13179
|
-
|
|
13180
|
-
|
|
13181
|
-
|
|
13182
|
-
|
|
13183
|
-
|
|
13184
|
-
|
|
13185
|
-
|
|
13186
|
-
|
|
13291
|
+
var __copyProps2 = (to, from, except, desc) => {
|
|
13292
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13293
|
+
for (let key of __getOwnPropNames2(from))
|
|
13294
|
+
if (!__hasOwnProp2.call(to, key) && key !== except)
|
|
13295
|
+
__defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
13296
|
+
}
|
|
13297
|
+
return to;
|
|
13298
|
+
};
|
|
13299
|
+
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
13300
|
+
var src_exports = {};
|
|
13301
|
+
__export2(src_exports, {
|
|
13302
|
+
isClockSkewCorrectedError: () => isClockSkewCorrectedError,
|
|
13303
|
+
isClockSkewError: () => isClockSkewError,
|
|
13304
|
+
isRetryableByTrait: () => isRetryableByTrait,
|
|
13305
|
+
isServerError: () => isServerError,
|
|
13306
|
+
isThrottlingError: () => isThrottlingError,
|
|
13307
|
+
isTransientError: () => isTransientError
|
|
13308
|
+
});
|
|
13309
|
+
module2.exports = __toCommonJS2(src_exports);
|
|
13310
|
+
var CLOCK_SKEW_ERROR_CODES = [
|
|
13311
|
+
"AuthFailure",
|
|
13312
|
+
"InvalidSignatureException",
|
|
13313
|
+
"RequestExpired",
|
|
13314
|
+
"RequestInTheFuture",
|
|
13315
|
+
"RequestTimeTooSkewed",
|
|
13316
|
+
"SignatureDoesNotMatch"
|
|
13317
|
+
];
|
|
13318
|
+
var THROTTLING_ERROR_CODES = [
|
|
13319
|
+
"BandwidthLimitExceeded",
|
|
13320
|
+
"EC2ThrottledException",
|
|
13321
|
+
"LimitExceededException",
|
|
13322
|
+
"PriorRequestNotComplete",
|
|
13323
|
+
"ProvisionedThroughputExceededException",
|
|
13324
|
+
"RequestLimitExceeded",
|
|
13325
|
+
"RequestThrottled",
|
|
13326
|
+
"RequestThrottledException",
|
|
13327
|
+
"SlowDown",
|
|
13328
|
+
"ThrottledException",
|
|
13329
|
+
"Throttling",
|
|
13330
|
+
"ThrottlingException",
|
|
13331
|
+
"TooManyRequestsException",
|
|
13332
|
+
"TransactionInProgressException"
|
|
13333
|
+
// DynamoDB
|
|
13334
|
+
];
|
|
13335
|
+
var TRANSIENT_ERROR_CODES = ["TimeoutError", "RequestTimeout", "RequestTimeoutException"];
|
|
13336
|
+
var TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504];
|
|
13337
|
+
var NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"];
|
|
13338
|
+
var isRetryableByTrait = /* @__PURE__ */ __name((error) => error.$retryable !== void 0, "isRetryableByTrait");
|
|
13339
|
+
var isClockSkewError = /* @__PURE__ */ __name((error) => CLOCK_SKEW_ERROR_CODES.includes(error.name), "isClockSkewError");
|
|
13340
|
+
var isClockSkewCorrectedError = /* @__PURE__ */ __name((error) => error.$metadata?.clockSkewCorrected, "isClockSkewCorrectedError");
|
|
13341
|
+
var isThrottlingError = /* @__PURE__ */ __name((error) => error.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error.name) || error.$retryable?.throttling == true, "isThrottlingError");
|
|
13342
|
+
var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1), "isTransientError");
|
|
13343
|
+
var isServerError = /* @__PURE__ */ __name((error) => {
|
|
13344
|
+
if (error.$metadata?.httpStatusCode !== void 0) {
|
|
13345
|
+
const statusCode = error.$metadata.httpStatusCode;
|
|
13346
|
+
if (500 <= statusCode && statusCode <= 599 && !isTransientError(error)) {
|
|
13347
|
+
return true;
|
|
13348
|
+
}
|
|
13349
|
+
return false;
|
|
13350
|
+
}
|
|
13351
|
+
return false;
|
|
13352
|
+
}, "isServerError");
|
|
13353
|
+
}
|
|
13354
|
+
});
|
|
13355
|
+
|
|
13356
|
+
// node_modules/.pnpm/@smithy+util-retry@4.0.2/node_modules/@smithy/util-retry/dist-cjs/index.js
|
|
13357
|
+
var require_dist_cjs44 = __commonJS({
|
|
13358
|
+
"node_modules/.pnpm/@smithy+util-retry@4.0.2/node_modules/@smithy/util-retry/dist-cjs/index.js"(exports2, module2) {
|
|
13359
|
+
var __defProp2 = Object.defineProperty;
|
|
13360
|
+
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
13361
|
+
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
13362
|
+
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
13363
|
+
var __name = (target, value) => __defProp2(target, "name", { value, configurable: true });
|
|
13364
|
+
var __export2 = (target, all) => {
|
|
13365
|
+
for (var name in all)
|
|
13366
|
+
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
13367
|
+
};
|
|
13368
|
+
var __copyProps2 = (to, from, except, desc) => {
|
|
13369
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13370
|
+
for (let key of __getOwnPropNames2(from))
|
|
13371
|
+
if (!__hasOwnProp2.call(to, key) && key !== except)
|
|
13372
|
+
__defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
13373
|
+
}
|
|
13374
|
+
return to;
|
|
13375
|
+
};
|
|
13376
|
+
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
13377
|
+
var src_exports = {};
|
|
13378
|
+
__export2(src_exports, {
|
|
13379
|
+
AdaptiveRetryStrategy: () => AdaptiveRetryStrategy,
|
|
13380
|
+
ConfiguredRetryStrategy: () => ConfiguredRetryStrategy,
|
|
13381
|
+
DEFAULT_MAX_ATTEMPTS: () => DEFAULT_MAX_ATTEMPTS,
|
|
13382
|
+
DEFAULT_RETRY_DELAY_BASE: () => DEFAULT_RETRY_DELAY_BASE,
|
|
13383
|
+
DEFAULT_RETRY_MODE: () => DEFAULT_RETRY_MODE3,
|
|
13384
|
+
DefaultRateLimiter: () => DefaultRateLimiter,
|
|
13385
|
+
INITIAL_RETRY_TOKENS: () => INITIAL_RETRY_TOKENS,
|
|
13386
|
+
INVOCATION_ID_HEADER: () => INVOCATION_ID_HEADER,
|
|
13387
|
+
MAXIMUM_RETRY_DELAY: () => MAXIMUM_RETRY_DELAY,
|
|
13388
|
+
NO_RETRY_INCREMENT: () => NO_RETRY_INCREMENT,
|
|
13389
|
+
REQUEST_HEADER: () => REQUEST_HEADER,
|
|
13390
|
+
RETRY_COST: () => RETRY_COST,
|
|
13391
|
+
RETRY_MODES: () => RETRY_MODES,
|
|
13392
|
+
StandardRetryStrategy: () => StandardRetryStrategy,
|
|
13393
|
+
THROTTLING_RETRY_DELAY_BASE: () => THROTTLING_RETRY_DELAY_BASE,
|
|
13394
|
+
TIMEOUT_RETRY_COST: () => TIMEOUT_RETRY_COST
|
|
13395
|
+
});
|
|
13396
|
+
module2.exports = __toCommonJS2(src_exports);
|
|
13397
|
+
var RETRY_MODES = /* @__PURE__ */ ((RETRY_MODES2) => {
|
|
13398
|
+
RETRY_MODES2["STANDARD"] = "standard";
|
|
13399
|
+
RETRY_MODES2["ADAPTIVE"] = "adaptive";
|
|
13400
|
+
return RETRY_MODES2;
|
|
13401
|
+
})(RETRY_MODES || {});
|
|
13402
|
+
var DEFAULT_MAX_ATTEMPTS = 3;
|
|
13403
|
+
var DEFAULT_RETRY_MODE3 = "standard";
|
|
13404
|
+
var import_service_error_classification = require_dist_cjs43();
|
|
13405
|
+
var DefaultRateLimiter = class _DefaultRateLimiter {
|
|
13406
|
+
constructor(options) {
|
|
13407
|
+
this.currentCapacity = 0;
|
|
13408
|
+
this.enabled = false;
|
|
13409
|
+
this.lastMaxRate = 0;
|
|
13410
|
+
this.measuredTxRate = 0;
|
|
13411
|
+
this.requestCount = 0;
|
|
13412
|
+
this.lastTimestamp = 0;
|
|
13413
|
+
this.timeWindow = 0;
|
|
13414
|
+
this.beta = options?.beta ?? 0.7;
|
|
13415
|
+
this.minCapacity = options?.minCapacity ?? 1;
|
|
13416
|
+
this.minFillRate = options?.minFillRate ?? 0.5;
|
|
13417
|
+
this.scaleConstant = options?.scaleConstant ?? 0.4;
|
|
13418
|
+
this.smooth = options?.smooth ?? 0.8;
|
|
13419
|
+
const currentTimeInSeconds = this.getCurrentTimeInSeconds();
|
|
13420
|
+
this.lastThrottleTime = currentTimeInSeconds;
|
|
13421
|
+
this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds());
|
|
13422
|
+
this.fillRate = this.minFillRate;
|
|
13423
|
+
this.maxCapacity = this.minCapacity;
|
|
13424
|
+
}
|
|
13425
|
+
static {
|
|
13426
|
+
__name(this, "DefaultRateLimiter");
|
|
13427
|
+
}
|
|
13428
|
+
static {
|
|
13429
|
+
this.setTimeoutFn = setTimeout;
|
|
13430
|
+
}
|
|
13431
|
+
getCurrentTimeInSeconds() {
|
|
13432
|
+
return Date.now() / 1e3;
|
|
13433
|
+
}
|
|
13434
|
+
async getSendToken() {
|
|
13435
|
+
return this.acquireTokenBucket(1);
|
|
13436
|
+
}
|
|
13437
|
+
async acquireTokenBucket(amount) {
|
|
13438
|
+
if (!this.enabled) {
|
|
13439
|
+
return;
|
|
13440
|
+
}
|
|
13441
|
+
this.refillTokenBucket();
|
|
13442
|
+
if (amount > this.currentCapacity) {
|
|
13443
|
+
const delay = (amount - this.currentCapacity) / this.fillRate * 1e3;
|
|
13444
|
+
await new Promise((resolve) => _DefaultRateLimiter.setTimeoutFn(resolve, delay));
|
|
13445
|
+
}
|
|
13446
|
+
this.currentCapacity = this.currentCapacity - amount;
|
|
13447
|
+
}
|
|
13448
|
+
refillTokenBucket() {
|
|
13449
|
+
const timestamp = this.getCurrentTimeInSeconds();
|
|
13450
|
+
if (!this.lastTimestamp) {
|
|
13451
|
+
this.lastTimestamp = timestamp;
|
|
13452
|
+
return;
|
|
13453
|
+
}
|
|
13454
|
+
const fillAmount = (timestamp - this.lastTimestamp) * this.fillRate;
|
|
13455
|
+
this.currentCapacity = Math.min(this.maxCapacity, this.currentCapacity + fillAmount);
|
|
13456
|
+
this.lastTimestamp = timestamp;
|
|
13457
|
+
}
|
|
13458
|
+
updateClientSendingRate(response) {
|
|
13459
|
+
let calculatedRate;
|
|
13460
|
+
this.updateMeasuredRate();
|
|
13461
|
+
if ((0, import_service_error_classification.isThrottlingError)(response)) {
|
|
13462
|
+
const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate);
|
|
13463
|
+
this.lastMaxRate = rateToUse;
|
|
13464
|
+
this.calculateTimeWindow();
|
|
13465
|
+
this.lastThrottleTime = this.getCurrentTimeInSeconds();
|
|
13466
|
+
calculatedRate = this.cubicThrottle(rateToUse);
|
|
13467
|
+
this.enableTokenBucket();
|
|
13468
|
+
} else {
|
|
13469
|
+
this.calculateTimeWindow();
|
|
13470
|
+
calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds());
|
|
13471
|
+
}
|
|
13472
|
+
const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate);
|
|
13473
|
+
this.updateTokenBucketRate(newRate);
|
|
13474
|
+
}
|
|
13475
|
+
calculateTimeWindow() {
|
|
13476
|
+
this.timeWindow = this.getPrecise(Math.pow(this.lastMaxRate * (1 - this.beta) / this.scaleConstant, 1 / 3));
|
|
13477
|
+
}
|
|
13478
|
+
cubicThrottle(rateToUse) {
|
|
13479
|
+
return this.getPrecise(rateToUse * this.beta);
|
|
13480
|
+
}
|
|
13481
|
+
cubicSuccess(timestamp) {
|
|
13482
|
+
return this.getPrecise(
|
|
13483
|
+
this.scaleConstant * Math.pow(timestamp - this.lastThrottleTime - this.timeWindow, 3) + this.lastMaxRate
|
|
13484
|
+
);
|
|
13485
|
+
}
|
|
13486
|
+
enableTokenBucket() {
|
|
13487
|
+
this.enabled = true;
|
|
13488
|
+
}
|
|
13489
|
+
updateTokenBucketRate(newRate) {
|
|
13490
|
+
this.refillTokenBucket();
|
|
13491
|
+
this.fillRate = Math.max(newRate, this.minFillRate);
|
|
13492
|
+
this.maxCapacity = Math.max(newRate, this.minCapacity);
|
|
13493
|
+
this.currentCapacity = Math.min(this.currentCapacity, this.maxCapacity);
|
|
13494
|
+
}
|
|
13495
|
+
updateMeasuredRate() {
|
|
13496
|
+
const t3 = this.getCurrentTimeInSeconds();
|
|
13497
|
+
const timeBucket = Math.floor(t3 * 2) / 2;
|
|
13498
|
+
this.requestCount++;
|
|
13499
|
+
if (timeBucket > this.lastTxRateBucket) {
|
|
13500
|
+
const currentRate = this.requestCount / (timeBucket - this.lastTxRateBucket);
|
|
13501
|
+
this.measuredTxRate = this.getPrecise(currentRate * this.smooth + this.measuredTxRate * (1 - this.smooth));
|
|
13502
|
+
this.requestCount = 0;
|
|
13503
|
+
this.lastTxRateBucket = timeBucket;
|
|
13504
|
+
}
|
|
13505
|
+
}
|
|
13506
|
+
getPrecise(num) {
|
|
13507
|
+
return parseFloat(num.toFixed(8));
|
|
13508
|
+
}
|
|
13509
|
+
};
|
|
13510
|
+
var DEFAULT_RETRY_DELAY_BASE = 100;
|
|
13511
|
+
var MAXIMUM_RETRY_DELAY = 20 * 1e3;
|
|
13512
|
+
var THROTTLING_RETRY_DELAY_BASE = 500;
|
|
13513
|
+
var INITIAL_RETRY_TOKENS = 500;
|
|
13514
|
+
var RETRY_COST = 5;
|
|
13515
|
+
var TIMEOUT_RETRY_COST = 10;
|
|
13516
|
+
var NO_RETRY_INCREMENT = 1;
|
|
13517
|
+
var INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
|
|
13518
|
+
var REQUEST_HEADER = "amz-sdk-request";
|
|
13519
|
+
var getDefaultRetryBackoffStrategy = /* @__PURE__ */ __name(() => {
|
|
13520
|
+
let delayBase = DEFAULT_RETRY_DELAY_BASE;
|
|
13521
|
+
const computeNextBackoffDelay = /* @__PURE__ */ __name((attempts) => {
|
|
13522
|
+
return Math.floor(Math.min(MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));
|
|
13523
|
+
}, "computeNextBackoffDelay");
|
|
13524
|
+
const setDelayBase = /* @__PURE__ */ __name((delay) => {
|
|
13525
|
+
delayBase = delay;
|
|
13526
|
+
}, "setDelayBase");
|
|
13527
|
+
return {
|
|
13528
|
+
computeNextBackoffDelay,
|
|
13529
|
+
setDelayBase
|
|
13530
|
+
};
|
|
13531
|
+
}, "getDefaultRetryBackoffStrategy");
|
|
13532
|
+
var createDefaultRetryToken = /* @__PURE__ */ __name(({
|
|
13533
|
+
retryDelay,
|
|
13534
|
+
retryCount,
|
|
13535
|
+
retryCost
|
|
13536
|
+
}) => {
|
|
13537
|
+
const getRetryCount = /* @__PURE__ */ __name(() => retryCount, "getRetryCount");
|
|
13538
|
+
const getRetryDelay = /* @__PURE__ */ __name(() => Math.min(MAXIMUM_RETRY_DELAY, retryDelay), "getRetryDelay");
|
|
13539
|
+
const getRetryCost = /* @__PURE__ */ __name(() => retryCost, "getRetryCost");
|
|
13540
|
+
return {
|
|
13541
|
+
getRetryCount,
|
|
13542
|
+
getRetryDelay,
|
|
13543
|
+
getRetryCost
|
|
13544
|
+
};
|
|
13545
|
+
}, "createDefaultRetryToken");
|
|
13546
|
+
var StandardRetryStrategy = class {
|
|
13547
|
+
constructor(maxAttempts) {
|
|
13548
|
+
this.maxAttempts = maxAttempts;
|
|
13549
|
+
this.mode = "standard";
|
|
13550
|
+
this.capacity = INITIAL_RETRY_TOKENS;
|
|
13551
|
+
this.retryBackoffStrategy = getDefaultRetryBackoffStrategy();
|
|
13552
|
+
this.maxAttemptsProvider = typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts;
|
|
13553
|
+
}
|
|
13554
|
+
static {
|
|
13555
|
+
__name(this, "StandardRetryStrategy");
|
|
13556
|
+
}
|
|
13557
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
13558
|
+
async acquireInitialRetryToken(retryTokenScope) {
|
|
13559
|
+
return createDefaultRetryToken({
|
|
13560
|
+
retryDelay: DEFAULT_RETRY_DELAY_BASE,
|
|
13561
|
+
retryCount: 0
|
|
13562
|
+
});
|
|
13563
|
+
}
|
|
13564
|
+
async refreshRetryTokenForRetry(token, errorInfo) {
|
|
13565
|
+
const maxAttempts = await this.getMaxAttempts();
|
|
13566
|
+
if (this.shouldRetry(token, errorInfo, maxAttempts)) {
|
|
13567
|
+
const errorType = errorInfo.errorType;
|
|
13568
|
+
this.retryBackoffStrategy.setDelayBase(
|
|
13569
|
+
errorType === "THROTTLING" ? THROTTLING_RETRY_DELAY_BASE : DEFAULT_RETRY_DELAY_BASE
|
|
13570
|
+
);
|
|
13571
|
+
const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount());
|
|
13572
|
+
const retryDelay = errorInfo.retryAfterHint ? Math.max(errorInfo.retryAfterHint.getTime() - Date.now() || 0, delayFromErrorType) : delayFromErrorType;
|
|
13573
|
+
const capacityCost = this.getCapacityCost(errorType);
|
|
13574
|
+
this.capacity -= capacityCost;
|
|
13575
|
+
return createDefaultRetryToken({
|
|
13576
|
+
retryDelay,
|
|
13577
|
+
retryCount: token.getRetryCount() + 1,
|
|
13578
|
+
retryCost: capacityCost
|
|
13579
|
+
});
|
|
13580
|
+
}
|
|
13581
|
+
throw new Error("No retry token available");
|
|
13582
|
+
}
|
|
13583
|
+
recordSuccess(token) {
|
|
13584
|
+
this.capacity = Math.max(INITIAL_RETRY_TOKENS, this.capacity + (token.getRetryCost() ?? NO_RETRY_INCREMENT));
|
|
13585
|
+
}
|
|
13586
|
+
/**
|
|
13587
|
+
* @returns the current available retry capacity.
|
|
13588
|
+
*
|
|
13589
|
+
* This number decreases when retries are executed and refills when requests or retries succeed.
|
|
13590
|
+
*/
|
|
13591
|
+
getCapacity() {
|
|
13592
|
+
return this.capacity;
|
|
13593
|
+
}
|
|
13594
|
+
async getMaxAttempts() {
|
|
13595
|
+
try {
|
|
13596
|
+
return await this.maxAttemptsProvider();
|
|
13597
|
+
} catch (error) {
|
|
13598
|
+
console.warn(`Max attempts provider could not resolve. Using default of ${DEFAULT_MAX_ATTEMPTS}`);
|
|
13599
|
+
return DEFAULT_MAX_ATTEMPTS;
|
|
13600
|
+
}
|
|
13601
|
+
}
|
|
13602
|
+
shouldRetry(tokenToRenew, errorInfo, maxAttempts) {
|
|
13603
|
+
const attempts = tokenToRenew.getRetryCount() + 1;
|
|
13604
|
+
return attempts < maxAttempts && this.capacity >= this.getCapacityCost(errorInfo.errorType) && this.isRetryableError(errorInfo.errorType);
|
|
13605
|
+
}
|
|
13606
|
+
getCapacityCost(errorType) {
|
|
13607
|
+
return errorType === "TRANSIENT" ? TIMEOUT_RETRY_COST : RETRY_COST;
|
|
13608
|
+
}
|
|
13609
|
+
isRetryableError(errorType) {
|
|
13610
|
+
return errorType === "THROTTLING" || errorType === "TRANSIENT";
|
|
13611
|
+
}
|
|
13612
|
+
};
|
|
13613
|
+
var AdaptiveRetryStrategy = class {
|
|
13614
|
+
constructor(maxAttemptsProvider, options) {
|
|
13615
|
+
this.maxAttemptsProvider = maxAttemptsProvider;
|
|
13616
|
+
this.mode = "adaptive";
|
|
13617
|
+
const { rateLimiter } = options ?? {};
|
|
13618
|
+
this.rateLimiter = rateLimiter ?? new DefaultRateLimiter();
|
|
13619
|
+
this.standardRetryStrategy = new StandardRetryStrategy(maxAttemptsProvider);
|
|
13620
|
+
}
|
|
13621
|
+
static {
|
|
13622
|
+
__name(this, "AdaptiveRetryStrategy");
|
|
13623
|
+
}
|
|
13624
|
+
async acquireInitialRetryToken(retryTokenScope) {
|
|
13625
|
+
await this.rateLimiter.getSendToken();
|
|
13626
|
+
return this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope);
|
|
13627
|
+
}
|
|
13628
|
+
async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {
|
|
13629
|
+
this.rateLimiter.updateClientSendingRate(errorInfo);
|
|
13630
|
+
return this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew, errorInfo);
|
|
13631
|
+
}
|
|
13632
|
+
recordSuccess(token) {
|
|
13633
|
+
this.rateLimiter.updateClientSendingRate({});
|
|
13634
|
+
this.standardRetryStrategy.recordSuccess(token);
|
|
13635
|
+
}
|
|
13636
|
+
};
|
|
13637
|
+
var ConfiguredRetryStrategy = class extends StandardRetryStrategy {
|
|
13638
|
+
static {
|
|
13639
|
+
__name(this, "ConfiguredRetryStrategy");
|
|
13640
|
+
}
|
|
13641
|
+
/**
|
|
13642
|
+
* @param maxAttempts - the maximum number of retry attempts allowed.
|
|
13643
|
+
* e.g., if set to 3, then 4 total requests are possible.
|
|
13644
|
+
* @param computeNextBackoffDelay - a millisecond delay for each retry or a function that takes the retry attempt
|
|
13645
|
+
* and returns the delay.
|
|
13646
|
+
*
|
|
13647
|
+
* @example exponential backoff.
|
|
13648
|
+
* ```js
|
|
13649
|
+
* new Client({
|
|
13650
|
+
* retryStrategy: new ConfiguredRetryStrategy(3, (attempt) => attempt ** 2)
|
|
13651
|
+
* });
|
|
13652
|
+
* ```
|
|
13653
|
+
* @example constant delay.
|
|
13654
|
+
* ```js
|
|
13655
|
+
* new Client({
|
|
13656
|
+
* retryStrategy: new ConfiguredRetryStrategy(3, 2000)
|
|
13657
|
+
* });
|
|
13658
|
+
* ```
|
|
13659
|
+
*/
|
|
13660
|
+
constructor(maxAttempts, computeNextBackoffDelay = DEFAULT_RETRY_DELAY_BASE) {
|
|
13661
|
+
super(typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts);
|
|
13662
|
+
if (typeof computeNextBackoffDelay === "number") {
|
|
13663
|
+
this.computeNextBackoffDelay = () => computeNextBackoffDelay;
|
|
13664
|
+
} else {
|
|
13665
|
+
this.computeNextBackoffDelay = computeNextBackoffDelay;
|
|
13666
|
+
}
|
|
13667
|
+
}
|
|
13668
|
+
async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {
|
|
13669
|
+
const token = await super.refreshRetryTokenForRetry(tokenToRenew, errorInfo);
|
|
13670
|
+
token.getRetryDelay = () => this.computeNextBackoffDelay(token.getRetryCount());
|
|
13671
|
+
return token;
|
|
13672
|
+
}
|
|
13673
|
+
};
|
|
13674
|
+
}
|
|
13675
|
+
});
|
|
13676
|
+
|
|
13677
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js
|
|
13678
|
+
var require_ruleset = __commonJS({
|
|
13679
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js"(exports2) {
|
|
13680
|
+
"use strict";
|
|
13681
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
13682
|
+
exports2.ruleSet = void 0;
|
|
13683
|
+
var u3 = "required";
|
|
13684
|
+
var v6 = "fn";
|
|
13685
|
+
var w3 = "argv";
|
|
13686
|
+
var x3 = "ref";
|
|
13687
|
+
var a3 = true;
|
|
13688
|
+
var b3 = "isSet";
|
|
13689
|
+
var c3 = "booleanEquals";
|
|
13690
|
+
var d3 = "error";
|
|
13691
|
+
var e3 = "endpoint";
|
|
13692
|
+
var f3 = "tree";
|
|
13693
|
+
var g3 = "PartitionResult";
|
|
13694
|
+
var h3 = "getAttr";
|
|
13695
|
+
var i3 = { [u3]: false, "type": "String" };
|
|
13696
|
+
var j3 = { [u3]: true, "default": false, "type": "Boolean" };
|
|
13697
|
+
var k3 = { [x3]: "Endpoint" };
|
|
13698
|
+
var l3 = { [v6]: c3, [w3]: [{ [x3]: "UseFIPS" }, true] };
|
|
13699
|
+
var m3 = { [v6]: c3, [w3]: [{ [x3]: "UseDualStack" }, true] };
|
|
13700
|
+
var n3 = {};
|
|
13701
|
+
var o3 = { [v6]: h3, [w3]: [{ [x3]: g3 }, "supportsFIPS"] };
|
|
13702
|
+
var p3 = { [x3]: g3 };
|
|
13703
|
+
var q3 = { [v6]: c3, [w3]: [true, { [v6]: h3, [w3]: [p3, "supportsDualStack"] }] };
|
|
13704
|
+
var r3 = [l3];
|
|
13705
|
+
var s3 = [m3];
|
|
13706
|
+
var t3 = [{ [x3]: "Region" }];
|
|
13707
|
+
var _data3 = { version: "1.0", parameters: { Region: i3, UseDualStack: j3, UseFIPS: j3, Endpoint: i3 }, rules: [{ conditions: [{ [v6]: b3, [w3]: [k3] }], rules: [{ conditions: r3, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d3 }, { conditions: s3, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d3 }, { endpoint: { url: k3, properties: n3, headers: n3 }, type: e3 }], type: f3 }, { conditions: [{ [v6]: b3, [w3]: t3 }], rules: [{ conditions: [{ [v6]: "aws.partition", [w3]: t3, assign: g3 }], rules: [{ conditions: [l3, m3], rules: [{ conditions: [{ [v6]: c3, [w3]: [a3, o3] }, q3], rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n3, headers: n3 }, type: e3 }], type: f3 }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d3 }], type: f3 }, { conditions: r3, rules: [{ conditions: [{ [v6]: c3, [w3]: [o3, a3] }], rules: [{ conditions: [{ [v6]: "stringEquals", [w3]: [{ [v6]: h3, [w3]: [p3, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://portal.sso.{Region}.amazonaws.com", properties: n3, headers: n3 }, type: e3 }, { endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n3, headers: n3 }, type: e3 }], type: f3 }, { error: "FIPS is enabled but this partition does not support FIPS", type: d3 }], type: f3 }, { conditions: s3, rules: [{ conditions: [q3], rules: [{ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n3, headers: n3 }, type: e3 }], type: f3 }, { error: "DualStack is enabled but this partition does not support DualStack", type: d3 }], type: f3 }, { endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n3, headers: n3 }, type: e3 }], type: f3 }], type: f3 }, { error: "Invalid Configuration: Missing Region", type: d3 }] };
|
|
13708
|
+
exports2.ruleSet = _data3;
|
|
13709
|
+
}
|
|
13710
|
+
});
|
|
13711
|
+
|
|
13712
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js
|
|
13713
|
+
var require_endpointResolver = __commonJS({
|
|
13714
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
|
13715
|
+
"use strict";
|
|
13716
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
13717
|
+
exports2.defaultEndpointResolver = void 0;
|
|
13718
|
+
var util_endpoints_1 = require_dist_cjs22();
|
|
13719
|
+
var util_endpoints_2 = require_dist_cjs21();
|
|
13720
|
+
var ruleset_1 = require_ruleset();
|
|
13721
|
+
var cache3 = new util_endpoints_2.EndpointCache({
|
|
13722
|
+
size: 50,
|
|
13723
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
13724
|
+
});
|
|
13725
|
+
var defaultEndpointResolver3 = (endpointParams, context = {}) => {
|
|
13726
|
+
return cache3.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
13727
|
+
endpointParams,
|
|
13728
|
+
logger: context.logger
|
|
13729
|
+
}));
|
|
13730
|
+
};
|
|
13731
|
+
exports2.defaultEndpointResolver = defaultEndpointResolver3;
|
|
13732
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
13733
|
+
}
|
|
13734
|
+
});
|
|
13735
|
+
|
|
13736
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js
|
|
13737
|
+
var require_runtimeConfig_shared = __commonJS({
|
|
13738
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
|
13187
13739
|
"use strict";
|
|
13188
13740
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
13189
13741
|
exports2.getRuntimeConfig = void 0;
|
|
@@ -13227,9 +13779,9 @@ var require_runtimeConfig_shared = __commonJS({
|
|
|
13227
13779
|
}
|
|
13228
13780
|
});
|
|
13229
13781
|
|
|
13230
|
-
// node_modules/.pnpm/@smithy+util-defaults-mode-node@4.0.
|
|
13231
|
-
var
|
|
13232
|
-
"node_modules/.pnpm/@smithy+util-defaults-mode-node@4.0.
|
|
13782
|
+
// node_modules/.pnpm/@smithy+util-defaults-mode-node@4.0.9/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js
|
|
13783
|
+
var require_dist_cjs45 = __commonJS({
|
|
13784
|
+
"node_modules/.pnpm/@smithy+util-defaults-mode-node@4.0.9/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js"(exports2, module2) {
|
|
13233
13785
|
var __create2 = Object.create;
|
|
13234
13786
|
var __defProp2 = Object.defineProperty;
|
|
13235
13787
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -13336,9 +13888,9 @@ var require_dist_cjs43 = __commonJS({
|
|
|
13336
13888
|
}
|
|
13337
13889
|
});
|
|
13338
13890
|
|
|
13339
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
13891
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js
|
|
13340
13892
|
var require_runtimeConfig = __commonJS({
|
|
13341
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
13893
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js"(exports2) {
|
|
13342
13894
|
"use strict";
|
|
13343
13895
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
13344
13896
|
exports2.getRuntimeConfig = void 0;
|
|
@@ -13352,10 +13904,10 @@ var require_runtimeConfig = __commonJS({
|
|
|
13352
13904
|
var node_config_provider_1 = require_dist_cjs30();
|
|
13353
13905
|
var node_http_handler_1 = require_dist_cjs13();
|
|
13354
13906
|
var util_body_length_node_1 = require_dist_cjs42();
|
|
13355
|
-
var util_retry_1 =
|
|
13907
|
+
var util_retry_1 = require_dist_cjs44();
|
|
13356
13908
|
var runtimeConfig_shared_1 = require_runtimeConfig_shared();
|
|
13357
13909
|
var smithy_client_1 = require_dist_cjs17();
|
|
13358
|
-
var util_defaults_mode_node_1 =
|
|
13910
|
+
var util_defaults_mode_node_1 = require_dist_cjs45();
|
|
13359
13911
|
var smithy_client_2 = require_dist_cjs17();
|
|
13360
13912
|
var getRuntimeConfig5 = (config) => {
|
|
13361
13913
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
@@ -13369,6 +13921,7 @@ var require_runtimeConfig = __commonJS({
|
|
|
13369
13921
|
...config,
|
|
13370
13922
|
runtime: "node",
|
|
13371
13923
|
defaultsMode,
|
|
13924
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
13372
13925
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
13373
13926
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
13374
13927
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
@@ -13390,7 +13943,7 @@ var require_runtimeConfig = __commonJS({
|
|
|
13390
13943
|
});
|
|
13391
13944
|
|
|
13392
13945
|
// node_modules/.pnpm/@aws-sdk+region-config-resolver@3.775.0/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js
|
|
13393
|
-
var
|
|
13946
|
+
var require_dist_cjs46 = __commonJS({
|
|
13394
13947
|
"node_modules/.pnpm/@aws-sdk+region-config-resolver@3.775.0/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js"(exports2, module2) {
|
|
13395
13948
|
"use strict";
|
|
13396
13949
|
var __defProp2 = Object.defineProperty;
|
|
@@ -13476,9 +14029,9 @@ var require_dist_cjs44 = __commonJS({
|
|
|
13476
14029
|
}
|
|
13477
14030
|
});
|
|
13478
14031
|
|
|
13479
|
-
// node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
13480
|
-
var
|
|
13481
|
-
"node_modules/.pnpm/@aws-sdk+client-sso@3.
|
|
14032
|
+
// node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/index.js
|
|
14033
|
+
var require_dist_cjs47 = __commonJS({
|
|
14034
|
+
"node_modules/.pnpm/@aws-sdk+client-sso@3.799.0/node_modules/@aws-sdk/client-sso/dist-cjs/index.js"(exports2, module2) {
|
|
13482
14035
|
"use strict";
|
|
13483
14036
|
var __defProp2 = Object.defineProperty;
|
|
13484
14037
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -13546,7 +14099,7 @@ var require_dist_cjs45 = __commonJS({
|
|
|
13546
14099
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
13547
14100
|
};
|
|
13548
14101
|
var import_runtimeConfig5 = require_runtimeConfig();
|
|
13549
|
-
var import_region_config_resolver3 =
|
|
14102
|
+
var import_region_config_resolver3 = require_dist_cjs46();
|
|
13550
14103
|
var import_protocol_http11 = require_dist_cjs2();
|
|
13551
14104
|
var import_smithy_client25 = require_dist_cjs17();
|
|
13552
14105
|
var getHttpAuthExtensionConfiguration3 = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
@@ -14020,7 +14573,7 @@ var require_dist_cjs45 = __commonJS({
|
|
|
14020
14573
|
}
|
|
14021
14574
|
});
|
|
14022
14575
|
|
|
14023
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14576
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
|
|
14024
14577
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
14025
14578
|
return {
|
|
14026
14579
|
schemeId: "aws.auth#sigv4",
|
|
@@ -14043,7 +14596,7 @@ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
|
14043
14596
|
}
|
|
14044
14597
|
var import_util_middleware3, defaultSSOOIDCHttpAuthSchemeParametersProvider, defaultSSOOIDCHttpAuthSchemeProvider, resolveHttpAuthSchemeConfig;
|
|
14045
14598
|
var init_httpAuthSchemeProvider = __esm({
|
|
14046
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14599
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js"() {
|
|
14047
14600
|
init_dist_es2();
|
|
14048
14601
|
import_util_middleware3 = __toESM(require_dist_cjs19());
|
|
14049
14602
|
defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
@@ -14069,15 +14622,17 @@ var init_httpAuthSchemeProvider = __esm({
|
|
|
14069
14622
|
};
|
|
14070
14623
|
resolveHttpAuthSchemeConfig = (config) => {
|
|
14071
14624
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
14072
|
-
return Object.assign(config_0, {
|
|
14625
|
+
return Object.assign(config_0, {
|
|
14626
|
+
authSchemePreference: (0, import_util_middleware3.normalizeProvider)(config.authSchemePreference ?? [])
|
|
14627
|
+
});
|
|
14073
14628
|
};
|
|
14074
14629
|
}
|
|
14075
14630
|
});
|
|
14076
14631
|
|
|
14077
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14632
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js
|
|
14078
14633
|
var resolveClientEndpointParameters, commonParams;
|
|
14079
14634
|
var init_EndpointParameters = __esm({
|
|
14080
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14635
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js"() {
|
|
14081
14636
|
resolveClientEndpointParameters = (options) => {
|
|
14082
14637
|
return Object.assign(options, {
|
|
14083
14638
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
@@ -14094,13 +14649,13 @@ var init_EndpointParameters = __esm({
|
|
|
14094
14649
|
}
|
|
14095
14650
|
});
|
|
14096
14651
|
|
|
14097
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14652
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/package.json
|
|
14098
14653
|
var package_default;
|
|
14099
14654
|
var init_package = __esm({
|
|
14100
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14655
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/package.json"() {
|
|
14101
14656
|
package_default = {
|
|
14102
14657
|
name: "@aws-sdk/nested-clients",
|
|
14103
|
-
version: "3.
|
|
14658
|
+
version: "3.799.0",
|
|
14104
14659
|
description: "Nested clients for AWS SDK packages.",
|
|
14105
14660
|
main: "./dist-cjs/index.js",
|
|
14106
14661
|
module: "./dist-es/index.js",
|
|
@@ -14128,37 +14683,37 @@ var init_package = __esm({
|
|
|
14128
14683
|
dependencies: {
|
|
14129
14684
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
14130
14685
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
14131
|
-
"@aws-sdk/core": "3.
|
|
14686
|
+
"@aws-sdk/core": "3.799.0",
|
|
14132
14687
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
14133
14688
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
14134
14689
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
14135
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
14690
|
+
"@aws-sdk/middleware-user-agent": "3.799.0",
|
|
14136
14691
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
14137
14692
|
"@aws-sdk/types": "3.775.0",
|
|
14138
14693
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
14139
14694
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
14140
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
14695
|
+
"@aws-sdk/util-user-agent-node": "3.799.0",
|
|
14141
14696
|
"@smithy/config-resolver": "^4.1.0",
|
|
14142
|
-
"@smithy/core": "^3.
|
|
14697
|
+
"@smithy/core": "^3.3.0",
|
|
14143
14698
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
14144
14699
|
"@smithy/hash-node": "^4.0.2",
|
|
14145
14700
|
"@smithy/invalid-dependency": "^4.0.2",
|
|
14146
14701
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
14147
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
14148
|
-
"@smithy/middleware-retry": "^4.1.
|
|
14702
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
|
14703
|
+
"@smithy/middleware-retry": "^4.1.1",
|
|
14149
14704
|
"@smithy/middleware-serde": "^4.0.3",
|
|
14150
14705
|
"@smithy/middleware-stack": "^4.0.2",
|
|
14151
14706
|
"@smithy/node-config-provider": "^4.0.2",
|
|
14152
14707
|
"@smithy/node-http-handler": "^4.0.4",
|
|
14153
14708
|
"@smithy/protocol-http": "^5.1.0",
|
|
14154
|
-
"@smithy/smithy-client": "^4.2.
|
|
14709
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
14155
14710
|
"@smithy/types": "^4.2.0",
|
|
14156
14711
|
"@smithy/url-parser": "^4.0.2",
|
|
14157
14712
|
"@smithy/util-base64": "^4.0.0",
|
|
14158
14713
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
14159
14714
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
14160
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
14161
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
14715
|
+
"@smithy/util-defaults-mode-browser": "^4.0.9",
|
|
14716
|
+
"@smithy/util-defaults-mode-node": "^4.0.9",
|
|
14162
14717
|
"@smithy/util-endpoints": "^3.0.2",
|
|
14163
14718
|
"@smithy/util-middleware": "^4.0.2",
|
|
14164
14719
|
"@smithy/util-retry": "^4.0.2",
|
|
@@ -14216,10 +14771,10 @@ var init_package = __esm({
|
|
|
14216
14771
|
}
|
|
14217
14772
|
});
|
|
14218
14773
|
|
|
14219
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14774
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js
|
|
14220
14775
|
var u, v, w, x, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, _data, ruleSet;
|
|
14221
14776
|
var init_ruleset = __esm({
|
|
14222
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14777
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js"() {
|
|
14223
14778
|
u = "required";
|
|
14224
14779
|
v = "fn";
|
|
14225
14780
|
w = "argv";
|
|
@@ -14249,10 +14804,10 @@ var init_ruleset = __esm({
|
|
|
14249
14804
|
}
|
|
14250
14805
|
});
|
|
14251
14806
|
|
|
14252
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14807
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
|
|
14253
14808
|
var import_util_endpoints, import_util_endpoints2, cache, defaultEndpointResolver;
|
|
14254
14809
|
var init_endpointResolver = __esm({
|
|
14255
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14810
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js"() {
|
|
14256
14811
|
import_util_endpoints = __toESM(require_dist_cjs22());
|
|
14257
14812
|
import_util_endpoints2 = __toESM(require_dist_cjs21());
|
|
14258
14813
|
init_ruleset();
|
|
@@ -14270,10 +14825,10 @@ var init_endpointResolver = __esm({
|
|
|
14270
14825
|
}
|
|
14271
14826
|
});
|
|
14272
14827
|
|
|
14273
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14828
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
|
|
14274
14829
|
var import_smithy_client4, import_url_parser, import_util_base64, import_util_utf8, getRuntimeConfig;
|
|
14275
14830
|
var init_runtimeConfig_shared = __esm({
|
|
14276
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14831
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js"() {
|
|
14277
14832
|
init_dist_es2();
|
|
14278
14833
|
init_dist_es();
|
|
14279
14834
|
import_smithy_client4 = __toESM(require_dist_cjs17());
|
|
@@ -14313,10 +14868,10 @@ var init_runtimeConfig_shared = __esm({
|
|
|
14313
14868
|
}
|
|
14314
14869
|
});
|
|
14315
14870
|
|
|
14316
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14871
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
|
|
14317
14872
|
var import_util_user_agent_node, import_config_resolver, import_hash_node, import_middleware_retry, import_node_config_provider, import_node_http_handler, import_util_body_length_node, import_util_retry, import_smithy_client5, import_util_defaults_mode_node, import_smithy_client6, getRuntimeConfig2;
|
|
14318
14873
|
var init_runtimeConfig = __esm({
|
|
14319
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14874
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js"() {
|
|
14320
14875
|
init_package();
|
|
14321
14876
|
init_dist_es2();
|
|
14322
14877
|
import_util_user_agent_node = __toESM(require_dist_cjs40());
|
|
@@ -14326,10 +14881,10 @@ var init_runtimeConfig = __esm({
|
|
|
14326
14881
|
import_node_config_provider = __toESM(require_dist_cjs30());
|
|
14327
14882
|
import_node_http_handler = __toESM(require_dist_cjs13());
|
|
14328
14883
|
import_util_body_length_node = __toESM(require_dist_cjs42());
|
|
14329
|
-
import_util_retry = __toESM(
|
|
14884
|
+
import_util_retry = __toESM(require_dist_cjs44());
|
|
14330
14885
|
init_runtimeConfig_shared();
|
|
14331
14886
|
import_smithy_client5 = __toESM(require_dist_cjs17());
|
|
14332
|
-
import_util_defaults_mode_node = __toESM(
|
|
14887
|
+
import_util_defaults_mode_node = __toESM(require_dist_cjs45());
|
|
14333
14888
|
import_smithy_client6 = __toESM(require_dist_cjs17());
|
|
14334
14889
|
getRuntimeConfig2 = (config) => {
|
|
14335
14890
|
(0, import_smithy_client6.emitWarningIfUnsupportedVersion)(process.version);
|
|
@@ -14343,6 +14898,7 @@ var init_runtimeConfig = __esm({
|
|
|
14343
14898
|
...config,
|
|
14344
14899
|
runtime: "node",
|
|
14345
14900
|
defaultsMode,
|
|
14901
|
+
authSchemePreference: config?.authSchemePreference ?? (0, import_node_config_provider.loadConfig)(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
14346
14902
|
bodyLengthChecker: config?.bodyLengthChecker ?? import_util_body_length_node.calculateBodyLength,
|
|
14347
14903
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, import_util_user_agent_node.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
|
|
14348
14904
|
maxAttempts: config?.maxAttempts ?? (0, import_node_config_provider.loadConfig)(import_middleware_retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
@@ -14362,10 +14918,10 @@ var init_runtimeConfig = __esm({
|
|
|
14362
14918
|
}
|
|
14363
14919
|
});
|
|
14364
14920
|
|
|
14365
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14921
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js
|
|
14366
14922
|
var getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig;
|
|
14367
14923
|
var init_httpAuthExtensionConfiguration = __esm({
|
|
14368
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14924
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js"() {
|
|
14369
14925
|
getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
14370
14926
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
14371
14927
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -14406,11 +14962,11 @@ var init_httpAuthExtensionConfiguration = __esm({
|
|
|
14406
14962
|
}
|
|
14407
14963
|
});
|
|
14408
14964
|
|
|
14409
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14965
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
|
|
14410
14966
|
var import_region_config_resolver, import_protocol_http8, import_smithy_client7, resolveRuntimeExtensions;
|
|
14411
14967
|
var init_runtimeExtensions = __esm({
|
|
14412
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14413
|
-
import_region_config_resolver = __toESM(
|
|
14968
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js"() {
|
|
14969
|
+
import_region_config_resolver = __toESM(require_dist_cjs46());
|
|
14414
14970
|
import_protocol_http8 = __toESM(require_dist_cjs2());
|
|
14415
14971
|
import_smithy_client7 = __toESM(require_dist_cjs17());
|
|
14416
14972
|
init_httpAuthExtensionConfiguration();
|
|
@@ -14422,10 +14978,10 @@ var init_runtimeExtensions = __esm({
|
|
|
14422
14978
|
}
|
|
14423
14979
|
});
|
|
14424
14980
|
|
|
14425
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14981
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
|
|
14426
14982
|
var import_middleware_host_header, import_middleware_logger, import_middleware_recursion_detection, import_middleware_user_agent, import_config_resolver2, import_middleware_content_length, import_middleware_endpoint, import_middleware_retry2, import_smithy_client8, SSOOIDCClient;
|
|
14427
14983
|
var init_SSOOIDCClient = __esm({
|
|
14428
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
14984
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js"() {
|
|
14429
14985
|
import_middleware_host_header = __toESM(require_dist_cjs3());
|
|
14430
14986
|
import_middleware_logger = __toESM(require_dist_cjs4());
|
|
14431
14987
|
import_middleware_recursion_detection = __toESM(require_dist_cjs5());
|
|
@@ -14476,10 +15032,10 @@ var init_SSOOIDCClient = __esm({
|
|
|
14476
15032
|
}
|
|
14477
15033
|
});
|
|
14478
15034
|
|
|
14479
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15035
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js
|
|
14480
15036
|
var import_smithy_client9, SSOOIDCServiceException;
|
|
14481
15037
|
var init_SSOOIDCServiceException = __esm({
|
|
14482
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15038
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js"() {
|
|
14483
15039
|
import_smithy_client9 = __toESM(require_dist_cjs17());
|
|
14484
15040
|
SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smithy_client9.ServiceException {
|
|
14485
15041
|
constructor(options) {
|
|
@@ -14490,10 +15046,10 @@ var init_SSOOIDCServiceException = __esm({
|
|
|
14490
15046
|
}
|
|
14491
15047
|
});
|
|
14492
15048
|
|
|
14493
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15049
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js
|
|
14494
15050
|
var import_smithy_client10, AccessDeniedException, AuthorizationPendingException, CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException;
|
|
14495
15051
|
var init_models_0 = __esm({
|
|
14496
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15052
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js"() {
|
|
14497
15053
|
import_smithy_client10 = __toESM(require_dist_cjs17());
|
|
14498
15054
|
init_SSOOIDCServiceException();
|
|
14499
15055
|
AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
|
|
@@ -14687,10 +15243,10 @@ var init_models_0 = __esm({
|
|
|
14687
15243
|
}
|
|
14688
15244
|
});
|
|
14689
15245
|
|
|
14690
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15246
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js
|
|
14691
15247
|
var import_smithy_client11, se_CreateTokenCommand, de_CreateTokenCommand, de_CommandError, throwDefaultError, de_AccessDeniedExceptionRes, de_AuthorizationPendingExceptionRes, de_ExpiredTokenExceptionRes, de_InternalServerExceptionRes, de_InvalidClientExceptionRes, de_InvalidGrantExceptionRes, de_InvalidRequestExceptionRes, de_InvalidScopeExceptionRes, de_SlowDownExceptionRes, de_UnauthorizedClientExceptionRes, de_UnsupportedGrantTypeExceptionRes, deserializeMetadata;
|
|
14692
15248
|
var init_Aws_restJson1 = __esm({
|
|
14693
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15249
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js"() {
|
|
14694
15250
|
init_dist_es2();
|
|
14695
15251
|
init_dist_es();
|
|
14696
15252
|
import_smithy_client11 = __toESM(require_dist_cjs17());
|
|
@@ -14948,10 +15504,10 @@ var init_Aws_restJson1 = __esm({
|
|
|
14948
15504
|
}
|
|
14949
15505
|
});
|
|
14950
15506
|
|
|
14951
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15507
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
|
|
14952
15508
|
var import_middleware_endpoint2, import_middleware_serde2, import_smithy_client12, CreateTokenCommand;
|
|
14953
15509
|
var init_CreateTokenCommand = __esm({
|
|
14954
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15510
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js"() {
|
|
14955
15511
|
import_middleware_endpoint2 = __toESM(require_dist_cjs33());
|
|
14956
15512
|
import_middleware_serde2 = __toESM(require_dist_cjs20());
|
|
14957
15513
|
import_smithy_client12 = __toESM(require_dist_cjs17());
|
|
@@ -14968,10 +15524,10 @@ var init_CreateTokenCommand = __esm({
|
|
|
14968
15524
|
}
|
|
14969
15525
|
});
|
|
14970
15526
|
|
|
14971
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15527
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
|
|
14972
15528
|
var import_smithy_client13, commands, SSOOIDC;
|
|
14973
15529
|
var init_SSOOIDC = __esm({
|
|
14974
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15530
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js"() {
|
|
14975
15531
|
import_smithy_client13 = __toESM(require_dist_cjs17());
|
|
14976
15532
|
init_CreateTokenCommand();
|
|
14977
15533
|
init_SSOOIDCClient();
|
|
@@ -14984,21 +15540,21 @@ var init_SSOOIDC = __esm({
|
|
|
14984
15540
|
}
|
|
14985
15541
|
});
|
|
14986
15542
|
|
|
14987
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15543
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js
|
|
14988
15544
|
var init_commands = __esm({
|
|
14989
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15545
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js"() {
|
|
14990
15546
|
init_CreateTokenCommand();
|
|
14991
15547
|
}
|
|
14992
15548
|
});
|
|
14993
15549
|
|
|
14994
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15550
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js
|
|
14995
15551
|
var init_models = __esm({
|
|
14996
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15552
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js"() {
|
|
14997
15553
|
init_models_0();
|
|
14998
15554
|
}
|
|
14999
15555
|
});
|
|
15000
15556
|
|
|
15001
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15557
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js
|
|
15002
15558
|
var sso_oidc_exports = {};
|
|
15003
15559
|
__export(sso_oidc_exports, {
|
|
15004
15560
|
$Command: () => import_smithy_client12.Command,
|
|
@@ -15022,7 +15578,7 @@ __export(sso_oidc_exports, {
|
|
|
15022
15578
|
__Client: () => import_smithy_client8.Client
|
|
15023
15579
|
});
|
|
15024
15580
|
var init_sso_oidc = __esm({
|
|
15025
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15581
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js"() {
|
|
15026
15582
|
init_SSOOIDCClient();
|
|
15027
15583
|
init_SSOOIDC();
|
|
15028
15584
|
init_commands();
|
|
@@ -15031,9 +15587,9 @@ var init_sso_oidc = __esm({
|
|
|
15031
15587
|
}
|
|
15032
15588
|
});
|
|
15033
15589
|
|
|
15034
|
-
// node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
15035
|
-
var
|
|
15036
|
-
"node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
15590
|
+
// node_modules/.pnpm/@aws-sdk+token-providers@3.799.0/node_modules/@aws-sdk/token-providers/dist-cjs/index.js
|
|
15591
|
+
var require_dist_cjs48 = __commonJS({
|
|
15592
|
+
"node_modules/.pnpm/@aws-sdk+token-providers@3.799.0/node_modules/@aws-sdk/token-providers/dist-cjs/index.js"(exports2, module2) {
|
|
15037
15593
|
"use strict";
|
|
15038
15594
|
var __create2 = Object.create;
|
|
15039
15595
|
var __defProp2 = Object.defineProperty;
|
|
@@ -15219,9 +15775,9 @@ var require_dist_cjs46 = __commonJS({
|
|
|
15219
15775
|
}
|
|
15220
15776
|
});
|
|
15221
15777
|
|
|
15222
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.
|
|
15223
|
-
var
|
|
15224
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.
|
|
15778
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.799.0/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js
|
|
15779
|
+
var require_dist_cjs49 = __commonJS({
|
|
15780
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.799.0/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js"(exports2, module2) {
|
|
15225
15781
|
"use strict";
|
|
15226
15782
|
var __defProp2 = Object.defineProperty;
|
|
15227
15783
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -15253,7 +15809,7 @@ var require_dist_cjs47 = __commonJS({
|
|
|
15253
15809
|
var init_loadSso = __esm2({
|
|
15254
15810
|
"src/loadSso.ts"() {
|
|
15255
15811
|
"use strict";
|
|
15256
|
-
import_client_sso =
|
|
15812
|
+
import_client_sso = require_dist_cjs47();
|
|
15257
15813
|
}
|
|
15258
15814
|
});
|
|
15259
15815
|
var index_exports = {};
|
|
@@ -15265,7 +15821,7 @@ var require_dist_cjs47 = __commonJS({
|
|
|
15265
15821
|
module2.exports = __toCommonJS2(index_exports);
|
|
15266
15822
|
var isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string"), "isSsoProfile");
|
|
15267
15823
|
var import_client3 = (init_client(), __toCommonJS(client_exports));
|
|
15268
|
-
var import_token_providers =
|
|
15824
|
+
var import_token_providers = require_dist_cjs48();
|
|
15269
15825
|
var import_property_provider2 = require_dist_cjs23();
|
|
15270
15826
|
var import_shared_ini_file_loader = require_dist_cjs29();
|
|
15271
15827
|
var SHOULD_FAIL_CREDENTIAL_CHAIN = false;
|
|
@@ -15446,7 +16002,7 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
|
|
|
15446
16002
|
}
|
|
15447
16003
|
});
|
|
15448
16004
|
|
|
15449
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16005
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
|
|
15450
16006
|
function createAwsAuthSigv4HttpAuthOption2(authParameters) {
|
|
15451
16007
|
return {
|
|
15452
16008
|
schemeId: "aws.auth#sigv4",
|
|
@@ -15469,7 +16025,7 @@ function createSmithyApiNoAuthHttpAuthOption2(authParameters) {
|
|
|
15469
16025
|
}
|
|
15470
16026
|
var import_util_middleware4, defaultSTSHttpAuthSchemeParametersProvider, defaultSTSHttpAuthSchemeProvider, resolveStsAuthConfig, resolveHttpAuthSchemeConfig2;
|
|
15471
16027
|
var init_httpAuthSchemeProvider2 = __esm({
|
|
15472
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16028
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js"() {
|
|
15473
16029
|
init_dist_es2();
|
|
15474
16030
|
import_util_middleware4 = __toESM(require_dist_cjs19());
|
|
15475
16031
|
init_STSClient();
|
|
@@ -15500,15 +16056,17 @@ var init_httpAuthSchemeProvider2 = __esm({
|
|
|
15500
16056
|
resolveHttpAuthSchemeConfig2 = (config) => {
|
|
15501
16057
|
const config_0 = resolveStsAuthConfig(config);
|
|
15502
16058
|
const config_1 = resolveAwsSdkSigV4Config(config_0);
|
|
15503
|
-
return Object.assign(config_1, {
|
|
16059
|
+
return Object.assign(config_1, {
|
|
16060
|
+
authSchemePreference: (0, import_util_middleware4.normalizeProvider)(config.authSchemePreference ?? [])
|
|
16061
|
+
});
|
|
15504
16062
|
};
|
|
15505
16063
|
}
|
|
15506
16064
|
});
|
|
15507
16065
|
|
|
15508
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16066
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js
|
|
15509
16067
|
var resolveClientEndpointParameters2, commonParams2;
|
|
15510
16068
|
var init_EndpointParameters2 = __esm({
|
|
15511
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16069
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js"() {
|
|
15512
16070
|
resolveClientEndpointParameters2 = (options) => {
|
|
15513
16071
|
return Object.assign(options, {
|
|
15514
16072
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
@@ -15527,10 +16085,10 @@ var init_EndpointParameters2 = __esm({
|
|
|
15527
16085
|
}
|
|
15528
16086
|
});
|
|
15529
16087
|
|
|
15530
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16088
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js
|
|
15531
16089
|
var F, G, H, I, J, a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2, o2, p2, q2, r2, s2, t2, u2, v2, w2, x2, y, z, A, B, C, D, E, _data2, ruleSet2;
|
|
15532
16090
|
var init_ruleset2 = __esm({
|
|
15533
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16091
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js"() {
|
|
15534
16092
|
F = "required";
|
|
15535
16093
|
G = "type";
|
|
15536
16094
|
H = "fn";
|
|
@@ -15572,10 +16130,10 @@ var init_ruleset2 = __esm({
|
|
|
15572
16130
|
}
|
|
15573
16131
|
});
|
|
15574
16132
|
|
|
15575
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16133
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js
|
|
15576
16134
|
var import_util_endpoints3, import_util_endpoints4, cache2, defaultEndpointResolver2;
|
|
15577
16135
|
var init_endpointResolver2 = __esm({
|
|
15578
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16136
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js"() {
|
|
15579
16137
|
import_util_endpoints3 = __toESM(require_dist_cjs22());
|
|
15580
16138
|
import_util_endpoints4 = __toESM(require_dist_cjs21());
|
|
15581
16139
|
init_ruleset2();
|
|
@@ -15593,10 +16151,10 @@ var init_endpointResolver2 = __esm({
|
|
|
15593
16151
|
}
|
|
15594
16152
|
});
|
|
15595
16153
|
|
|
15596
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16154
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js
|
|
15597
16155
|
var import_smithy_client14, import_url_parser2, import_util_base642, import_util_utf82, getRuntimeConfig3;
|
|
15598
16156
|
var init_runtimeConfig_shared2 = __esm({
|
|
15599
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16157
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js"() {
|
|
15600
16158
|
init_dist_es2();
|
|
15601
16159
|
init_dist_es();
|
|
15602
16160
|
import_smithy_client14 = __toESM(require_dist_cjs17());
|
|
@@ -15636,10 +16194,10 @@ var init_runtimeConfig_shared2 = __esm({
|
|
|
15636
16194
|
}
|
|
15637
16195
|
});
|
|
15638
16196
|
|
|
15639
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16197
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js
|
|
15640
16198
|
var import_util_user_agent_node2, import_config_resolver3, import_hash_node2, import_middleware_retry3, import_node_config_provider2, import_node_http_handler2, import_util_body_length_node2, import_util_retry2, import_smithy_client15, import_util_defaults_mode_node2, import_smithy_client16, getRuntimeConfig4;
|
|
15641
16199
|
var init_runtimeConfig2 = __esm({
|
|
15642
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16200
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js"() {
|
|
15643
16201
|
init_package();
|
|
15644
16202
|
init_dist_es2();
|
|
15645
16203
|
import_util_user_agent_node2 = __toESM(require_dist_cjs40());
|
|
@@ -15650,10 +16208,10 @@ var init_runtimeConfig2 = __esm({
|
|
|
15650
16208
|
import_node_config_provider2 = __toESM(require_dist_cjs30());
|
|
15651
16209
|
import_node_http_handler2 = __toESM(require_dist_cjs13());
|
|
15652
16210
|
import_util_body_length_node2 = __toESM(require_dist_cjs42());
|
|
15653
|
-
import_util_retry2 = __toESM(
|
|
16211
|
+
import_util_retry2 = __toESM(require_dist_cjs44());
|
|
15654
16212
|
init_runtimeConfig_shared2();
|
|
15655
16213
|
import_smithy_client15 = __toESM(require_dist_cjs17());
|
|
15656
|
-
import_util_defaults_mode_node2 = __toESM(
|
|
16214
|
+
import_util_defaults_mode_node2 = __toESM(require_dist_cjs45());
|
|
15657
16215
|
import_smithy_client16 = __toESM(require_dist_cjs17());
|
|
15658
16216
|
getRuntimeConfig4 = (config) => {
|
|
15659
16217
|
(0, import_smithy_client16.emitWarningIfUnsupportedVersion)(process.version);
|
|
@@ -15667,6 +16225,7 @@ var init_runtimeConfig2 = __esm({
|
|
|
15667
16225
|
...config,
|
|
15668
16226
|
runtime: "node",
|
|
15669
16227
|
defaultsMode,
|
|
16228
|
+
authSchemePreference: config?.authSchemePreference ?? (0, import_node_config_provider2.loadConfig)(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
15670
16229
|
bodyLengthChecker: config?.bodyLengthChecker ?? import_util_body_length_node2.calculateBodyLength,
|
|
15671
16230
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, import_util_user_agent_node2.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
|
|
15672
16231
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
@@ -15698,10 +16257,10 @@ var init_runtimeConfig2 = __esm({
|
|
|
15698
16257
|
}
|
|
15699
16258
|
});
|
|
15700
16259
|
|
|
15701
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16260
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js
|
|
15702
16261
|
var getHttpAuthExtensionConfiguration2, resolveHttpAuthRuntimeConfig2;
|
|
15703
16262
|
var init_httpAuthExtensionConfiguration2 = __esm({
|
|
15704
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16263
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js"() {
|
|
15705
16264
|
getHttpAuthExtensionConfiguration2 = (runtimeConfig) => {
|
|
15706
16265
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
15707
16266
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -15742,11 +16301,11 @@ var init_httpAuthExtensionConfiguration2 = __esm({
|
|
|
15742
16301
|
}
|
|
15743
16302
|
});
|
|
15744
16303
|
|
|
15745
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16304
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js
|
|
15746
16305
|
var import_region_config_resolver2, import_protocol_http9, import_smithy_client17, resolveRuntimeExtensions2;
|
|
15747
16306
|
var init_runtimeExtensions2 = __esm({
|
|
15748
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
15749
|
-
import_region_config_resolver2 = __toESM(
|
|
16307
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js"() {
|
|
16308
|
+
import_region_config_resolver2 = __toESM(require_dist_cjs46());
|
|
15750
16309
|
import_protocol_http9 = __toESM(require_dist_cjs2());
|
|
15751
16310
|
import_smithy_client17 = __toESM(require_dist_cjs17());
|
|
15752
16311
|
init_httpAuthExtensionConfiguration2();
|
|
@@ -15758,10 +16317,10 @@ var init_runtimeExtensions2 = __esm({
|
|
|
15758
16317
|
}
|
|
15759
16318
|
});
|
|
15760
16319
|
|
|
15761
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16320
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js
|
|
15762
16321
|
var import_middleware_host_header2, import_middleware_logger2, import_middleware_recursion_detection2, import_middleware_user_agent2, import_config_resolver4, import_middleware_content_length2, import_middleware_endpoint3, import_middleware_retry4, import_smithy_client18, STSClient;
|
|
15763
16322
|
var init_STSClient = __esm({
|
|
15764
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16323
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js"() {
|
|
15765
16324
|
import_middleware_host_header2 = __toESM(require_dist_cjs3());
|
|
15766
16325
|
import_middleware_logger2 = __toESM(require_dist_cjs4());
|
|
15767
16326
|
import_middleware_recursion_detection2 = __toESM(require_dist_cjs5());
|
|
@@ -15812,10 +16371,10 @@ var init_STSClient = __esm({
|
|
|
15812
16371
|
}
|
|
15813
16372
|
});
|
|
15814
16373
|
|
|
15815
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16374
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js
|
|
15816
16375
|
var import_smithy_client19, STSServiceException;
|
|
15817
16376
|
var init_STSServiceException = __esm({
|
|
15818
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16377
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js"() {
|
|
15819
16378
|
import_smithy_client19 = __toESM(require_dist_cjs17());
|
|
15820
16379
|
STSServiceException = class _STSServiceException extends import_smithy_client19.ServiceException {
|
|
15821
16380
|
constructor(options) {
|
|
@@ -15826,10 +16385,10 @@ var init_STSServiceException = __esm({
|
|
|
15826
16385
|
}
|
|
15827
16386
|
});
|
|
15828
16387
|
|
|
15829
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16388
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js
|
|
15830
16389
|
var import_smithy_client20, CredentialsFilterSensitiveLog, AssumeRoleResponseFilterSensitiveLog, ExpiredTokenException2, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, IDPRejectedClaimException, InvalidIdentityTokenException, AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, IDPCommunicationErrorException;
|
|
15831
16390
|
var init_models_02 = __esm({
|
|
15832
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16391
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js"() {
|
|
15833
16392
|
import_smithy_client20 = __toESM(require_dist_cjs17());
|
|
15834
16393
|
init_STSServiceException();
|
|
15835
16394
|
CredentialsFilterSensitiveLog = (obj) => ({
|
|
@@ -15935,10 +16494,10 @@ var init_models_02 = __esm({
|
|
|
15935
16494
|
}
|
|
15936
16495
|
});
|
|
15937
16496
|
|
|
15938
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16497
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js
|
|
15939
16498
|
var import_protocol_http10, import_smithy_client21, se_AssumeRoleCommand, se_AssumeRoleWithWebIdentityCommand, de_AssumeRoleCommand, de_AssumeRoleWithWebIdentityCommand, de_CommandError2, de_ExpiredTokenExceptionRes2, de_IDPCommunicationErrorExceptionRes, de_IDPRejectedClaimExceptionRes, de_InvalidIdentityTokenExceptionRes, de_MalformedPolicyDocumentExceptionRes, de_PackedPolicyTooLargeExceptionRes, de_RegionDisabledExceptionRes, se_AssumeRoleRequest, se_AssumeRoleWithWebIdentityRequest, se_policyDescriptorListType, se_PolicyDescriptorType, se_ProvidedContext, se_ProvidedContextsListType, se_Tag, se_tagKeyListType, se_tagListType, de_AssumedRoleUser, de_AssumeRoleResponse, de_AssumeRoleWithWebIdentityResponse, de_Credentials, de_ExpiredTokenException, de_IDPCommunicationErrorException, de_IDPRejectedClaimException, de_InvalidIdentityTokenException, de_MalformedPolicyDocumentException, de_PackedPolicyTooLargeException, de_RegionDisabledException, deserializeMetadata2, throwDefaultError2, buildHttpRpcRequest, SHARED_HEADERS, _, _A, _AKI, _AR, _ARI, _ARU, _ARWWI, _Ar, _Au, _C, _CA, _DS, _E, _EI, _K, _P, _PA, _PAr, _PC, _PI, _PPS, _Pr, _RA, _RSN, _SAK, _SFWIT, _SI, _SN, _ST, _T, _TC, _TTK, _V, _Va, _WIT, _a, _m, buildFormUrlencodedString, loadQueryErrorCode;
|
|
15940
16499
|
var init_Aws_query = __esm({
|
|
15941
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
16500
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js"() {
|
|
15942
16501
|
init_dist_es2();
|
|
15943
16502
|
import_protocol_http10 = __toESM(require_dist_cjs2());
|
|
15944
16503
|
import_smithy_client21 = __toESM(require_dist_cjs17());
|
|
@@ -16467,10 +17026,10 @@ var init_Aws_query = __esm({
|
|
|
16467
17026
|
}
|
|
16468
17027
|
});
|
|
16469
17028
|
|
|
16470
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17029
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js
|
|
16471
17030
|
var import_middleware_endpoint4, import_middleware_serde3, import_smithy_client22, AssumeRoleCommand;
|
|
16472
17031
|
var init_AssumeRoleCommand = __esm({
|
|
16473
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17032
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js"() {
|
|
16474
17033
|
import_middleware_endpoint4 = __toESM(require_dist_cjs33());
|
|
16475
17034
|
import_middleware_serde3 = __toESM(require_dist_cjs20());
|
|
16476
17035
|
import_smithy_client22 = __toESM(require_dist_cjs17());
|
|
@@ -16487,10 +17046,10 @@ var init_AssumeRoleCommand = __esm({
|
|
|
16487
17046
|
}
|
|
16488
17047
|
});
|
|
16489
17048
|
|
|
16490
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17049
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js
|
|
16491
17050
|
var import_middleware_endpoint5, import_middleware_serde4, import_smithy_client23, AssumeRoleWithWebIdentityCommand;
|
|
16492
17051
|
var init_AssumeRoleWithWebIdentityCommand = __esm({
|
|
16493
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17052
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js"() {
|
|
16494
17053
|
import_middleware_endpoint5 = __toESM(require_dist_cjs33());
|
|
16495
17054
|
import_middleware_serde4 = __toESM(require_dist_cjs20());
|
|
16496
17055
|
import_smithy_client23 = __toESM(require_dist_cjs17());
|
|
@@ -16507,10 +17066,10 @@ var init_AssumeRoleWithWebIdentityCommand = __esm({
|
|
|
16507
17066
|
}
|
|
16508
17067
|
});
|
|
16509
17068
|
|
|
16510
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17069
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js
|
|
16511
17070
|
var import_smithy_client24, commands2, STS;
|
|
16512
17071
|
var init_STS = __esm({
|
|
16513
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17072
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js"() {
|
|
16514
17073
|
import_smithy_client24 = __toESM(require_dist_cjs17());
|
|
16515
17074
|
init_AssumeRoleCommand();
|
|
16516
17075
|
init_AssumeRoleWithWebIdentityCommand();
|
|
@@ -16525,25 +17084,25 @@ var init_STS = __esm({
|
|
|
16525
17084
|
}
|
|
16526
17085
|
});
|
|
16527
17086
|
|
|
16528
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17087
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js
|
|
16529
17088
|
var init_commands2 = __esm({
|
|
16530
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17089
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js"() {
|
|
16531
17090
|
init_AssumeRoleCommand();
|
|
16532
17091
|
init_AssumeRoleWithWebIdentityCommand();
|
|
16533
17092
|
}
|
|
16534
17093
|
});
|
|
16535
17094
|
|
|
16536
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17095
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/index.js
|
|
16537
17096
|
var init_models2 = __esm({
|
|
16538
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17097
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/index.js"() {
|
|
16539
17098
|
init_models_02();
|
|
16540
17099
|
}
|
|
16541
17100
|
});
|
|
16542
17101
|
|
|
16543
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17102
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js
|
|
16544
17103
|
var ASSUME_ROLE_DEFAULT_REGION, getAccountIdFromAssumedRoleUser, resolveRegion, getDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity, isH2;
|
|
16545
17104
|
var init_defaultStsRoleAssumers = __esm({
|
|
16546
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17105
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js"() {
|
|
16547
17106
|
init_client();
|
|
16548
17107
|
init_AssumeRoleCommand();
|
|
16549
17108
|
init_AssumeRoleWithWebIdentityCommand();
|
|
@@ -16637,10 +17196,10 @@ var init_defaultStsRoleAssumers = __esm({
|
|
|
16637
17196
|
}
|
|
16638
17197
|
});
|
|
16639
17198
|
|
|
16640
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17199
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js
|
|
16641
17200
|
var getCustomizableStsClientCtor, getDefaultRoleAssumer2, getDefaultRoleAssumerWithWebIdentity2, decorateDefaultCredentialProvider;
|
|
16642
17201
|
var init_defaultRoleAssumers = __esm({
|
|
16643
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17202
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js"() {
|
|
16644
17203
|
init_defaultStsRoleAssumers();
|
|
16645
17204
|
init_STSClient();
|
|
16646
17205
|
getCustomizableStsClientCtor = (baseCtor, customizations) => {
|
|
@@ -16666,7 +17225,7 @@ var init_defaultRoleAssumers = __esm({
|
|
|
16666
17225
|
}
|
|
16667
17226
|
});
|
|
16668
17227
|
|
|
16669
|
-
// node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17228
|
+
// node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js
|
|
16670
17229
|
var sts_exports = {};
|
|
16671
17230
|
__export(sts_exports, {
|
|
16672
17231
|
AssumeRoleCommand: () => AssumeRoleCommand,
|
|
@@ -16691,7 +17250,7 @@ __export(sts_exports, {
|
|
|
16691
17250
|
getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2
|
|
16692
17251
|
});
|
|
16693
17252
|
var init_sts = __esm({
|
|
16694
|
-
"node_modules/.pnpm/@aws-sdk+nested-clients@3.
|
|
17253
|
+
"node_modules/.pnpm/@aws-sdk+nested-clients@3.799.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js"() {
|
|
16695
17254
|
init_STSClient();
|
|
16696
17255
|
init_STS();
|
|
16697
17256
|
init_commands2();
|
|
@@ -16701,9 +17260,9 @@ var init_sts = __esm({
|
|
|
16701
17260
|
}
|
|
16702
17261
|
});
|
|
16703
17262
|
|
|
16704
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-process@3.
|
|
16705
|
-
var
|
|
16706
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-process@3.
|
|
17263
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-process@3.799.0/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js
|
|
17264
|
+
var require_dist_cjs50 = __commonJS({
|
|
17265
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-process@3.799.0/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js"(exports2, module2) {
|
|
16707
17266
|
"use strict";
|
|
16708
17267
|
var __defProp2 = Object.defineProperty;
|
|
16709
17268
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -16803,9 +17362,9 @@ var require_dist_cjs48 = __commonJS({
|
|
|
16803
17362
|
}
|
|
16804
17363
|
});
|
|
16805
17364
|
|
|
16806
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
17365
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.799.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js
|
|
16807
17366
|
var require_fromWebToken = __commonJS({
|
|
16808
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
17367
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.799.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js"(exports2) {
|
|
16809
17368
|
"use strict";
|
|
16810
17369
|
var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? function(o3, m3, k3, k22) {
|
|
16811
17370
|
if (k22 === void 0) k22 = k3;
|
|
@@ -16865,9 +17424,9 @@ var require_fromWebToken = __commonJS({
|
|
|
16865
17424
|
}
|
|
16866
17425
|
});
|
|
16867
17426
|
|
|
16868
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
17427
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.799.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js
|
|
16869
17428
|
var require_fromTokenFile = __commonJS({
|
|
16870
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
17429
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.799.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js"(exports2) {
|
|
16871
17430
|
"use strict";
|
|
16872
17431
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
16873
17432
|
exports2.fromTokenFile = void 0;
|
|
@@ -16903,9 +17462,9 @@ var require_fromTokenFile = __commonJS({
|
|
|
16903
17462
|
}
|
|
16904
17463
|
});
|
|
16905
17464
|
|
|
16906
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
16907
|
-
var
|
|
16908
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.
|
|
17465
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.799.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js
|
|
17466
|
+
var require_dist_cjs51 = __commonJS({
|
|
17467
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.799.0/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js"(exports2, module2) {
|
|
16909
17468
|
"use strict";
|
|
16910
17469
|
var __defProp2 = Object.defineProperty;
|
|
16911
17470
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -16928,9 +17487,9 @@ var require_dist_cjs49 = __commonJS({
|
|
|
16928
17487
|
}
|
|
16929
17488
|
});
|
|
16930
17489
|
|
|
16931
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.
|
|
16932
|
-
var
|
|
16933
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.
|
|
17490
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.799.0/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js
|
|
17491
|
+
var require_dist_cjs52 = __commonJS({
|
|
17492
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.799.0/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js"(exports2, module2) {
|
|
16934
17493
|
"use strict";
|
|
16935
17494
|
var __create2 = Object.create;
|
|
16936
17495
|
var __defProp2 = Object.defineProperty;
|
|
@@ -17081,14 +17640,14 @@ var require_dist_cjs50 = __commonJS({
|
|
|
17081
17640
|
return !section.role_arn && !!section.credential_source;
|
|
17082
17641
|
}, "isCredentialSourceWithoutRoleArn");
|
|
17083
17642
|
var isProcessProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string", "isProcessProfile");
|
|
17084
|
-
var resolveProcessCredentials = /* @__PURE__ */ __name(async (options, profile) => Promise.resolve().then(() => __toESM2(
|
|
17643
|
+
var resolveProcessCredentials = /* @__PURE__ */ __name(async (options, profile) => Promise.resolve().then(() => __toESM2(require_dist_cjs50())).then(
|
|
17085
17644
|
({ fromProcess }) => fromProcess({
|
|
17086
17645
|
...options,
|
|
17087
17646
|
profile
|
|
17088
17647
|
})().then((creds) => (0, import_client3.setCredentialFeature)(creds, "CREDENTIALS_PROFILE_PROCESS", "v"))
|
|
17089
17648
|
), "resolveProcessCredentials");
|
|
17090
17649
|
var resolveSsoCredentials = /* @__PURE__ */ __name(async (profile, profileData, options = {}) => {
|
|
17091
|
-
const { fromSSO } = await Promise.resolve().then(() => __toESM2(
|
|
17650
|
+
const { fromSSO } = await Promise.resolve().then(() => __toESM2(require_dist_cjs49()));
|
|
17092
17651
|
return fromSSO({
|
|
17093
17652
|
profile,
|
|
17094
17653
|
logger: options.logger,
|
|
@@ -17116,7 +17675,7 @@ var require_dist_cjs50 = __commonJS({
|
|
|
17116
17675
|
return (0, import_client3.setCredentialFeature)(credentials, "CREDENTIALS_PROFILE", "n");
|
|
17117
17676
|
}, "resolveStaticCredentials");
|
|
17118
17677
|
var isWebIdentityProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1, "isWebIdentityProfile");
|
|
17119
|
-
var resolveWebIdentityCredentials = /* @__PURE__ */ __name(async (profile, options) => Promise.resolve().then(() => __toESM2(
|
|
17678
|
+
var resolveWebIdentityCredentials = /* @__PURE__ */ __name(async (profile, options) => Promise.resolve().then(() => __toESM2(require_dist_cjs51())).then(
|
|
17120
17679
|
({ fromTokenFile: fromTokenFile2 }) => fromTokenFile2({
|
|
17121
17680
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
17122
17681
|
roleArn: profile.role_arn,
|
|
@@ -17172,9 +17731,9 @@ var require_dist_cjs50 = __commonJS({
|
|
|
17172
17731
|
}
|
|
17173
17732
|
});
|
|
17174
17733
|
|
|
17175
|
-
// node_modules/.pnpm/@aws-sdk+credential-provider-node@3.
|
|
17176
|
-
var
|
|
17177
|
-
"node_modules/.pnpm/@aws-sdk+credential-provider-node@3.
|
|
17734
|
+
// node_modules/.pnpm/@aws-sdk+credential-provider-node@3.799.0/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js
|
|
17735
|
+
var require_dist_cjs53 = __commonJS({
|
|
17736
|
+
"node_modules/.pnpm/@aws-sdk+credential-provider-node@3.799.0/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js"(exports2, module2) {
|
|
17178
17737
|
"use strict";
|
|
17179
17738
|
var __create2 = Object.create;
|
|
17180
17739
|
var __defProp2 = Object.defineProperty;
|
|
@@ -17271,22 +17830,22 @@ var require_dist_cjs51 = __commonJS({
|
|
|
17271
17830
|
{ logger: init.logger }
|
|
17272
17831
|
);
|
|
17273
17832
|
}
|
|
17274
|
-
const { fromSSO } = await Promise.resolve().then(() => __toESM2(
|
|
17833
|
+
const { fromSSO } = await Promise.resolve().then(() => __toESM2(require_dist_cjs49()));
|
|
17275
17834
|
return fromSSO(init)();
|
|
17276
17835
|
},
|
|
17277
17836
|
async () => {
|
|
17278
17837
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
17279
|
-
const { fromIni } = await Promise.resolve().then(() => __toESM2(
|
|
17838
|
+
const { fromIni } = await Promise.resolve().then(() => __toESM2(require_dist_cjs52()));
|
|
17280
17839
|
return fromIni(init)();
|
|
17281
17840
|
},
|
|
17282
17841
|
async () => {
|
|
17283
17842
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
17284
|
-
const { fromProcess } = await Promise.resolve().then(() => __toESM2(
|
|
17843
|
+
const { fromProcess } = await Promise.resolve().then(() => __toESM2(require_dist_cjs50()));
|
|
17285
17844
|
return fromProcess(init)();
|
|
17286
17845
|
},
|
|
17287
17846
|
async () => {
|
|
17288
17847
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
17289
|
-
const { fromTokenFile: fromTokenFile2 } = await Promise.resolve().then(() => __toESM2(
|
|
17848
|
+
const { fromTokenFile: fromTokenFile2 } = await Promise.resolve().then(() => __toESM2(require_dist_cjs51()));
|
|
17290
17849
|
return fromTokenFile2(init)();
|
|
17291
17850
|
},
|
|
17292
17851
|
async () => {
|
|
@@ -17308,9 +17867,9 @@ var require_dist_cjs51 = __commonJS({
|
|
|
17308
17867
|
}
|
|
17309
17868
|
});
|
|
17310
17869
|
|
|
17311
|
-
// node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
17870
|
+
// node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/endpoint/ruleset.js
|
|
17312
17871
|
var require_ruleset2 = __commonJS({
|
|
17313
|
-
"node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
17872
|
+
"node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/endpoint/ruleset.js"(exports2) {
|
|
17314
17873
|
"use strict";
|
|
17315
17874
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
17316
17875
|
exports2.ruleSet = void 0;
|
|
@@ -17343,9 +17902,9 @@ var require_ruleset2 = __commonJS({
|
|
|
17343
17902
|
}
|
|
17344
17903
|
});
|
|
17345
17904
|
|
|
17346
|
-
// node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
17905
|
+
// node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/endpoint/endpointResolver.js
|
|
17347
17906
|
var require_endpointResolver2 = __commonJS({
|
|
17348
|
-
"node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
17907
|
+
"node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
|
17349
17908
|
"use strict";
|
|
17350
17909
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
17351
17910
|
exports2.defaultEndpointResolver = void 0;
|
|
@@ -17367,9 +17926,9 @@ var require_endpointResolver2 = __commonJS({
|
|
|
17367
17926
|
}
|
|
17368
17927
|
});
|
|
17369
17928
|
|
|
17370
|
-
// node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
17929
|
+
// node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.shared.js
|
|
17371
17930
|
var require_runtimeConfig_shared2 = __commonJS({
|
|
17372
|
-
"node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
17931
|
+
"node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
|
17373
17932
|
"use strict";
|
|
17374
17933
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
17375
17934
|
exports2.getRuntimeConfig = void 0;
|
|
@@ -17407,16 +17966,16 @@ var require_runtimeConfig_shared2 = __commonJS({
|
|
|
17407
17966
|
}
|
|
17408
17967
|
});
|
|
17409
17968
|
|
|
17410
|
-
// node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
17969
|
+
// node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.js
|
|
17411
17970
|
var require_runtimeConfig2 = __commonJS({
|
|
17412
|
-
"node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
17971
|
+
"node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.js"(exports2) {
|
|
17413
17972
|
"use strict";
|
|
17414
17973
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
17415
17974
|
exports2.getRuntimeConfig = void 0;
|
|
17416
17975
|
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
17417
17976
|
var package_json_1 = tslib_1.__importDefault(require_package());
|
|
17418
17977
|
var core_1 = (init_dist_es2(), __toCommonJS(dist_es_exports2));
|
|
17419
|
-
var credential_provider_node_1 =
|
|
17978
|
+
var credential_provider_node_1 = require_dist_cjs53();
|
|
17420
17979
|
var util_user_agent_node_1 = require_dist_cjs40();
|
|
17421
17980
|
var config_resolver_1 = require_dist_cjs27();
|
|
17422
17981
|
var hash_node_1 = require_dist_cjs41();
|
|
@@ -17424,10 +17983,10 @@ var require_runtimeConfig2 = __commonJS({
|
|
|
17424
17983
|
var node_config_provider_1 = require_dist_cjs30();
|
|
17425
17984
|
var node_http_handler_1 = require_dist_cjs13();
|
|
17426
17985
|
var util_body_length_node_1 = require_dist_cjs42();
|
|
17427
|
-
var util_retry_1 =
|
|
17986
|
+
var util_retry_1 = require_dist_cjs44();
|
|
17428
17987
|
var runtimeConfig_shared_1 = require_runtimeConfig_shared2();
|
|
17429
17988
|
var smithy_client_1 = require_dist_cjs17();
|
|
17430
|
-
var util_defaults_mode_node_1 =
|
|
17989
|
+
var util_defaults_mode_node_1 = require_dist_cjs45();
|
|
17431
17990
|
var smithy_client_2 = require_dist_cjs17();
|
|
17432
17991
|
var getRuntimeConfig5 = (config) => {
|
|
17433
17992
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
@@ -17441,6 +18000,7 @@ var require_runtimeConfig2 = __commonJS({
|
|
|
17441
18000
|
...config,
|
|
17442
18001
|
runtime: "node",
|
|
17443
18002
|
defaultsMode,
|
|
18003
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
17444
18004
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
17445
18005
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
17446
18006
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -17463,9 +18023,9 @@ var require_runtimeConfig2 = __commonJS({
|
|
|
17463
18023
|
}
|
|
17464
18024
|
});
|
|
17465
18025
|
|
|
17466
|
-
// node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
17467
|
-
var
|
|
17468
|
-
"node_modules/.pnpm/@aws-sdk+client-sqs@3.
|
|
18026
|
+
// node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js
|
|
18027
|
+
var require_dist_cjs54 = __commonJS({
|
|
18028
|
+
"node_modules/.pnpm/@aws-sdk+client-sqs@3.799.0/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js"(exports2, module2) {
|
|
17469
18029
|
"use strict";
|
|
17470
18030
|
var __defProp2 = Object.defineProperty;
|
|
17471
18031
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -17574,7 +18134,7 @@ var require_dist_cjs52 = __commonJS({
|
|
|
17574
18134
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
17575
18135
|
};
|
|
17576
18136
|
var import_runtimeConfig5 = require_runtimeConfig2();
|
|
17577
|
-
var import_region_config_resolver3 =
|
|
18137
|
+
var import_region_config_resolver3 = require_dist_cjs46();
|
|
17578
18138
|
var import_protocol_http11 = require_dist_cjs2();
|
|
17579
18139
|
var import_smithy_client25 = require_dist_cjs17();
|
|
17580
18140
|
var getHttpAuthExtensionConfiguration3 = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
@@ -21288,7 +21848,7 @@ __export(cache_handler_exports, {
|
|
|
21288
21848
|
default: () => CacheHandler
|
|
21289
21849
|
});
|
|
21290
21850
|
module.exports = __toCommonJS(cache_handler_exports);
|
|
21291
|
-
var import_client_sqs = __toESM(
|
|
21851
|
+
var import_client_sqs = __toESM(require_dist_cjs54());
|
|
21292
21852
|
var import_file_system_cache = __toESM(require_file_system_cache());
|
|
21293
21853
|
var sqsClient = new import_client_sqs.SQSClient();
|
|
21294
21854
|
var CacheHandler = class extends import_file_system_cache.default {
|