@justworkflowit/cdk-constructs 0.0.81 → 0.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lambda/definitionDeployerLambda.js +221 -247
- package/package.json +1 -1
|
@@ -174,7 +174,7 @@ var require_dist_cjs2 = __commonJS({
|
|
|
174
174
|
Field: () => Field,
|
|
175
175
|
Fields: () => Fields,
|
|
176
176
|
HttpRequest: () => HttpRequest24,
|
|
177
|
-
HttpResponse: () =>
|
|
177
|
+
HttpResponse: () => HttpResponse10,
|
|
178
178
|
IHttpRequest: () => import_types5.HttpRequest,
|
|
179
179
|
getHttpHandlerExtensionConfiguration: () => getHttpHandlerExtensionConfiguration3,
|
|
180
180
|
isValidHostname: () => isValidHostname,
|
|
@@ -364,7 +364,7 @@ var require_dist_cjs2 = __commonJS({
|
|
|
364
364
|
}, {});
|
|
365
365
|
}
|
|
366
366
|
__name(cloneQuery, "cloneQuery");
|
|
367
|
-
var
|
|
367
|
+
var HttpResponse10 = class {
|
|
368
368
|
static {
|
|
369
369
|
__name(this, "HttpResponse");
|
|
370
370
|
}
|
|
@@ -418,11 +418,11 @@ var require_dist_cjs3 = __commonJS({
|
|
|
418
418
|
getAddExpectContinuePlugin: () => getAddExpectContinuePlugin
|
|
419
419
|
});
|
|
420
420
|
module2.exports = __toCommonJS2(index_exports);
|
|
421
|
-
var
|
|
421
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
422
422
|
function addExpectContinueMiddleware(options) {
|
|
423
423
|
return (next) => async (args) => {
|
|
424
424
|
const { request } = args;
|
|
425
|
-
if (
|
|
425
|
+
if (import_protocol_http35.HttpRequest.isInstance(request) && request.body && options.runtime === "node") {
|
|
426
426
|
if (options.requestHandler?.constructor?.name !== "FetchHttpHandler") {
|
|
427
427
|
request.headers = {
|
|
428
428
|
...request.headers,
|
|
@@ -757,12 +757,12 @@ var require_dist_cjs4 = __commonJS({
|
|
|
757
757
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
758
758
|
var src_exports = {};
|
|
759
759
|
__export2(src_exports, {
|
|
760
|
-
getSmithyContext: () =>
|
|
760
|
+
getSmithyContext: () => getSmithyContext6,
|
|
761
761
|
normalizeProvider: () => normalizeProvider4
|
|
762
762
|
});
|
|
763
763
|
module2.exports = __toCommonJS2(src_exports);
|
|
764
764
|
var import_types5 = require_dist_cjs();
|
|
765
|
-
var
|
|
765
|
+
var getSmithyContext6 = /* @__PURE__ */ __name((context) => context[import_types5.SMITHY_CONTEXT_KEY] || (context[import_types5.SMITHY_CONTEXT_KEY] = {}), "getSmithyContext");
|
|
766
766
|
var normalizeProvider4 = /* @__PURE__ */ __name((input) => {
|
|
767
767
|
if (typeof input === "function")
|
|
768
768
|
return input;
|
|
@@ -903,7 +903,7 @@ var require_dist_cjs5 = __commonJS({
|
|
|
903
903
|
serializerMiddlewareOption: () => serializerMiddlewareOption2
|
|
904
904
|
});
|
|
905
905
|
module2.exports = __toCommonJS2(src_exports);
|
|
906
|
-
var
|
|
906
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
907
907
|
var deserializerMiddleware = /* @__PURE__ */ __name((options, deserializer) => (next, context) => async (args) => {
|
|
908
908
|
const { response } = await next(args);
|
|
909
909
|
try {
|
|
@@ -933,7 +933,7 @@ var require_dist_cjs5 = __commonJS({
|
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
935
|
try {
|
|
936
|
-
if (
|
|
936
|
+
if (import_protocol_http35.HttpResponse.isInstance(response)) {
|
|
937
937
|
const { headers = {} } = response;
|
|
938
938
|
const headerEntries = Object.entries(headers);
|
|
939
939
|
error.$metadata = {
|
|
@@ -1961,7 +1961,7 @@ var require_dist_cjs12 = __commonJS({
|
|
|
1961
1961
|
streamCollector: () => streamCollector3
|
|
1962
1962
|
});
|
|
1963
1963
|
module2.exports = __toCommonJS2(src_exports);
|
|
1964
|
-
var
|
|
1964
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
1965
1965
|
var import_querystring_builder = require_dist_cjs11();
|
|
1966
1966
|
var import_http = require("http");
|
|
1967
1967
|
var import_https = require("https");
|
|
@@ -2270,7 +2270,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
2270
2270
|
};
|
|
2271
2271
|
const requestFunc = isSSL ? import_https.request : import_http.request;
|
|
2272
2272
|
const req = requestFunc(nodeHttpsOptions, (res) => {
|
|
2273
|
-
const httpResponse = new
|
|
2273
|
+
const httpResponse = new import_protocol_http35.HttpResponse({
|
|
2274
2274
|
statusCode: res.statusCode || -1,
|
|
2275
2275
|
reason: res.statusMessage,
|
|
2276
2276
|
headers: getTransformedHeaders(res.headers),
|
|
@@ -2554,7 +2554,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
2554
2554
|
});
|
|
2555
2555
|
session.ref();
|
|
2556
2556
|
req.on("response", (headers) => {
|
|
2557
|
-
const httpResponse = new
|
|
2557
|
+
const httpResponse = new import_protocol_http35.HttpResponse({
|
|
2558
2558
|
statusCode: headers[":status"] || -1,
|
|
2559
2559
|
headers: getTransformedHeaders(headers),
|
|
2560
2560
|
body: req
|
|
@@ -2717,7 +2717,7 @@ var require_dist_cjs13 = __commonJS({
|
|
|
2717
2717
|
streamCollector: () => streamCollector3
|
|
2718
2718
|
});
|
|
2719
2719
|
module2.exports = __toCommonJS2(src_exports);
|
|
2720
|
-
var
|
|
2720
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
2721
2721
|
var import_querystring_builder = require_dist_cjs11();
|
|
2722
2722
|
function createRequest(url, requestOptions) {
|
|
2723
2723
|
return new Request(url, requestOptions);
|
|
@@ -2830,7 +2830,7 @@ var require_dist_cjs13 = __commonJS({
|
|
|
2830
2830
|
const hasReadableStream = response.body != void 0;
|
|
2831
2831
|
if (!hasReadableStream) {
|
|
2832
2832
|
return response.blob().then((body2) => ({
|
|
2833
|
-
response: new
|
|
2833
|
+
response: new import_protocol_http35.HttpResponse({
|
|
2834
2834
|
headers: transformedHeaders,
|
|
2835
2835
|
reason: response.statusText,
|
|
2836
2836
|
statusCode: response.status,
|
|
@@ -2839,7 +2839,7 @@ var require_dist_cjs13 = __commonJS({
|
|
|
2839
2839
|
}));
|
|
2840
2840
|
}
|
|
2841
2841
|
return {
|
|
2842
|
-
response: new
|
|
2842
|
+
response: new import_protocol_http35.HttpResponse({
|
|
2843
2843
|
headers: transformedHeaders,
|
|
2844
2844
|
reason: response.statusText,
|
|
2845
2845
|
statusCode: response.status,
|
|
@@ -3296,28 +3296,9 @@ var init_deref = __esm({
|
|
|
3296
3296
|
}
|
|
3297
3297
|
});
|
|
3298
3298
|
|
|
3299
|
-
// ../node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js
|
|
3300
|
-
var import_protocol_http5, import_util_middleware3;
|
|
3301
|
-
var init_schemaDeserializationMiddleware = __esm({
|
|
3302
|
-
"../node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js"() {
|
|
3303
|
-
import_protocol_http5 = __toESM(require_dist_cjs2());
|
|
3304
|
-
import_util_middleware3 = __toESM(require_dist_cjs4());
|
|
3305
|
-
}
|
|
3306
|
-
});
|
|
3307
|
-
|
|
3308
|
-
// ../node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js
|
|
3309
|
-
var import_util_middleware4;
|
|
3310
|
-
var init_schemaSerializationMiddleware = __esm({
|
|
3311
|
-
"../node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js"() {
|
|
3312
|
-
import_util_middleware4 = __toESM(require_dist_cjs4());
|
|
3313
|
-
}
|
|
3314
|
-
});
|
|
3315
|
-
|
|
3316
3299
|
// ../node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js
|
|
3317
3300
|
var init_getSchemaSerdePlugin = __esm({
|
|
3318
3301
|
"../node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js"() {
|
|
3319
|
-
init_schemaDeserializationMiddleware();
|
|
3320
|
-
init_schemaSerializationMiddleware();
|
|
3321
3302
|
}
|
|
3322
3303
|
});
|
|
3323
3304
|
|
|
@@ -3394,7 +3375,6 @@ var init_Schema = __esm({
|
|
|
3394
3375
|
var ListSchema;
|
|
3395
3376
|
var init_ListSchema = __esm({
|
|
3396
3377
|
"../node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js"() {
|
|
3397
|
-
init_TypeRegistry();
|
|
3398
3378
|
init_Schema();
|
|
3399
3379
|
ListSchema = class _ListSchema extends Schema {
|
|
3400
3380
|
constructor(name, traits, valueSchema) {
|
|
@@ -3421,7 +3401,6 @@ var init_ListSchema = __esm({
|
|
|
3421
3401
|
var MapSchema;
|
|
3422
3402
|
var init_MapSchema = __esm({
|
|
3423
3403
|
"../node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js"() {
|
|
3424
|
-
init_TypeRegistry();
|
|
3425
3404
|
init_Schema();
|
|
3426
3405
|
MapSchema = class _MapSchema extends Schema {
|
|
3427
3406
|
constructor(name, traits, keySchema, valueSchema) {
|
|
@@ -3448,8 +3427,6 @@ var init_MapSchema = __esm({
|
|
|
3448
3427
|
// ../node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js
|
|
3449
3428
|
var init_OperationSchema = __esm({
|
|
3450
3429
|
"../node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js"() {
|
|
3451
|
-
init_TypeRegistry();
|
|
3452
|
-
init_Schema();
|
|
3453
3430
|
}
|
|
3454
3431
|
});
|
|
3455
3432
|
|
|
@@ -3457,7 +3434,6 @@ var init_OperationSchema = __esm({
|
|
|
3457
3434
|
var StructureSchema;
|
|
3458
3435
|
var init_StructureSchema = __esm({
|
|
3459
3436
|
"../node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js"() {
|
|
3460
|
-
init_TypeRegistry();
|
|
3461
3437
|
init_Schema();
|
|
3462
3438
|
StructureSchema = class _StructureSchema extends Schema {
|
|
3463
3439
|
constructor(name, traits, memberNames, memberList) {
|
|
@@ -3489,7 +3465,6 @@ var init_StructureSchema = __esm({
|
|
|
3489
3465
|
var ErrorSchema;
|
|
3490
3466
|
var init_ErrorSchema = __esm({
|
|
3491
3467
|
"../node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js"() {
|
|
3492
|
-
init_TypeRegistry();
|
|
3493
3468
|
init_StructureSchema();
|
|
3494
3469
|
ErrorSchema = class _ErrorSchema extends StructureSchema {
|
|
3495
3470
|
constructor(name, traits, memberNames, memberList, ctor) {
|
|
@@ -3541,7 +3516,6 @@ var init_sentinels = __esm({
|
|
|
3541
3516
|
var SimpleSchema;
|
|
3542
3517
|
var init_SimpleSchema = __esm({
|
|
3543
3518
|
"../node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js"() {
|
|
3544
|
-
init_TypeRegistry();
|
|
3545
3519
|
init_Schema();
|
|
3546
3520
|
SimpleSchema = class _SimpleSchema extends Schema {
|
|
3547
3521
|
constructor(name, schemaRef, traits) {
|
|
@@ -4589,12 +4563,12 @@ var init_serde = __esm({
|
|
|
4589
4563
|
});
|
|
4590
4564
|
|
|
4591
4565
|
// ../node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js
|
|
4592
|
-
var
|
|
4566
|
+
var import_protocol_http5, import_util_stream2, HttpProtocol;
|
|
4593
4567
|
var init_HttpProtocol = __esm({
|
|
4594
4568
|
"../node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js"() {
|
|
4595
4569
|
init_schema();
|
|
4596
4570
|
init_serde();
|
|
4597
|
-
|
|
4571
|
+
import_protocol_http5 = __toESM(require_dist_cjs2());
|
|
4598
4572
|
import_util_stream2 = __toESM(require_dist_cjs15());
|
|
4599
4573
|
init_collect_stream_body();
|
|
4600
4574
|
HttpProtocol = class {
|
|
@@ -4602,10 +4576,10 @@ var init_HttpProtocol = __esm({
|
|
|
4602
4576
|
this.options = options;
|
|
4603
4577
|
}
|
|
4604
4578
|
getRequestType() {
|
|
4605
|
-
return
|
|
4579
|
+
return import_protocol_http5.HttpRequest;
|
|
4606
4580
|
}
|
|
4607
4581
|
getResponseType() {
|
|
4608
|
-
return
|
|
4582
|
+
return import_protocol_http5.HttpResponse;
|
|
4609
4583
|
}
|
|
4610
4584
|
setSerdeContext(serdeContext) {
|
|
4611
4585
|
this.serdeContext = serdeContext;
|
|
@@ -4755,11 +4729,11 @@ var init_HttpProtocol = __esm({
|
|
|
4755
4729
|
});
|
|
4756
4730
|
|
|
4757
4731
|
// ../node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js
|
|
4758
|
-
var
|
|
4732
|
+
var import_protocol_http6, HttpBindingProtocol;
|
|
4759
4733
|
var init_HttpBindingProtocol = __esm({
|
|
4760
4734
|
"../node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js"() {
|
|
4761
4735
|
init_schema();
|
|
4762
|
-
|
|
4736
|
+
import_protocol_http6 = __toESM(require_dist_cjs2());
|
|
4763
4737
|
init_collect_stream_body();
|
|
4764
4738
|
init_extended_encode_uri_component();
|
|
4765
4739
|
init_HttpProtocol();
|
|
@@ -4776,7 +4750,7 @@ var init_HttpBindingProtocol = __esm({
|
|
|
4776
4750
|
const schema = ns.getSchema();
|
|
4777
4751
|
let hasNonHttpBindingMember = false;
|
|
4778
4752
|
let payload;
|
|
4779
|
-
const request = new
|
|
4753
|
+
const request = new import_protocol_http6.HttpRequest({
|
|
4780
4754
|
protocol: "",
|
|
4781
4755
|
hostname: "",
|
|
4782
4756
|
port: void 0,
|
|
@@ -4930,11 +4904,11 @@ var init_HttpBindingProtocol = __esm({
|
|
|
4930
4904
|
});
|
|
4931
4905
|
|
|
4932
4906
|
// ../node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js
|
|
4933
|
-
var
|
|
4907
|
+
var import_protocol_http7, RpcProtocol;
|
|
4934
4908
|
var init_RpcProtocol = __esm({
|
|
4935
4909
|
"../node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js"() {
|
|
4936
4910
|
init_schema();
|
|
4937
|
-
|
|
4911
|
+
import_protocol_http7 = __toESM(require_dist_cjs2());
|
|
4938
4912
|
init_collect_stream_body();
|
|
4939
4913
|
init_HttpProtocol();
|
|
4940
4914
|
RpcProtocol = class extends HttpProtocol {
|
|
@@ -4946,7 +4920,7 @@ var init_RpcProtocol = __esm({
|
|
|
4946
4920
|
const ns = NormalizedSchema.of(operationSchema?.input);
|
|
4947
4921
|
const schema = ns.getSchema();
|
|
4948
4922
|
let payload;
|
|
4949
|
-
const request = new
|
|
4923
|
+
const request = new import_protocol_http7.HttpRequest({
|
|
4950
4924
|
protocol: "",
|
|
4951
4925
|
hostname: "",
|
|
4952
4926
|
port: void 0,
|
|
@@ -5028,10 +5002,10 @@ var init_resolve_path = __esm({
|
|
|
5028
5002
|
function requestBuilder(input, context) {
|
|
5029
5003
|
return new RequestBuilder(input, context);
|
|
5030
5004
|
}
|
|
5031
|
-
var
|
|
5005
|
+
var import_protocol_http8, RequestBuilder;
|
|
5032
5006
|
var init_requestBuilder = __esm({
|
|
5033
5007
|
"../node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js"() {
|
|
5034
|
-
|
|
5008
|
+
import_protocol_http8 = __toESM(require_dist_cjs2());
|
|
5035
5009
|
init_resolve_path();
|
|
5036
5010
|
RequestBuilder = class {
|
|
5037
5011
|
constructor(input, context) {
|
|
@@ -5051,7 +5025,7 @@ var init_requestBuilder = __esm({
|
|
|
5051
5025
|
for (const resolvePath of this.resolvePathStack) {
|
|
5052
5026
|
resolvePath(this.path);
|
|
5053
5027
|
}
|
|
5054
|
-
return new
|
|
5028
|
+
return new import_protocol_http8.HttpRequest({
|
|
5055
5029
|
protocol,
|
|
5056
5030
|
hostname: this.hostname || hostname,
|
|
5057
5031
|
port,
|
|
@@ -5437,10 +5411,10 @@ var init_DefaultIdentityProviderConfig = __esm({
|
|
|
5437
5411
|
});
|
|
5438
5412
|
|
|
5439
5413
|
// ../node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js
|
|
5440
|
-
var
|
|
5414
|
+
var import_protocol_http9, import_types4, HttpApiKeyAuthSigner;
|
|
5441
5415
|
var init_httpApiKeyAuth = __esm({
|
|
5442
5416
|
"../node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js"() {
|
|
5443
|
-
|
|
5417
|
+
import_protocol_http9 = __toESM(require_dist_cjs2());
|
|
5444
5418
|
import_types4 = __toESM(require_dist_cjs());
|
|
5445
5419
|
HttpApiKeyAuthSigner = class {
|
|
5446
5420
|
async sign(httpRequest, identity, signingProperties) {
|
|
@@ -5456,7 +5430,7 @@ var init_httpApiKeyAuth = __esm({
|
|
|
5456
5430
|
if (!identity.apiKey) {
|
|
5457
5431
|
throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");
|
|
5458
5432
|
}
|
|
5459
|
-
const clonedRequest =
|
|
5433
|
+
const clonedRequest = import_protocol_http9.HttpRequest.clone(httpRequest);
|
|
5460
5434
|
if (signingProperties.in === import_types4.HttpApiKeyAuthLocation.QUERY) {
|
|
5461
5435
|
clonedRequest.query[signingProperties.name] = identity.apiKey;
|
|
5462
5436
|
} else if (signingProperties.in === import_types4.HttpApiKeyAuthLocation.HEADER) {
|
|
@@ -5471,13 +5445,13 @@ var init_httpApiKeyAuth = __esm({
|
|
|
5471
5445
|
});
|
|
5472
5446
|
|
|
5473
5447
|
// ../node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js
|
|
5474
|
-
var
|
|
5448
|
+
var import_protocol_http10, HttpBearerAuthSigner;
|
|
5475
5449
|
var init_httpBearerAuth = __esm({
|
|
5476
5450
|
"../node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js"() {
|
|
5477
|
-
|
|
5451
|
+
import_protocol_http10 = __toESM(require_dist_cjs2());
|
|
5478
5452
|
HttpBearerAuthSigner = class {
|
|
5479
5453
|
async sign(httpRequest, identity, signingProperties) {
|
|
5480
|
-
const clonedRequest =
|
|
5454
|
+
const clonedRequest = import_protocol_http10.HttpRequest.clone(httpRequest);
|
|
5481
5455
|
if (!identity.token) {
|
|
5482
5456
|
throw new Error("request could not be signed with `token` since the `token` is not defined");
|
|
5483
5457
|
}
|
|
@@ -6121,9 +6095,9 @@ var require_dist_cjs17 = __commonJS({
|
|
|
6121
6095
|
}
|
|
6122
6096
|
return false;
|
|
6123
6097
|
}, "hasHeader");
|
|
6124
|
-
var
|
|
6098
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
6125
6099
|
var moveHeadersToQuery = /* @__PURE__ */ __name((request, options = {}) => {
|
|
6126
|
-
const { headers, query = {} } =
|
|
6100
|
+
const { headers, query = {} } = import_protocol_http35.HttpRequest.clone(request);
|
|
6127
6101
|
for (const name of Object.keys(headers)) {
|
|
6128
6102
|
const lname = name.toLowerCase();
|
|
6129
6103
|
if (lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname) || options.hoistableHeaders?.has(lname)) {
|
|
@@ -6138,7 +6112,7 @@ var require_dist_cjs17 = __commonJS({
|
|
|
6138
6112
|
};
|
|
6139
6113
|
}, "moveHeadersToQuery");
|
|
6140
6114
|
var prepareRequest = /* @__PURE__ */ __name((request) => {
|
|
6141
|
-
request =
|
|
6115
|
+
request = import_protocol_http35.HttpRequest.clone(request);
|
|
6142
6116
|
for (const headerName of Object.keys(request.headers)) {
|
|
6143
6117
|
if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
|
|
6144
6118
|
delete request.headers[headerName];
|
|
@@ -6146,7 +6120,7 @@ var require_dist_cjs17 = __commonJS({
|
|
|
6146
6120
|
}
|
|
6147
6121
|
return request;
|
|
6148
6122
|
}, "prepareRequest");
|
|
6149
|
-
var
|
|
6123
|
+
var import_util_middleware5 = require_dist_cjs4();
|
|
6150
6124
|
var import_util_utf842 = require_dist_cjs8();
|
|
6151
6125
|
var import_util_uri_escape = require_dist_cjs10();
|
|
6152
6126
|
var getCanonicalQuery = /* @__PURE__ */ __name(({ query = {} }) => {
|
|
@@ -6196,8 +6170,8 @@ var require_dist_cjs17 = __commonJS({
|
|
|
6196
6170
|
this.sha256 = sha256;
|
|
6197
6171
|
this.uriEscapePath = uriEscapePath;
|
|
6198
6172
|
this.applyChecksum = typeof applyChecksum === "boolean" ? applyChecksum : true;
|
|
6199
|
-
this.regionProvider = (0,
|
|
6200
|
-
this.credentialProvider = (0,
|
|
6173
|
+
this.regionProvider = (0, import_util_middleware5.normalizeProvider)(region);
|
|
6174
|
+
this.credentialProvider = (0, import_util_middleware5.normalizeProvider)(credentials);
|
|
6201
6175
|
}
|
|
6202
6176
|
createCanonicalRequest(request, canonicalHeaders, payloadHash) {
|
|
6203
6177
|
const sortedHeaders = Object.keys(canonicalHeaders).sort();
|
|
@@ -12513,7 +12487,7 @@ var require_dist_cjs25 = __commonJS({
|
|
|
12513
12487
|
CrtCrc64Nvme: null
|
|
12514
12488
|
};
|
|
12515
12489
|
var import_core31 = (init_dist_es2(), __toCommonJS(dist_es_exports2));
|
|
12516
|
-
var
|
|
12490
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
12517
12491
|
var import_util_stream3 = require_dist_cjs15();
|
|
12518
12492
|
var CLIENT_SUPPORTED_ALGORITHMS = [
|
|
12519
12493
|
"CRC32",
|
|
@@ -12607,7 +12581,7 @@ For more information please go to https://github.com/aws/aws-sdk-js-v3#functiona
|
|
|
12607
12581
|
override: true
|
|
12608
12582
|
};
|
|
12609
12583
|
var flexibleChecksumsMiddleware = /* @__PURE__ */ __name((config, middlewareConfig) => (next, context) => async (args) => {
|
|
12610
|
-
if (!
|
|
12584
|
+
if (!import_protocol_http35.HttpRequest.isInstance(args.request)) {
|
|
12611
12585
|
return next(args);
|
|
12612
12586
|
}
|
|
12613
12587
|
if (hasHeaderWithPrefix("x-amz-checksum-", args.request.headers)) {
|
|
@@ -12799,7 +12773,7 @@ For more information please go to https://github.com/aws/aws-sdk-js-v3#functiona
|
|
|
12799
12773
|
override: true
|
|
12800
12774
|
};
|
|
12801
12775
|
var flexibleChecksumsResponseMiddleware = /* @__PURE__ */ __name((config, middlewareConfig) => (next, context) => async (args) => {
|
|
12802
|
-
if (!
|
|
12776
|
+
if (!import_protocol_http35.HttpRequest.isInstance(args.request)) {
|
|
12803
12777
|
return next(args);
|
|
12804
12778
|
}
|
|
12805
12779
|
const input = args.input;
|
|
@@ -12837,12 +12811,12 @@ For more information please go to https://github.com/aws/aws-sdk-js-v3#functiona
|
|
|
12837
12811
|
);
|
|
12838
12812
|
}, "applyToStack")
|
|
12839
12813
|
}), "getFlexibleChecksumsPlugin");
|
|
12840
|
-
var
|
|
12814
|
+
var import_util_middleware5 = require_dist_cjs4();
|
|
12841
12815
|
var resolveFlexibleChecksumsConfig = /* @__PURE__ */ __name((input) => {
|
|
12842
12816
|
const { requestChecksumCalculation, responseChecksumValidation, requestStreamBufferSize } = input;
|
|
12843
12817
|
return Object.assign(input, {
|
|
12844
|
-
requestChecksumCalculation: (0,
|
|
12845
|
-
responseChecksumValidation: (0,
|
|
12818
|
+
requestChecksumCalculation: (0, import_util_middleware5.normalizeProvider)(requestChecksumCalculation ?? DEFAULT_REQUEST_CHECKSUM_CALCULATION),
|
|
12819
|
+
responseChecksumValidation: (0, import_util_middleware5.normalizeProvider)(responseChecksumValidation ?? DEFAULT_RESPONSE_CHECKSUM_VALIDATION),
|
|
12846
12820
|
requestStreamBufferSize: Number(requestStreamBufferSize ?? 0)
|
|
12847
12821
|
});
|
|
12848
12822
|
}, "resolveFlexibleChecksumsConfig");
|
|
@@ -12879,13 +12853,13 @@ var require_dist_cjs26 = __commonJS({
|
|
|
12879
12853
|
resolveHostHeaderConfig: () => resolveHostHeaderConfig3
|
|
12880
12854
|
});
|
|
12881
12855
|
module2.exports = __toCommonJS2(index_exports);
|
|
12882
|
-
var
|
|
12856
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
12883
12857
|
function resolveHostHeaderConfig3(input) {
|
|
12884
12858
|
return input;
|
|
12885
12859
|
}
|
|
12886
12860
|
__name(resolveHostHeaderConfig3, "resolveHostHeaderConfig");
|
|
12887
12861
|
var hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {
|
|
12888
|
-
if (!
|
|
12862
|
+
if (!import_protocol_http35.HttpRequest.isInstance(args.request)) return next(args);
|
|
12889
12863
|
const { request } = args;
|
|
12890
12864
|
const { handlerProtocol = "" } = options.requestHandler.metadata || {};
|
|
12891
12865
|
if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) {
|
|
@@ -13015,13 +12989,13 @@ var require_dist_cjs28 = __commonJS({
|
|
|
13015
12989
|
recursionDetectionMiddleware: () => recursionDetectionMiddleware
|
|
13016
12990
|
});
|
|
13017
12991
|
module2.exports = __toCommonJS2(index_exports);
|
|
13018
|
-
var
|
|
12992
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
13019
12993
|
var TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id";
|
|
13020
12994
|
var ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";
|
|
13021
12995
|
var ENV_TRACE_ID = "_X_AMZN_TRACE_ID";
|
|
13022
12996
|
var recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {
|
|
13023
12997
|
const { request } = args;
|
|
13024
|
-
if (!
|
|
12998
|
+
if (!import_protocol_http35.HttpRequest.isInstance(request) || options.runtime !== "node") {
|
|
13025
12999
|
return next(args);
|
|
13026
13000
|
}
|
|
13027
13001
|
const traceIdHeader = Object.keys(request.headers ?? {}).find((h3) => h3.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;
|
|
@@ -13183,11 +13157,11 @@ var init_client2 = __esm({
|
|
|
13183
13157
|
});
|
|
13184
13158
|
|
|
13185
13159
|
// ../node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js
|
|
13186
|
-
var
|
|
13160
|
+
var import_protocol_http11, getDateHeader2;
|
|
13187
13161
|
var init_getDateHeader2 = __esm({
|
|
13188
13162
|
"../node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js"() {
|
|
13189
|
-
|
|
13190
|
-
getDateHeader2 = (response) =>
|
|
13163
|
+
import_protocol_http11 = __toESM(require_dist_cjs2());
|
|
13164
|
+
getDateHeader2 = (response) => import_protocol_http11.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0;
|
|
13191
13165
|
}
|
|
13192
13166
|
});
|
|
13193
13167
|
|
|
@@ -13233,10 +13207,10 @@ var init_utils2 = __esm({
|
|
|
13233
13207
|
});
|
|
13234
13208
|
|
|
13235
13209
|
// ../node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
13236
|
-
var
|
|
13210
|
+
var import_protocol_http12, throwSigningPropertyError2, validateSigningProperties2, AwsSdkSigV4Signer2, AWSSDKSigV4Signer2;
|
|
13237
13211
|
var init_AwsSdkSigV4Signer2 = __esm({
|
|
13238
13212
|
"../node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js"() {
|
|
13239
|
-
|
|
13213
|
+
import_protocol_http12 = __toESM(require_dist_cjs2());
|
|
13240
13214
|
init_utils2();
|
|
13241
13215
|
throwSigningPropertyError2 = (name, property) => {
|
|
13242
13216
|
if (!property) {
|
|
@@ -13263,7 +13237,7 @@ var init_AwsSdkSigV4Signer2 = __esm({
|
|
|
13263
13237
|
};
|
|
13264
13238
|
AwsSdkSigV4Signer2 = class {
|
|
13265
13239
|
async sign(httpRequest, identity, signingProperties) {
|
|
13266
|
-
if (!
|
|
13240
|
+
if (!import_protocol_http12.HttpRequest.isInstance(httpRequest)) {
|
|
13267
13241
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
13268
13242
|
}
|
|
13269
13243
|
const validatedProps = await validateSigningProperties2(signingProperties);
|
|
@@ -13312,15 +13286,15 @@ var init_AwsSdkSigV4Signer2 = __esm({
|
|
|
13312
13286
|
});
|
|
13313
13287
|
|
|
13314
13288
|
// ../node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js
|
|
13315
|
-
var
|
|
13289
|
+
var import_protocol_http13, AwsSdkSigV4ASigner2;
|
|
13316
13290
|
var init_AwsSdkSigV4ASigner2 = __esm({
|
|
13317
13291
|
"../node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js"() {
|
|
13318
|
-
|
|
13292
|
+
import_protocol_http13 = __toESM(require_dist_cjs2());
|
|
13319
13293
|
init_utils2();
|
|
13320
13294
|
init_AwsSdkSigV4Signer2();
|
|
13321
13295
|
AwsSdkSigV4ASigner2 = class extends AwsSdkSigV4Signer2 {
|
|
13322
13296
|
async sign(httpRequest, identity, signingProperties) {
|
|
13323
|
-
if (!
|
|
13297
|
+
if (!import_protocol_http13.HttpRequest.isInstance(httpRequest)) {
|
|
13324
13298
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
13325
13299
|
}
|
|
13326
13300
|
const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties2(signingProperties);
|
|
@@ -16843,14 +16817,14 @@ var require_dist_cjs31 = __commonJS({
|
|
|
16843
16817
|
validateBucketNameMiddlewareOptions: () => validateBucketNameMiddlewareOptions
|
|
16844
16818
|
});
|
|
16845
16819
|
module2.exports = __toCommonJS2(index_exports);
|
|
16846
|
-
var
|
|
16820
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
16847
16821
|
var import_smithy_client61 = require_dist_cjs20();
|
|
16848
16822
|
var CONTENT_LENGTH_HEADER = "content-length";
|
|
16849
16823
|
var DECODED_CONTENT_LENGTH_HEADER = "x-amz-decoded-content-length";
|
|
16850
16824
|
function checkContentLengthHeader() {
|
|
16851
16825
|
return (next, context) => async (args) => {
|
|
16852
16826
|
const { request } = args;
|
|
16853
|
-
if (
|
|
16827
|
+
if (import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
16854
16828
|
if (!(CONTENT_LENGTH_HEADER in request.headers) && !(DECODED_CONTENT_LENGTH_HEADER in request.headers)) {
|
|
16855
16829
|
const message = `Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.`;
|
|
16856
16830
|
if (typeof context?.logger?.warn === "function" && !(context.logger instanceof import_smithy_client61.NoOpLogger)) {
|
|
@@ -16955,7 +16929,7 @@ var require_dist_cjs31 = __commonJS({
|
|
|
16955
16929
|
return (next, context) => async (args) => {
|
|
16956
16930
|
const result = await next(args);
|
|
16957
16931
|
const { response } = result;
|
|
16958
|
-
if (
|
|
16932
|
+
if (import_protocol_http35.HttpResponse.isInstance(response)) {
|
|
16959
16933
|
if (response.headers.expires) {
|
|
16960
16934
|
response.headers.expiresstring = response.headers.expires;
|
|
16961
16935
|
try {
|
|
@@ -17180,7 +17154,7 @@ var require_dist_cjs31 = __commonJS({
|
|
|
17180
17154
|
}
|
|
17181
17155
|
);
|
|
17182
17156
|
context.s3ExpressIdentity = s3ExpressIdentity;
|
|
17183
|
-
if (
|
|
17157
|
+
if (import_protocol_http35.HttpRequest.isInstance(args.request) && s3ExpressIdentity.sessionToken) {
|
|
17184
17158
|
args.request.headers[SESSION_TOKEN_HEADER] = s3ExpressIdentity.sessionToken;
|
|
17185
17159
|
}
|
|
17186
17160
|
}
|
|
@@ -17201,7 +17175,7 @@ var require_dist_cjs31 = __commonJS({
|
|
|
17201
17175
|
}, "applyToStack")
|
|
17202
17176
|
}), "getS3ExpressPlugin");
|
|
17203
17177
|
var import_core210 = (init_dist_es(), __toCommonJS(dist_es_exports));
|
|
17204
|
-
var
|
|
17178
|
+
var import_util_middleware5 = require_dist_cjs4();
|
|
17205
17179
|
var signS3Express = /* @__PURE__ */ __name(async (s3ExpressIdentity, signingOptions, request, sigV4MultiRegionSigner) => {
|
|
17206
17180
|
const signedRequest = await sigV4MultiRegionSigner.signWithCredentials(request, s3ExpressIdentity, {});
|
|
17207
17181
|
if (signedRequest.headers["X-Amz-Security-Token"] || signedRequest.headers["x-amz-security-token"]) {
|
|
@@ -17216,10 +17190,10 @@ var require_dist_cjs31 = __commonJS({
|
|
|
17216
17190
|
}, "defaultSuccessHandler");
|
|
17217
17191
|
var s3ExpressHttpSigningMiddlewareOptions = import_core210.httpSigningMiddlewareOptions;
|
|
17218
17192
|
var s3ExpressHttpSigningMiddleware = /* @__PURE__ */ __name((config) => (next, context) => async (args) => {
|
|
17219
|
-
if (!
|
|
17193
|
+
if (!import_protocol_http35.HttpRequest.isInstance(args.request)) {
|
|
17220
17194
|
return next(args);
|
|
17221
17195
|
}
|
|
17222
|
-
const smithyContext = (0,
|
|
17196
|
+
const smithyContext = (0, import_util_middleware5.getSmithyContext)(context);
|
|
17223
17197
|
const scheme = smithyContext.selectedHttpAuthScheme;
|
|
17224
17198
|
if (!scheme) {
|
|
17225
17199
|
throw new Error(`No HttpAuthScheme was selected: unable to sign request`);
|
|
@@ -17292,7 +17266,7 @@ var require_dist_cjs31 = __commonJS({
|
|
|
17292
17266
|
var throw200ExceptionsMiddleware = /* @__PURE__ */ __name((config) => (next, context) => async (args) => {
|
|
17293
17267
|
const result = await next(args);
|
|
17294
17268
|
const { response } = result;
|
|
17295
|
-
if (!
|
|
17269
|
+
if (!import_protocol_http35.HttpResponse.isInstance(response)) {
|
|
17296
17270
|
return result;
|
|
17297
17271
|
}
|
|
17298
17272
|
const { statusCode, body: sourceBody } = response;
|
|
@@ -18488,11 +18462,11 @@ var init_client3 = __esm({
|
|
|
18488
18462
|
});
|
|
18489
18463
|
|
|
18490
18464
|
// ../node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js
|
|
18491
|
-
var
|
|
18465
|
+
var import_protocol_http14, getDateHeader3;
|
|
18492
18466
|
var init_getDateHeader3 = __esm({
|
|
18493
18467
|
"../node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js"() {
|
|
18494
|
-
|
|
18495
|
-
getDateHeader3 = (response) =>
|
|
18468
|
+
import_protocol_http14 = __toESM(require_dist_cjs2());
|
|
18469
|
+
getDateHeader3 = (response) => import_protocol_http14.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0;
|
|
18496
18470
|
}
|
|
18497
18471
|
});
|
|
18498
18472
|
|
|
@@ -18538,10 +18512,10 @@ var init_utils3 = __esm({
|
|
|
18538
18512
|
});
|
|
18539
18513
|
|
|
18540
18514
|
// ../node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
18541
|
-
var
|
|
18515
|
+
var import_protocol_http15, throwSigningPropertyError3, validateSigningProperties3, AwsSdkSigV4Signer3, AWSSDKSigV4Signer3;
|
|
18542
18516
|
var init_AwsSdkSigV4Signer3 = __esm({
|
|
18543
18517
|
"../node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js"() {
|
|
18544
|
-
|
|
18518
|
+
import_protocol_http15 = __toESM(require_dist_cjs2());
|
|
18545
18519
|
init_utils3();
|
|
18546
18520
|
throwSigningPropertyError3 = (name, property) => {
|
|
18547
18521
|
if (!property) {
|
|
@@ -18568,7 +18542,7 @@ var init_AwsSdkSigV4Signer3 = __esm({
|
|
|
18568
18542
|
};
|
|
18569
18543
|
AwsSdkSigV4Signer3 = class {
|
|
18570
18544
|
async sign(httpRequest, identity, signingProperties) {
|
|
18571
|
-
if (!
|
|
18545
|
+
if (!import_protocol_http15.HttpRequest.isInstance(httpRequest)) {
|
|
18572
18546
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
18573
18547
|
}
|
|
18574
18548
|
const validatedProps = await validateSigningProperties3(signingProperties);
|
|
@@ -18617,15 +18591,15 @@ var init_AwsSdkSigV4Signer3 = __esm({
|
|
|
18617
18591
|
});
|
|
18618
18592
|
|
|
18619
18593
|
// ../node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js
|
|
18620
|
-
var
|
|
18594
|
+
var import_protocol_http16, AwsSdkSigV4ASigner3;
|
|
18621
18595
|
var init_AwsSdkSigV4ASigner3 = __esm({
|
|
18622
18596
|
"../node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js"() {
|
|
18623
|
-
|
|
18597
|
+
import_protocol_http16 = __toESM(require_dist_cjs2());
|
|
18624
18598
|
init_utils3();
|
|
18625
18599
|
init_AwsSdkSigV4Signer3();
|
|
18626
18600
|
AwsSdkSigV4ASigner3 = class extends AwsSdkSigV4Signer3 {
|
|
18627
18601
|
async sign(httpRequest, identity, signingProperties) {
|
|
18628
|
-
if (!
|
|
18602
|
+
if (!import_protocol_http16.HttpRequest.isInstance(httpRequest)) {
|
|
18629
18603
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
18630
18604
|
}
|
|
18631
18605
|
const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties3(signingProperties);
|
|
@@ -22094,7 +22068,7 @@ var require_dist_cjs36 = __commonJS({
|
|
|
22094
22068
|
}
|
|
22095
22069
|
__name(resolveUserAgentConfig3, "resolveUserAgentConfig");
|
|
22096
22070
|
var import_util_endpoints5 = require_dist_cjs35();
|
|
22097
|
-
var
|
|
22071
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
22098
22072
|
var import_core210 = (init_dist_es4(), __toCommonJS(dist_es_exports4));
|
|
22099
22073
|
var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
22100
22074
|
async function checkFeatures(context, config, args) {
|
|
@@ -22170,7 +22144,7 @@ var require_dist_cjs36 = __commonJS({
|
|
|
22170
22144
|
__name(encodeFeatures, "encodeFeatures");
|
|
22171
22145
|
var userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {
|
|
22172
22146
|
const { request } = args;
|
|
22173
|
-
if (!
|
|
22147
|
+
if (!import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
22174
22148
|
return next(args);
|
|
22175
22149
|
}
|
|
22176
22150
|
const { headers } = request;
|
|
@@ -22300,14 +22274,14 @@ var require_dist_cjs37 = __commonJS({
|
|
|
22300
22274
|
configFileSelector: (profile) => (0, import_util_config_provider.booleanSelector)(profile, CONFIG_USE_FIPS_ENDPOINT, import_util_config_provider.SelectorType.CONFIG),
|
|
22301
22275
|
default: false
|
|
22302
22276
|
};
|
|
22303
|
-
var
|
|
22277
|
+
var import_util_middleware5 = require_dist_cjs4();
|
|
22304
22278
|
var resolveCustomEndpointsConfig = /* @__PURE__ */ __name((input) => {
|
|
22305
22279
|
const { tls, endpoint: endpoint2, urlParser, useDualstackEndpoint } = input;
|
|
22306
22280
|
return Object.assign(input, {
|
|
22307
22281
|
tls: tls ?? true,
|
|
22308
|
-
endpoint: (0,
|
|
22282
|
+
endpoint: (0, import_util_middleware5.normalizeProvider)(typeof endpoint2 === "string" ? urlParser(endpoint2) : endpoint2),
|
|
22309
22283
|
isCustomEndpoint: true,
|
|
22310
|
-
useDualstackEndpoint: (0,
|
|
22284
|
+
useDualstackEndpoint: (0, import_util_middleware5.normalizeProvider)(useDualstackEndpoint ?? false)
|
|
22311
22285
|
});
|
|
22312
22286
|
}, "resolveCustomEndpointsConfig");
|
|
22313
22287
|
var getEndpointFromRegion = /* @__PURE__ */ __name(async (input) => {
|
|
@@ -22326,11 +22300,11 @@ var require_dist_cjs37 = __commonJS({
|
|
|
22326
22300
|
return input.urlParser(`${tls ? "https:" : "http:"}//${hostname}`);
|
|
22327
22301
|
}, "getEndpointFromRegion");
|
|
22328
22302
|
var resolveEndpointsConfig = /* @__PURE__ */ __name((input) => {
|
|
22329
|
-
const useDualstackEndpoint = (0,
|
|
22303
|
+
const useDualstackEndpoint = (0, import_util_middleware5.normalizeProvider)(input.useDualstackEndpoint ?? false);
|
|
22330
22304
|
const { endpoint: endpoint2, useFipsEndpoint, urlParser, tls } = input;
|
|
22331
22305
|
return Object.assign(input, {
|
|
22332
22306
|
tls: tls ?? true,
|
|
22333
|
-
endpoint: endpoint2 ? (0,
|
|
22307
|
+
endpoint: endpoint2 ? (0, import_util_middleware5.normalizeProvider)(typeof endpoint2 === "string" ? urlParser(endpoint2) : endpoint2) : () => getEndpointFromRegion({ ...input, useDualstackEndpoint, useFipsEndpoint }),
|
|
22334
22308
|
isCustomEndpoint: !!endpoint2,
|
|
22335
22309
|
useDualstackEndpoint
|
|
22336
22310
|
});
|
|
@@ -22481,12 +22455,12 @@ var require_dist_cjs39 = __commonJS({
|
|
|
22481
22455
|
getContentLengthPlugin: () => getContentLengthPlugin3
|
|
22482
22456
|
});
|
|
22483
22457
|
module2.exports = __toCommonJS2(src_exports);
|
|
22484
|
-
var
|
|
22458
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
22485
22459
|
var CONTENT_LENGTH_HEADER = "content-length";
|
|
22486
22460
|
function contentLengthMiddleware(bodyLengthChecker) {
|
|
22487
22461
|
return (next) => async (args) => {
|
|
22488
22462
|
const request = args.request;
|
|
22489
|
-
if (
|
|
22463
|
+
if (import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
22490
22464
|
const { body, headers } = request;
|
|
22491
22465
|
if (body && Object.keys(headers).map((str) => str.toLowerCase()).indexOf(CONTENT_LENGTH_HEADER) === -1) {
|
|
22492
22466
|
try {
|
|
@@ -23346,7 +23320,7 @@ var require_dist_cjs42 = __commonJS({
|
|
|
23346
23320
|
retryMiddlewareOptions: () => retryMiddlewareOptions
|
|
23347
23321
|
});
|
|
23348
23322
|
module2.exports = __toCommonJS2(src_exports);
|
|
23349
|
-
var
|
|
23323
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
23350
23324
|
var import_uuid = (init_esm_node(), __toCommonJS(esm_node_exports));
|
|
23351
23325
|
var import_util_retry3 = require_dist_cjs41();
|
|
23352
23326
|
var getDefaultRetryQuota = /* @__PURE__ */ __name((initialRetryTokens, options) => {
|
|
@@ -23421,12 +23395,12 @@ var require_dist_cjs42 = __commonJS({
|
|
|
23421
23395
|
let totalDelay = 0;
|
|
23422
23396
|
const maxAttempts = await this.getMaxAttempts();
|
|
23423
23397
|
const { request } = args;
|
|
23424
|
-
if (
|
|
23398
|
+
if (import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
23425
23399
|
request.headers[import_util_retry3.INVOCATION_ID_HEADER] = (0, import_uuid.v4)();
|
|
23426
23400
|
}
|
|
23427
23401
|
while (true) {
|
|
23428
23402
|
try {
|
|
23429
|
-
if (
|
|
23403
|
+
if (import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
23430
23404
|
request.headers[import_util_retry3.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;
|
|
23431
23405
|
}
|
|
23432
23406
|
if (options?.beforeRequest) {
|
|
@@ -23466,7 +23440,7 @@ var require_dist_cjs42 = __commonJS({
|
|
|
23466
23440
|
}
|
|
23467
23441
|
};
|
|
23468
23442
|
var getDelayFromRetryAfterHeader = /* @__PURE__ */ __name((response) => {
|
|
23469
|
-
if (!
|
|
23443
|
+
if (!import_protocol_http35.HttpResponse.isInstance(response))
|
|
23470
23444
|
return;
|
|
23471
23445
|
const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
|
|
23472
23446
|
if (!retryAfterHeaderName)
|
|
@@ -23499,7 +23473,7 @@ var require_dist_cjs42 = __commonJS({
|
|
|
23499
23473
|
});
|
|
23500
23474
|
}
|
|
23501
23475
|
};
|
|
23502
|
-
var
|
|
23476
|
+
var import_util_middleware5 = require_dist_cjs4();
|
|
23503
23477
|
var ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
|
|
23504
23478
|
var CONFIG_MAX_ATTEMPTS = "max_attempts";
|
|
23505
23479
|
var NODE_MAX_ATTEMPT_CONFIG_OPTIONS3 = {
|
|
@@ -23527,14 +23501,14 @@ var require_dist_cjs42 = __commonJS({
|
|
|
23527
23501
|
};
|
|
23528
23502
|
var resolveRetryConfig3 = /* @__PURE__ */ __name((input) => {
|
|
23529
23503
|
const { retryStrategy, retryMode: _retryMode, maxAttempts: _maxAttempts } = input;
|
|
23530
|
-
const maxAttempts = (0,
|
|
23504
|
+
const maxAttempts = (0, import_util_middleware5.normalizeProvider)(_maxAttempts ?? import_util_retry3.DEFAULT_MAX_ATTEMPTS);
|
|
23531
23505
|
return Object.assign(input, {
|
|
23532
23506
|
maxAttempts,
|
|
23533
23507
|
retryStrategy: async () => {
|
|
23534
23508
|
if (retryStrategy) {
|
|
23535
23509
|
return retryStrategy;
|
|
23536
23510
|
}
|
|
23537
|
-
const retryMode = await (0,
|
|
23511
|
+
const retryMode = await (0, import_util_middleware5.normalizeProvider)(_retryMode)();
|
|
23538
23512
|
if (retryMode === import_util_retry3.RETRY_MODES.ADAPTIVE) {
|
|
23539
23513
|
return new import_util_retry3.AdaptiveRetryStrategy(maxAttempts);
|
|
23540
23514
|
}
|
|
@@ -23551,7 +23525,7 @@ var require_dist_cjs42 = __commonJS({
|
|
|
23551
23525
|
};
|
|
23552
23526
|
var omitRetryHeadersMiddleware = /* @__PURE__ */ __name(() => (next) => async (args) => {
|
|
23553
23527
|
const { request } = args;
|
|
23554
|
-
if (
|
|
23528
|
+
if (import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
23555
23529
|
delete request.headers[import_util_retry3.INVOCATION_ID_HEADER];
|
|
23556
23530
|
delete request.headers[import_util_retry3.REQUEST_HEADER];
|
|
23557
23531
|
}
|
|
@@ -23581,7 +23555,7 @@ var require_dist_cjs42 = __commonJS({
|
|
|
23581
23555
|
let attempts = 0;
|
|
23582
23556
|
let totalRetryDelay = 0;
|
|
23583
23557
|
const { request } = args;
|
|
23584
|
-
const isRequest =
|
|
23558
|
+
const isRequest = import_protocol_http35.HttpRequest.isInstance(request);
|
|
23585
23559
|
if (isRequest) {
|
|
23586
23560
|
request.headers[import_util_retry3.INVOCATION_ID_HEADER] = (0, import_uuid.v4)();
|
|
23587
23561
|
}
|
|
@@ -23661,7 +23635,7 @@ var require_dist_cjs42 = __commonJS({
|
|
|
23661
23635
|
}
|
|
23662
23636
|
}), "getRetryPlugin");
|
|
23663
23637
|
var getRetryAfterHint = /* @__PURE__ */ __name((response) => {
|
|
23664
|
-
if (!
|
|
23638
|
+
if (!import_protocol_http35.HttpResponse.isInstance(response))
|
|
23665
23639
|
return;
|
|
23666
23640
|
const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
|
|
23667
23641
|
if (!retryAfterHeaderName)
|
|
@@ -24381,7 +24355,7 @@ var require_dist_cjs46 = __commonJS({
|
|
|
24381
24355
|
return endpointParams;
|
|
24382
24356
|
}, "resolveParams");
|
|
24383
24357
|
var import_core31 = (init_dist_es(), __toCommonJS(dist_es_exports));
|
|
24384
|
-
var
|
|
24358
|
+
var import_util_middleware5 = require_dist_cjs4();
|
|
24385
24359
|
var endpointMiddleware = /* @__PURE__ */ __name(({
|
|
24386
24360
|
config,
|
|
24387
24361
|
instructions
|
|
@@ -24406,7 +24380,7 @@ var require_dist_cjs46 = __commonJS({
|
|
|
24406
24380
|
if (authScheme) {
|
|
24407
24381
|
context["signing_region"] = authScheme.signingRegion;
|
|
24408
24382
|
context["signing_service"] = authScheme.signingName;
|
|
24409
|
-
const smithyContext = (0,
|
|
24383
|
+
const smithyContext = (0, import_util_middleware5.getSmithyContext)(context);
|
|
24410
24384
|
const httpAuthOption = smithyContext?.selectedHttpAuthScheme?.httpAuthOption;
|
|
24411
24385
|
if (httpAuthOption) {
|
|
24412
24386
|
httpAuthOption.signingProperties = Object.assign(
|
|
@@ -24451,14 +24425,14 @@ var require_dist_cjs46 = __commonJS({
|
|
|
24451
24425
|
var resolveEndpointConfig3 = /* @__PURE__ */ __name((input) => {
|
|
24452
24426
|
const tls = input.tls ?? true;
|
|
24453
24427
|
const { endpoint: endpoint2, useDualstackEndpoint, useFipsEndpoint } = input;
|
|
24454
|
-
const customEndpointProvider = endpoint2 != null ? async () => toEndpointV1(await (0,
|
|
24428
|
+
const customEndpointProvider = endpoint2 != null ? async () => toEndpointV1(await (0, import_util_middleware5.normalizeProvider)(endpoint2)()) : void 0;
|
|
24455
24429
|
const isCustomEndpoint = !!endpoint2;
|
|
24456
24430
|
const resolvedConfig = Object.assign(input, {
|
|
24457
24431
|
endpoint: customEndpointProvider,
|
|
24458
24432
|
tls,
|
|
24459
24433
|
isCustomEndpoint,
|
|
24460
|
-
useDualstackEndpoint: (0,
|
|
24461
|
-
useFipsEndpoint: (0,
|
|
24434
|
+
useDualstackEndpoint: (0, import_util_middleware5.normalizeProvider)(useDualstackEndpoint ?? false),
|
|
24435
|
+
useFipsEndpoint: (0, import_util_middleware5.normalizeProvider)(useFipsEndpoint ?? false)
|
|
24462
24436
|
});
|
|
24463
24437
|
let configuredEndpointPromise = void 0;
|
|
24464
24438
|
resolvedConfig.serviceConfiguredEndpoint = async () => {
|
|
@@ -25208,7 +25182,7 @@ var require_package = __commonJS({
|
|
|
25208
25182
|
module2.exports = {
|
|
25209
25183
|
name: "@aws-sdk/client-s3",
|
|
25210
25184
|
description: "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
25211
|
-
version: "3.
|
|
25185
|
+
version: "3.848.0",
|
|
25212
25186
|
scripts: {
|
|
25213
25187
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
25214
25188
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -25237,7 +25211,7 @@ var require_package = __commonJS({
|
|
|
25237
25211
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25238
25212
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25239
25213
|
"@aws-sdk/core": "3.846.0",
|
|
25240
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25214
|
+
"@aws-sdk/credential-provider-node": "3.848.0",
|
|
25241
25215
|
"@aws-sdk/middleware-bucket-endpoint": "3.840.0",
|
|
25242
25216
|
"@aws-sdk/middleware-expect-continue": "3.840.0",
|
|
25243
25217
|
"@aws-sdk/middleware-flexible-checksums": "3.846.0",
|
|
@@ -25247,13 +25221,13 @@ var require_package = __commonJS({
|
|
|
25247
25221
|
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
25248
25222
|
"@aws-sdk/middleware-sdk-s3": "3.846.0",
|
|
25249
25223
|
"@aws-sdk/middleware-ssec": "3.840.0",
|
|
25250
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25224
|
+
"@aws-sdk/middleware-user-agent": "3.848.0",
|
|
25251
25225
|
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
25252
25226
|
"@aws-sdk/signature-v4-multi-region": "3.846.0",
|
|
25253
25227
|
"@aws-sdk/types": "3.840.0",
|
|
25254
|
-
"@aws-sdk/util-endpoints": "3.
|
|
25228
|
+
"@aws-sdk/util-endpoints": "3.848.0",
|
|
25255
25229
|
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
25256
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
25230
|
+
"@aws-sdk/util-user-agent-node": "3.848.0",
|
|
25257
25231
|
"@aws-sdk/xml-builder": "3.821.0",
|
|
25258
25232
|
"@smithy/config-resolver": "^4.1.4",
|
|
25259
25233
|
"@smithy/core": "^3.7.0",
|
|
@@ -25293,7 +25267,7 @@ var require_package = __commonJS({
|
|
|
25293
25267
|
uuid: "^9.0.1"
|
|
25294
25268
|
},
|
|
25295
25269
|
devDependencies: {
|
|
25296
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
25270
|
+
"@aws-sdk/signature-v4-crt": "3.848.0",
|
|
25297
25271
|
"@tsconfig/node18": "18.2.4",
|
|
25298
25272
|
"@types/node": "^18.19.69",
|
|
25299
25273
|
concurrently: "7.0.0",
|
|
@@ -26192,13 +26166,13 @@ var require_dist_cjs50 = __commonJS({
|
|
|
26192
26166
|
resolveHostHeaderConfig: () => resolveHostHeaderConfig3
|
|
26193
26167
|
});
|
|
26194
26168
|
module2.exports = __toCommonJS2(index_exports);
|
|
26195
|
-
var
|
|
26169
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
26196
26170
|
function resolveHostHeaderConfig3(input) {
|
|
26197
26171
|
return input;
|
|
26198
26172
|
}
|
|
26199
26173
|
__name(resolveHostHeaderConfig3, "resolveHostHeaderConfig");
|
|
26200
26174
|
var hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {
|
|
26201
|
-
if (!
|
|
26175
|
+
if (!import_protocol_http35.HttpRequest.isInstance(args.request)) return next(args);
|
|
26202
26176
|
const { request } = args;
|
|
26203
26177
|
const { handlerProtocol = "" } = options.requestHandler.metadata || {};
|
|
26204
26178
|
if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) {
|
|
@@ -26328,13 +26302,13 @@ var require_dist_cjs52 = __commonJS({
|
|
|
26328
26302
|
recursionDetectionMiddleware: () => recursionDetectionMiddleware
|
|
26329
26303
|
});
|
|
26330
26304
|
module2.exports = __toCommonJS2(index_exports);
|
|
26331
|
-
var
|
|
26305
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
26332
26306
|
var TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id";
|
|
26333
26307
|
var ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";
|
|
26334
26308
|
var ENV_TRACE_ID = "_X_AMZN_TRACE_ID";
|
|
26335
26309
|
var recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {
|
|
26336
26310
|
const { request } = args;
|
|
26337
|
-
if (!
|
|
26311
|
+
if (!import_protocol_http35.HttpRequest.isInstance(request) || options.runtime !== "node") {
|
|
26338
26312
|
return next(args);
|
|
26339
26313
|
}
|
|
26340
26314
|
const traceIdHeader = Object.keys(request.headers ?? {}).find((h3) => h3.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;
|
|
@@ -26442,11 +26416,11 @@ var init_client6 = __esm({
|
|
|
26442
26416
|
});
|
|
26443
26417
|
|
|
26444
26418
|
// ../node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js
|
|
26445
|
-
var
|
|
26419
|
+
var import_protocol_http17, getDateHeader4;
|
|
26446
26420
|
var init_getDateHeader4 = __esm({
|
|
26447
26421
|
"../node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js"() {
|
|
26448
|
-
|
|
26449
|
-
getDateHeader4 = (response) =>
|
|
26422
|
+
import_protocol_http17 = __toESM(require_dist_cjs2());
|
|
26423
|
+
getDateHeader4 = (response) => import_protocol_http17.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0;
|
|
26450
26424
|
}
|
|
26451
26425
|
});
|
|
26452
26426
|
|
|
@@ -26492,10 +26466,10 @@ var init_utils4 = __esm({
|
|
|
26492
26466
|
});
|
|
26493
26467
|
|
|
26494
26468
|
// ../node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
26495
|
-
var
|
|
26469
|
+
var import_protocol_http18, throwSigningPropertyError4, validateSigningProperties4, AwsSdkSigV4Signer4, AWSSDKSigV4Signer4;
|
|
26496
26470
|
var init_AwsSdkSigV4Signer4 = __esm({
|
|
26497
26471
|
"../node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js"() {
|
|
26498
|
-
|
|
26472
|
+
import_protocol_http18 = __toESM(require_dist_cjs2());
|
|
26499
26473
|
init_utils4();
|
|
26500
26474
|
throwSigningPropertyError4 = (name, property) => {
|
|
26501
26475
|
if (!property) {
|
|
@@ -26522,7 +26496,7 @@ var init_AwsSdkSigV4Signer4 = __esm({
|
|
|
26522
26496
|
};
|
|
26523
26497
|
AwsSdkSigV4Signer4 = class {
|
|
26524
26498
|
async sign(httpRequest, identity, signingProperties) {
|
|
26525
|
-
if (!
|
|
26499
|
+
if (!import_protocol_http18.HttpRequest.isInstance(httpRequest)) {
|
|
26526
26500
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
26527
26501
|
}
|
|
26528
26502
|
const validatedProps = await validateSigningProperties4(signingProperties);
|
|
@@ -26571,15 +26545,15 @@ var init_AwsSdkSigV4Signer4 = __esm({
|
|
|
26571
26545
|
});
|
|
26572
26546
|
|
|
26573
26547
|
// ../node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js
|
|
26574
|
-
var
|
|
26548
|
+
var import_protocol_http19, AwsSdkSigV4ASigner4;
|
|
26575
26549
|
var init_AwsSdkSigV4ASigner4 = __esm({
|
|
26576
26550
|
"../node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js"() {
|
|
26577
|
-
|
|
26551
|
+
import_protocol_http19 = __toESM(require_dist_cjs2());
|
|
26578
26552
|
init_utils4();
|
|
26579
26553
|
init_AwsSdkSigV4Signer4();
|
|
26580
26554
|
AwsSdkSigV4ASigner4 = class extends AwsSdkSigV4Signer4 {
|
|
26581
26555
|
async sign(httpRequest, identity, signingProperties) {
|
|
26582
|
-
if (!
|
|
26556
|
+
if (!import_protocol_http19.HttpRequest.isInstance(httpRequest)) {
|
|
26583
26557
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
26584
26558
|
}
|
|
26585
26559
|
const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties4(signingProperties);
|
|
@@ -30048,7 +30022,7 @@ var require_dist_cjs53 = __commonJS({
|
|
|
30048
30022
|
}
|
|
30049
30023
|
__name(resolveUserAgentConfig3, "resolveUserAgentConfig");
|
|
30050
30024
|
var import_util_endpoints5 = require_dist_cjs35();
|
|
30051
|
-
var
|
|
30025
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
30052
30026
|
var import_core210 = (init_dist_es5(), __toCommonJS(dist_es_exports5));
|
|
30053
30027
|
var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
30054
30028
|
async function checkFeatures(context, config, args) {
|
|
@@ -30124,7 +30098,7 @@ var require_dist_cjs53 = __commonJS({
|
|
|
30124
30098
|
__name(encodeFeatures, "encodeFeatures");
|
|
30125
30099
|
var userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {
|
|
30126
30100
|
const { request } = args;
|
|
30127
|
-
if (!
|
|
30101
|
+
if (!import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
30128
30102
|
return next(args);
|
|
30129
30103
|
}
|
|
30130
30104
|
const { headers } = request;
|
|
@@ -30275,7 +30249,7 @@ var require_package2 = __commonJS({
|
|
|
30275
30249
|
module2.exports = {
|
|
30276
30250
|
name: "@aws-sdk/client-sso",
|
|
30277
30251
|
description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
30278
|
-
version: "3.
|
|
30252
|
+
version: "3.848.0",
|
|
30279
30253
|
scripts: {
|
|
30280
30254
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
30281
30255
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -30298,12 +30272,12 @@ var require_package2 = __commonJS({
|
|
|
30298
30272
|
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
30299
30273
|
"@aws-sdk/middleware-logger": "3.840.0",
|
|
30300
30274
|
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
30301
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30275
|
+
"@aws-sdk/middleware-user-agent": "3.848.0",
|
|
30302
30276
|
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
30303
30277
|
"@aws-sdk/types": "3.840.0",
|
|
30304
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30278
|
+
"@aws-sdk/util-endpoints": "3.848.0",
|
|
30305
30279
|
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
30306
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
30280
|
+
"@aws-sdk/util-user-agent-node": "3.848.0",
|
|
30307
30281
|
"@smithy/config-resolver": "^4.1.4",
|
|
30308
30282
|
"@smithy/core": "^3.7.0",
|
|
30309
30283
|
"@smithy/fetch-http-handler": "^5.1.0",
|
|
@@ -31001,7 +30975,7 @@ var require_dist_cjs59 = __commonJS({
|
|
|
31001
30975
|
};
|
|
31002
30976
|
var import_runtimeConfig5 = require_runtimeConfig();
|
|
31003
30977
|
var import_region_config_resolver3 = require_dist_cjs58();
|
|
31004
|
-
var
|
|
30978
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
31005
30979
|
var import_smithy_client61 = require_dist_cjs20();
|
|
31006
30980
|
var getHttpAuthExtensionConfiguration3 = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
31007
30981
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
@@ -31044,7 +31018,7 @@ var require_dist_cjs59 = __commonJS({
|
|
|
31044
31018
|
const extensionConfiguration = Object.assign(
|
|
31045
31019
|
(0, import_region_config_resolver3.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
31046
31020
|
(0, import_smithy_client61.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
31047
|
-
(0,
|
|
31021
|
+
(0, import_protocol_http35.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
31048
31022
|
getHttpAuthExtensionConfiguration3(runtimeConfig)
|
|
31049
31023
|
);
|
|
31050
31024
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
@@ -31052,7 +31026,7 @@ var require_dist_cjs59 = __commonJS({
|
|
|
31052
31026
|
runtimeConfig,
|
|
31053
31027
|
(0, import_region_config_resolver3.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
31054
31028
|
(0, import_smithy_client61.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
31055
|
-
(0,
|
|
31029
|
+
(0, import_protocol_http35.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
31056
31030
|
resolveHttpAuthRuntimeConfig3(extensionConfiguration)
|
|
31057
31031
|
);
|
|
31058
31032
|
}, "resolveRuntimeExtensions");
|
|
@@ -31639,11 +31613,11 @@ var init_client8 = __esm({
|
|
|
31639
31613
|
});
|
|
31640
31614
|
|
|
31641
31615
|
// ../node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js
|
|
31642
|
-
var
|
|
31616
|
+
var import_protocol_http20, getDateHeader5;
|
|
31643
31617
|
var init_getDateHeader5 = __esm({
|
|
31644
31618
|
"../node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js"() {
|
|
31645
|
-
|
|
31646
|
-
getDateHeader5 = (response) =>
|
|
31619
|
+
import_protocol_http20 = __toESM(require_dist_cjs2());
|
|
31620
|
+
getDateHeader5 = (response) => import_protocol_http20.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0;
|
|
31647
31621
|
}
|
|
31648
31622
|
});
|
|
31649
31623
|
|
|
@@ -31689,10 +31663,10 @@ var init_utils5 = __esm({
|
|
|
31689
31663
|
});
|
|
31690
31664
|
|
|
31691
31665
|
// ../node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
31692
|
-
var
|
|
31666
|
+
var import_protocol_http21, throwSigningPropertyError5, validateSigningProperties5, AwsSdkSigV4Signer5, AWSSDKSigV4Signer5;
|
|
31693
31667
|
var init_AwsSdkSigV4Signer5 = __esm({
|
|
31694
31668
|
"../node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js"() {
|
|
31695
|
-
|
|
31669
|
+
import_protocol_http21 = __toESM(require_dist_cjs2());
|
|
31696
31670
|
init_utils5();
|
|
31697
31671
|
throwSigningPropertyError5 = (name, property) => {
|
|
31698
31672
|
if (!property) {
|
|
@@ -31719,7 +31693,7 @@ var init_AwsSdkSigV4Signer5 = __esm({
|
|
|
31719
31693
|
};
|
|
31720
31694
|
AwsSdkSigV4Signer5 = class {
|
|
31721
31695
|
async sign(httpRequest, identity, signingProperties) {
|
|
31722
|
-
if (!
|
|
31696
|
+
if (!import_protocol_http21.HttpRequest.isInstance(httpRequest)) {
|
|
31723
31697
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
31724
31698
|
}
|
|
31725
31699
|
const validatedProps = await validateSigningProperties5(signingProperties);
|
|
@@ -31768,15 +31742,15 @@ var init_AwsSdkSigV4Signer5 = __esm({
|
|
|
31768
31742
|
});
|
|
31769
31743
|
|
|
31770
31744
|
// ../node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js
|
|
31771
|
-
var
|
|
31745
|
+
var import_protocol_http22, AwsSdkSigV4ASigner5;
|
|
31772
31746
|
var init_AwsSdkSigV4ASigner5 = __esm({
|
|
31773
31747
|
"../node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js"() {
|
|
31774
|
-
|
|
31748
|
+
import_protocol_http22 = __toESM(require_dist_cjs2());
|
|
31775
31749
|
init_utils5();
|
|
31776
31750
|
init_AwsSdkSigV4Signer5();
|
|
31777
31751
|
AwsSdkSigV4ASigner5 = class extends AwsSdkSigV4Signer5 {
|
|
31778
31752
|
async sign(httpRequest, identity, signingProperties) {
|
|
31779
|
-
if (!
|
|
31753
|
+
if (!import_protocol_http22.HttpRequest.isInstance(httpRequest)) {
|
|
31780
31754
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
31781
31755
|
}
|
|
31782
31756
|
const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties5(signingProperties);
|
|
@@ -32062,13 +32036,13 @@ var require_dist_cjs60 = __commonJS({
|
|
|
32062
32036
|
resolveHostHeaderConfig: () => resolveHostHeaderConfig3
|
|
32063
32037
|
});
|
|
32064
32038
|
module2.exports = __toCommonJS2(index_exports);
|
|
32065
|
-
var
|
|
32039
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
32066
32040
|
function resolveHostHeaderConfig3(input) {
|
|
32067
32041
|
return input;
|
|
32068
32042
|
}
|
|
32069
32043
|
__name(resolveHostHeaderConfig3, "resolveHostHeaderConfig");
|
|
32070
32044
|
var hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {
|
|
32071
|
-
if (!
|
|
32045
|
+
if (!import_protocol_http35.HttpRequest.isInstance(args.request)) return next(args);
|
|
32072
32046
|
const { request } = args;
|
|
32073
32047
|
const { handlerProtocol = "" } = options.requestHandler.metadata || {};
|
|
32074
32048
|
if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) {
|
|
@@ -32198,13 +32172,13 @@ var require_dist_cjs62 = __commonJS({
|
|
|
32198
32172
|
recursionDetectionMiddleware: () => recursionDetectionMiddleware
|
|
32199
32173
|
});
|
|
32200
32174
|
module2.exports = __toCommonJS2(index_exports);
|
|
32201
|
-
var
|
|
32175
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
32202
32176
|
var TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id";
|
|
32203
32177
|
var ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";
|
|
32204
32178
|
var ENV_TRACE_ID = "_X_AMZN_TRACE_ID";
|
|
32205
32179
|
var recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {
|
|
32206
32180
|
const { request } = args;
|
|
32207
|
-
if (!
|
|
32181
|
+
if (!import_protocol_http35.HttpRequest.isInstance(request) || options.runtime !== "node") {
|
|
32208
32182
|
return next(args);
|
|
32209
32183
|
}
|
|
32210
32184
|
const traceIdHeader = Object.keys(request.headers ?? {}).find((h3) => h3.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;
|
|
@@ -32312,11 +32286,11 @@ var init_client9 = __esm({
|
|
|
32312
32286
|
});
|
|
32313
32287
|
|
|
32314
32288
|
// ../node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js
|
|
32315
|
-
var
|
|
32289
|
+
var import_protocol_http23, getDateHeader6;
|
|
32316
32290
|
var init_getDateHeader6 = __esm({
|
|
32317
32291
|
"../node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js"() {
|
|
32318
|
-
|
|
32319
|
-
getDateHeader6 = (response) =>
|
|
32292
|
+
import_protocol_http23 = __toESM(require_dist_cjs2());
|
|
32293
|
+
getDateHeader6 = (response) => import_protocol_http23.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0;
|
|
32320
32294
|
}
|
|
32321
32295
|
});
|
|
32322
32296
|
|
|
@@ -32362,10 +32336,10 @@ var init_utils6 = __esm({
|
|
|
32362
32336
|
});
|
|
32363
32337
|
|
|
32364
32338
|
// ../node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
32365
|
-
var
|
|
32339
|
+
var import_protocol_http24, throwSigningPropertyError6, validateSigningProperties6, AwsSdkSigV4Signer6, AWSSDKSigV4Signer6;
|
|
32366
32340
|
var init_AwsSdkSigV4Signer6 = __esm({
|
|
32367
32341
|
"../node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js"() {
|
|
32368
|
-
|
|
32342
|
+
import_protocol_http24 = __toESM(require_dist_cjs2());
|
|
32369
32343
|
init_utils6();
|
|
32370
32344
|
throwSigningPropertyError6 = (name, property) => {
|
|
32371
32345
|
if (!property) {
|
|
@@ -32392,7 +32366,7 @@ var init_AwsSdkSigV4Signer6 = __esm({
|
|
|
32392
32366
|
};
|
|
32393
32367
|
AwsSdkSigV4Signer6 = class {
|
|
32394
32368
|
async sign(httpRequest, identity, signingProperties) {
|
|
32395
|
-
if (!
|
|
32369
|
+
if (!import_protocol_http24.HttpRequest.isInstance(httpRequest)) {
|
|
32396
32370
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
32397
32371
|
}
|
|
32398
32372
|
const validatedProps = await validateSigningProperties6(signingProperties);
|
|
@@ -32441,15 +32415,15 @@ var init_AwsSdkSigV4Signer6 = __esm({
|
|
|
32441
32415
|
});
|
|
32442
32416
|
|
|
32443
32417
|
// ../node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js
|
|
32444
|
-
var
|
|
32418
|
+
var import_protocol_http25, AwsSdkSigV4ASigner6;
|
|
32445
32419
|
var init_AwsSdkSigV4ASigner6 = __esm({
|
|
32446
32420
|
"../node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js"() {
|
|
32447
|
-
|
|
32421
|
+
import_protocol_http25 = __toESM(require_dist_cjs2());
|
|
32448
32422
|
init_utils6();
|
|
32449
32423
|
init_AwsSdkSigV4Signer6();
|
|
32450
32424
|
AwsSdkSigV4ASigner6 = class extends AwsSdkSigV4Signer6 {
|
|
32451
32425
|
async sign(httpRequest, identity, signingProperties) {
|
|
32452
|
-
if (!
|
|
32426
|
+
if (!import_protocol_http25.HttpRequest.isInstance(httpRequest)) {
|
|
32453
32427
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
32454
32428
|
}
|
|
32455
32429
|
const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties6(signingProperties);
|
|
@@ -35918,7 +35892,7 @@ var require_dist_cjs63 = __commonJS({
|
|
|
35918
35892
|
}
|
|
35919
35893
|
__name(resolveUserAgentConfig3, "resolveUserAgentConfig");
|
|
35920
35894
|
var import_util_endpoints5 = require_dist_cjs35();
|
|
35921
|
-
var
|
|
35895
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
35922
35896
|
var import_core210 = (init_dist_es6(), __toCommonJS(dist_es_exports6));
|
|
35923
35897
|
var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
35924
35898
|
async function checkFeatures(context, config, args) {
|
|
@@ -35994,7 +35968,7 @@ var require_dist_cjs63 = __commonJS({
|
|
|
35994
35968
|
__name(encodeFeatures, "encodeFeatures");
|
|
35995
35969
|
var userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {
|
|
35996
35970
|
const { request } = args;
|
|
35997
|
-
if (!
|
|
35971
|
+
if (!import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
35998
35972
|
return next(args);
|
|
35999
35973
|
}
|
|
36000
35974
|
const { headers } = request;
|
|
@@ -36087,15 +36061,15 @@ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
|
36087
36061
|
schemeId: "smithy.api#noAuth"
|
|
36088
36062
|
};
|
|
36089
36063
|
}
|
|
36090
|
-
var
|
|
36064
|
+
var import_util_middleware3, defaultSSOOIDCHttpAuthSchemeParametersProvider, defaultSSOOIDCHttpAuthSchemeProvider, resolveHttpAuthSchemeConfig;
|
|
36091
36065
|
var init_httpAuthSchemeProvider = __esm({
|
|
36092
36066
|
"../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js"() {
|
|
36093
36067
|
init_dist_es6();
|
|
36094
|
-
|
|
36068
|
+
import_util_middleware3 = __toESM(require_dist_cjs4());
|
|
36095
36069
|
defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
36096
36070
|
return {
|
|
36097
|
-
operation: (0,
|
|
36098
|
-
region: await (0,
|
|
36071
|
+
operation: (0, import_util_middleware3.getSmithyContext)(context).operation,
|
|
36072
|
+
region: await (0, import_util_middleware3.normalizeProvider)(config.region)() || (() => {
|
|
36099
36073
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
36100
36074
|
})()
|
|
36101
36075
|
};
|
|
@@ -36116,7 +36090,7 @@ var init_httpAuthSchemeProvider = __esm({
|
|
|
36116
36090
|
resolveHttpAuthSchemeConfig = (config) => {
|
|
36117
36091
|
const config_0 = resolveAwsSdkSigV4Config6(config);
|
|
36118
36092
|
return Object.assign(config_0, {
|
|
36119
|
-
authSchemePreference: (0,
|
|
36093
|
+
authSchemePreference: (0, import_util_middleware3.normalizeProvider)(config.authSchemePreference ?? [])
|
|
36120
36094
|
});
|
|
36121
36095
|
};
|
|
36122
36096
|
}
|
|
@@ -36148,7 +36122,7 @@ var init_package = __esm({
|
|
|
36148
36122
|
"../node_modules/@aws-sdk/nested-clients/package.json"() {
|
|
36149
36123
|
package_default = {
|
|
36150
36124
|
name: "@aws-sdk/nested-clients",
|
|
36151
|
-
version: "3.
|
|
36125
|
+
version: "3.848.0",
|
|
36152
36126
|
description: "Nested clients for AWS SDK packages.",
|
|
36153
36127
|
main: "./dist-cjs/index.js",
|
|
36154
36128
|
module: "./dist-es/index.js",
|
|
@@ -36180,12 +36154,12 @@ var init_package = __esm({
|
|
|
36180
36154
|
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
36181
36155
|
"@aws-sdk/middleware-logger": "3.840.0",
|
|
36182
36156
|
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
36183
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36157
|
+
"@aws-sdk/middleware-user-agent": "3.848.0",
|
|
36184
36158
|
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
36185
36159
|
"@aws-sdk/types": "3.840.0",
|
|
36186
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36160
|
+
"@aws-sdk/util-endpoints": "3.848.0",
|
|
36187
36161
|
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
36188
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36162
|
+
"@aws-sdk/util-user-agent-node": "3.848.0",
|
|
36189
36163
|
"@smithy/config-resolver": "^4.1.4",
|
|
36190
36164
|
"@smithy/core": "^3.7.0",
|
|
36191
36165
|
"@smithy/fetch-http-handler": "^5.1.0",
|
|
@@ -36631,17 +36605,17 @@ var init_httpAuthExtensionConfiguration = __esm({
|
|
|
36631
36605
|
});
|
|
36632
36606
|
|
|
36633
36607
|
// ../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
|
|
36634
|
-
var import_region_config_resolver,
|
|
36608
|
+
var import_region_config_resolver, import_protocol_http26, import_smithy_client34, resolveRuntimeExtensions;
|
|
36635
36609
|
var init_runtimeExtensions = __esm({
|
|
36636
36610
|
"../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js"() {
|
|
36637
36611
|
import_region_config_resolver = __toESM(require_dist_cjs65());
|
|
36638
|
-
|
|
36612
|
+
import_protocol_http26 = __toESM(require_dist_cjs2());
|
|
36639
36613
|
import_smithy_client34 = __toESM(require_dist_cjs20());
|
|
36640
36614
|
init_httpAuthExtensionConfiguration();
|
|
36641
36615
|
resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
36642
|
-
const extensionConfiguration = Object.assign((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client34.getDefaultExtensionConfiguration)(runtimeConfig), (0,
|
|
36616
|
+
const extensionConfiguration = Object.assign((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client34.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http26.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
36643
36617
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
36644
|
-
return Object.assign(runtimeConfig, (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client34.resolveDefaultRuntimeConfig)(extensionConfiguration), (0,
|
|
36618
|
+
return Object.assign(runtimeConfig, (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client34.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_protocol_http26.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
36645
36619
|
};
|
|
36646
36620
|
}
|
|
36647
36621
|
});
|
|
@@ -37789,16 +37763,16 @@ function createSmithyApiNoAuthHttpAuthOption2(authParameters) {
|
|
|
37789
37763
|
schemeId: "smithy.api#noAuth"
|
|
37790
37764
|
};
|
|
37791
37765
|
}
|
|
37792
|
-
var
|
|
37766
|
+
var import_util_middleware4, defaultSTSHttpAuthSchemeParametersProvider, defaultSTSHttpAuthSchemeProvider, resolveStsAuthConfig, resolveHttpAuthSchemeConfig2;
|
|
37793
37767
|
var init_httpAuthSchemeProvider2 = __esm({
|
|
37794
37768
|
"../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js"() {
|
|
37795
37769
|
init_dist_es6();
|
|
37796
|
-
|
|
37770
|
+
import_util_middleware4 = __toESM(require_dist_cjs4());
|
|
37797
37771
|
init_STSClient();
|
|
37798
37772
|
defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
37799
37773
|
return {
|
|
37800
|
-
operation: (0,
|
|
37801
|
-
region: await (0,
|
|
37774
|
+
operation: (0, import_util_middleware4.getSmithyContext)(context).operation,
|
|
37775
|
+
region: await (0, import_util_middleware4.normalizeProvider)(config.region)() || (() => {
|
|
37802
37776
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
37803
37777
|
})()
|
|
37804
37778
|
};
|
|
@@ -37823,7 +37797,7 @@ var init_httpAuthSchemeProvider2 = __esm({
|
|
|
37823
37797
|
const config_0 = resolveStsAuthConfig(config);
|
|
37824
37798
|
const config_1 = resolveAwsSdkSigV4Config6(config_0);
|
|
37825
37799
|
return Object.assign(config_1, {
|
|
37826
|
-
authSchemePreference: (0,
|
|
37800
|
+
authSchemePreference: (0, import_util_middleware4.normalizeProvider)(config.authSchemePreference ?? [])
|
|
37827
37801
|
});
|
|
37828
37802
|
};
|
|
37829
37803
|
}
|
|
@@ -38071,17 +38045,17 @@ var init_httpAuthExtensionConfiguration2 = __esm({
|
|
|
38071
38045
|
});
|
|
38072
38046
|
|
|
38073
38047
|
// ../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js
|
|
38074
|
-
var import_region_config_resolver2,
|
|
38048
|
+
var import_region_config_resolver2, import_protocol_http27, import_smithy_client44, resolveRuntimeExtensions2;
|
|
38075
38049
|
var init_runtimeExtensions2 = __esm({
|
|
38076
38050
|
"../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js"() {
|
|
38077
38051
|
import_region_config_resolver2 = __toESM(require_dist_cjs65());
|
|
38078
|
-
|
|
38052
|
+
import_protocol_http27 = __toESM(require_dist_cjs2());
|
|
38079
38053
|
import_smithy_client44 = __toESM(require_dist_cjs20());
|
|
38080
38054
|
init_httpAuthExtensionConfiguration2();
|
|
38081
38055
|
resolveRuntimeExtensions2 = (runtimeConfig, extensions) => {
|
|
38082
|
-
const extensionConfiguration = Object.assign((0, import_region_config_resolver2.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client44.getDefaultExtensionConfiguration)(runtimeConfig), (0,
|
|
38056
|
+
const extensionConfiguration = Object.assign((0, import_region_config_resolver2.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client44.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http27.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration2(runtimeConfig));
|
|
38083
38057
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
38084
|
-
return Object.assign(runtimeConfig, (0, import_region_config_resolver2.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client44.resolveDefaultRuntimeConfig)(extensionConfiguration), (0,
|
|
38058
|
+
return Object.assign(runtimeConfig, (0, import_region_config_resolver2.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client44.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_protocol_http27.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig2(extensionConfiguration));
|
|
38085
38059
|
};
|
|
38086
38060
|
}
|
|
38087
38061
|
});
|
|
@@ -38264,11 +38238,11 @@ var init_models_02 = __esm({
|
|
|
38264
38238
|
});
|
|
38265
38239
|
|
|
38266
38240
|
// ../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js
|
|
38267
|
-
var
|
|
38241
|
+
var import_protocol_http28, import_smithy_client48, 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;
|
|
38268
38242
|
var init_Aws_query = __esm({
|
|
38269
38243
|
"../node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js"() {
|
|
38270
38244
|
init_dist_es6();
|
|
38271
|
-
|
|
38245
|
+
import_protocol_http28 = __toESM(require_dist_cjs2());
|
|
38272
38246
|
import_smithy_client48 = __toESM(require_dist_cjs20());
|
|
38273
38247
|
init_models_02();
|
|
38274
38248
|
init_STSServiceException();
|
|
@@ -38741,7 +38715,7 @@ var init_Aws_query = __esm({
|
|
|
38741
38715
|
if (body !== void 0) {
|
|
38742
38716
|
contents.body = body;
|
|
38743
38717
|
}
|
|
38744
|
-
return new
|
|
38718
|
+
return new import_protocol_http28.HttpRequest(contents);
|
|
38745
38719
|
};
|
|
38746
38720
|
SHARED_HEADERS = {
|
|
38747
38721
|
"content-type": "application/x-www-form-urlencoded"
|
|
@@ -39876,7 +39850,7 @@ var require_dist_cjs72 = __commonJS({
|
|
|
39876
39850
|
default: void 0
|
|
39877
39851
|
};
|
|
39878
39852
|
var import_util_arn_parser = require_dist_cjs30();
|
|
39879
|
-
var
|
|
39853
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
39880
39854
|
var DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/;
|
|
39881
39855
|
var IP_ADDRESS_PATTERN = /(\d+\.){3}\d+/;
|
|
39882
39856
|
var DOTS_PATTERN = /\.\./;
|
|
@@ -40144,7 +40118,7 @@ var require_dist_cjs72 = __commonJS({
|
|
|
40144
40118
|
const { Bucket: bucketName } = args.input;
|
|
40145
40119
|
let replaceBucketInPath = options.bucketEndpoint;
|
|
40146
40120
|
const request = args.request;
|
|
40147
|
-
if (
|
|
40121
|
+
if (import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
40148
40122
|
if (options.bucketEndpoint) {
|
|
40149
40123
|
request.hostname = bucketName;
|
|
40150
40124
|
} else if ((0, import_util_arn_parser.validate)(bucketName)) {
|
|
@@ -42653,7 +42627,7 @@ var require_dist_cjs82 = __commonJS({
|
|
|
42653
42627
|
var import_core31 = (init_dist_es4(), __toCommonJS(dist_es_exports4));
|
|
42654
42628
|
var import_xml_builder7 = require_dist_cjs21();
|
|
42655
42629
|
var import_core210 = (init_dist_es(), __toCommonJS(dist_es_exports));
|
|
42656
|
-
var
|
|
42630
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
42657
42631
|
var import_uuid = (init_esm_node2(), __toCommonJS(esm_node_exports2));
|
|
42658
42632
|
var ObjectStorageClass = {
|
|
42659
42633
|
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
@@ -45110,7 +45084,7 @@ var require_dist_cjs82 = __commonJS({
|
|
|
45110
45084
|
throw new Error("Empty value provided for input host prefix: RequestRoute.");
|
|
45111
45085
|
}
|
|
45112
45086
|
resolvedHostname = resolvedHostname.replace("{RequestRoute}", input.RequestRoute);
|
|
45113
|
-
if (!(0,
|
|
45087
|
+
if (!(0, import_protocol_http35.isValidHostname)(resolvedHostname)) {
|
|
45114
45088
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
45115
45089
|
}
|
|
45116
45090
|
}
|
|
@@ -50887,7 +50861,7 @@ var require_dist_cjs82 = __commonJS({
|
|
|
50887
50861
|
const extensionConfiguration = Object.assign(
|
|
50888
50862
|
(0, import_region_config_resolver3.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
50889
50863
|
(0, import_smithy_client61.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
50890
|
-
(0,
|
|
50864
|
+
(0, import_protocol_http35.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
50891
50865
|
getHttpAuthExtensionConfiguration3(runtimeConfig)
|
|
50892
50866
|
);
|
|
50893
50867
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
@@ -50895,7 +50869,7 @@ var require_dist_cjs82 = __commonJS({
|
|
|
50895
50869
|
runtimeConfig,
|
|
50896
50870
|
(0, import_region_config_resolver3.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
50897
50871
|
(0, import_smithy_client61.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
50898
|
-
(0,
|
|
50872
|
+
(0, import_protocol_http35.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
50899
50873
|
resolveHttpAuthRuntimeConfig3(extensionConfiguration)
|
|
50900
50874
|
);
|
|
50901
50875
|
}, "resolveRuntimeExtensions");
|
|
@@ -53070,11 +53044,11 @@ var init_client13 = __esm({
|
|
|
53070
53044
|
});
|
|
53071
53045
|
|
|
53072
53046
|
// ../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js
|
|
53073
|
-
var
|
|
53047
|
+
var import_protocol_http29, getDateHeader7;
|
|
53074
53048
|
var init_getDateHeader7 = __esm({
|
|
53075
53049
|
"../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js"() {
|
|
53076
|
-
|
|
53077
|
-
getDateHeader7 = (response) =>
|
|
53050
|
+
import_protocol_http29 = __toESM(require_dist_cjs2());
|
|
53051
|
+
getDateHeader7 = (response) => import_protocol_http29.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0;
|
|
53078
53052
|
}
|
|
53079
53053
|
});
|
|
53080
53054
|
|
|
@@ -53120,10 +53094,10 @@ var init_utils7 = __esm({
|
|
|
53120
53094
|
});
|
|
53121
53095
|
|
|
53122
53096
|
// ../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
53123
|
-
var
|
|
53097
|
+
var import_protocol_http30, throwSigningPropertyError7, validateSigningProperties7, AwsSdkSigV4Signer7, AWSSDKSigV4Signer7;
|
|
53124
53098
|
var init_AwsSdkSigV4Signer7 = __esm({
|
|
53125
53099
|
"../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js"() {
|
|
53126
|
-
|
|
53100
|
+
import_protocol_http30 = __toESM(require_dist_cjs2());
|
|
53127
53101
|
init_utils7();
|
|
53128
53102
|
throwSigningPropertyError7 = (name, property) => {
|
|
53129
53103
|
if (!property) {
|
|
@@ -53150,7 +53124,7 @@ var init_AwsSdkSigV4Signer7 = __esm({
|
|
|
53150
53124
|
};
|
|
53151
53125
|
AwsSdkSigV4Signer7 = class {
|
|
53152
53126
|
async sign(httpRequest, identity, signingProperties) {
|
|
53153
|
-
if (!
|
|
53127
|
+
if (!import_protocol_http30.HttpRequest.isInstance(httpRequest)) {
|
|
53154
53128
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
53155
53129
|
}
|
|
53156
53130
|
const validatedProps = await validateSigningProperties7(signingProperties);
|
|
@@ -53199,15 +53173,15 @@ var init_AwsSdkSigV4Signer7 = __esm({
|
|
|
53199
53173
|
});
|
|
53200
53174
|
|
|
53201
53175
|
// ../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js
|
|
53202
|
-
var
|
|
53176
|
+
var import_protocol_http31, AwsSdkSigV4ASigner7;
|
|
53203
53177
|
var init_AwsSdkSigV4ASigner7 = __esm({
|
|
53204
53178
|
"../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js"() {
|
|
53205
|
-
|
|
53179
|
+
import_protocol_http31 = __toESM(require_dist_cjs2());
|
|
53206
53180
|
init_utils7();
|
|
53207
53181
|
init_AwsSdkSigV4Signer7();
|
|
53208
53182
|
AwsSdkSigV4ASigner7 = class extends AwsSdkSigV4Signer7 {
|
|
53209
53183
|
async sign(httpRequest, identity, signingProperties) {
|
|
53210
|
-
if (!
|
|
53184
|
+
if (!import_protocol_http31.HttpRequest.isInstance(httpRequest)) {
|
|
53211
53185
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
53212
53186
|
}
|
|
53213
53187
|
const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties7(signingProperties);
|
|
@@ -55771,7 +55745,7 @@ var require_dist_cjs84 = __commonJS({
|
|
|
55771
55745
|
}
|
|
55772
55746
|
__name(resolveUserAgentConfig3, "resolveUserAgentConfig");
|
|
55773
55747
|
var import_util_endpoints5 = require_dist_cjs83();
|
|
55774
|
-
var
|
|
55748
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
55775
55749
|
var import_core210 = (init_dist_es7(), __toCommonJS(dist_es_exports7));
|
|
55776
55750
|
var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
55777
55751
|
async function checkFeatures(context, config, args) {
|
|
@@ -55847,7 +55821,7 @@ var require_dist_cjs84 = __commonJS({
|
|
|
55847
55821
|
__name(encodeFeatures, "encodeFeatures");
|
|
55848
55822
|
var userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {
|
|
55849
55823
|
const { request } = args;
|
|
55850
|
-
if (!
|
|
55824
|
+
if (!import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
55851
55825
|
return next(args);
|
|
55852
55826
|
}
|
|
55853
55827
|
const { headers } = request;
|
|
@@ -56518,13 +56492,13 @@ var require_dist_cjs87 = __commonJS({
|
|
|
56518
56492
|
resolveHostHeaderConfig: () => resolveHostHeaderConfig3
|
|
56519
56493
|
});
|
|
56520
56494
|
module2.exports = __toCommonJS2(index_exports);
|
|
56521
|
-
var
|
|
56495
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
56522
56496
|
function resolveHostHeaderConfig3(input) {
|
|
56523
56497
|
return input;
|
|
56524
56498
|
}
|
|
56525
56499
|
__name(resolveHostHeaderConfig3, "resolveHostHeaderConfig");
|
|
56526
56500
|
var hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {
|
|
56527
|
-
if (!
|
|
56501
|
+
if (!import_protocol_http35.HttpRequest.isInstance(args.request)) return next(args);
|
|
56528
56502
|
const { request } = args;
|
|
56529
56503
|
const { handlerProtocol = "" } = options.requestHandler.metadata || {};
|
|
56530
56504
|
if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) {
|
|
@@ -56654,13 +56628,13 @@ var require_dist_cjs89 = __commonJS({
|
|
|
56654
56628
|
recursionDetectionMiddleware: () => recursionDetectionMiddleware
|
|
56655
56629
|
});
|
|
56656
56630
|
module2.exports = __toCommonJS2(index_exports);
|
|
56657
|
-
var
|
|
56631
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
56658
56632
|
var TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id";
|
|
56659
56633
|
var ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";
|
|
56660
56634
|
var ENV_TRACE_ID = "_X_AMZN_TRACE_ID";
|
|
56661
56635
|
var recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {
|
|
56662
56636
|
const { request } = args;
|
|
56663
|
-
if (!
|
|
56637
|
+
if (!import_protocol_http35.HttpRequest.isInstance(request) || options.runtime !== "node") {
|
|
56664
56638
|
return next(args);
|
|
56665
56639
|
}
|
|
56666
56640
|
const traceIdHeader = Object.keys(request.headers ?? {}).find((h3) => h3.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;
|
|
@@ -59336,13 +59310,13 @@ var require_dist_cjs91 = __commonJS({
|
|
|
59336
59310
|
resolveHostHeaderConfig: () => resolveHostHeaderConfig3
|
|
59337
59311
|
});
|
|
59338
59312
|
module2.exports = __toCommonJS2(index_exports);
|
|
59339
|
-
var
|
|
59313
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
59340
59314
|
function resolveHostHeaderConfig3(input) {
|
|
59341
59315
|
return input;
|
|
59342
59316
|
}
|
|
59343
59317
|
__name(resolveHostHeaderConfig3, "resolveHostHeaderConfig");
|
|
59344
59318
|
var hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {
|
|
59345
|
-
if (!
|
|
59319
|
+
if (!import_protocol_http35.HttpRequest.isInstance(args.request)) return next(args);
|
|
59346
59320
|
const { request } = args;
|
|
59347
59321
|
const { handlerProtocol = "" } = options.requestHandler.metadata || {};
|
|
59348
59322
|
if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) {
|
|
@@ -59472,13 +59446,13 @@ var require_dist_cjs93 = __commonJS({
|
|
|
59472
59446
|
recursionDetectionMiddleware: () => recursionDetectionMiddleware
|
|
59473
59447
|
});
|
|
59474
59448
|
module2.exports = __toCommonJS2(index_exports);
|
|
59475
|
-
var
|
|
59449
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
59476
59450
|
var TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id";
|
|
59477
59451
|
var ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";
|
|
59478
59452
|
var ENV_TRACE_ID = "_X_AMZN_TRACE_ID";
|
|
59479
59453
|
var recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => {
|
|
59480
59454
|
const { request } = args;
|
|
59481
|
-
if (!
|
|
59455
|
+
if (!import_protocol_http35.HttpRequest.isInstance(request) || options.runtime !== "node") {
|
|
59482
59456
|
return next(args);
|
|
59483
59457
|
}
|
|
59484
59458
|
const traceIdHeader = Object.keys(request.headers ?? {}).find((h3) => h3.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;
|
|
@@ -59586,11 +59560,11 @@ var init_client14 = __esm({
|
|
|
59586
59560
|
});
|
|
59587
59561
|
|
|
59588
59562
|
// ../node_modules/@aws-sdk/client-secrets-manager/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js
|
|
59589
|
-
var
|
|
59563
|
+
var import_protocol_http32, getDateHeader8;
|
|
59590
59564
|
var init_getDateHeader8 = __esm({
|
|
59591
59565
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js"() {
|
|
59592
|
-
|
|
59593
|
-
getDateHeader8 = (response) =>
|
|
59566
|
+
import_protocol_http32 = __toESM(require_dist_cjs2());
|
|
59567
|
+
getDateHeader8 = (response) => import_protocol_http32.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0;
|
|
59594
59568
|
}
|
|
59595
59569
|
});
|
|
59596
59570
|
|
|
@@ -59636,10 +59610,10 @@ var init_utils8 = __esm({
|
|
|
59636
59610
|
});
|
|
59637
59611
|
|
|
59638
59612
|
// ../node_modules/@aws-sdk/client-secrets-manager/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
59639
|
-
var
|
|
59613
|
+
var import_protocol_http33, throwSigningPropertyError8, validateSigningProperties8, AwsSdkSigV4Signer8, AWSSDKSigV4Signer8;
|
|
59640
59614
|
var init_AwsSdkSigV4Signer8 = __esm({
|
|
59641
59615
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js"() {
|
|
59642
|
-
|
|
59616
|
+
import_protocol_http33 = __toESM(require_dist_cjs2());
|
|
59643
59617
|
init_utils8();
|
|
59644
59618
|
throwSigningPropertyError8 = (name, property) => {
|
|
59645
59619
|
if (!property) {
|
|
@@ -59666,7 +59640,7 @@ var init_AwsSdkSigV4Signer8 = __esm({
|
|
|
59666
59640
|
};
|
|
59667
59641
|
AwsSdkSigV4Signer8 = class {
|
|
59668
59642
|
async sign(httpRequest, identity, signingProperties) {
|
|
59669
|
-
if (!
|
|
59643
|
+
if (!import_protocol_http33.HttpRequest.isInstance(httpRequest)) {
|
|
59670
59644
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
59671
59645
|
}
|
|
59672
59646
|
const validatedProps = await validateSigningProperties8(signingProperties);
|
|
@@ -59715,15 +59689,15 @@ var init_AwsSdkSigV4Signer8 = __esm({
|
|
|
59715
59689
|
});
|
|
59716
59690
|
|
|
59717
59691
|
// ../node_modules/@aws-sdk/client-secrets-manager/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js
|
|
59718
|
-
var
|
|
59692
|
+
var import_protocol_http34, AwsSdkSigV4ASigner8;
|
|
59719
59693
|
var init_AwsSdkSigV4ASigner8 = __esm({
|
|
59720
59694
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js"() {
|
|
59721
|
-
|
|
59695
|
+
import_protocol_http34 = __toESM(require_dist_cjs2());
|
|
59722
59696
|
init_utils8();
|
|
59723
59697
|
init_AwsSdkSigV4Signer8();
|
|
59724
59698
|
AwsSdkSigV4ASigner8 = class extends AwsSdkSigV4Signer8 {
|
|
59725
59699
|
async sign(httpRequest, identity, signingProperties) {
|
|
59726
|
-
if (!
|
|
59700
|
+
if (!import_protocol_http34.HttpRequest.isInstance(httpRequest)) {
|
|
59727
59701
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
59728
59702
|
}
|
|
59729
59703
|
const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties8(signingProperties);
|
|
@@ -63192,7 +63166,7 @@ var require_dist_cjs94 = __commonJS({
|
|
|
63192
63166
|
}
|
|
63193
63167
|
__name(resolveUserAgentConfig3, "resolveUserAgentConfig");
|
|
63194
63168
|
var import_util_endpoints5 = require_dist_cjs35();
|
|
63195
|
-
var
|
|
63169
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
63196
63170
|
var import_core210 = (init_dist_es8(), __toCommonJS(dist_es_exports8));
|
|
63197
63171
|
var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
63198
63172
|
async function checkFeatures(context, config, args) {
|
|
@@ -63268,7 +63242,7 @@ var require_dist_cjs94 = __commonJS({
|
|
|
63268
63242
|
__name(encodeFeatures, "encodeFeatures");
|
|
63269
63243
|
var userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {
|
|
63270
63244
|
const { request } = args;
|
|
63271
|
-
if (!
|
|
63245
|
+
if (!import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
63272
63246
|
return next(args);
|
|
63273
63247
|
}
|
|
63274
63248
|
const { headers } = request;
|
|
@@ -63398,7 +63372,7 @@ var require_package4 = __commonJS({
|
|
|
63398
63372
|
module2.exports = {
|
|
63399
63373
|
name: "@aws-sdk/client-secrets-manager",
|
|
63400
63374
|
description: "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
|
|
63401
|
-
version: "3.
|
|
63375
|
+
version: "3.848.0",
|
|
63402
63376
|
scripts: {
|
|
63403
63377
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
63404
63378
|
"build:cjs": "node ../../scripts/compilation/inline client-secrets-manager",
|
|
@@ -63418,16 +63392,16 @@ var require_package4 = __commonJS({
|
|
|
63418
63392
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
63419
63393
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
63420
63394
|
"@aws-sdk/core": "3.846.0",
|
|
63421
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
63395
|
+
"@aws-sdk/credential-provider-node": "3.848.0",
|
|
63422
63396
|
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
63423
63397
|
"@aws-sdk/middleware-logger": "3.840.0",
|
|
63424
63398
|
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
63425
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
63399
|
+
"@aws-sdk/middleware-user-agent": "3.848.0",
|
|
63426
63400
|
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
63427
63401
|
"@aws-sdk/types": "3.840.0",
|
|
63428
|
-
"@aws-sdk/util-endpoints": "3.
|
|
63402
|
+
"@aws-sdk/util-endpoints": "3.848.0",
|
|
63429
63403
|
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
63430
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
63404
|
+
"@aws-sdk/util-user-agent-node": "3.848.0",
|
|
63431
63405
|
"@smithy/config-resolver": "^4.1.4",
|
|
63432
63406
|
"@smithy/core": "^3.7.0",
|
|
63433
63407
|
"@smithy/fetch-http-handler": "^5.1.0",
|
|
@@ -64290,7 +64264,7 @@ var require_dist_cjs97 = __commonJS({
|
|
|
64290
64264
|
};
|
|
64291
64265
|
var import_runtimeConfig5 = require_runtimeConfig4();
|
|
64292
64266
|
var import_region_config_resolver3 = require_dist_cjs96();
|
|
64293
|
-
var
|
|
64267
|
+
var import_protocol_http35 = require_dist_cjs2();
|
|
64294
64268
|
var import_smithy_client61 = require_dist_cjs20();
|
|
64295
64269
|
var getHttpAuthExtensionConfiguration3 = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
64296
64270
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
@@ -64333,7 +64307,7 @@ var require_dist_cjs97 = __commonJS({
|
|
|
64333
64307
|
const extensionConfiguration = Object.assign(
|
|
64334
64308
|
(0, import_region_config_resolver3.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
64335
64309
|
(0, import_smithy_client61.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
64336
|
-
(0,
|
|
64310
|
+
(0, import_protocol_http35.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
64337
64311
|
getHttpAuthExtensionConfiguration3(runtimeConfig)
|
|
64338
64312
|
);
|
|
64339
64313
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
@@ -64341,7 +64315,7 @@ var require_dist_cjs97 = __commonJS({
|
|
|
64341
64315
|
runtimeConfig,
|
|
64342
64316
|
(0, import_region_config_resolver3.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
64343
64317
|
(0, import_smithy_client61.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
64344
|
-
(0,
|
|
64318
|
+
(0, import_protocol_http35.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
64345
64319
|
resolveHttpAuthRuntimeConfig3(extensionConfiguration)
|
|
64346
64320
|
);
|
|
64347
64321
|
}, "resolveRuntimeExtensions");
|
|
@@ -65509,7 +65483,7 @@ var require_dist_cjs97 = __commonJS({
|
|
|
65509
65483
|
if (body !== void 0) {
|
|
65510
65484
|
contents.body = body;
|
|
65511
65485
|
}
|
|
65512
|
-
return new
|
|
65486
|
+
return new import_protocol_http35.HttpRequest(contents);
|
|
65513
65487
|
}, "buildHttpRpcRequest");
|
|
65514
65488
|
function sharedHeaders(operation) {
|
|
65515
65489
|
return {
|