@justworkflowit/cdk-constructs 0.0.135 → 0.0.137
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 +812 -568
- package/package.json +1 -1
|
@@ -3724,6 +3724,14 @@ var init_NormalizedSchema = __esm({
|
|
|
3724
3724
|
}
|
|
3725
3725
|
return this.getSchema() === SCHEMA.STREAMING_BLOB;
|
|
3726
3726
|
}
|
|
3727
|
+
isIdempotencyToken() {
|
|
3728
|
+
if (typeof this.traits === "number") {
|
|
3729
|
+
return (this.traits & 4) === 4;
|
|
3730
|
+
} else if (typeof this.traits === "object") {
|
|
3731
|
+
return !!this.traits.idempotencyToken;
|
|
3732
|
+
}
|
|
3733
|
+
return false;
|
|
3734
|
+
}
|
|
3727
3735
|
getMergedTraits() {
|
|
3728
3736
|
if (this.normalizedTraits) {
|
|
3729
3737
|
return this.normalizedTraits;
|
|
@@ -3866,57 +3874,7 @@ var init_schema = __esm({
|
|
|
3866
3874
|
var copyDocumentWithTransform2;
|
|
3867
3875
|
var init_copyDocumentWithTransform = __esm({
|
|
3868
3876
|
"../node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js"() {
|
|
3869
|
-
|
|
3870
|
-
copyDocumentWithTransform2 = (source, schemaRef, transform = (_2) => _2) => {
|
|
3871
|
-
const ns = NormalizedSchema.of(schemaRef);
|
|
3872
|
-
switch (typeof source) {
|
|
3873
|
-
case "undefined":
|
|
3874
|
-
case "boolean":
|
|
3875
|
-
case "number":
|
|
3876
|
-
case "string":
|
|
3877
|
-
case "bigint":
|
|
3878
|
-
case "symbol":
|
|
3879
|
-
return transform(source, ns);
|
|
3880
|
-
case "function":
|
|
3881
|
-
case "object":
|
|
3882
|
-
if (source === null) {
|
|
3883
|
-
return transform(null, ns);
|
|
3884
|
-
}
|
|
3885
|
-
if (Array.isArray(source)) {
|
|
3886
|
-
const newArray = new Array(source.length);
|
|
3887
|
-
let i3 = 0;
|
|
3888
|
-
for (const item of source) {
|
|
3889
|
-
newArray[i3++] = copyDocumentWithTransform2(item, ns.getValueSchema(), transform);
|
|
3890
|
-
}
|
|
3891
|
-
return transform(newArray, ns);
|
|
3892
|
-
}
|
|
3893
|
-
if ("byteLength" in source) {
|
|
3894
|
-
const newBytes = new Uint8Array(source.byteLength);
|
|
3895
|
-
newBytes.set(source, 0);
|
|
3896
|
-
return transform(newBytes, ns);
|
|
3897
|
-
}
|
|
3898
|
-
if (source instanceof Date) {
|
|
3899
|
-
return transform(source, ns);
|
|
3900
|
-
}
|
|
3901
|
-
const newObject = {};
|
|
3902
|
-
if (ns.isMapSchema()) {
|
|
3903
|
-
for (const key of Object.keys(source)) {
|
|
3904
|
-
newObject[key] = copyDocumentWithTransform2(source[key], ns.getValueSchema(), transform);
|
|
3905
|
-
}
|
|
3906
|
-
} else if (ns.isStructSchema()) {
|
|
3907
|
-
for (const [key, memberSchema] of ns.structIterator()) {
|
|
3908
|
-
newObject[key] = copyDocumentWithTransform2(source[key], memberSchema, transform);
|
|
3909
|
-
}
|
|
3910
|
-
} else if (ns.isDocumentSchema()) {
|
|
3911
|
-
for (const key of Object.keys(source)) {
|
|
3912
|
-
newObject[key] = copyDocumentWithTransform2(source[key], ns.getValueSchema(), transform);
|
|
3913
|
-
}
|
|
3914
|
-
}
|
|
3915
|
-
return transform(newObject, ns);
|
|
3916
|
-
default:
|
|
3917
|
-
return transform(source, ns);
|
|
3918
|
-
}
|
|
3919
|
-
};
|
|
3877
|
+
copyDocumentWithTransform2 = (source, schemaRef, transform = (_2) => _2) => source;
|
|
3920
3878
|
}
|
|
3921
3879
|
});
|
|
3922
3880
|
|
|
@@ -4343,6 +4301,90 @@ var init_date_utils = __esm({
|
|
|
4343
4301
|
}
|
|
4344
4302
|
});
|
|
4345
4303
|
|
|
4304
|
+
// ../node_modules/@smithy/core/node_modules/uuid/dist/esm-node/rng.js
|
|
4305
|
+
function rng() {
|
|
4306
|
+
if (poolPtr > rnds8Pool.length - 16) {
|
|
4307
|
+
import_crypto.default.randomFillSync(rnds8Pool);
|
|
4308
|
+
poolPtr = 0;
|
|
4309
|
+
}
|
|
4310
|
+
return rnds8Pool.slice(poolPtr, poolPtr += 16);
|
|
4311
|
+
}
|
|
4312
|
+
var import_crypto, rnds8Pool, poolPtr;
|
|
4313
|
+
var init_rng = __esm({
|
|
4314
|
+
"../node_modules/@smithy/core/node_modules/uuid/dist/esm-node/rng.js"() {
|
|
4315
|
+
import_crypto = __toESM(require("crypto"));
|
|
4316
|
+
rnds8Pool = new Uint8Array(256);
|
|
4317
|
+
poolPtr = rnds8Pool.length;
|
|
4318
|
+
}
|
|
4319
|
+
});
|
|
4320
|
+
|
|
4321
|
+
// ../node_modules/@smithy/core/node_modules/uuid/dist/esm-node/stringify.js
|
|
4322
|
+
function unsafeStringify(arr, offset = 0) {
|
|
4323
|
+
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
|
4324
|
+
}
|
|
4325
|
+
var byteToHex;
|
|
4326
|
+
var init_stringify = __esm({
|
|
4327
|
+
"../node_modules/@smithy/core/node_modules/uuid/dist/esm-node/stringify.js"() {
|
|
4328
|
+
byteToHex = [];
|
|
4329
|
+
for (let i3 = 0; i3 < 256; ++i3) {
|
|
4330
|
+
byteToHex.push((i3 + 256).toString(16).slice(1));
|
|
4331
|
+
}
|
|
4332
|
+
}
|
|
4333
|
+
});
|
|
4334
|
+
|
|
4335
|
+
// ../node_modules/@smithy/core/node_modules/uuid/dist/esm-node/native.js
|
|
4336
|
+
var import_crypto2, native_default;
|
|
4337
|
+
var init_native = __esm({
|
|
4338
|
+
"../node_modules/@smithy/core/node_modules/uuid/dist/esm-node/native.js"() {
|
|
4339
|
+
import_crypto2 = __toESM(require("crypto"));
|
|
4340
|
+
native_default = {
|
|
4341
|
+
randomUUID: import_crypto2.default.randomUUID
|
|
4342
|
+
};
|
|
4343
|
+
}
|
|
4344
|
+
});
|
|
4345
|
+
|
|
4346
|
+
// ../node_modules/@smithy/core/node_modules/uuid/dist/esm-node/v4.js
|
|
4347
|
+
function v4(options, buf, offset) {
|
|
4348
|
+
if (native_default.randomUUID && !buf && !options) {
|
|
4349
|
+
return native_default.randomUUID();
|
|
4350
|
+
}
|
|
4351
|
+
options = options || {};
|
|
4352
|
+
const rnds = options.random || (options.rng || rng)();
|
|
4353
|
+
rnds[6] = rnds[6] & 15 | 64;
|
|
4354
|
+
rnds[8] = rnds[8] & 63 | 128;
|
|
4355
|
+
if (buf) {
|
|
4356
|
+
offset = offset || 0;
|
|
4357
|
+
for (let i3 = 0; i3 < 16; ++i3) {
|
|
4358
|
+
buf[offset + i3] = rnds[i3];
|
|
4359
|
+
}
|
|
4360
|
+
return buf;
|
|
4361
|
+
}
|
|
4362
|
+
return unsafeStringify(rnds);
|
|
4363
|
+
}
|
|
4364
|
+
var v4_default;
|
|
4365
|
+
var init_v4 = __esm({
|
|
4366
|
+
"../node_modules/@smithy/core/node_modules/uuid/dist/esm-node/v4.js"() {
|
|
4367
|
+
init_native();
|
|
4368
|
+
init_rng();
|
|
4369
|
+
init_stringify();
|
|
4370
|
+
v4_default = v4;
|
|
4371
|
+
}
|
|
4372
|
+
});
|
|
4373
|
+
|
|
4374
|
+
// ../node_modules/@smithy/core/node_modules/uuid/dist/esm-node/index.js
|
|
4375
|
+
var init_esm_node = __esm({
|
|
4376
|
+
"../node_modules/@smithy/core/node_modules/uuid/dist/esm-node/index.js"() {
|
|
4377
|
+
init_v4();
|
|
4378
|
+
}
|
|
4379
|
+
});
|
|
4380
|
+
|
|
4381
|
+
// ../node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js
|
|
4382
|
+
var init_generateIdempotencyToken = __esm({
|
|
4383
|
+
"../node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js"() {
|
|
4384
|
+
init_esm_node();
|
|
4385
|
+
}
|
|
4386
|
+
});
|
|
4387
|
+
|
|
4346
4388
|
// ../node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js
|
|
4347
4389
|
var LazyJsonString2;
|
|
4348
4390
|
var init_lazy_json = __esm({
|
|
@@ -4530,6 +4572,7 @@ __export(serde_exports, {
|
|
|
4530
4572
|
expectShort: () => expectShort2,
|
|
4531
4573
|
expectString: () => expectString2,
|
|
4532
4574
|
expectUnion: () => expectUnion2,
|
|
4575
|
+
generateIdempotencyToken: () => v4_default,
|
|
4533
4576
|
handleFloat: () => handleFloat2,
|
|
4534
4577
|
limitedParseDouble: () => limitedParseDouble2,
|
|
4535
4578
|
limitedParseFloat: () => limitedParseFloat2,
|
|
@@ -4557,6 +4600,7 @@ var init_serde = __esm({
|
|
|
4557
4600
|
"../node_modules/@smithy/core/dist-es/submodules/serde/index.js"() {
|
|
4558
4601
|
init_copyDocumentWithTransform();
|
|
4559
4602
|
init_date_utils();
|
|
4603
|
+
init_generateIdempotencyToken();
|
|
4560
4604
|
init_lazy_json();
|
|
4561
4605
|
init_parse_utils();
|
|
4562
4606
|
init_quote_header();
|
|
@@ -4567,14 +4611,11 @@ var init_serde = __esm({
|
|
|
4567
4611
|
});
|
|
4568
4612
|
|
|
4569
4613
|
// ../node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js
|
|
4570
|
-
var import_protocol_http5,
|
|
4614
|
+
var import_protocol_http5, HttpProtocol;
|
|
4571
4615
|
var init_HttpProtocol = __esm({
|
|
4572
4616
|
"../node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js"() {
|
|
4573
4617
|
init_schema();
|
|
4574
|
-
init_serde();
|
|
4575
4618
|
import_protocol_http5 = __toESM(require_dist_cjs2());
|
|
4576
|
-
import_util_stream2 = __toESM(require_dist_cjs15());
|
|
4577
|
-
init_collect_stream_body();
|
|
4578
4619
|
HttpProtocol = class {
|
|
4579
4620
|
constructor(options) {
|
|
4580
4621
|
this.options = options;
|
|
@@ -4647,97 +4688,20 @@ var init_HttpProtocol = __esm({
|
|
|
4647
4688
|
};
|
|
4648
4689
|
}
|
|
4649
4690
|
async deserializeHttpMessage(schema, context, response, arg4, arg5) {
|
|
4650
|
-
|
|
4651
|
-
if (arg4 instanceof Set) {
|
|
4652
|
-
dataObject = arg5;
|
|
4653
|
-
} else {
|
|
4654
|
-
dataObject = arg4;
|
|
4655
|
-
}
|
|
4656
|
-
const deserializer = this.deserializer;
|
|
4657
|
-
const ns = NormalizedSchema.of(schema);
|
|
4658
|
-
const nonHttpBindingMembers = [];
|
|
4659
|
-
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
4660
|
-
const memberTraits = memberSchema.getMemberTraits();
|
|
4661
|
-
if (memberTraits.httpPayload) {
|
|
4662
|
-
const isStreaming = memberSchema.isStreaming();
|
|
4663
|
-
if (isStreaming) {
|
|
4664
|
-
const isEventStream = memberSchema.isStructSchema();
|
|
4665
|
-
if (isEventStream) {
|
|
4666
|
-
const context2 = this.serdeContext;
|
|
4667
|
-
if (!context2.eventStreamMarshaller) {
|
|
4668
|
-
throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");
|
|
4669
|
-
}
|
|
4670
|
-
const memberSchemas = memberSchema.getMemberSchemas();
|
|
4671
|
-
dataObject[memberName] = context2.eventStreamMarshaller.deserialize(response.body, async (event) => {
|
|
4672
|
-
const unionMember = Object.keys(event).find((key) => {
|
|
4673
|
-
return key !== "__type";
|
|
4674
|
-
}) ?? "";
|
|
4675
|
-
if (unionMember in memberSchemas) {
|
|
4676
|
-
const eventStreamSchema = memberSchemas[unionMember];
|
|
4677
|
-
return {
|
|
4678
|
-
[unionMember]: await deserializer.read(eventStreamSchema, event[unionMember].body)
|
|
4679
|
-
};
|
|
4680
|
-
} else {
|
|
4681
|
-
return {
|
|
4682
|
-
$unknown: event
|
|
4683
|
-
};
|
|
4684
|
-
}
|
|
4685
|
-
});
|
|
4686
|
-
} else {
|
|
4687
|
-
dataObject[memberName] = (0, import_util_stream2.sdkStreamMixin)(response.body);
|
|
4688
|
-
}
|
|
4689
|
-
} else if (response.body) {
|
|
4690
|
-
const bytes = await collectBody2(response.body, context);
|
|
4691
|
-
if (bytes.byteLength > 0) {
|
|
4692
|
-
dataObject[memberName] = await deserializer.read(memberSchema, bytes);
|
|
4693
|
-
}
|
|
4694
|
-
}
|
|
4695
|
-
} else if (memberTraits.httpHeader) {
|
|
4696
|
-
const key = String(memberTraits.httpHeader).toLowerCase();
|
|
4697
|
-
const value = response.headers[key];
|
|
4698
|
-
if (null != value) {
|
|
4699
|
-
if (memberSchema.isListSchema()) {
|
|
4700
|
-
const headerListValueSchema = memberSchema.getValueSchema();
|
|
4701
|
-
let sections;
|
|
4702
|
-
if (headerListValueSchema.isTimestampSchema() && headerListValueSchema.getSchema() === SCHEMA.TIMESTAMP_DEFAULT) {
|
|
4703
|
-
sections = splitEvery2(value, ",", 2);
|
|
4704
|
-
} else {
|
|
4705
|
-
sections = splitHeader2(value);
|
|
4706
|
-
}
|
|
4707
|
-
const list = [];
|
|
4708
|
-
for (const section of sections) {
|
|
4709
|
-
list.push(await deserializer.read([headerListValueSchema, { httpHeader: key }], section.trim()));
|
|
4710
|
-
}
|
|
4711
|
-
dataObject[memberName] = list;
|
|
4712
|
-
} else {
|
|
4713
|
-
dataObject[memberName] = await deserializer.read(memberSchema, value);
|
|
4714
|
-
}
|
|
4715
|
-
}
|
|
4716
|
-
} else if (memberTraits.httpPrefixHeaders !== void 0) {
|
|
4717
|
-
dataObject[memberName] = {};
|
|
4718
|
-
for (const [header, value] of Object.entries(response.headers)) {
|
|
4719
|
-
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
|
4720
|
-
dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read([memberSchema.getValueSchema(), { httpHeader: header }], value);
|
|
4721
|
-
}
|
|
4722
|
-
}
|
|
4723
|
-
} else if (memberTraits.httpResponseCode) {
|
|
4724
|
-
dataObject[memberName] = response.statusCode;
|
|
4725
|
-
} else {
|
|
4726
|
-
nonHttpBindingMembers.push(memberName);
|
|
4727
|
-
}
|
|
4728
|
-
}
|
|
4729
|
-
return nonHttpBindingMembers;
|
|
4691
|
+
return [];
|
|
4730
4692
|
}
|
|
4731
4693
|
};
|
|
4732
4694
|
}
|
|
4733
4695
|
});
|
|
4734
4696
|
|
|
4735
4697
|
// ../node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js
|
|
4736
|
-
var import_protocol_http6, HttpBindingProtocol;
|
|
4698
|
+
var import_protocol_http6, import_util_stream2, HttpBindingProtocol;
|
|
4737
4699
|
var init_HttpBindingProtocol = __esm({
|
|
4738
4700
|
"../node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js"() {
|
|
4739
4701
|
init_schema();
|
|
4702
|
+
init_serde();
|
|
4740
4703
|
import_protocol_http6 = __toESM(require_dist_cjs2());
|
|
4704
|
+
import_util_stream2 = __toESM(require_dist_cjs15());
|
|
4741
4705
|
init_collect_stream_body();
|
|
4742
4706
|
init_extended_encode_uri_component();
|
|
4743
4707
|
init_HttpProtocol();
|
|
@@ -4903,6 +4867,88 @@ var init_HttpBindingProtocol = __esm({
|
|
|
4903
4867
|
};
|
|
4904
4868
|
return output;
|
|
4905
4869
|
}
|
|
4870
|
+
async deserializeHttpMessage(schema, context, response, arg4, arg5) {
|
|
4871
|
+
let dataObject;
|
|
4872
|
+
if (arg4 instanceof Set) {
|
|
4873
|
+
dataObject = arg5;
|
|
4874
|
+
} else {
|
|
4875
|
+
dataObject = arg4;
|
|
4876
|
+
}
|
|
4877
|
+
const deserializer = this.deserializer;
|
|
4878
|
+
const ns = NormalizedSchema.of(schema);
|
|
4879
|
+
const nonHttpBindingMembers = [];
|
|
4880
|
+
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
4881
|
+
const memberTraits = memberSchema.getMemberTraits();
|
|
4882
|
+
if (memberTraits.httpPayload) {
|
|
4883
|
+
const isStreaming = memberSchema.isStreaming();
|
|
4884
|
+
if (isStreaming) {
|
|
4885
|
+
const isEventStream = memberSchema.isStructSchema();
|
|
4886
|
+
if (isEventStream) {
|
|
4887
|
+
const context2 = this.serdeContext;
|
|
4888
|
+
if (!context2.eventStreamMarshaller) {
|
|
4889
|
+
throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");
|
|
4890
|
+
}
|
|
4891
|
+
const memberSchemas = memberSchema.getMemberSchemas();
|
|
4892
|
+
dataObject[memberName] = context2.eventStreamMarshaller.deserialize(response.body, async (event) => {
|
|
4893
|
+
const unionMember = Object.keys(event).find((key) => {
|
|
4894
|
+
return key !== "__type";
|
|
4895
|
+
}) ?? "";
|
|
4896
|
+
if (unionMember in memberSchemas) {
|
|
4897
|
+
const eventStreamSchema = memberSchemas[unionMember];
|
|
4898
|
+
return {
|
|
4899
|
+
[unionMember]: await deserializer.read(eventStreamSchema, event[unionMember].body)
|
|
4900
|
+
};
|
|
4901
|
+
} else {
|
|
4902
|
+
return {
|
|
4903
|
+
$unknown: event
|
|
4904
|
+
};
|
|
4905
|
+
}
|
|
4906
|
+
});
|
|
4907
|
+
} else {
|
|
4908
|
+
dataObject[memberName] = (0, import_util_stream2.sdkStreamMixin)(response.body);
|
|
4909
|
+
}
|
|
4910
|
+
} else if (response.body) {
|
|
4911
|
+
const bytes = await collectBody2(response.body, context);
|
|
4912
|
+
if (bytes.byteLength > 0) {
|
|
4913
|
+
dataObject[memberName] = await deserializer.read(memberSchema, bytes);
|
|
4914
|
+
}
|
|
4915
|
+
}
|
|
4916
|
+
} else if (memberTraits.httpHeader) {
|
|
4917
|
+
const key = String(memberTraits.httpHeader).toLowerCase();
|
|
4918
|
+
const value = response.headers[key];
|
|
4919
|
+
if (null != value) {
|
|
4920
|
+
if (memberSchema.isListSchema()) {
|
|
4921
|
+
const headerListValueSchema = memberSchema.getValueSchema();
|
|
4922
|
+
let sections;
|
|
4923
|
+
if (headerListValueSchema.isTimestampSchema() && headerListValueSchema.getSchema() === SCHEMA.TIMESTAMP_DEFAULT) {
|
|
4924
|
+
sections = splitEvery2(value, ",", 2);
|
|
4925
|
+
} else {
|
|
4926
|
+
sections = splitHeader2(value);
|
|
4927
|
+
}
|
|
4928
|
+
const list = [];
|
|
4929
|
+
for (const section of sections) {
|
|
4930
|
+
list.push(await deserializer.read([headerListValueSchema, { httpHeader: key }], section.trim()));
|
|
4931
|
+
}
|
|
4932
|
+
dataObject[memberName] = list;
|
|
4933
|
+
} else {
|
|
4934
|
+
dataObject[memberName] = await deserializer.read(memberSchema, value);
|
|
4935
|
+
}
|
|
4936
|
+
}
|
|
4937
|
+
} else if (memberTraits.httpPrefixHeaders !== void 0) {
|
|
4938
|
+
dataObject[memberName] = {};
|
|
4939
|
+
for (const [header, value] of Object.entries(response.headers)) {
|
|
4940
|
+
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
|
4941
|
+
dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read([memberSchema.getValueSchema(), { httpHeader: header }], value);
|
|
4942
|
+
}
|
|
4943
|
+
}
|
|
4944
|
+
} else if (memberTraits.httpResponseCode) {
|
|
4945
|
+
dataObject[memberName] = response.statusCode;
|
|
4946
|
+
} else {
|
|
4947
|
+
nonHttpBindingMembers.push(memberName);
|
|
4948
|
+
}
|
|
4949
|
+
}
|
|
4950
|
+
return nonHttpBindingMembers;
|
|
4951
|
+
}
|
|
4906
4952
|
};
|
|
4907
4953
|
}
|
|
4908
4954
|
});
|
|
@@ -7829,7 +7875,7 @@ var init_jsonReplacer = __esm({
|
|
|
7829
7875
|
this.stage = 1;
|
|
7830
7876
|
return (key, value) => {
|
|
7831
7877
|
if (value instanceof NumericValue2) {
|
|
7832
|
-
const v6 = `${NUMERIC_CONTROL_CHAR +
|
|
7878
|
+
const v6 = `${NUMERIC_CONTROL_CHAR + "nv" + this.counter++}_` + value.string;
|
|
7833
7879
|
this.values.set(`"${v6}"`, value.string);
|
|
7834
7880
|
return v6;
|
|
7835
7881
|
}
|
|
@@ -7868,7 +7914,6 @@ var init_JsonShapeSerializer = __esm({
|
|
|
7868
7914
|
"../node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js"() {
|
|
7869
7915
|
init_schema();
|
|
7870
7916
|
init_serde();
|
|
7871
|
-
init_serde();
|
|
7872
7917
|
init_ConfigurableSerdeContext();
|
|
7873
7918
|
init_jsonReplacer();
|
|
7874
7919
|
JsonShapeSerializer = class extends SerdeContextConfig {
|
|
@@ -7956,11 +8001,16 @@ var init_JsonShapeSerializer = __esm({
|
|
|
7956
8001
|
return String(value);
|
|
7957
8002
|
}
|
|
7958
8003
|
}
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
|
|
8004
|
+
if (ns.isStringSchema()) {
|
|
8005
|
+
if (typeof value === "undefined" && ns.isIdempotencyToken()) {
|
|
8006
|
+
return v4_default();
|
|
8007
|
+
}
|
|
8008
|
+
const mediaType = ns.getMergedTraits().mediaType;
|
|
8009
|
+
if (typeof value === "string" && mediaType) {
|
|
8010
|
+
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
8011
|
+
if (isJson) {
|
|
8012
|
+
return LazyJsonString2.from(value);
|
|
8013
|
+
}
|
|
7964
8014
|
}
|
|
7965
8015
|
}
|
|
7966
8016
|
return value;
|
|
@@ -8008,11 +8058,13 @@ var init_AwsJsonRpcProtocol = __esm({
|
|
|
8008
8058
|
AwsJsonRpcProtocol = class extends RpcProtocol {
|
|
8009
8059
|
serializer;
|
|
8010
8060
|
deserializer;
|
|
8061
|
+
serviceTarget;
|
|
8011
8062
|
codec;
|
|
8012
|
-
constructor({ defaultNamespace }) {
|
|
8063
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
8013
8064
|
super({
|
|
8014
8065
|
defaultNamespace
|
|
8015
8066
|
});
|
|
8067
|
+
this.serviceTarget = serviceTarget;
|
|
8016
8068
|
this.codec = new JsonCodec({
|
|
8017
8069
|
timestampFormat: {
|
|
8018
8070
|
useTrait: true,
|
|
@@ -8030,7 +8082,7 @@ var init_AwsJsonRpcProtocol = __esm({
|
|
|
8030
8082
|
}
|
|
8031
8083
|
Object.assign(request.headers, {
|
|
8032
8084
|
"content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
|
|
8033
|
-
"x-amz-target":
|
|
8085
|
+
"x-amz-target": `${this.serviceTarget}.${NormalizedSchema.of(operationSchema).getName()}`
|
|
8034
8086
|
});
|
|
8035
8087
|
if (deref(operationSchema.input) === "unit" || !request.body) {
|
|
8036
8088
|
request.body = "{}";
|
|
@@ -8091,9 +8143,10 @@ var init_AwsJson1_0Protocol = __esm({
|
|
|
8091
8143
|
"../node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js"() {
|
|
8092
8144
|
init_AwsJsonRpcProtocol();
|
|
8093
8145
|
AwsJson1_0Protocol = class extends AwsJsonRpcProtocol {
|
|
8094
|
-
constructor({ defaultNamespace }) {
|
|
8146
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
8095
8147
|
super({
|
|
8096
|
-
defaultNamespace
|
|
8148
|
+
defaultNamespace,
|
|
8149
|
+
serviceTarget
|
|
8097
8150
|
});
|
|
8098
8151
|
}
|
|
8099
8152
|
getShapeId() {
|
|
@@ -8102,6 +8155,9 @@ var init_AwsJson1_0Protocol = __esm({
|
|
|
8102
8155
|
getJsonRpcVersion() {
|
|
8103
8156
|
return "1.0";
|
|
8104
8157
|
}
|
|
8158
|
+
getDefaultContentType() {
|
|
8159
|
+
return "application/x-amz-json-1.0";
|
|
8160
|
+
}
|
|
8105
8161
|
};
|
|
8106
8162
|
}
|
|
8107
8163
|
});
|
|
@@ -8112,9 +8168,10 @@ var init_AwsJson1_1Protocol = __esm({
|
|
|
8112
8168
|
"../node_modules/@aws-sdk/middleware-flexible-checksums/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js"() {
|
|
8113
8169
|
init_AwsJsonRpcProtocol();
|
|
8114
8170
|
AwsJson1_1Protocol = class extends AwsJsonRpcProtocol {
|
|
8115
|
-
constructor({ defaultNamespace }) {
|
|
8171
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
8116
8172
|
super({
|
|
8117
|
-
defaultNamespace
|
|
8173
|
+
defaultNamespace,
|
|
8174
|
+
serviceTarget
|
|
8118
8175
|
});
|
|
8119
8176
|
}
|
|
8120
8177
|
getShapeId() {
|
|
@@ -8123,6 +8180,9 @@ var init_AwsJson1_1Protocol = __esm({
|
|
|
8123
8180
|
getJsonRpcVersion() {
|
|
8124
8181
|
return "1.1";
|
|
8125
8182
|
}
|
|
8183
|
+
getDefaultContentType() {
|
|
8184
|
+
return "application/x-amz-json-1.1";
|
|
8185
|
+
}
|
|
8126
8186
|
};
|
|
8127
8187
|
}
|
|
8128
8188
|
});
|
|
@@ -8183,7 +8243,7 @@ var init_AwsRestJsonProtocol = __esm({
|
|
|
8183
8243
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
8184
8244
|
request.headers["content-type"] = "application/octet-stream";
|
|
8185
8245
|
} else {
|
|
8186
|
-
request.headers["content-type"] =
|
|
8246
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
8187
8247
|
}
|
|
8188
8248
|
} else if (!inputSchema.isUnitSchema()) {
|
|
8189
8249
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -8191,7 +8251,7 @@ var init_AwsRestJsonProtocol = __esm({
|
|
|
8191
8251
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
8192
8252
|
});
|
|
8193
8253
|
if (hasBody) {
|
|
8194
|
-
request.headers["content-type"] =
|
|
8254
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
8195
8255
|
}
|
|
8196
8256
|
}
|
|
8197
8257
|
}
|
|
@@ -8243,6 +8303,9 @@ var init_AwsRestJsonProtocol = __esm({
|
|
|
8243
8303
|
});
|
|
8244
8304
|
throw exception;
|
|
8245
8305
|
}
|
|
8306
|
+
getDefaultContentType() {
|
|
8307
|
+
return "application/json";
|
|
8308
|
+
}
|
|
8246
8309
|
};
|
|
8247
8310
|
}
|
|
8248
8311
|
});
|
|
@@ -9869,6 +9932,9 @@ var init_QueryShapeSerializer = __esm({
|
|
|
9869
9932
|
if (value != null) {
|
|
9870
9933
|
this.writeKey(prefix);
|
|
9871
9934
|
this.writeValue(String(value));
|
|
9935
|
+
} else if (ns.isIdempotencyToken()) {
|
|
9936
|
+
this.writeKey(prefix);
|
|
9937
|
+
this.writeValue(v4_default());
|
|
9872
9938
|
}
|
|
9873
9939
|
} else if (ns.isBigIntegerSchema()) {
|
|
9874
9940
|
if (value != null) {
|
|
@@ -9942,7 +10008,7 @@ var init_QueryShapeSerializer = __esm({
|
|
|
9942
10008
|
} else if (ns.isStructSchema()) {
|
|
9943
10009
|
if (value && typeof value === "object") {
|
|
9944
10010
|
for (const [memberName, member] of ns.structIterator()) {
|
|
9945
|
-
if (value[memberName] == null) {
|
|
10011
|
+
if (value[memberName] == null && !member.isIdempotencyToken()) {
|
|
9946
10012
|
continue;
|
|
9947
10013
|
}
|
|
9948
10014
|
const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);
|
|
@@ -10132,6 +10198,9 @@ var init_AwsQueryProtocol = __esm({
|
|
|
10132
10198
|
const errorData = this.loadQueryError(data);
|
|
10133
10199
|
return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown";
|
|
10134
10200
|
}
|
|
10201
|
+
getDefaultContentType() {
|
|
10202
|
+
return "application/x-www-form-urlencoded";
|
|
10203
|
+
}
|
|
10135
10204
|
};
|
|
10136
10205
|
}
|
|
10137
10206
|
});
|
|
@@ -10451,7 +10520,7 @@ var init_XmlShapeSerializer = __esm({
|
|
|
10451
10520
|
}
|
|
10452
10521
|
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
10453
10522
|
const val2 = value[memberName];
|
|
10454
|
-
if (val2 != null) {
|
|
10523
|
+
if (val2 != null || memberSchema.isIdempotencyToken()) {
|
|
10455
10524
|
if (memberSchema.getMergedTraits().xmlAttribute) {
|
|
10456
10525
|
structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val2));
|
|
10457
10526
|
continue;
|
|
@@ -10611,9 +10680,16 @@ var init_XmlShapeSerializer = __esm({
|
|
|
10611
10680
|
throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`);
|
|
10612
10681
|
}
|
|
10613
10682
|
}
|
|
10614
|
-
if (ns.
|
|
10683
|
+
if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {
|
|
10615
10684
|
nodeContents = String(value);
|
|
10616
10685
|
}
|
|
10686
|
+
if (ns.isStringSchema()) {
|
|
10687
|
+
if (value === void 0 && ns.isIdempotencyToken()) {
|
|
10688
|
+
nodeContents = v4_default();
|
|
10689
|
+
} else {
|
|
10690
|
+
nodeContents = String(value);
|
|
10691
|
+
}
|
|
10692
|
+
}
|
|
10617
10693
|
if (nodeContents === null) {
|
|
10618
10694
|
throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);
|
|
10619
10695
|
}
|
|
@@ -10722,7 +10798,7 @@ var init_AwsRestXmlProtocol = __esm({
|
|
|
10722
10798
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
10723
10799
|
request.headers["content-type"] = "application/octet-stream";
|
|
10724
10800
|
} else {
|
|
10725
|
-
request.headers["content-type"] =
|
|
10801
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
10726
10802
|
}
|
|
10727
10803
|
} else if (!ns.isUnitSchema()) {
|
|
10728
10804
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -10730,11 +10806,11 @@ var init_AwsRestXmlProtocol = __esm({
|
|
|
10730
10806
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
10731
10807
|
});
|
|
10732
10808
|
if (hasBody) {
|
|
10733
|
-
request.headers["content-type"] =
|
|
10809
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
10734
10810
|
}
|
|
10735
10811
|
}
|
|
10736
10812
|
}
|
|
10737
|
-
if (request.headers["content-type"] ===
|
|
10813
|
+
if (request.headers["content-type"] === this.getDefaultContentType()) {
|
|
10738
10814
|
if (typeof request.body === "string") {
|
|
10739
10815
|
request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
|
|
10740
10816
|
}
|
|
@@ -10788,6 +10864,9 @@ var init_AwsRestXmlProtocol = __esm({
|
|
|
10788
10864
|
});
|
|
10789
10865
|
throw exception;
|
|
10790
10866
|
}
|
|
10867
|
+
getDefaultContentType() {
|
|
10868
|
+
return "application/xml";
|
|
10869
|
+
}
|
|
10791
10870
|
};
|
|
10792
10871
|
}
|
|
10793
10872
|
});
|
|
@@ -13832,7 +13911,7 @@ var init_jsonReplacer2 = __esm({
|
|
|
13832
13911
|
this.stage = 1;
|
|
13833
13912
|
return (key, value) => {
|
|
13834
13913
|
if (value instanceof NumericValue2) {
|
|
13835
|
-
const v6 = `${NUMERIC_CONTROL_CHAR2 +
|
|
13914
|
+
const v6 = `${NUMERIC_CONTROL_CHAR2 + "nv" + this.counter++}_` + value.string;
|
|
13836
13915
|
this.values.set(`"${v6}"`, value.string);
|
|
13837
13916
|
return v6;
|
|
13838
13917
|
}
|
|
@@ -13871,7 +13950,6 @@ var init_JsonShapeSerializer2 = __esm({
|
|
|
13871
13950
|
"../node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js"() {
|
|
13872
13951
|
init_schema();
|
|
13873
13952
|
init_serde();
|
|
13874
|
-
init_serde();
|
|
13875
13953
|
init_ConfigurableSerdeContext2();
|
|
13876
13954
|
init_jsonReplacer2();
|
|
13877
13955
|
JsonShapeSerializer2 = class extends SerdeContextConfig2 {
|
|
@@ -13959,11 +14037,16 @@ var init_JsonShapeSerializer2 = __esm({
|
|
|
13959
14037
|
return String(value);
|
|
13960
14038
|
}
|
|
13961
14039
|
}
|
|
13962
|
-
|
|
13963
|
-
|
|
13964
|
-
|
|
13965
|
-
|
|
13966
|
-
|
|
14040
|
+
if (ns.isStringSchema()) {
|
|
14041
|
+
if (typeof value === "undefined" && ns.isIdempotencyToken()) {
|
|
14042
|
+
return v4_default();
|
|
14043
|
+
}
|
|
14044
|
+
const mediaType = ns.getMergedTraits().mediaType;
|
|
14045
|
+
if (typeof value === "string" && mediaType) {
|
|
14046
|
+
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
14047
|
+
if (isJson) {
|
|
14048
|
+
return LazyJsonString2.from(value);
|
|
14049
|
+
}
|
|
13967
14050
|
}
|
|
13968
14051
|
}
|
|
13969
14052
|
return value;
|
|
@@ -14011,11 +14094,13 @@ var init_AwsJsonRpcProtocol2 = __esm({
|
|
|
14011
14094
|
AwsJsonRpcProtocol2 = class extends RpcProtocol {
|
|
14012
14095
|
serializer;
|
|
14013
14096
|
deserializer;
|
|
14097
|
+
serviceTarget;
|
|
14014
14098
|
codec;
|
|
14015
|
-
constructor({ defaultNamespace }) {
|
|
14099
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
14016
14100
|
super({
|
|
14017
14101
|
defaultNamespace
|
|
14018
14102
|
});
|
|
14103
|
+
this.serviceTarget = serviceTarget;
|
|
14019
14104
|
this.codec = new JsonCodec2({
|
|
14020
14105
|
timestampFormat: {
|
|
14021
14106
|
useTrait: true,
|
|
@@ -14033,7 +14118,7 @@ var init_AwsJsonRpcProtocol2 = __esm({
|
|
|
14033
14118
|
}
|
|
14034
14119
|
Object.assign(request.headers, {
|
|
14035
14120
|
"content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
|
|
14036
|
-
"x-amz-target":
|
|
14121
|
+
"x-amz-target": `${this.serviceTarget}.${NormalizedSchema.of(operationSchema).getName()}`
|
|
14037
14122
|
});
|
|
14038
14123
|
if (deref(operationSchema.input) === "unit" || !request.body) {
|
|
14039
14124
|
request.body = "{}";
|
|
@@ -14094,9 +14179,10 @@ var init_AwsJson1_0Protocol2 = __esm({
|
|
|
14094
14179
|
"../node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js"() {
|
|
14095
14180
|
init_AwsJsonRpcProtocol2();
|
|
14096
14181
|
AwsJson1_0Protocol2 = class extends AwsJsonRpcProtocol2 {
|
|
14097
|
-
constructor({ defaultNamespace }) {
|
|
14182
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
14098
14183
|
super({
|
|
14099
|
-
defaultNamespace
|
|
14184
|
+
defaultNamespace,
|
|
14185
|
+
serviceTarget
|
|
14100
14186
|
});
|
|
14101
14187
|
}
|
|
14102
14188
|
getShapeId() {
|
|
@@ -14105,6 +14191,9 @@ var init_AwsJson1_0Protocol2 = __esm({
|
|
|
14105
14191
|
getJsonRpcVersion() {
|
|
14106
14192
|
return "1.0";
|
|
14107
14193
|
}
|
|
14194
|
+
getDefaultContentType() {
|
|
14195
|
+
return "application/x-amz-json-1.0";
|
|
14196
|
+
}
|
|
14108
14197
|
};
|
|
14109
14198
|
}
|
|
14110
14199
|
});
|
|
@@ -14115,9 +14204,10 @@ var init_AwsJson1_1Protocol2 = __esm({
|
|
|
14115
14204
|
"../node_modules/@aws-sdk/middleware-sdk-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js"() {
|
|
14116
14205
|
init_AwsJsonRpcProtocol2();
|
|
14117
14206
|
AwsJson1_1Protocol2 = class extends AwsJsonRpcProtocol2 {
|
|
14118
|
-
constructor({ defaultNamespace }) {
|
|
14207
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
14119
14208
|
super({
|
|
14120
|
-
defaultNamespace
|
|
14209
|
+
defaultNamespace,
|
|
14210
|
+
serviceTarget
|
|
14121
14211
|
});
|
|
14122
14212
|
}
|
|
14123
14213
|
getShapeId() {
|
|
@@ -14126,6 +14216,9 @@ var init_AwsJson1_1Protocol2 = __esm({
|
|
|
14126
14216
|
getJsonRpcVersion() {
|
|
14127
14217
|
return "1.1";
|
|
14128
14218
|
}
|
|
14219
|
+
getDefaultContentType() {
|
|
14220
|
+
return "application/x-amz-json-1.1";
|
|
14221
|
+
}
|
|
14129
14222
|
};
|
|
14130
14223
|
}
|
|
14131
14224
|
});
|
|
@@ -14186,7 +14279,7 @@ var init_AwsRestJsonProtocol2 = __esm({
|
|
|
14186
14279
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
14187
14280
|
request.headers["content-type"] = "application/octet-stream";
|
|
14188
14281
|
} else {
|
|
14189
|
-
request.headers["content-type"] =
|
|
14282
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
14190
14283
|
}
|
|
14191
14284
|
} else if (!inputSchema.isUnitSchema()) {
|
|
14192
14285
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -14194,7 +14287,7 @@ var init_AwsRestJsonProtocol2 = __esm({
|
|
|
14194
14287
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
14195
14288
|
});
|
|
14196
14289
|
if (hasBody) {
|
|
14197
|
-
request.headers["content-type"] =
|
|
14290
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
14198
14291
|
}
|
|
14199
14292
|
}
|
|
14200
14293
|
}
|
|
@@ -14246,6 +14339,9 @@ var init_AwsRestJsonProtocol2 = __esm({
|
|
|
14246
14339
|
});
|
|
14247
14340
|
throw exception;
|
|
14248
14341
|
}
|
|
14342
|
+
getDefaultContentType() {
|
|
14343
|
+
return "application/json";
|
|
14344
|
+
}
|
|
14249
14345
|
};
|
|
14250
14346
|
}
|
|
14251
14347
|
});
|
|
@@ -15872,6 +15968,9 @@ var init_QueryShapeSerializer2 = __esm({
|
|
|
15872
15968
|
if (value != null) {
|
|
15873
15969
|
this.writeKey(prefix);
|
|
15874
15970
|
this.writeValue(String(value));
|
|
15971
|
+
} else if (ns.isIdempotencyToken()) {
|
|
15972
|
+
this.writeKey(prefix);
|
|
15973
|
+
this.writeValue(v4_default());
|
|
15875
15974
|
}
|
|
15876
15975
|
} else if (ns.isBigIntegerSchema()) {
|
|
15877
15976
|
if (value != null) {
|
|
@@ -15945,7 +16044,7 @@ var init_QueryShapeSerializer2 = __esm({
|
|
|
15945
16044
|
} else if (ns.isStructSchema()) {
|
|
15946
16045
|
if (value && typeof value === "object") {
|
|
15947
16046
|
for (const [memberName, member] of ns.structIterator()) {
|
|
15948
|
-
if (value[memberName] == null) {
|
|
16047
|
+
if (value[memberName] == null && !member.isIdempotencyToken()) {
|
|
15949
16048
|
continue;
|
|
15950
16049
|
}
|
|
15951
16050
|
const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);
|
|
@@ -16135,6 +16234,9 @@ var init_AwsQueryProtocol2 = __esm({
|
|
|
16135
16234
|
const errorData = this.loadQueryError(data);
|
|
16136
16235
|
return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown";
|
|
16137
16236
|
}
|
|
16237
|
+
getDefaultContentType() {
|
|
16238
|
+
return "application/x-www-form-urlencoded";
|
|
16239
|
+
}
|
|
16138
16240
|
};
|
|
16139
16241
|
}
|
|
16140
16242
|
});
|
|
@@ -16292,7 +16394,7 @@ var init_XmlShapeSerializer2 = __esm({
|
|
|
16292
16394
|
}
|
|
16293
16395
|
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
16294
16396
|
const val2 = value[memberName];
|
|
16295
|
-
if (val2 != null) {
|
|
16397
|
+
if (val2 != null || memberSchema.isIdempotencyToken()) {
|
|
16296
16398
|
if (memberSchema.getMergedTraits().xmlAttribute) {
|
|
16297
16399
|
structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val2));
|
|
16298
16400
|
continue;
|
|
@@ -16452,9 +16554,16 @@ var init_XmlShapeSerializer2 = __esm({
|
|
|
16452
16554
|
throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`);
|
|
16453
16555
|
}
|
|
16454
16556
|
}
|
|
16455
|
-
if (ns.
|
|
16557
|
+
if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {
|
|
16456
16558
|
nodeContents = String(value);
|
|
16457
16559
|
}
|
|
16560
|
+
if (ns.isStringSchema()) {
|
|
16561
|
+
if (value === void 0 && ns.isIdempotencyToken()) {
|
|
16562
|
+
nodeContents = v4_default();
|
|
16563
|
+
} else {
|
|
16564
|
+
nodeContents = String(value);
|
|
16565
|
+
}
|
|
16566
|
+
}
|
|
16458
16567
|
if (nodeContents === null) {
|
|
16459
16568
|
throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);
|
|
16460
16569
|
}
|
|
@@ -16563,7 +16672,7 @@ var init_AwsRestXmlProtocol2 = __esm({
|
|
|
16563
16672
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
16564
16673
|
request.headers["content-type"] = "application/octet-stream";
|
|
16565
16674
|
} else {
|
|
16566
|
-
request.headers["content-type"] =
|
|
16675
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
16567
16676
|
}
|
|
16568
16677
|
} else if (!ns.isUnitSchema()) {
|
|
16569
16678
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -16571,11 +16680,11 @@ var init_AwsRestXmlProtocol2 = __esm({
|
|
|
16571
16680
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
16572
16681
|
});
|
|
16573
16682
|
if (hasBody) {
|
|
16574
|
-
request.headers["content-type"] =
|
|
16683
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
16575
16684
|
}
|
|
16576
16685
|
}
|
|
16577
16686
|
}
|
|
16578
|
-
if (request.headers["content-type"] ===
|
|
16687
|
+
if (request.headers["content-type"] === this.getDefaultContentType()) {
|
|
16579
16688
|
if (typeof request.body === "string") {
|
|
16580
16689
|
request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
|
|
16581
16690
|
}
|
|
@@ -16629,6 +16738,9 @@ var init_AwsRestXmlProtocol2 = __esm({
|
|
|
16629
16738
|
});
|
|
16630
16739
|
throw exception;
|
|
16631
16740
|
}
|
|
16741
|
+
getDefaultContentType() {
|
|
16742
|
+
return "application/xml";
|
|
16743
|
+
}
|
|
16632
16744
|
};
|
|
16633
16745
|
}
|
|
16634
16746
|
});
|
|
@@ -19137,7 +19249,7 @@ var init_jsonReplacer3 = __esm({
|
|
|
19137
19249
|
this.stage = 1;
|
|
19138
19250
|
return (key, value) => {
|
|
19139
19251
|
if (value instanceof NumericValue2) {
|
|
19140
|
-
const v6 = `${NUMERIC_CONTROL_CHAR3 +
|
|
19252
|
+
const v6 = `${NUMERIC_CONTROL_CHAR3 + "nv" + this.counter++}_` + value.string;
|
|
19141
19253
|
this.values.set(`"${v6}"`, value.string);
|
|
19142
19254
|
return v6;
|
|
19143
19255
|
}
|
|
@@ -19176,7 +19288,6 @@ var init_JsonShapeSerializer3 = __esm({
|
|
|
19176
19288
|
"../node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js"() {
|
|
19177
19289
|
init_schema();
|
|
19178
19290
|
init_serde();
|
|
19179
|
-
init_serde();
|
|
19180
19291
|
init_ConfigurableSerdeContext3();
|
|
19181
19292
|
init_jsonReplacer3();
|
|
19182
19293
|
JsonShapeSerializer3 = class extends SerdeContextConfig3 {
|
|
@@ -19264,11 +19375,16 @@ var init_JsonShapeSerializer3 = __esm({
|
|
|
19264
19375
|
return String(value);
|
|
19265
19376
|
}
|
|
19266
19377
|
}
|
|
19267
|
-
|
|
19268
|
-
|
|
19269
|
-
|
|
19270
|
-
|
|
19271
|
-
|
|
19378
|
+
if (ns.isStringSchema()) {
|
|
19379
|
+
if (typeof value === "undefined" && ns.isIdempotencyToken()) {
|
|
19380
|
+
return v4_default();
|
|
19381
|
+
}
|
|
19382
|
+
const mediaType = ns.getMergedTraits().mediaType;
|
|
19383
|
+
if (typeof value === "string" && mediaType) {
|
|
19384
|
+
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
19385
|
+
if (isJson) {
|
|
19386
|
+
return LazyJsonString2.from(value);
|
|
19387
|
+
}
|
|
19272
19388
|
}
|
|
19273
19389
|
}
|
|
19274
19390
|
return value;
|
|
@@ -19316,11 +19432,13 @@ var init_AwsJsonRpcProtocol3 = __esm({
|
|
|
19316
19432
|
AwsJsonRpcProtocol3 = class extends RpcProtocol {
|
|
19317
19433
|
serializer;
|
|
19318
19434
|
deserializer;
|
|
19435
|
+
serviceTarget;
|
|
19319
19436
|
codec;
|
|
19320
|
-
constructor({ defaultNamespace }) {
|
|
19437
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
19321
19438
|
super({
|
|
19322
19439
|
defaultNamespace
|
|
19323
19440
|
});
|
|
19441
|
+
this.serviceTarget = serviceTarget;
|
|
19324
19442
|
this.codec = new JsonCodec3({
|
|
19325
19443
|
timestampFormat: {
|
|
19326
19444
|
useTrait: true,
|
|
@@ -19338,7 +19456,7 @@ var init_AwsJsonRpcProtocol3 = __esm({
|
|
|
19338
19456
|
}
|
|
19339
19457
|
Object.assign(request.headers, {
|
|
19340
19458
|
"content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
|
|
19341
|
-
"x-amz-target":
|
|
19459
|
+
"x-amz-target": `${this.serviceTarget}.${NormalizedSchema.of(operationSchema).getName()}`
|
|
19342
19460
|
});
|
|
19343
19461
|
if (deref(operationSchema.input) === "unit" || !request.body) {
|
|
19344
19462
|
request.body = "{}";
|
|
@@ -19399,9 +19517,10 @@ var init_AwsJson1_0Protocol3 = __esm({
|
|
|
19399
19517
|
"../node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js"() {
|
|
19400
19518
|
init_AwsJsonRpcProtocol3();
|
|
19401
19519
|
AwsJson1_0Protocol3 = class extends AwsJsonRpcProtocol3 {
|
|
19402
|
-
constructor({ defaultNamespace }) {
|
|
19520
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
19403
19521
|
super({
|
|
19404
|
-
defaultNamespace
|
|
19522
|
+
defaultNamespace,
|
|
19523
|
+
serviceTarget
|
|
19405
19524
|
});
|
|
19406
19525
|
}
|
|
19407
19526
|
getShapeId() {
|
|
@@ -19410,6 +19529,9 @@ var init_AwsJson1_0Protocol3 = __esm({
|
|
|
19410
19529
|
getJsonRpcVersion() {
|
|
19411
19530
|
return "1.0";
|
|
19412
19531
|
}
|
|
19532
|
+
getDefaultContentType() {
|
|
19533
|
+
return "application/x-amz-json-1.0";
|
|
19534
|
+
}
|
|
19413
19535
|
};
|
|
19414
19536
|
}
|
|
19415
19537
|
});
|
|
@@ -19420,9 +19542,10 @@ var init_AwsJson1_1Protocol3 = __esm({
|
|
|
19420
19542
|
"../node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js"() {
|
|
19421
19543
|
init_AwsJsonRpcProtocol3();
|
|
19422
19544
|
AwsJson1_1Protocol3 = class extends AwsJsonRpcProtocol3 {
|
|
19423
|
-
constructor({ defaultNamespace }) {
|
|
19545
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
19424
19546
|
super({
|
|
19425
|
-
defaultNamespace
|
|
19547
|
+
defaultNamespace,
|
|
19548
|
+
serviceTarget
|
|
19426
19549
|
});
|
|
19427
19550
|
}
|
|
19428
19551
|
getShapeId() {
|
|
@@ -19431,6 +19554,9 @@ var init_AwsJson1_1Protocol3 = __esm({
|
|
|
19431
19554
|
getJsonRpcVersion() {
|
|
19432
19555
|
return "1.1";
|
|
19433
19556
|
}
|
|
19557
|
+
getDefaultContentType() {
|
|
19558
|
+
return "application/x-amz-json-1.1";
|
|
19559
|
+
}
|
|
19434
19560
|
};
|
|
19435
19561
|
}
|
|
19436
19562
|
});
|
|
@@ -19491,7 +19617,7 @@ var init_AwsRestJsonProtocol3 = __esm({
|
|
|
19491
19617
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
19492
19618
|
request.headers["content-type"] = "application/octet-stream";
|
|
19493
19619
|
} else {
|
|
19494
|
-
request.headers["content-type"] =
|
|
19620
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
19495
19621
|
}
|
|
19496
19622
|
} else if (!inputSchema.isUnitSchema()) {
|
|
19497
19623
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -19499,7 +19625,7 @@ var init_AwsRestJsonProtocol3 = __esm({
|
|
|
19499
19625
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
19500
19626
|
});
|
|
19501
19627
|
if (hasBody) {
|
|
19502
|
-
request.headers["content-type"] =
|
|
19628
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
19503
19629
|
}
|
|
19504
19630
|
}
|
|
19505
19631
|
}
|
|
@@ -19551,6 +19677,9 @@ var init_AwsRestJsonProtocol3 = __esm({
|
|
|
19551
19677
|
});
|
|
19552
19678
|
throw exception;
|
|
19553
19679
|
}
|
|
19680
|
+
getDefaultContentType() {
|
|
19681
|
+
return "application/json";
|
|
19682
|
+
}
|
|
19554
19683
|
};
|
|
19555
19684
|
}
|
|
19556
19685
|
});
|
|
@@ -21177,6 +21306,9 @@ var init_QueryShapeSerializer3 = __esm({
|
|
|
21177
21306
|
if (value != null) {
|
|
21178
21307
|
this.writeKey(prefix);
|
|
21179
21308
|
this.writeValue(String(value));
|
|
21309
|
+
} else if (ns.isIdempotencyToken()) {
|
|
21310
|
+
this.writeKey(prefix);
|
|
21311
|
+
this.writeValue(v4_default());
|
|
21180
21312
|
}
|
|
21181
21313
|
} else if (ns.isBigIntegerSchema()) {
|
|
21182
21314
|
if (value != null) {
|
|
@@ -21250,7 +21382,7 @@ var init_QueryShapeSerializer3 = __esm({
|
|
|
21250
21382
|
} else if (ns.isStructSchema()) {
|
|
21251
21383
|
if (value && typeof value === "object") {
|
|
21252
21384
|
for (const [memberName, member] of ns.structIterator()) {
|
|
21253
|
-
if (value[memberName] == null) {
|
|
21385
|
+
if (value[memberName] == null && !member.isIdempotencyToken()) {
|
|
21254
21386
|
continue;
|
|
21255
21387
|
}
|
|
21256
21388
|
const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);
|
|
@@ -21440,6 +21572,9 @@ var init_AwsQueryProtocol3 = __esm({
|
|
|
21440
21572
|
const errorData = this.loadQueryError(data);
|
|
21441
21573
|
return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown";
|
|
21442
21574
|
}
|
|
21575
|
+
getDefaultContentType() {
|
|
21576
|
+
return "application/x-www-form-urlencoded";
|
|
21577
|
+
}
|
|
21443
21578
|
};
|
|
21444
21579
|
}
|
|
21445
21580
|
});
|
|
@@ -21597,7 +21732,7 @@ var init_XmlShapeSerializer3 = __esm({
|
|
|
21597
21732
|
}
|
|
21598
21733
|
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
21599
21734
|
const val2 = value[memberName];
|
|
21600
|
-
if (val2 != null) {
|
|
21735
|
+
if (val2 != null || memberSchema.isIdempotencyToken()) {
|
|
21601
21736
|
if (memberSchema.getMergedTraits().xmlAttribute) {
|
|
21602
21737
|
structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val2));
|
|
21603
21738
|
continue;
|
|
@@ -21757,9 +21892,16 @@ var init_XmlShapeSerializer3 = __esm({
|
|
|
21757
21892
|
throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`);
|
|
21758
21893
|
}
|
|
21759
21894
|
}
|
|
21760
|
-
if (ns.
|
|
21895
|
+
if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {
|
|
21761
21896
|
nodeContents = String(value);
|
|
21762
21897
|
}
|
|
21898
|
+
if (ns.isStringSchema()) {
|
|
21899
|
+
if (value === void 0 && ns.isIdempotencyToken()) {
|
|
21900
|
+
nodeContents = v4_default();
|
|
21901
|
+
} else {
|
|
21902
|
+
nodeContents = String(value);
|
|
21903
|
+
}
|
|
21904
|
+
}
|
|
21763
21905
|
if (nodeContents === null) {
|
|
21764
21906
|
throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);
|
|
21765
21907
|
}
|
|
@@ -21868,7 +22010,7 @@ var init_AwsRestXmlProtocol3 = __esm({
|
|
|
21868
22010
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
21869
22011
|
request.headers["content-type"] = "application/octet-stream";
|
|
21870
22012
|
} else {
|
|
21871
|
-
request.headers["content-type"] =
|
|
22013
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
21872
22014
|
}
|
|
21873
22015
|
} else if (!ns.isUnitSchema()) {
|
|
21874
22016
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -21876,11 +22018,11 @@ var init_AwsRestXmlProtocol3 = __esm({
|
|
|
21876
22018
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
21877
22019
|
});
|
|
21878
22020
|
if (hasBody) {
|
|
21879
|
-
request.headers["content-type"] =
|
|
22021
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
21880
22022
|
}
|
|
21881
22023
|
}
|
|
21882
22024
|
}
|
|
21883
|
-
if (request.headers["content-type"] ===
|
|
22025
|
+
if (request.headers["content-type"] === this.getDefaultContentType()) {
|
|
21884
22026
|
if (typeof request.body === "string") {
|
|
21885
22027
|
request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
|
|
21886
22028
|
}
|
|
@@ -21934,6 +22076,9 @@ var init_AwsRestXmlProtocol3 = __esm({
|
|
|
21934
22076
|
});
|
|
21935
22077
|
throw exception;
|
|
21936
22078
|
}
|
|
22079
|
+
getDefaultContentType() {
|
|
22080
|
+
return "application/xml";
|
|
22081
|
+
}
|
|
21937
22082
|
};
|
|
21938
22083
|
}
|
|
21939
22084
|
});
|
|
@@ -22499,19 +22644,19 @@ var require_dist_cjs39 = __commonJS({
|
|
|
22499
22644
|
});
|
|
22500
22645
|
|
|
22501
22646
|
// ../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/rng.js
|
|
22502
|
-
function
|
|
22503
|
-
if (
|
|
22504
|
-
|
|
22505
|
-
|
|
22647
|
+
function rng2() {
|
|
22648
|
+
if (poolPtr2 > rnds8Pool2.length - 16) {
|
|
22649
|
+
import_crypto3.default.randomFillSync(rnds8Pool2);
|
|
22650
|
+
poolPtr2 = 0;
|
|
22506
22651
|
}
|
|
22507
|
-
return
|
|
22652
|
+
return rnds8Pool2.slice(poolPtr2, poolPtr2 += 16);
|
|
22508
22653
|
}
|
|
22509
|
-
var
|
|
22510
|
-
var
|
|
22654
|
+
var import_crypto3, rnds8Pool2, poolPtr2;
|
|
22655
|
+
var init_rng2 = __esm({
|
|
22511
22656
|
"../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/rng.js"() {
|
|
22512
|
-
|
|
22513
|
-
|
|
22514
|
-
|
|
22657
|
+
import_crypto3 = __toESM(require("crypto"));
|
|
22658
|
+
rnds8Pool2 = new Uint8Array(256);
|
|
22659
|
+
poolPtr2 = rnds8Pool2.length;
|
|
22515
22660
|
}
|
|
22516
22661
|
});
|
|
22517
22662
|
|
|
@@ -22536,23 +22681,23 @@ var init_validate = __esm({
|
|
|
22536
22681
|
});
|
|
22537
22682
|
|
|
22538
22683
|
// ../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/stringify.js
|
|
22539
|
-
function
|
|
22540
|
-
return
|
|
22684
|
+
function unsafeStringify2(arr, offset = 0) {
|
|
22685
|
+
return byteToHex2[arr[offset + 0]] + byteToHex2[arr[offset + 1]] + byteToHex2[arr[offset + 2]] + byteToHex2[arr[offset + 3]] + "-" + byteToHex2[arr[offset + 4]] + byteToHex2[arr[offset + 5]] + "-" + byteToHex2[arr[offset + 6]] + byteToHex2[arr[offset + 7]] + "-" + byteToHex2[arr[offset + 8]] + byteToHex2[arr[offset + 9]] + "-" + byteToHex2[arr[offset + 10]] + byteToHex2[arr[offset + 11]] + byteToHex2[arr[offset + 12]] + byteToHex2[arr[offset + 13]] + byteToHex2[arr[offset + 14]] + byteToHex2[arr[offset + 15]];
|
|
22541
22686
|
}
|
|
22542
22687
|
function stringify(arr, offset = 0) {
|
|
22543
|
-
const uuid =
|
|
22688
|
+
const uuid = unsafeStringify2(arr, offset);
|
|
22544
22689
|
if (!validate_default(uuid)) {
|
|
22545
22690
|
throw TypeError("Stringified UUID is invalid");
|
|
22546
22691
|
}
|
|
22547
22692
|
return uuid;
|
|
22548
22693
|
}
|
|
22549
|
-
var
|
|
22550
|
-
var
|
|
22694
|
+
var byteToHex2, stringify_default;
|
|
22695
|
+
var init_stringify2 = __esm({
|
|
22551
22696
|
"../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/stringify.js"() {
|
|
22552
22697
|
init_validate();
|
|
22553
|
-
|
|
22698
|
+
byteToHex2 = [];
|
|
22554
22699
|
for (let i3 = 0; i3 < 256; ++i3) {
|
|
22555
|
-
|
|
22700
|
+
byteToHex2.push((i3 + 256).toString(16).slice(1));
|
|
22556
22701
|
}
|
|
22557
22702
|
stringify_default = stringify;
|
|
22558
22703
|
}
|
|
@@ -22566,7 +22711,7 @@ function v1(options, buf, offset) {
|
|
|
22566
22711
|
let node = options.node || _nodeId;
|
|
22567
22712
|
let clockseq = options.clockseq !== void 0 ? options.clockseq : _clockseq;
|
|
22568
22713
|
if (node == null || clockseq == null) {
|
|
22569
|
-
const seedBytes = options.random || (options.rng ||
|
|
22714
|
+
const seedBytes = options.random || (options.rng || rng2)();
|
|
22570
22715
|
if (node == null) {
|
|
22571
22716
|
node = _nodeId = [seedBytes[0] | 1, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
|
|
22572
22717
|
}
|
|
@@ -22605,13 +22750,13 @@ function v1(options, buf, offset) {
|
|
|
22605
22750
|
for (let n3 = 0; n3 < 6; ++n3) {
|
|
22606
22751
|
b3[i3 + n3] = node[n3];
|
|
22607
22752
|
}
|
|
22608
|
-
return buf ||
|
|
22753
|
+
return buf || unsafeStringify2(b3);
|
|
22609
22754
|
}
|
|
22610
22755
|
var _nodeId, _clockseq, _lastMSecs, _lastNSecs, v1_default;
|
|
22611
22756
|
var init_v1 = __esm({
|
|
22612
22757
|
"../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v1.js"() {
|
|
22613
|
-
|
|
22614
|
-
|
|
22758
|
+
init_rng2();
|
|
22759
|
+
init_stringify2();
|
|
22615
22760
|
_lastMSecs = 0;
|
|
22616
22761
|
_lastNSecs = 0;
|
|
22617
22762
|
v1_default = v1;
|
|
@@ -22685,7 +22830,7 @@ function v35(name, version4, hashfunc) {
|
|
|
22685
22830
|
}
|
|
22686
22831
|
return buf;
|
|
22687
22832
|
}
|
|
22688
|
-
return
|
|
22833
|
+
return unsafeStringify2(bytes);
|
|
22689
22834
|
}
|
|
22690
22835
|
try {
|
|
22691
22836
|
generateUUID.name = name;
|
|
@@ -22698,7 +22843,7 @@ function v35(name, version4, hashfunc) {
|
|
|
22698
22843
|
var DNS, URL2;
|
|
22699
22844
|
var init_v35 = __esm({
|
|
22700
22845
|
"../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v35.js"() {
|
|
22701
|
-
|
|
22846
|
+
init_stringify2();
|
|
22702
22847
|
init_parse();
|
|
22703
22848
|
DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
22704
22849
|
URL2 = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
@@ -22712,12 +22857,12 @@ function md5(bytes) {
|
|
|
22712
22857
|
} else if (typeof bytes === "string") {
|
|
22713
22858
|
bytes = Buffer.from(bytes, "utf8");
|
|
22714
22859
|
}
|
|
22715
|
-
return
|
|
22860
|
+
return import_crypto4.default.createHash("md5").update(bytes).digest();
|
|
22716
22861
|
}
|
|
22717
|
-
var
|
|
22862
|
+
var import_crypto4, md5_default;
|
|
22718
22863
|
var init_md5 = __esm({
|
|
22719
22864
|
"../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/md5.js"() {
|
|
22720
|
-
|
|
22865
|
+
import_crypto4 = __toESM(require("crypto"));
|
|
22721
22866
|
md5_default = md5;
|
|
22722
22867
|
}
|
|
22723
22868
|
});
|
|
@@ -22734,23 +22879,23 @@ var init_v3 = __esm({
|
|
|
22734
22879
|
});
|
|
22735
22880
|
|
|
22736
22881
|
// ../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/native.js
|
|
22737
|
-
var
|
|
22738
|
-
var
|
|
22882
|
+
var import_crypto5, native_default2;
|
|
22883
|
+
var init_native2 = __esm({
|
|
22739
22884
|
"../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/native.js"() {
|
|
22740
|
-
|
|
22741
|
-
|
|
22742
|
-
randomUUID:
|
|
22885
|
+
import_crypto5 = __toESM(require("crypto"));
|
|
22886
|
+
native_default2 = {
|
|
22887
|
+
randomUUID: import_crypto5.default.randomUUID
|
|
22743
22888
|
};
|
|
22744
22889
|
}
|
|
22745
22890
|
});
|
|
22746
22891
|
|
|
22747
22892
|
// ../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v4.js
|
|
22748
|
-
function
|
|
22749
|
-
if (
|
|
22750
|
-
return
|
|
22893
|
+
function v42(options, buf, offset) {
|
|
22894
|
+
if (native_default2.randomUUID && !buf && !options) {
|
|
22895
|
+
return native_default2.randomUUID();
|
|
22751
22896
|
}
|
|
22752
22897
|
options = options || {};
|
|
22753
|
-
const rnds = options.random || (options.rng ||
|
|
22898
|
+
const rnds = options.random || (options.rng || rng2)();
|
|
22754
22899
|
rnds[6] = rnds[6] & 15 | 64;
|
|
22755
22900
|
rnds[8] = rnds[8] & 63 | 128;
|
|
22756
22901
|
if (buf) {
|
|
@@ -22760,15 +22905,15 @@ function v4(options, buf, offset) {
|
|
|
22760
22905
|
}
|
|
22761
22906
|
return buf;
|
|
22762
22907
|
}
|
|
22763
|
-
return
|
|
22908
|
+
return unsafeStringify2(rnds);
|
|
22764
22909
|
}
|
|
22765
|
-
var
|
|
22766
|
-
var
|
|
22910
|
+
var v4_default2;
|
|
22911
|
+
var init_v42 = __esm({
|
|
22767
22912
|
"../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/v4.js"() {
|
|
22768
|
-
|
|
22769
|
-
|
|
22770
|
-
|
|
22771
|
-
|
|
22913
|
+
init_native2();
|
|
22914
|
+
init_rng2();
|
|
22915
|
+
init_stringify2();
|
|
22916
|
+
v4_default2 = v42;
|
|
22772
22917
|
}
|
|
22773
22918
|
});
|
|
22774
22919
|
|
|
@@ -22779,12 +22924,12 @@ function sha1(bytes) {
|
|
|
22779
22924
|
} else if (typeof bytes === "string") {
|
|
22780
22925
|
bytes = Buffer.from(bytes, "utf8");
|
|
22781
22926
|
}
|
|
22782
|
-
return
|
|
22927
|
+
return import_crypto6.default.createHash("sha1").update(bytes).digest();
|
|
22783
22928
|
}
|
|
22784
|
-
var
|
|
22929
|
+
var import_crypto6, sha1_default;
|
|
22785
22930
|
var init_sha1 = __esm({
|
|
22786
22931
|
"../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/sha1.js"() {
|
|
22787
|
-
|
|
22932
|
+
import_crypto6 = __toESM(require("crypto"));
|
|
22788
22933
|
sha1_default = sha1;
|
|
22789
22934
|
}
|
|
22790
22935
|
});
|
|
@@ -22831,21 +22976,21 @@ __export(esm_node_exports, {
|
|
|
22831
22976
|
stringify: () => stringify_default,
|
|
22832
22977
|
v1: () => v1_default,
|
|
22833
22978
|
v3: () => v3_default,
|
|
22834
|
-
v4: () =>
|
|
22979
|
+
v4: () => v4_default2,
|
|
22835
22980
|
v5: () => v5_default,
|
|
22836
22981
|
validate: () => validate_default,
|
|
22837
22982
|
version: () => version_default
|
|
22838
22983
|
});
|
|
22839
|
-
var
|
|
22984
|
+
var init_esm_node2 = __esm({
|
|
22840
22985
|
"../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-node/index.js"() {
|
|
22841
22986
|
init_v1();
|
|
22842
22987
|
init_v3();
|
|
22843
|
-
|
|
22988
|
+
init_v42();
|
|
22844
22989
|
init_v5();
|
|
22845
22990
|
init_nil();
|
|
22846
22991
|
init_version();
|
|
22847
22992
|
init_validate();
|
|
22848
|
-
|
|
22993
|
+
init_stringify2();
|
|
22849
22994
|
init_parse();
|
|
22850
22995
|
}
|
|
22851
22996
|
});
|
|
@@ -23325,7 +23470,7 @@ var require_dist_cjs42 = __commonJS({
|
|
|
23325
23470
|
});
|
|
23326
23471
|
module2.exports = __toCommonJS2(src_exports);
|
|
23327
23472
|
var import_protocol_http35 = require_dist_cjs2();
|
|
23328
|
-
var
|
|
23473
|
+
var import_uuid2 = (init_esm_node2(), __toCommonJS(esm_node_exports));
|
|
23329
23474
|
var import_util_retry3 = require_dist_cjs41();
|
|
23330
23475
|
var getDefaultRetryQuota = /* @__PURE__ */ __name((initialRetryTokens, options) => {
|
|
23331
23476
|
const MAX_CAPACITY = initialRetryTokens;
|
|
@@ -23400,7 +23545,7 @@ var require_dist_cjs42 = __commonJS({
|
|
|
23400
23545
|
const maxAttempts = await this.getMaxAttempts();
|
|
23401
23546
|
const { request } = args;
|
|
23402
23547
|
if (import_protocol_http35.HttpRequest.isInstance(request)) {
|
|
23403
|
-
request.headers[import_util_retry3.INVOCATION_ID_HEADER] = (0,
|
|
23548
|
+
request.headers[import_util_retry3.INVOCATION_ID_HEADER] = (0, import_uuid2.v4)();
|
|
23404
23549
|
}
|
|
23405
23550
|
while (true) {
|
|
23406
23551
|
try {
|
|
@@ -23561,7 +23706,7 @@ var require_dist_cjs42 = __commonJS({
|
|
|
23561
23706
|
const { request } = args;
|
|
23562
23707
|
const isRequest = import_protocol_http35.HttpRequest.isInstance(request);
|
|
23563
23708
|
if (isRequest) {
|
|
23564
|
-
request.headers[import_util_retry3.INVOCATION_ID_HEADER] = (0,
|
|
23709
|
+
request.headers[import_util_retry3.INVOCATION_ID_HEADER] = (0, import_uuid2.v4)();
|
|
23565
23710
|
}
|
|
23566
23711
|
while (true) {
|
|
23567
23712
|
try {
|
|
@@ -24829,19 +24974,19 @@ var require_httpAuthSchemeProvider = __commonJS({
|
|
|
24829
24974
|
});
|
|
24830
24975
|
|
|
24831
24976
|
// ../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/rng.js
|
|
24832
|
-
function
|
|
24833
|
-
if (
|
|
24834
|
-
|
|
24835
|
-
|
|
24977
|
+
function rng3() {
|
|
24978
|
+
if (poolPtr3 > rnds8Pool3.length - 16) {
|
|
24979
|
+
import_crypto7.default.randomFillSync(rnds8Pool3);
|
|
24980
|
+
poolPtr3 = 0;
|
|
24836
24981
|
}
|
|
24837
|
-
return
|
|
24982
|
+
return rnds8Pool3.slice(poolPtr3, poolPtr3 += 16);
|
|
24838
24983
|
}
|
|
24839
|
-
var
|
|
24840
|
-
var
|
|
24984
|
+
var import_crypto7, rnds8Pool3, poolPtr3;
|
|
24985
|
+
var init_rng3 = __esm({
|
|
24841
24986
|
"../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/rng.js"() {
|
|
24842
|
-
|
|
24843
|
-
|
|
24844
|
-
|
|
24987
|
+
import_crypto7 = __toESM(require("crypto"));
|
|
24988
|
+
rnds8Pool3 = new Uint8Array(256);
|
|
24989
|
+
poolPtr3 = rnds8Pool3.length;
|
|
24845
24990
|
}
|
|
24846
24991
|
});
|
|
24847
24992
|
|
|
@@ -24866,23 +25011,23 @@ var init_validate2 = __esm({
|
|
|
24866
25011
|
});
|
|
24867
25012
|
|
|
24868
25013
|
// ../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/stringify.js
|
|
24869
|
-
function
|
|
24870
|
-
return
|
|
25014
|
+
function unsafeStringify3(arr, offset = 0) {
|
|
25015
|
+
return byteToHex3[arr[offset + 0]] + byteToHex3[arr[offset + 1]] + byteToHex3[arr[offset + 2]] + byteToHex3[arr[offset + 3]] + "-" + byteToHex3[arr[offset + 4]] + byteToHex3[arr[offset + 5]] + "-" + byteToHex3[arr[offset + 6]] + byteToHex3[arr[offset + 7]] + "-" + byteToHex3[arr[offset + 8]] + byteToHex3[arr[offset + 9]] + "-" + byteToHex3[arr[offset + 10]] + byteToHex3[arr[offset + 11]] + byteToHex3[arr[offset + 12]] + byteToHex3[arr[offset + 13]] + byteToHex3[arr[offset + 14]] + byteToHex3[arr[offset + 15]];
|
|
24871
25016
|
}
|
|
24872
25017
|
function stringify2(arr, offset = 0) {
|
|
24873
|
-
const uuid =
|
|
25018
|
+
const uuid = unsafeStringify3(arr, offset);
|
|
24874
25019
|
if (!validate_default2(uuid)) {
|
|
24875
25020
|
throw TypeError("Stringified UUID is invalid");
|
|
24876
25021
|
}
|
|
24877
25022
|
return uuid;
|
|
24878
25023
|
}
|
|
24879
|
-
var
|
|
24880
|
-
var
|
|
25024
|
+
var byteToHex3, stringify_default2;
|
|
25025
|
+
var init_stringify3 = __esm({
|
|
24881
25026
|
"../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/stringify.js"() {
|
|
24882
25027
|
init_validate2();
|
|
24883
|
-
|
|
25028
|
+
byteToHex3 = [];
|
|
24884
25029
|
for (let i3 = 0; i3 < 256; ++i3) {
|
|
24885
|
-
|
|
25030
|
+
byteToHex3.push((i3 + 256).toString(16).slice(1));
|
|
24886
25031
|
}
|
|
24887
25032
|
stringify_default2 = stringify2;
|
|
24888
25033
|
}
|
|
@@ -24896,7 +25041,7 @@ function v12(options, buf, offset) {
|
|
|
24896
25041
|
let node = options.node || _nodeId2;
|
|
24897
25042
|
let clockseq = options.clockseq !== void 0 ? options.clockseq : _clockseq2;
|
|
24898
25043
|
if (node == null || clockseq == null) {
|
|
24899
|
-
const seedBytes = options.random || (options.rng ||
|
|
25044
|
+
const seedBytes = options.random || (options.rng || rng3)();
|
|
24900
25045
|
if (node == null) {
|
|
24901
25046
|
node = _nodeId2 = [seedBytes[0] | 1, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
|
|
24902
25047
|
}
|
|
@@ -24935,13 +25080,13 @@ function v12(options, buf, offset) {
|
|
|
24935
25080
|
for (let n3 = 0; n3 < 6; ++n3) {
|
|
24936
25081
|
b3[i3 + n3] = node[n3];
|
|
24937
25082
|
}
|
|
24938
|
-
return buf ||
|
|
25083
|
+
return buf || unsafeStringify3(b3);
|
|
24939
25084
|
}
|
|
24940
25085
|
var _nodeId2, _clockseq2, _lastMSecs2, _lastNSecs2, v1_default2;
|
|
24941
25086
|
var init_v12 = __esm({
|
|
24942
25087
|
"../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/v1.js"() {
|
|
24943
|
-
|
|
24944
|
-
|
|
25088
|
+
init_rng3();
|
|
25089
|
+
init_stringify3();
|
|
24945
25090
|
_lastMSecs2 = 0;
|
|
24946
25091
|
_lastNSecs2 = 0;
|
|
24947
25092
|
v1_default2 = v12;
|
|
@@ -25015,7 +25160,7 @@ function v352(name, version4, hashfunc) {
|
|
|
25015
25160
|
}
|
|
25016
25161
|
return buf;
|
|
25017
25162
|
}
|
|
25018
|
-
return
|
|
25163
|
+
return unsafeStringify3(bytes);
|
|
25019
25164
|
}
|
|
25020
25165
|
try {
|
|
25021
25166
|
generateUUID.name = name;
|
|
@@ -25028,7 +25173,7 @@ function v352(name, version4, hashfunc) {
|
|
|
25028
25173
|
var DNS2, URL3;
|
|
25029
25174
|
var init_v352 = __esm({
|
|
25030
25175
|
"../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/v35.js"() {
|
|
25031
|
-
|
|
25176
|
+
init_stringify3();
|
|
25032
25177
|
init_parse2();
|
|
25033
25178
|
DNS2 = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
25034
25179
|
URL3 = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
@@ -25042,12 +25187,12 @@ function md52(bytes) {
|
|
|
25042
25187
|
} else if (typeof bytes === "string") {
|
|
25043
25188
|
bytes = Buffer.from(bytes, "utf8");
|
|
25044
25189
|
}
|
|
25045
|
-
return
|
|
25190
|
+
return import_crypto8.default.createHash("md5").update(bytes).digest();
|
|
25046
25191
|
}
|
|
25047
|
-
var
|
|
25192
|
+
var import_crypto8, md5_default2;
|
|
25048
25193
|
var init_md52 = __esm({
|
|
25049
25194
|
"../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/md5.js"() {
|
|
25050
|
-
|
|
25195
|
+
import_crypto8 = __toESM(require("crypto"));
|
|
25051
25196
|
md5_default2 = md52;
|
|
25052
25197
|
}
|
|
25053
25198
|
});
|
|
@@ -25064,23 +25209,23 @@ var init_v32 = __esm({
|
|
|
25064
25209
|
});
|
|
25065
25210
|
|
|
25066
25211
|
// ../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/native.js
|
|
25067
|
-
var
|
|
25068
|
-
var
|
|
25212
|
+
var import_crypto9, native_default3;
|
|
25213
|
+
var init_native3 = __esm({
|
|
25069
25214
|
"../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/native.js"() {
|
|
25070
|
-
|
|
25071
|
-
|
|
25072
|
-
randomUUID:
|
|
25215
|
+
import_crypto9 = __toESM(require("crypto"));
|
|
25216
|
+
native_default3 = {
|
|
25217
|
+
randomUUID: import_crypto9.default.randomUUID
|
|
25073
25218
|
};
|
|
25074
25219
|
}
|
|
25075
25220
|
});
|
|
25076
25221
|
|
|
25077
25222
|
// ../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/v4.js
|
|
25078
|
-
function
|
|
25079
|
-
if (
|
|
25080
|
-
return
|
|
25223
|
+
function v43(options, buf, offset) {
|
|
25224
|
+
if (native_default3.randomUUID && !buf && !options) {
|
|
25225
|
+
return native_default3.randomUUID();
|
|
25081
25226
|
}
|
|
25082
25227
|
options = options || {};
|
|
25083
|
-
const rnds = options.random || (options.rng ||
|
|
25228
|
+
const rnds = options.random || (options.rng || rng3)();
|
|
25084
25229
|
rnds[6] = rnds[6] & 15 | 64;
|
|
25085
25230
|
rnds[8] = rnds[8] & 63 | 128;
|
|
25086
25231
|
if (buf) {
|
|
@@ -25090,15 +25235,15 @@ function v42(options, buf, offset) {
|
|
|
25090
25235
|
}
|
|
25091
25236
|
return buf;
|
|
25092
25237
|
}
|
|
25093
|
-
return
|
|
25238
|
+
return unsafeStringify3(rnds);
|
|
25094
25239
|
}
|
|
25095
|
-
var
|
|
25096
|
-
var
|
|
25240
|
+
var v4_default3;
|
|
25241
|
+
var init_v43 = __esm({
|
|
25097
25242
|
"../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/v4.js"() {
|
|
25098
|
-
|
|
25099
|
-
|
|
25100
|
-
|
|
25101
|
-
|
|
25243
|
+
init_native3();
|
|
25244
|
+
init_rng3();
|
|
25245
|
+
init_stringify3();
|
|
25246
|
+
v4_default3 = v43;
|
|
25102
25247
|
}
|
|
25103
25248
|
});
|
|
25104
25249
|
|
|
@@ -25109,12 +25254,12 @@ function sha12(bytes) {
|
|
|
25109
25254
|
} else if (typeof bytes === "string") {
|
|
25110
25255
|
bytes = Buffer.from(bytes, "utf8");
|
|
25111
25256
|
}
|
|
25112
|
-
return
|
|
25257
|
+
return import_crypto10.default.createHash("sha1").update(bytes).digest();
|
|
25113
25258
|
}
|
|
25114
|
-
var
|
|
25259
|
+
var import_crypto10, sha1_default2;
|
|
25115
25260
|
var init_sha12 = __esm({
|
|
25116
25261
|
"../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/sha1.js"() {
|
|
25117
|
-
|
|
25262
|
+
import_crypto10 = __toESM(require("crypto"));
|
|
25118
25263
|
sha1_default2 = sha12;
|
|
25119
25264
|
}
|
|
25120
25265
|
});
|
|
@@ -25161,21 +25306,21 @@ __export(esm_node_exports2, {
|
|
|
25161
25306
|
stringify: () => stringify_default2,
|
|
25162
25307
|
v1: () => v1_default2,
|
|
25163
25308
|
v3: () => v3_default2,
|
|
25164
|
-
v4: () =>
|
|
25309
|
+
v4: () => v4_default3,
|
|
25165
25310
|
v5: () => v5_default2,
|
|
25166
25311
|
validate: () => validate_default2,
|
|
25167
25312
|
version: () => version_default2
|
|
25168
25313
|
});
|
|
25169
|
-
var
|
|
25314
|
+
var init_esm_node3 = __esm({
|
|
25170
25315
|
"../node_modules/@aws-sdk/client-s3/node_modules/uuid/dist/esm-node/index.js"() {
|
|
25171
25316
|
init_v12();
|
|
25172
25317
|
init_v32();
|
|
25173
|
-
|
|
25318
|
+
init_v43();
|
|
25174
25319
|
init_v52();
|
|
25175
25320
|
init_nil2();
|
|
25176
25321
|
init_version2();
|
|
25177
25322
|
init_validate2();
|
|
25178
|
-
|
|
25323
|
+
init_stringify3();
|
|
25179
25324
|
init_parse2();
|
|
25180
25325
|
}
|
|
25181
25326
|
});
|
|
@@ -25186,7 +25331,7 @@ var require_package = __commonJS({
|
|
|
25186
25331
|
module2.exports = {
|
|
25187
25332
|
name: "@aws-sdk/client-s3",
|
|
25188
25333
|
description: "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
25189
|
-
version: "3.
|
|
25334
|
+
version: "3.864.0",
|
|
25190
25335
|
scripts: {
|
|
25191
25336
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
25192
25337
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -25214,64 +25359,64 @@ var require_package = __commonJS({
|
|
|
25214
25359
|
"@aws-crypto/sha1-browser": "5.2.0",
|
|
25215
25360
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25216
25361
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25217
|
-
"@aws-sdk/core": "3.
|
|
25218
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25219
|
-
"@aws-sdk/middleware-bucket-endpoint": "3.
|
|
25220
|
-
"@aws-sdk/middleware-expect-continue": "3.
|
|
25221
|
-
"@aws-sdk/middleware-flexible-checksums": "3.
|
|
25222
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25223
|
-
"@aws-sdk/middleware-location-constraint": "3.
|
|
25224
|
-
"@aws-sdk/middleware-logger": "3.
|
|
25225
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
25226
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
25227
|
-
"@aws-sdk/middleware-ssec": "3.
|
|
25228
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25229
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
25230
|
-
"@aws-sdk/signature-v4-multi-region": "3.
|
|
25231
|
-
"@aws-sdk/types": "3.
|
|
25232
|
-
"@aws-sdk/util-endpoints": "3.
|
|
25233
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
25234
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
25235
|
-
"@aws-sdk/xml-builder": "3.
|
|
25236
|
-
"@smithy/config-resolver": "^4.1.
|
|
25237
|
-
"@smithy/core": "^3.
|
|
25238
|
-
"@smithy/eventstream-serde-browser": "^4.0.
|
|
25239
|
-
"@smithy/eventstream-serde-config-resolver": "^4.1.
|
|
25240
|
-
"@smithy/eventstream-serde-node": "^4.0.
|
|
25241
|
-
"@smithy/fetch-http-handler": "^5.1.
|
|
25242
|
-
"@smithy/hash-blob-browser": "^4.0.
|
|
25243
|
-
"@smithy/hash-node": "^4.0.
|
|
25244
|
-
"@smithy/hash-stream-node": "^4.0.
|
|
25245
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
25246
|
-
"@smithy/md5-js": "^4.0.
|
|
25247
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
25248
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
25249
|
-
"@smithy/middleware-retry": "^4.1.
|
|
25250
|
-
"@smithy/middleware-serde": "^4.0.
|
|
25251
|
-
"@smithy/middleware-stack": "^4.0.
|
|
25252
|
-
"@smithy/node-config-provider": "^4.1.
|
|
25253
|
-
"@smithy/node-http-handler": "^4.1.
|
|
25254
|
-
"@smithy/protocol-http": "^5.1.
|
|
25255
|
-
"@smithy/smithy-client": "^4.4.
|
|
25256
|
-
"@smithy/types": "^4.3.
|
|
25257
|
-
"@smithy/url-parser": "^4.0.
|
|
25362
|
+
"@aws-sdk/core": "3.864.0",
|
|
25363
|
+
"@aws-sdk/credential-provider-node": "3.864.0",
|
|
25364
|
+
"@aws-sdk/middleware-bucket-endpoint": "3.862.0",
|
|
25365
|
+
"@aws-sdk/middleware-expect-continue": "3.862.0",
|
|
25366
|
+
"@aws-sdk/middleware-flexible-checksums": "3.864.0",
|
|
25367
|
+
"@aws-sdk/middleware-host-header": "3.862.0",
|
|
25368
|
+
"@aws-sdk/middleware-location-constraint": "3.862.0",
|
|
25369
|
+
"@aws-sdk/middleware-logger": "3.862.0",
|
|
25370
|
+
"@aws-sdk/middleware-recursion-detection": "3.862.0",
|
|
25371
|
+
"@aws-sdk/middleware-sdk-s3": "3.864.0",
|
|
25372
|
+
"@aws-sdk/middleware-ssec": "3.862.0",
|
|
25373
|
+
"@aws-sdk/middleware-user-agent": "3.864.0",
|
|
25374
|
+
"@aws-sdk/region-config-resolver": "3.862.0",
|
|
25375
|
+
"@aws-sdk/signature-v4-multi-region": "3.864.0",
|
|
25376
|
+
"@aws-sdk/types": "3.862.0",
|
|
25377
|
+
"@aws-sdk/util-endpoints": "3.862.0",
|
|
25378
|
+
"@aws-sdk/util-user-agent-browser": "3.862.0",
|
|
25379
|
+
"@aws-sdk/util-user-agent-node": "3.864.0",
|
|
25380
|
+
"@aws-sdk/xml-builder": "3.862.0",
|
|
25381
|
+
"@smithy/config-resolver": "^4.1.5",
|
|
25382
|
+
"@smithy/core": "^3.8.0",
|
|
25383
|
+
"@smithy/eventstream-serde-browser": "^4.0.5",
|
|
25384
|
+
"@smithy/eventstream-serde-config-resolver": "^4.1.3",
|
|
25385
|
+
"@smithy/eventstream-serde-node": "^4.0.5",
|
|
25386
|
+
"@smithy/fetch-http-handler": "^5.1.1",
|
|
25387
|
+
"@smithy/hash-blob-browser": "^4.0.5",
|
|
25388
|
+
"@smithy/hash-node": "^4.0.5",
|
|
25389
|
+
"@smithy/hash-stream-node": "^4.0.5",
|
|
25390
|
+
"@smithy/invalid-dependency": "^4.0.5",
|
|
25391
|
+
"@smithy/md5-js": "^4.0.5",
|
|
25392
|
+
"@smithy/middleware-content-length": "^4.0.5",
|
|
25393
|
+
"@smithy/middleware-endpoint": "^4.1.18",
|
|
25394
|
+
"@smithy/middleware-retry": "^4.1.19",
|
|
25395
|
+
"@smithy/middleware-serde": "^4.0.9",
|
|
25396
|
+
"@smithy/middleware-stack": "^4.0.5",
|
|
25397
|
+
"@smithy/node-config-provider": "^4.1.4",
|
|
25398
|
+
"@smithy/node-http-handler": "^4.1.1",
|
|
25399
|
+
"@smithy/protocol-http": "^5.1.3",
|
|
25400
|
+
"@smithy/smithy-client": "^4.4.10",
|
|
25401
|
+
"@smithy/types": "^4.3.2",
|
|
25402
|
+
"@smithy/url-parser": "^4.0.5",
|
|
25258
25403
|
"@smithy/util-base64": "^4.0.0",
|
|
25259
25404
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
25260
25405
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
25261
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
25262
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
25263
|
-
"@smithy/util-endpoints": "^3.0.
|
|
25264
|
-
"@smithy/util-middleware": "^4.0.
|
|
25265
|
-
"@smithy/util-retry": "^4.0.
|
|
25266
|
-
"@smithy/util-stream": "^4.2.
|
|
25406
|
+
"@smithy/util-defaults-mode-browser": "^4.0.26",
|
|
25407
|
+
"@smithy/util-defaults-mode-node": "^4.0.26",
|
|
25408
|
+
"@smithy/util-endpoints": "^3.0.7",
|
|
25409
|
+
"@smithy/util-middleware": "^4.0.5",
|
|
25410
|
+
"@smithy/util-retry": "^4.0.7",
|
|
25411
|
+
"@smithy/util-stream": "^4.2.4",
|
|
25267
25412
|
"@smithy/util-utf8": "^4.0.0",
|
|
25268
|
-
"@smithy/util-waiter": "^4.0.
|
|
25413
|
+
"@smithy/util-waiter": "^4.0.7",
|
|
25269
25414
|
"@types/uuid": "^9.0.1",
|
|
25270
25415
|
tslib: "^2.6.2",
|
|
25271
25416
|
uuid: "^9.0.1"
|
|
25272
25417
|
},
|
|
25273
25418
|
devDependencies: {
|
|
25274
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
25419
|
+
"@aws-sdk/signature-v4-crt": "3.864.0",
|
|
25275
25420
|
"@tsconfig/node18": "18.2.4",
|
|
25276
25421
|
"@types/node": "^18.19.69",
|
|
25277
25422
|
concurrently: "7.0.0",
|
|
@@ -27091,7 +27236,7 @@ var init_jsonReplacer4 = __esm({
|
|
|
27091
27236
|
this.stage = 1;
|
|
27092
27237
|
return (key, value) => {
|
|
27093
27238
|
if (value instanceof NumericValue2) {
|
|
27094
|
-
const v6 = `${NUMERIC_CONTROL_CHAR4 +
|
|
27239
|
+
const v6 = `${NUMERIC_CONTROL_CHAR4 + "nv" + this.counter++}_` + value.string;
|
|
27095
27240
|
this.values.set(`"${v6}"`, value.string);
|
|
27096
27241
|
return v6;
|
|
27097
27242
|
}
|
|
@@ -27130,7 +27275,6 @@ var init_JsonShapeSerializer4 = __esm({
|
|
|
27130
27275
|
"../node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js"() {
|
|
27131
27276
|
init_schema();
|
|
27132
27277
|
init_serde();
|
|
27133
|
-
init_serde();
|
|
27134
27278
|
init_ConfigurableSerdeContext4();
|
|
27135
27279
|
init_jsonReplacer4();
|
|
27136
27280
|
JsonShapeSerializer4 = class extends SerdeContextConfig4 {
|
|
@@ -27218,11 +27362,16 @@ var init_JsonShapeSerializer4 = __esm({
|
|
|
27218
27362
|
return String(value);
|
|
27219
27363
|
}
|
|
27220
27364
|
}
|
|
27221
|
-
|
|
27222
|
-
|
|
27223
|
-
|
|
27224
|
-
|
|
27225
|
-
|
|
27365
|
+
if (ns.isStringSchema()) {
|
|
27366
|
+
if (typeof value === "undefined" && ns.isIdempotencyToken()) {
|
|
27367
|
+
return v4_default();
|
|
27368
|
+
}
|
|
27369
|
+
const mediaType = ns.getMergedTraits().mediaType;
|
|
27370
|
+
if (typeof value === "string" && mediaType) {
|
|
27371
|
+
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
27372
|
+
if (isJson) {
|
|
27373
|
+
return LazyJsonString2.from(value);
|
|
27374
|
+
}
|
|
27226
27375
|
}
|
|
27227
27376
|
}
|
|
27228
27377
|
return value;
|
|
@@ -27270,11 +27419,13 @@ var init_AwsJsonRpcProtocol4 = __esm({
|
|
|
27270
27419
|
AwsJsonRpcProtocol4 = class extends RpcProtocol {
|
|
27271
27420
|
serializer;
|
|
27272
27421
|
deserializer;
|
|
27422
|
+
serviceTarget;
|
|
27273
27423
|
codec;
|
|
27274
|
-
constructor({ defaultNamespace }) {
|
|
27424
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
27275
27425
|
super({
|
|
27276
27426
|
defaultNamespace
|
|
27277
27427
|
});
|
|
27428
|
+
this.serviceTarget = serviceTarget;
|
|
27278
27429
|
this.codec = new JsonCodec4({
|
|
27279
27430
|
timestampFormat: {
|
|
27280
27431
|
useTrait: true,
|
|
@@ -27292,7 +27443,7 @@ var init_AwsJsonRpcProtocol4 = __esm({
|
|
|
27292
27443
|
}
|
|
27293
27444
|
Object.assign(request.headers, {
|
|
27294
27445
|
"content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
|
|
27295
|
-
"x-amz-target":
|
|
27446
|
+
"x-amz-target": `${this.serviceTarget}.${NormalizedSchema.of(operationSchema).getName()}`
|
|
27296
27447
|
});
|
|
27297
27448
|
if (deref(operationSchema.input) === "unit" || !request.body) {
|
|
27298
27449
|
request.body = "{}";
|
|
@@ -27353,9 +27504,10 @@ var init_AwsJson1_0Protocol4 = __esm({
|
|
|
27353
27504
|
"../node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js"() {
|
|
27354
27505
|
init_AwsJsonRpcProtocol4();
|
|
27355
27506
|
AwsJson1_0Protocol4 = class extends AwsJsonRpcProtocol4 {
|
|
27356
|
-
constructor({ defaultNamespace }) {
|
|
27507
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
27357
27508
|
super({
|
|
27358
|
-
defaultNamespace
|
|
27509
|
+
defaultNamespace,
|
|
27510
|
+
serviceTarget
|
|
27359
27511
|
});
|
|
27360
27512
|
}
|
|
27361
27513
|
getShapeId() {
|
|
@@ -27364,6 +27516,9 @@ var init_AwsJson1_0Protocol4 = __esm({
|
|
|
27364
27516
|
getJsonRpcVersion() {
|
|
27365
27517
|
return "1.0";
|
|
27366
27518
|
}
|
|
27519
|
+
getDefaultContentType() {
|
|
27520
|
+
return "application/x-amz-json-1.0";
|
|
27521
|
+
}
|
|
27367
27522
|
};
|
|
27368
27523
|
}
|
|
27369
27524
|
});
|
|
@@ -27374,9 +27529,10 @@ var init_AwsJson1_1Protocol4 = __esm({
|
|
|
27374
27529
|
"../node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js"() {
|
|
27375
27530
|
init_AwsJsonRpcProtocol4();
|
|
27376
27531
|
AwsJson1_1Protocol4 = class extends AwsJsonRpcProtocol4 {
|
|
27377
|
-
constructor({ defaultNamespace }) {
|
|
27532
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
27378
27533
|
super({
|
|
27379
|
-
defaultNamespace
|
|
27534
|
+
defaultNamespace,
|
|
27535
|
+
serviceTarget
|
|
27380
27536
|
});
|
|
27381
27537
|
}
|
|
27382
27538
|
getShapeId() {
|
|
@@ -27385,6 +27541,9 @@ var init_AwsJson1_1Protocol4 = __esm({
|
|
|
27385
27541
|
getJsonRpcVersion() {
|
|
27386
27542
|
return "1.1";
|
|
27387
27543
|
}
|
|
27544
|
+
getDefaultContentType() {
|
|
27545
|
+
return "application/x-amz-json-1.1";
|
|
27546
|
+
}
|
|
27388
27547
|
};
|
|
27389
27548
|
}
|
|
27390
27549
|
});
|
|
@@ -27445,7 +27604,7 @@ var init_AwsRestJsonProtocol4 = __esm({
|
|
|
27445
27604
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
27446
27605
|
request.headers["content-type"] = "application/octet-stream";
|
|
27447
27606
|
} else {
|
|
27448
|
-
request.headers["content-type"] =
|
|
27607
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
27449
27608
|
}
|
|
27450
27609
|
} else if (!inputSchema.isUnitSchema()) {
|
|
27451
27610
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -27453,7 +27612,7 @@ var init_AwsRestJsonProtocol4 = __esm({
|
|
|
27453
27612
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
27454
27613
|
});
|
|
27455
27614
|
if (hasBody) {
|
|
27456
|
-
request.headers["content-type"] =
|
|
27615
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
27457
27616
|
}
|
|
27458
27617
|
}
|
|
27459
27618
|
}
|
|
@@ -27505,6 +27664,9 @@ var init_AwsRestJsonProtocol4 = __esm({
|
|
|
27505
27664
|
});
|
|
27506
27665
|
throw exception;
|
|
27507
27666
|
}
|
|
27667
|
+
getDefaultContentType() {
|
|
27668
|
+
return "application/json";
|
|
27669
|
+
}
|
|
27508
27670
|
};
|
|
27509
27671
|
}
|
|
27510
27672
|
});
|
|
@@ -29131,6 +29293,9 @@ var init_QueryShapeSerializer4 = __esm({
|
|
|
29131
29293
|
if (value != null) {
|
|
29132
29294
|
this.writeKey(prefix);
|
|
29133
29295
|
this.writeValue(String(value));
|
|
29296
|
+
} else if (ns.isIdempotencyToken()) {
|
|
29297
|
+
this.writeKey(prefix);
|
|
29298
|
+
this.writeValue(v4_default());
|
|
29134
29299
|
}
|
|
29135
29300
|
} else if (ns.isBigIntegerSchema()) {
|
|
29136
29301
|
if (value != null) {
|
|
@@ -29204,7 +29369,7 @@ var init_QueryShapeSerializer4 = __esm({
|
|
|
29204
29369
|
} else if (ns.isStructSchema()) {
|
|
29205
29370
|
if (value && typeof value === "object") {
|
|
29206
29371
|
for (const [memberName, member] of ns.structIterator()) {
|
|
29207
|
-
if (value[memberName] == null) {
|
|
29372
|
+
if (value[memberName] == null && !member.isIdempotencyToken()) {
|
|
29208
29373
|
continue;
|
|
29209
29374
|
}
|
|
29210
29375
|
const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);
|
|
@@ -29394,6 +29559,9 @@ var init_AwsQueryProtocol4 = __esm({
|
|
|
29394
29559
|
const errorData = this.loadQueryError(data);
|
|
29395
29560
|
return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown";
|
|
29396
29561
|
}
|
|
29562
|
+
getDefaultContentType() {
|
|
29563
|
+
return "application/x-www-form-urlencoded";
|
|
29564
|
+
}
|
|
29397
29565
|
};
|
|
29398
29566
|
}
|
|
29399
29567
|
});
|
|
@@ -29551,7 +29719,7 @@ var init_XmlShapeSerializer4 = __esm({
|
|
|
29551
29719
|
}
|
|
29552
29720
|
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
29553
29721
|
const val2 = value[memberName];
|
|
29554
|
-
if (val2 != null) {
|
|
29722
|
+
if (val2 != null || memberSchema.isIdempotencyToken()) {
|
|
29555
29723
|
if (memberSchema.getMergedTraits().xmlAttribute) {
|
|
29556
29724
|
structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val2));
|
|
29557
29725
|
continue;
|
|
@@ -29711,9 +29879,16 @@ var init_XmlShapeSerializer4 = __esm({
|
|
|
29711
29879
|
throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`);
|
|
29712
29880
|
}
|
|
29713
29881
|
}
|
|
29714
|
-
if (ns.
|
|
29882
|
+
if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {
|
|
29715
29883
|
nodeContents = String(value);
|
|
29716
29884
|
}
|
|
29885
|
+
if (ns.isStringSchema()) {
|
|
29886
|
+
if (value === void 0 && ns.isIdempotencyToken()) {
|
|
29887
|
+
nodeContents = v4_default();
|
|
29888
|
+
} else {
|
|
29889
|
+
nodeContents = String(value);
|
|
29890
|
+
}
|
|
29891
|
+
}
|
|
29717
29892
|
if (nodeContents === null) {
|
|
29718
29893
|
throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);
|
|
29719
29894
|
}
|
|
@@ -29822,7 +29997,7 @@ var init_AwsRestXmlProtocol4 = __esm({
|
|
|
29822
29997
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
29823
29998
|
request.headers["content-type"] = "application/octet-stream";
|
|
29824
29999
|
} else {
|
|
29825
|
-
request.headers["content-type"] =
|
|
30000
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
29826
30001
|
}
|
|
29827
30002
|
} else if (!ns.isUnitSchema()) {
|
|
29828
30003
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -29830,11 +30005,11 @@ var init_AwsRestXmlProtocol4 = __esm({
|
|
|
29830
30005
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
29831
30006
|
});
|
|
29832
30007
|
if (hasBody) {
|
|
29833
|
-
request.headers["content-type"] =
|
|
30008
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
29834
30009
|
}
|
|
29835
30010
|
}
|
|
29836
30011
|
}
|
|
29837
|
-
if (request.headers["content-type"] ===
|
|
30012
|
+
if (request.headers["content-type"] === this.getDefaultContentType()) {
|
|
29838
30013
|
if (typeof request.body === "string") {
|
|
29839
30014
|
request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
|
|
29840
30015
|
}
|
|
@@ -29888,6 +30063,9 @@ var init_AwsRestXmlProtocol4 = __esm({
|
|
|
29888
30063
|
});
|
|
29889
30064
|
throw exception;
|
|
29890
30065
|
}
|
|
30066
|
+
getDefaultContentType() {
|
|
30067
|
+
return "application/xml";
|
|
30068
|
+
}
|
|
29891
30069
|
};
|
|
29892
30070
|
}
|
|
29893
30071
|
});
|
|
@@ -30253,7 +30431,7 @@ var require_package2 = __commonJS({
|
|
|
30253
30431
|
module2.exports = {
|
|
30254
30432
|
name: "@aws-sdk/client-sso",
|
|
30255
30433
|
description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
30256
|
-
version: "3.
|
|
30434
|
+
version: "3.864.0",
|
|
30257
30435
|
scripts: {
|
|
30258
30436
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
30259
30437
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -30272,40 +30450,40 @@ var require_package2 = __commonJS({
|
|
|
30272
30450
|
dependencies: {
|
|
30273
30451
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
30274
30452
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30275
|
-
"@aws-sdk/core": "3.
|
|
30276
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30277
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30278
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30279
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30280
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30281
|
-
"@aws-sdk/types": "3.
|
|
30282
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30283
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
30284
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
30285
|
-
"@smithy/config-resolver": "^4.1.
|
|
30286
|
-
"@smithy/core": "^3.
|
|
30287
|
-
"@smithy/fetch-http-handler": "^5.1.
|
|
30288
|
-
"@smithy/hash-node": "^4.0.
|
|
30289
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
30290
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
30291
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
30292
|
-
"@smithy/middleware-retry": "^4.1.
|
|
30293
|
-
"@smithy/middleware-serde": "^4.0.
|
|
30294
|
-
"@smithy/middleware-stack": "^4.0.
|
|
30295
|
-
"@smithy/node-config-provider": "^4.1.
|
|
30296
|
-
"@smithy/node-http-handler": "^4.1.
|
|
30297
|
-
"@smithy/protocol-http": "^5.1.
|
|
30298
|
-
"@smithy/smithy-client": "^4.4.
|
|
30299
|
-
"@smithy/types": "^4.3.
|
|
30300
|
-
"@smithy/url-parser": "^4.0.
|
|
30453
|
+
"@aws-sdk/core": "3.864.0",
|
|
30454
|
+
"@aws-sdk/middleware-host-header": "3.862.0",
|
|
30455
|
+
"@aws-sdk/middleware-logger": "3.862.0",
|
|
30456
|
+
"@aws-sdk/middleware-recursion-detection": "3.862.0",
|
|
30457
|
+
"@aws-sdk/middleware-user-agent": "3.864.0",
|
|
30458
|
+
"@aws-sdk/region-config-resolver": "3.862.0",
|
|
30459
|
+
"@aws-sdk/types": "3.862.0",
|
|
30460
|
+
"@aws-sdk/util-endpoints": "3.862.0",
|
|
30461
|
+
"@aws-sdk/util-user-agent-browser": "3.862.0",
|
|
30462
|
+
"@aws-sdk/util-user-agent-node": "3.864.0",
|
|
30463
|
+
"@smithy/config-resolver": "^4.1.5",
|
|
30464
|
+
"@smithy/core": "^3.8.0",
|
|
30465
|
+
"@smithy/fetch-http-handler": "^5.1.1",
|
|
30466
|
+
"@smithy/hash-node": "^4.0.5",
|
|
30467
|
+
"@smithy/invalid-dependency": "^4.0.5",
|
|
30468
|
+
"@smithy/middleware-content-length": "^4.0.5",
|
|
30469
|
+
"@smithy/middleware-endpoint": "^4.1.18",
|
|
30470
|
+
"@smithy/middleware-retry": "^4.1.19",
|
|
30471
|
+
"@smithy/middleware-serde": "^4.0.9",
|
|
30472
|
+
"@smithy/middleware-stack": "^4.0.5",
|
|
30473
|
+
"@smithy/node-config-provider": "^4.1.4",
|
|
30474
|
+
"@smithy/node-http-handler": "^4.1.1",
|
|
30475
|
+
"@smithy/protocol-http": "^5.1.3",
|
|
30476
|
+
"@smithy/smithy-client": "^4.4.10",
|
|
30477
|
+
"@smithy/types": "^4.3.2",
|
|
30478
|
+
"@smithy/url-parser": "^4.0.5",
|
|
30301
30479
|
"@smithy/util-base64": "^4.0.0",
|
|
30302
30480
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
30303
30481
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
30304
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
30305
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
30306
|
-
"@smithy/util-endpoints": "^3.0.
|
|
30307
|
-
"@smithy/util-middleware": "^4.0.
|
|
30308
|
-
"@smithy/util-retry": "^4.0.
|
|
30482
|
+
"@smithy/util-defaults-mode-browser": "^4.0.26",
|
|
30483
|
+
"@smithy/util-defaults-mode-node": "^4.0.26",
|
|
30484
|
+
"@smithy/util-endpoints": "^3.0.7",
|
|
30485
|
+
"@smithy/util-middleware": "^4.0.5",
|
|
30486
|
+
"@smithy/util-retry": "^4.0.7",
|
|
30309
30487
|
"@smithy/util-utf8": "^4.0.0",
|
|
30310
30488
|
tslib: "^2.6.2"
|
|
30311
30489
|
},
|
|
@@ -30465,7 +30643,7 @@ var require_dist_cjs55 = __commonJS({
|
|
|
30465
30643
|
var import_util_buffer_from = require_dist_cjs7();
|
|
30466
30644
|
var import_util_utf811 = require_dist_cjs8();
|
|
30467
30645
|
var import_buffer = require("buffer");
|
|
30468
|
-
var
|
|
30646
|
+
var import_crypto15 = require("crypto");
|
|
30469
30647
|
var Hash3 = class {
|
|
30470
30648
|
static {
|
|
30471
30649
|
__name(this, "Hash");
|
|
@@ -30482,7 +30660,7 @@ var require_dist_cjs55 = __commonJS({
|
|
|
30482
30660
|
return Promise.resolve(this.hash.digest());
|
|
30483
30661
|
}
|
|
30484
30662
|
reset() {
|
|
30485
|
-
this.hash = this.secret ? (0,
|
|
30663
|
+
this.hash = this.secret ? (0, import_crypto15.createHmac)(this.algorithmIdentifier, castSourceData(this.secret)) : (0, import_crypto15.createHash)(this.algorithmIdentifier);
|
|
30486
30664
|
}
|
|
30487
30665
|
};
|
|
30488
30666
|
function castSourceData(toCast, encoding) {
|
|
@@ -32961,7 +33139,7 @@ var init_jsonReplacer5 = __esm({
|
|
|
32961
33139
|
this.stage = 1;
|
|
32962
33140
|
return (key, value) => {
|
|
32963
33141
|
if (value instanceof NumericValue2) {
|
|
32964
|
-
const v6 = `${NUMERIC_CONTROL_CHAR5 +
|
|
33142
|
+
const v6 = `${NUMERIC_CONTROL_CHAR5 + "nv" + this.counter++}_` + value.string;
|
|
32965
33143
|
this.values.set(`"${v6}"`, value.string);
|
|
32966
33144
|
return v6;
|
|
32967
33145
|
}
|
|
@@ -33000,7 +33178,6 @@ var init_JsonShapeSerializer5 = __esm({
|
|
|
33000
33178
|
"../node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js"() {
|
|
33001
33179
|
init_schema();
|
|
33002
33180
|
init_serde();
|
|
33003
|
-
init_serde();
|
|
33004
33181
|
init_ConfigurableSerdeContext5();
|
|
33005
33182
|
init_jsonReplacer5();
|
|
33006
33183
|
JsonShapeSerializer5 = class extends SerdeContextConfig5 {
|
|
@@ -33088,11 +33265,16 @@ var init_JsonShapeSerializer5 = __esm({
|
|
|
33088
33265
|
return String(value);
|
|
33089
33266
|
}
|
|
33090
33267
|
}
|
|
33091
|
-
|
|
33092
|
-
|
|
33093
|
-
|
|
33094
|
-
|
|
33095
|
-
|
|
33268
|
+
if (ns.isStringSchema()) {
|
|
33269
|
+
if (typeof value === "undefined" && ns.isIdempotencyToken()) {
|
|
33270
|
+
return v4_default();
|
|
33271
|
+
}
|
|
33272
|
+
const mediaType = ns.getMergedTraits().mediaType;
|
|
33273
|
+
if (typeof value === "string" && mediaType) {
|
|
33274
|
+
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
33275
|
+
if (isJson) {
|
|
33276
|
+
return LazyJsonString2.from(value);
|
|
33277
|
+
}
|
|
33096
33278
|
}
|
|
33097
33279
|
}
|
|
33098
33280
|
return value;
|
|
@@ -33140,11 +33322,13 @@ var init_AwsJsonRpcProtocol5 = __esm({
|
|
|
33140
33322
|
AwsJsonRpcProtocol5 = class extends RpcProtocol {
|
|
33141
33323
|
serializer;
|
|
33142
33324
|
deserializer;
|
|
33325
|
+
serviceTarget;
|
|
33143
33326
|
codec;
|
|
33144
|
-
constructor({ defaultNamespace }) {
|
|
33327
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
33145
33328
|
super({
|
|
33146
33329
|
defaultNamespace
|
|
33147
33330
|
});
|
|
33331
|
+
this.serviceTarget = serviceTarget;
|
|
33148
33332
|
this.codec = new JsonCodec5({
|
|
33149
33333
|
timestampFormat: {
|
|
33150
33334
|
useTrait: true,
|
|
@@ -33162,7 +33346,7 @@ var init_AwsJsonRpcProtocol5 = __esm({
|
|
|
33162
33346
|
}
|
|
33163
33347
|
Object.assign(request.headers, {
|
|
33164
33348
|
"content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
|
|
33165
|
-
"x-amz-target":
|
|
33349
|
+
"x-amz-target": `${this.serviceTarget}.${NormalizedSchema.of(operationSchema).getName()}`
|
|
33166
33350
|
});
|
|
33167
33351
|
if (deref(operationSchema.input) === "unit" || !request.body) {
|
|
33168
33352
|
request.body = "{}";
|
|
@@ -33223,9 +33407,10 @@ var init_AwsJson1_0Protocol5 = __esm({
|
|
|
33223
33407
|
"../node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js"() {
|
|
33224
33408
|
init_AwsJsonRpcProtocol5();
|
|
33225
33409
|
AwsJson1_0Protocol5 = class extends AwsJsonRpcProtocol5 {
|
|
33226
|
-
constructor({ defaultNamespace }) {
|
|
33410
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
33227
33411
|
super({
|
|
33228
|
-
defaultNamespace
|
|
33412
|
+
defaultNamespace,
|
|
33413
|
+
serviceTarget
|
|
33229
33414
|
});
|
|
33230
33415
|
}
|
|
33231
33416
|
getShapeId() {
|
|
@@ -33234,6 +33419,9 @@ var init_AwsJson1_0Protocol5 = __esm({
|
|
|
33234
33419
|
getJsonRpcVersion() {
|
|
33235
33420
|
return "1.0";
|
|
33236
33421
|
}
|
|
33422
|
+
getDefaultContentType() {
|
|
33423
|
+
return "application/x-amz-json-1.0";
|
|
33424
|
+
}
|
|
33237
33425
|
};
|
|
33238
33426
|
}
|
|
33239
33427
|
});
|
|
@@ -33244,9 +33432,10 @@ var init_AwsJson1_1Protocol5 = __esm({
|
|
|
33244
33432
|
"../node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js"() {
|
|
33245
33433
|
init_AwsJsonRpcProtocol5();
|
|
33246
33434
|
AwsJson1_1Protocol5 = class extends AwsJsonRpcProtocol5 {
|
|
33247
|
-
constructor({ defaultNamespace }) {
|
|
33435
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
33248
33436
|
super({
|
|
33249
|
-
defaultNamespace
|
|
33437
|
+
defaultNamespace,
|
|
33438
|
+
serviceTarget
|
|
33250
33439
|
});
|
|
33251
33440
|
}
|
|
33252
33441
|
getShapeId() {
|
|
@@ -33255,6 +33444,9 @@ var init_AwsJson1_1Protocol5 = __esm({
|
|
|
33255
33444
|
getJsonRpcVersion() {
|
|
33256
33445
|
return "1.1";
|
|
33257
33446
|
}
|
|
33447
|
+
getDefaultContentType() {
|
|
33448
|
+
return "application/x-amz-json-1.1";
|
|
33449
|
+
}
|
|
33258
33450
|
};
|
|
33259
33451
|
}
|
|
33260
33452
|
});
|
|
@@ -33315,7 +33507,7 @@ var init_AwsRestJsonProtocol5 = __esm({
|
|
|
33315
33507
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
33316
33508
|
request.headers["content-type"] = "application/octet-stream";
|
|
33317
33509
|
} else {
|
|
33318
|
-
request.headers["content-type"] =
|
|
33510
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
33319
33511
|
}
|
|
33320
33512
|
} else if (!inputSchema.isUnitSchema()) {
|
|
33321
33513
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -33323,7 +33515,7 @@ var init_AwsRestJsonProtocol5 = __esm({
|
|
|
33323
33515
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
33324
33516
|
});
|
|
33325
33517
|
if (hasBody) {
|
|
33326
|
-
request.headers["content-type"] =
|
|
33518
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
33327
33519
|
}
|
|
33328
33520
|
}
|
|
33329
33521
|
}
|
|
@@ -33375,6 +33567,9 @@ var init_AwsRestJsonProtocol5 = __esm({
|
|
|
33375
33567
|
});
|
|
33376
33568
|
throw exception;
|
|
33377
33569
|
}
|
|
33570
|
+
getDefaultContentType() {
|
|
33571
|
+
return "application/json";
|
|
33572
|
+
}
|
|
33378
33573
|
};
|
|
33379
33574
|
}
|
|
33380
33575
|
});
|
|
@@ -35001,6 +35196,9 @@ var init_QueryShapeSerializer5 = __esm({
|
|
|
35001
35196
|
if (value != null) {
|
|
35002
35197
|
this.writeKey(prefix);
|
|
35003
35198
|
this.writeValue(String(value));
|
|
35199
|
+
} else if (ns.isIdempotencyToken()) {
|
|
35200
|
+
this.writeKey(prefix);
|
|
35201
|
+
this.writeValue(v4_default());
|
|
35004
35202
|
}
|
|
35005
35203
|
} else if (ns.isBigIntegerSchema()) {
|
|
35006
35204
|
if (value != null) {
|
|
@@ -35074,7 +35272,7 @@ var init_QueryShapeSerializer5 = __esm({
|
|
|
35074
35272
|
} else if (ns.isStructSchema()) {
|
|
35075
35273
|
if (value && typeof value === "object") {
|
|
35076
35274
|
for (const [memberName, member] of ns.structIterator()) {
|
|
35077
|
-
if (value[memberName] == null) {
|
|
35275
|
+
if (value[memberName] == null && !member.isIdempotencyToken()) {
|
|
35078
35276
|
continue;
|
|
35079
35277
|
}
|
|
35080
35278
|
const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);
|
|
@@ -35264,6 +35462,9 @@ var init_AwsQueryProtocol5 = __esm({
|
|
|
35264
35462
|
const errorData = this.loadQueryError(data);
|
|
35265
35463
|
return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown";
|
|
35266
35464
|
}
|
|
35465
|
+
getDefaultContentType() {
|
|
35466
|
+
return "application/x-www-form-urlencoded";
|
|
35467
|
+
}
|
|
35267
35468
|
};
|
|
35268
35469
|
}
|
|
35269
35470
|
});
|
|
@@ -35421,7 +35622,7 @@ var init_XmlShapeSerializer5 = __esm({
|
|
|
35421
35622
|
}
|
|
35422
35623
|
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
35423
35624
|
const val2 = value[memberName];
|
|
35424
|
-
if (val2 != null) {
|
|
35625
|
+
if (val2 != null || memberSchema.isIdempotencyToken()) {
|
|
35425
35626
|
if (memberSchema.getMergedTraits().xmlAttribute) {
|
|
35426
35627
|
structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val2));
|
|
35427
35628
|
continue;
|
|
@@ -35581,9 +35782,16 @@ var init_XmlShapeSerializer5 = __esm({
|
|
|
35581
35782
|
throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`);
|
|
35582
35783
|
}
|
|
35583
35784
|
}
|
|
35584
|
-
if (ns.
|
|
35785
|
+
if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {
|
|
35585
35786
|
nodeContents = String(value);
|
|
35586
35787
|
}
|
|
35788
|
+
if (ns.isStringSchema()) {
|
|
35789
|
+
if (value === void 0 && ns.isIdempotencyToken()) {
|
|
35790
|
+
nodeContents = v4_default();
|
|
35791
|
+
} else {
|
|
35792
|
+
nodeContents = String(value);
|
|
35793
|
+
}
|
|
35794
|
+
}
|
|
35587
35795
|
if (nodeContents === null) {
|
|
35588
35796
|
throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);
|
|
35589
35797
|
}
|
|
@@ -35692,7 +35900,7 @@ var init_AwsRestXmlProtocol5 = __esm({
|
|
|
35692
35900
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
35693
35901
|
request.headers["content-type"] = "application/octet-stream";
|
|
35694
35902
|
} else {
|
|
35695
|
-
request.headers["content-type"] =
|
|
35903
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
35696
35904
|
}
|
|
35697
35905
|
} else if (!ns.isUnitSchema()) {
|
|
35698
35906
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -35700,11 +35908,11 @@ var init_AwsRestXmlProtocol5 = __esm({
|
|
|
35700
35908
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
35701
35909
|
});
|
|
35702
35910
|
if (hasBody) {
|
|
35703
|
-
request.headers["content-type"] =
|
|
35911
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
35704
35912
|
}
|
|
35705
35913
|
}
|
|
35706
35914
|
}
|
|
35707
|
-
if (request.headers["content-type"] ===
|
|
35915
|
+
if (request.headers["content-type"] === this.getDefaultContentType()) {
|
|
35708
35916
|
if (typeof request.body === "string") {
|
|
35709
35917
|
request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
|
|
35710
35918
|
}
|
|
@@ -35758,6 +35966,9 @@ var init_AwsRestXmlProtocol5 = __esm({
|
|
|
35758
35966
|
});
|
|
35759
35967
|
throw exception;
|
|
35760
35968
|
}
|
|
35969
|
+
getDefaultContentType() {
|
|
35970
|
+
return "application/xml";
|
|
35971
|
+
}
|
|
35761
35972
|
};
|
|
35762
35973
|
}
|
|
35763
35974
|
});
|
|
@@ -36126,7 +36337,7 @@ var init_package = __esm({
|
|
|
36126
36337
|
"../node_modules/@aws-sdk/nested-clients/package.json"() {
|
|
36127
36338
|
package_default = {
|
|
36128
36339
|
name: "@aws-sdk/nested-clients",
|
|
36129
|
-
version: "3.
|
|
36340
|
+
version: "3.864.0",
|
|
36130
36341
|
description: "Nested clients for AWS SDK packages.",
|
|
36131
36342
|
main: "./dist-cjs/index.js",
|
|
36132
36343
|
module: "./dist-es/index.js",
|
|
@@ -36154,40 +36365,40 @@ var init_package = __esm({
|
|
|
36154
36365
|
dependencies: {
|
|
36155
36366
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
36156
36367
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
36157
|
-
"@aws-sdk/core": "3.
|
|
36158
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
36159
|
-
"@aws-sdk/middleware-logger": "3.
|
|
36160
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
36161
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36162
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
36163
|
-
"@aws-sdk/types": "3.
|
|
36164
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36165
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36166
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36167
|
-
"@smithy/config-resolver": "^4.1.
|
|
36168
|
-
"@smithy/core": "^3.
|
|
36169
|
-
"@smithy/fetch-http-handler": "^5.1.
|
|
36170
|
-
"@smithy/hash-node": "^4.0.
|
|
36171
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
36172
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
36173
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
36174
|
-
"@smithy/middleware-retry": "^4.1.
|
|
36175
|
-
"@smithy/middleware-serde": "^4.0.
|
|
36176
|
-
"@smithy/middleware-stack": "^4.0.
|
|
36177
|
-
"@smithy/node-config-provider": "^4.1.
|
|
36178
|
-
"@smithy/node-http-handler": "^4.1.
|
|
36179
|
-
"@smithy/protocol-http": "^5.1.
|
|
36180
|
-
"@smithy/smithy-client": "^4.4.
|
|
36181
|
-
"@smithy/types": "^4.3.
|
|
36182
|
-
"@smithy/url-parser": "^4.0.
|
|
36368
|
+
"@aws-sdk/core": "3.864.0",
|
|
36369
|
+
"@aws-sdk/middleware-host-header": "3.862.0",
|
|
36370
|
+
"@aws-sdk/middleware-logger": "3.862.0",
|
|
36371
|
+
"@aws-sdk/middleware-recursion-detection": "3.862.0",
|
|
36372
|
+
"@aws-sdk/middleware-user-agent": "3.864.0",
|
|
36373
|
+
"@aws-sdk/region-config-resolver": "3.862.0",
|
|
36374
|
+
"@aws-sdk/types": "3.862.0",
|
|
36375
|
+
"@aws-sdk/util-endpoints": "3.862.0",
|
|
36376
|
+
"@aws-sdk/util-user-agent-browser": "3.862.0",
|
|
36377
|
+
"@aws-sdk/util-user-agent-node": "3.864.0",
|
|
36378
|
+
"@smithy/config-resolver": "^4.1.5",
|
|
36379
|
+
"@smithy/core": "^3.8.0",
|
|
36380
|
+
"@smithy/fetch-http-handler": "^5.1.1",
|
|
36381
|
+
"@smithy/hash-node": "^4.0.5",
|
|
36382
|
+
"@smithy/invalid-dependency": "^4.0.5",
|
|
36383
|
+
"@smithy/middleware-content-length": "^4.0.5",
|
|
36384
|
+
"@smithy/middleware-endpoint": "^4.1.18",
|
|
36385
|
+
"@smithy/middleware-retry": "^4.1.19",
|
|
36386
|
+
"@smithy/middleware-serde": "^4.0.9",
|
|
36387
|
+
"@smithy/middleware-stack": "^4.0.5",
|
|
36388
|
+
"@smithy/node-config-provider": "^4.1.4",
|
|
36389
|
+
"@smithy/node-http-handler": "^4.1.1",
|
|
36390
|
+
"@smithy/protocol-http": "^5.1.3",
|
|
36391
|
+
"@smithy/smithy-client": "^4.4.10",
|
|
36392
|
+
"@smithy/types": "^4.3.2",
|
|
36393
|
+
"@smithy/url-parser": "^4.0.5",
|
|
36183
36394
|
"@smithy/util-base64": "^4.0.0",
|
|
36184
36395
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
36185
36396
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
36186
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
36187
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
36188
|
-
"@smithy/util-endpoints": "^3.0.
|
|
36189
|
-
"@smithy/util-middleware": "^4.0.
|
|
36190
|
-
"@smithy/util-retry": "^4.0.
|
|
36397
|
+
"@smithy/util-defaults-mode-browser": "^4.0.26",
|
|
36398
|
+
"@smithy/util-defaults-mode-node": "^4.0.26",
|
|
36399
|
+
"@smithy/util-endpoints": "^3.0.7",
|
|
36400
|
+
"@smithy/util-middleware": "^4.0.5",
|
|
36401
|
+
"@smithy/util-retry": "^4.0.7",
|
|
36191
36402
|
"@smithy/util-utf8": "^4.0.0",
|
|
36192
36403
|
tslib: "^2.6.2"
|
|
36193
36404
|
},
|
|
@@ -42632,7 +42843,7 @@ var require_dist_cjs82 = __commonJS({
|
|
|
42632
42843
|
var import_xml_builder7 = require_dist_cjs21();
|
|
42633
42844
|
var import_core210 = (init_dist_es(), __toCommonJS(dist_es_exports));
|
|
42634
42845
|
var import_protocol_http35 = require_dist_cjs2();
|
|
42635
|
-
var
|
|
42846
|
+
var import_uuid2 = (init_esm_node3(), __toCommonJS(esm_node_exports2));
|
|
42636
42847
|
var ObjectStorageClass = {
|
|
42637
42848
|
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
42638
42849
|
EXPRESS_ONEZONE: "EXPRESS_ONEZONE",
|
|
@@ -44830,7 +45041,7 @@ var require_dist_cjs82 = __commonJS({
|
|
|
44830
45041
|
[_xarsinm]: input[_SINM],
|
|
44831
45042
|
[_xarsims]: [() => (0, import_smithy_client61.isSerializableHeaderValue)(input[_SIMS]), () => (0, import_smithy_client61.dateToUtcString)(input[_SIMS]).toString()],
|
|
44832
45043
|
[_xarsius]: [() => (0, import_smithy_client61.isSerializableHeaderValue)(input[_SIUS]), () => (0, import_smithy_client61.dateToUtcString)(input[_SIUS]).toString()],
|
|
44833
|
-
[_xact_]: input[_CTl] ?? (0,
|
|
45044
|
+
[_xact_]: input[_CTl] ?? (0, import_uuid2.v4)()
|
|
44834
45045
|
});
|
|
44835
45046
|
b3.bp("/{Key+}");
|
|
44836
45047
|
b3.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -60880,7 +61091,7 @@ var init_jsonReplacer6 = __esm({
|
|
|
60880
61091
|
this.stage = 1;
|
|
60881
61092
|
return (key, value) => {
|
|
60882
61093
|
if (value instanceof NumericValue2) {
|
|
60883
|
-
const v6 = `${NUMERIC_CONTROL_CHAR6 +
|
|
61094
|
+
const v6 = `${NUMERIC_CONTROL_CHAR6 + "nv" + this.counter++}_` + value.string;
|
|
60884
61095
|
this.values.set(`"${v6}"`, value.string);
|
|
60885
61096
|
return v6;
|
|
60886
61097
|
}
|
|
@@ -60919,7 +61130,6 @@ var init_JsonShapeSerializer6 = __esm({
|
|
|
60919
61130
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js"() {
|
|
60920
61131
|
init_schema();
|
|
60921
61132
|
init_serde();
|
|
60922
|
-
init_serde();
|
|
60923
61133
|
init_ConfigurableSerdeContext6();
|
|
60924
61134
|
init_jsonReplacer6();
|
|
60925
61135
|
JsonShapeSerializer6 = class extends SerdeContextConfig6 {
|
|
@@ -61007,11 +61217,16 @@ var init_JsonShapeSerializer6 = __esm({
|
|
|
61007
61217
|
return String(value);
|
|
61008
61218
|
}
|
|
61009
61219
|
}
|
|
61010
|
-
|
|
61011
|
-
|
|
61012
|
-
|
|
61013
|
-
|
|
61014
|
-
|
|
61220
|
+
if (ns.isStringSchema()) {
|
|
61221
|
+
if (typeof value === "undefined" && ns.isIdempotencyToken()) {
|
|
61222
|
+
return v4_default();
|
|
61223
|
+
}
|
|
61224
|
+
const mediaType = ns.getMergedTraits().mediaType;
|
|
61225
|
+
if (typeof value === "string" && mediaType) {
|
|
61226
|
+
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
61227
|
+
if (isJson) {
|
|
61228
|
+
return LazyJsonString2.from(value);
|
|
61229
|
+
}
|
|
61015
61230
|
}
|
|
61016
61231
|
}
|
|
61017
61232
|
return value;
|
|
@@ -61059,11 +61274,13 @@ var init_AwsJsonRpcProtocol6 = __esm({
|
|
|
61059
61274
|
AwsJsonRpcProtocol6 = class extends RpcProtocol {
|
|
61060
61275
|
serializer;
|
|
61061
61276
|
deserializer;
|
|
61277
|
+
serviceTarget;
|
|
61062
61278
|
codec;
|
|
61063
|
-
constructor({ defaultNamespace }) {
|
|
61279
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
61064
61280
|
super({
|
|
61065
61281
|
defaultNamespace
|
|
61066
61282
|
});
|
|
61283
|
+
this.serviceTarget = serviceTarget;
|
|
61067
61284
|
this.codec = new JsonCodec6({
|
|
61068
61285
|
timestampFormat: {
|
|
61069
61286
|
useTrait: true,
|
|
@@ -61081,7 +61298,7 @@ var init_AwsJsonRpcProtocol6 = __esm({
|
|
|
61081
61298
|
}
|
|
61082
61299
|
Object.assign(request.headers, {
|
|
61083
61300
|
"content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
|
|
61084
|
-
"x-amz-target":
|
|
61301
|
+
"x-amz-target": `${this.serviceTarget}.${NormalizedSchema.of(operationSchema).getName()}`
|
|
61085
61302
|
});
|
|
61086
61303
|
if (deref(operationSchema.input) === "unit" || !request.body) {
|
|
61087
61304
|
request.body = "{}";
|
|
@@ -61142,9 +61359,10 @@ var init_AwsJson1_0Protocol6 = __esm({
|
|
|
61142
61359
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js"() {
|
|
61143
61360
|
init_AwsJsonRpcProtocol6();
|
|
61144
61361
|
AwsJson1_0Protocol6 = class extends AwsJsonRpcProtocol6 {
|
|
61145
|
-
constructor({ defaultNamespace }) {
|
|
61362
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
61146
61363
|
super({
|
|
61147
|
-
defaultNamespace
|
|
61364
|
+
defaultNamespace,
|
|
61365
|
+
serviceTarget
|
|
61148
61366
|
});
|
|
61149
61367
|
}
|
|
61150
61368
|
getShapeId() {
|
|
@@ -61153,6 +61371,9 @@ var init_AwsJson1_0Protocol6 = __esm({
|
|
|
61153
61371
|
getJsonRpcVersion() {
|
|
61154
61372
|
return "1.0";
|
|
61155
61373
|
}
|
|
61374
|
+
getDefaultContentType() {
|
|
61375
|
+
return "application/x-amz-json-1.0";
|
|
61376
|
+
}
|
|
61156
61377
|
};
|
|
61157
61378
|
}
|
|
61158
61379
|
});
|
|
@@ -61163,9 +61384,10 @@ var init_AwsJson1_1Protocol6 = __esm({
|
|
|
61163
61384
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js"() {
|
|
61164
61385
|
init_AwsJsonRpcProtocol6();
|
|
61165
61386
|
AwsJson1_1Protocol6 = class extends AwsJsonRpcProtocol6 {
|
|
61166
|
-
constructor({ defaultNamespace }) {
|
|
61387
|
+
constructor({ defaultNamespace, serviceTarget }) {
|
|
61167
61388
|
super({
|
|
61168
|
-
defaultNamespace
|
|
61389
|
+
defaultNamespace,
|
|
61390
|
+
serviceTarget
|
|
61169
61391
|
});
|
|
61170
61392
|
}
|
|
61171
61393
|
getShapeId() {
|
|
@@ -61174,6 +61396,9 @@ var init_AwsJson1_1Protocol6 = __esm({
|
|
|
61174
61396
|
getJsonRpcVersion() {
|
|
61175
61397
|
return "1.1";
|
|
61176
61398
|
}
|
|
61399
|
+
getDefaultContentType() {
|
|
61400
|
+
return "application/x-amz-json-1.1";
|
|
61401
|
+
}
|
|
61177
61402
|
};
|
|
61178
61403
|
}
|
|
61179
61404
|
});
|
|
@@ -61234,7 +61459,7 @@ var init_AwsRestJsonProtocol6 = __esm({
|
|
|
61234
61459
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
61235
61460
|
request.headers["content-type"] = "application/octet-stream";
|
|
61236
61461
|
} else {
|
|
61237
|
-
request.headers["content-type"] =
|
|
61462
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
61238
61463
|
}
|
|
61239
61464
|
} else if (!inputSchema.isUnitSchema()) {
|
|
61240
61465
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -61242,7 +61467,7 @@ var init_AwsRestJsonProtocol6 = __esm({
|
|
|
61242
61467
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
61243
61468
|
});
|
|
61244
61469
|
if (hasBody) {
|
|
61245
|
-
request.headers["content-type"] =
|
|
61470
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
61246
61471
|
}
|
|
61247
61472
|
}
|
|
61248
61473
|
}
|
|
@@ -61294,6 +61519,9 @@ var init_AwsRestJsonProtocol6 = __esm({
|
|
|
61294
61519
|
});
|
|
61295
61520
|
throw exception;
|
|
61296
61521
|
}
|
|
61522
|
+
getDefaultContentType() {
|
|
61523
|
+
return "application/json";
|
|
61524
|
+
}
|
|
61297
61525
|
};
|
|
61298
61526
|
}
|
|
61299
61527
|
});
|
|
@@ -62920,6 +63148,9 @@ var init_QueryShapeSerializer6 = __esm({
|
|
|
62920
63148
|
if (value != null) {
|
|
62921
63149
|
this.writeKey(prefix);
|
|
62922
63150
|
this.writeValue(String(value));
|
|
63151
|
+
} else if (ns.isIdempotencyToken()) {
|
|
63152
|
+
this.writeKey(prefix);
|
|
63153
|
+
this.writeValue(v4_default());
|
|
62923
63154
|
}
|
|
62924
63155
|
} else if (ns.isBigIntegerSchema()) {
|
|
62925
63156
|
if (value != null) {
|
|
@@ -62993,7 +63224,7 @@ var init_QueryShapeSerializer6 = __esm({
|
|
|
62993
63224
|
} else if (ns.isStructSchema()) {
|
|
62994
63225
|
if (value && typeof value === "object") {
|
|
62995
63226
|
for (const [memberName, member] of ns.structIterator()) {
|
|
62996
|
-
if (value[memberName] == null) {
|
|
63227
|
+
if (value[memberName] == null && !member.isIdempotencyToken()) {
|
|
62997
63228
|
continue;
|
|
62998
63229
|
}
|
|
62999
63230
|
const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);
|
|
@@ -63183,6 +63414,9 @@ var init_AwsQueryProtocol6 = __esm({
|
|
|
63183
63414
|
const errorData = this.loadQueryError(data);
|
|
63184
63415
|
return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown";
|
|
63185
63416
|
}
|
|
63417
|
+
getDefaultContentType() {
|
|
63418
|
+
return "application/x-www-form-urlencoded";
|
|
63419
|
+
}
|
|
63186
63420
|
};
|
|
63187
63421
|
}
|
|
63188
63422
|
});
|
|
@@ -63340,7 +63574,7 @@ var init_XmlShapeSerializer6 = __esm({
|
|
|
63340
63574
|
}
|
|
63341
63575
|
for (const [memberName, memberSchema] of ns.structIterator()) {
|
|
63342
63576
|
const val2 = value[memberName];
|
|
63343
|
-
if (val2 != null) {
|
|
63577
|
+
if (val2 != null || memberSchema.isIdempotencyToken()) {
|
|
63344
63578
|
if (memberSchema.getMergedTraits().xmlAttribute) {
|
|
63345
63579
|
structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val2));
|
|
63346
63580
|
continue;
|
|
@@ -63500,9 +63734,16 @@ var init_XmlShapeSerializer6 = __esm({
|
|
|
63500
63734
|
throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`);
|
|
63501
63735
|
}
|
|
63502
63736
|
}
|
|
63503
|
-
if (ns.
|
|
63737
|
+
if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {
|
|
63504
63738
|
nodeContents = String(value);
|
|
63505
63739
|
}
|
|
63740
|
+
if (ns.isStringSchema()) {
|
|
63741
|
+
if (value === void 0 && ns.isIdempotencyToken()) {
|
|
63742
|
+
nodeContents = v4_default();
|
|
63743
|
+
} else {
|
|
63744
|
+
nodeContents = String(value);
|
|
63745
|
+
}
|
|
63746
|
+
}
|
|
63506
63747
|
if (nodeContents === null) {
|
|
63507
63748
|
throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);
|
|
63508
63749
|
}
|
|
@@ -63611,7 +63852,7 @@ var init_AwsRestXmlProtocol6 = __esm({
|
|
|
63611
63852
|
} else if (httpPayloadMember.isBlobSchema()) {
|
|
63612
63853
|
request.headers["content-type"] = "application/octet-stream";
|
|
63613
63854
|
} else {
|
|
63614
|
-
request.headers["content-type"] =
|
|
63855
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
63615
63856
|
}
|
|
63616
63857
|
} else if (!ns.isUnitSchema()) {
|
|
63617
63858
|
const hasBody = Object.values(members).find((m3) => {
|
|
@@ -63619,11 +63860,11 @@ var init_AwsRestXmlProtocol6 = __esm({
|
|
|
63619
63860
|
return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
|
|
63620
63861
|
});
|
|
63621
63862
|
if (hasBody) {
|
|
63622
|
-
request.headers["content-type"] =
|
|
63863
|
+
request.headers["content-type"] = this.getDefaultContentType();
|
|
63623
63864
|
}
|
|
63624
63865
|
}
|
|
63625
63866
|
}
|
|
63626
|
-
if (request.headers["content-type"] ===
|
|
63867
|
+
if (request.headers["content-type"] === this.getDefaultContentType()) {
|
|
63627
63868
|
if (typeof request.body === "string") {
|
|
63628
63869
|
request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
|
|
63629
63870
|
}
|
|
@@ -63677,6 +63918,9 @@ var init_AwsRestXmlProtocol6 = __esm({
|
|
|
63677
63918
|
});
|
|
63678
63919
|
throw exception;
|
|
63679
63920
|
}
|
|
63921
|
+
getDefaultContentType() {
|
|
63922
|
+
return "application/xml";
|
|
63923
|
+
}
|
|
63680
63924
|
};
|
|
63681
63925
|
}
|
|
63682
63926
|
});
|
|
@@ -64021,7 +64265,7 @@ var require_package4 = __commonJS({
|
|
|
64021
64265
|
module2.exports = {
|
|
64022
64266
|
name: "@aws-sdk/client-secrets-manager",
|
|
64023
64267
|
description: "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
|
|
64024
|
-
version: "3.
|
|
64268
|
+
version: "3.864.0",
|
|
64025
64269
|
scripts: {
|
|
64026
64270
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
64027
64271
|
"build:cjs": "node ../../scripts/compilation/inline client-secrets-manager",
|
|
@@ -64040,41 +64284,41 @@ var require_package4 = __commonJS({
|
|
|
64040
64284
|
dependencies: {
|
|
64041
64285
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
64042
64286
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
64043
|
-
"@aws-sdk/core": "3.
|
|
64044
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
64045
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
64046
|
-
"@aws-sdk/middleware-logger": "3.
|
|
64047
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
64048
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
64049
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
64050
|
-
"@aws-sdk/types": "3.
|
|
64051
|
-
"@aws-sdk/util-endpoints": "3.
|
|
64052
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
64053
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
64054
|
-
"@smithy/config-resolver": "^4.1.
|
|
64055
|
-
"@smithy/core": "^3.
|
|
64056
|
-
"@smithy/fetch-http-handler": "^5.1.
|
|
64057
|
-
"@smithy/hash-node": "^4.0.
|
|
64058
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
64059
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
64060
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
64061
|
-
"@smithy/middleware-retry": "^4.1.
|
|
64062
|
-
"@smithy/middleware-serde": "^4.0.
|
|
64063
|
-
"@smithy/middleware-stack": "^4.0.
|
|
64064
|
-
"@smithy/node-config-provider": "^4.1.
|
|
64065
|
-
"@smithy/node-http-handler": "^4.1.
|
|
64066
|
-
"@smithy/protocol-http": "^5.1.
|
|
64067
|
-
"@smithy/smithy-client": "^4.4.
|
|
64068
|
-
"@smithy/types": "^4.3.
|
|
64069
|
-
"@smithy/url-parser": "^4.0.
|
|
64287
|
+
"@aws-sdk/core": "3.864.0",
|
|
64288
|
+
"@aws-sdk/credential-provider-node": "3.864.0",
|
|
64289
|
+
"@aws-sdk/middleware-host-header": "3.862.0",
|
|
64290
|
+
"@aws-sdk/middleware-logger": "3.862.0",
|
|
64291
|
+
"@aws-sdk/middleware-recursion-detection": "3.862.0",
|
|
64292
|
+
"@aws-sdk/middleware-user-agent": "3.864.0",
|
|
64293
|
+
"@aws-sdk/region-config-resolver": "3.862.0",
|
|
64294
|
+
"@aws-sdk/types": "3.862.0",
|
|
64295
|
+
"@aws-sdk/util-endpoints": "3.862.0",
|
|
64296
|
+
"@aws-sdk/util-user-agent-browser": "3.862.0",
|
|
64297
|
+
"@aws-sdk/util-user-agent-node": "3.864.0",
|
|
64298
|
+
"@smithy/config-resolver": "^4.1.5",
|
|
64299
|
+
"@smithy/core": "^3.8.0",
|
|
64300
|
+
"@smithy/fetch-http-handler": "^5.1.1",
|
|
64301
|
+
"@smithy/hash-node": "^4.0.5",
|
|
64302
|
+
"@smithy/invalid-dependency": "^4.0.5",
|
|
64303
|
+
"@smithy/middleware-content-length": "^4.0.5",
|
|
64304
|
+
"@smithy/middleware-endpoint": "^4.1.18",
|
|
64305
|
+
"@smithy/middleware-retry": "^4.1.19",
|
|
64306
|
+
"@smithy/middleware-serde": "^4.0.9",
|
|
64307
|
+
"@smithy/middleware-stack": "^4.0.5",
|
|
64308
|
+
"@smithy/node-config-provider": "^4.1.4",
|
|
64309
|
+
"@smithy/node-http-handler": "^4.1.1",
|
|
64310
|
+
"@smithy/protocol-http": "^5.1.3",
|
|
64311
|
+
"@smithy/smithy-client": "^4.4.10",
|
|
64312
|
+
"@smithy/types": "^4.3.2",
|
|
64313
|
+
"@smithy/url-parser": "^4.0.5",
|
|
64070
64314
|
"@smithy/util-base64": "^4.0.0",
|
|
64071
64315
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
64072
64316
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
64073
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
64074
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
64075
|
-
"@smithy/util-endpoints": "^3.0.
|
|
64076
|
-
"@smithy/util-middleware": "^4.0.
|
|
64077
|
-
"@smithy/util-retry": "^4.0.
|
|
64317
|
+
"@smithy/util-defaults-mode-browser": "^4.0.26",
|
|
64318
|
+
"@smithy/util-defaults-mode-node": "^4.0.26",
|
|
64319
|
+
"@smithy/util-endpoints": "^3.0.7",
|
|
64320
|
+
"@smithy/util-middleware": "^4.0.5",
|
|
64321
|
+
"@smithy/util-retry": "^4.0.7",
|
|
64078
64322
|
"@smithy/util-utf8": "^4.0.0",
|
|
64079
64323
|
"@types/uuid": "^9.0.1",
|
|
64080
64324
|
tslib: "^2.6.2",
|
|
@@ -64459,19 +64703,19 @@ var require_dist_cjs96 = __commonJS({
|
|
|
64459
64703
|
});
|
|
64460
64704
|
|
|
64461
64705
|
// ../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/rng.js
|
|
64462
|
-
function
|
|
64463
|
-
if (
|
|
64464
|
-
|
|
64465
|
-
|
|
64706
|
+
function rng4() {
|
|
64707
|
+
if (poolPtr4 > rnds8Pool4.length - 16) {
|
|
64708
|
+
import_crypto11.default.randomFillSync(rnds8Pool4);
|
|
64709
|
+
poolPtr4 = 0;
|
|
64466
64710
|
}
|
|
64467
|
-
return
|
|
64711
|
+
return rnds8Pool4.slice(poolPtr4, poolPtr4 += 16);
|
|
64468
64712
|
}
|
|
64469
|
-
var
|
|
64470
|
-
var
|
|
64713
|
+
var import_crypto11, rnds8Pool4, poolPtr4;
|
|
64714
|
+
var init_rng4 = __esm({
|
|
64471
64715
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/rng.js"() {
|
|
64472
|
-
|
|
64473
|
-
|
|
64474
|
-
|
|
64716
|
+
import_crypto11 = __toESM(require("crypto"));
|
|
64717
|
+
rnds8Pool4 = new Uint8Array(256);
|
|
64718
|
+
poolPtr4 = rnds8Pool4.length;
|
|
64475
64719
|
}
|
|
64476
64720
|
});
|
|
64477
64721
|
|
|
@@ -64496,23 +64740,23 @@ var init_validate3 = __esm({
|
|
|
64496
64740
|
});
|
|
64497
64741
|
|
|
64498
64742
|
// ../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/stringify.js
|
|
64499
|
-
function
|
|
64500
|
-
return
|
|
64743
|
+
function unsafeStringify4(arr, offset = 0) {
|
|
64744
|
+
return byteToHex4[arr[offset + 0]] + byteToHex4[arr[offset + 1]] + byteToHex4[arr[offset + 2]] + byteToHex4[arr[offset + 3]] + "-" + byteToHex4[arr[offset + 4]] + byteToHex4[arr[offset + 5]] + "-" + byteToHex4[arr[offset + 6]] + byteToHex4[arr[offset + 7]] + "-" + byteToHex4[arr[offset + 8]] + byteToHex4[arr[offset + 9]] + "-" + byteToHex4[arr[offset + 10]] + byteToHex4[arr[offset + 11]] + byteToHex4[arr[offset + 12]] + byteToHex4[arr[offset + 13]] + byteToHex4[arr[offset + 14]] + byteToHex4[arr[offset + 15]];
|
|
64501
64745
|
}
|
|
64502
64746
|
function stringify3(arr, offset = 0) {
|
|
64503
|
-
const uuid =
|
|
64747
|
+
const uuid = unsafeStringify4(arr, offset);
|
|
64504
64748
|
if (!validate_default3(uuid)) {
|
|
64505
64749
|
throw TypeError("Stringified UUID is invalid");
|
|
64506
64750
|
}
|
|
64507
64751
|
return uuid;
|
|
64508
64752
|
}
|
|
64509
|
-
var
|
|
64510
|
-
var
|
|
64753
|
+
var byteToHex4, stringify_default3;
|
|
64754
|
+
var init_stringify4 = __esm({
|
|
64511
64755
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/stringify.js"() {
|
|
64512
64756
|
init_validate3();
|
|
64513
|
-
|
|
64757
|
+
byteToHex4 = [];
|
|
64514
64758
|
for (let i3 = 0; i3 < 256; ++i3) {
|
|
64515
|
-
|
|
64759
|
+
byteToHex4.push((i3 + 256).toString(16).slice(1));
|
|
64516
64760
|
}
|
|
64517
64761
|
stringify_default3 = stringify3;
|
|
64518
64762
|
}
|
|
@@ -64526,7 +64770,7 @@ function v13(options, buf, offset) {
|
|
|
64526
64770
|
let node = options.node || _nodeId3;
|
|
64527
64771
|
let clockseq = options.clockseq !== void 0 ? options.clockseq : _clockseq3;
|
|
64528
64772
|
if (node == null || clockseq == null) {
|
|
64529
|
-
const seedBytes = options.random || (options.rng ||
|
|
64773
|
+
const seedBytes = options.random || (options.rng || rng4)();
|
|
64530
64774
|
if (node == null) {
|
|
64531
64775
|
node = _nodeId3 = [seedBytes[0] | 1, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
|
|
64532
64776
|
}
|
|
@@ -64565,13 +64809,13 @@ function v13(options, buf, offset) {
|
|
|
64565
64809
|
for (let n3 = 0; n3 < 6; ++n3) {
|
|
64566
64810
|
b3[i3 + n3] = node[n3];
|
|
64567
64811
|
}
|
|
64568
|
-
return buf ||
|
|
64812
|
+
return buf || unsafeStringify4(b3);
|
|
64569
64813
|
}
|
|
64570
64814
|
var _nodeId3, _clockseq3, _lastMSecs3, _lastNSecs3, v1_default3;
|
|
64571
64815
|
var init_v13 = __esm({
|
|
64572
64816
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/v1.js"() {
|
|
64573
|
-
|
|
64574
|
-
|
|
64817
|
+
init_rng4();
|
|
64818
|
+
init_stringify4();
|
|
64575
64819
|
_lastMSecs3 = 0;
|
|
64576
64820
|
_lastNSecs3 = 0;
|
|
64577
64821
|
v1_default3 = v13;
|
|
@@ -64645,7 +64889,7 @@ function v353(name, version4, hashfunc) {
|
|
|
64645
64889
|
}
|
|
64646
64890
|
return buf;
|
|
64647
64891
|
}
|
|
64648
|
-
return
|
|
64892
|
+
return unsafeStringify4(bytes);
|
|
64649
64893
|
}
|
|
64650
64894
|
try {
|
|
64651
64895
|
generateUUID.name = name;
|
|
@@ -64658,7 +64902,7 @@ function v353(name, version4, hashfunc) {
|
|
|
64658
64902
|
var DNS3, URL4;
|
|
64659
64903
|
var init_v353 = __esm({
|
|
64660
64904
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/v35.js"() {
|
|
64661
|
-
|
|
64905
|
+
init_stringify4();
|
|
64662
64906
|
init_parse3();
|
|
64663
64907
|
DNS3 = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
64664
64908
|
URL4 = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
@@ -64672,12 +64916,12 @@ function md53(bytes) {
|
|
|
64672
64916
|
} else if (typeof bytes === "string") {
|
|
64673
64917
|
bytes = Buffer.from(bytes, "utf8");
|
|
64674
64918
|
}
|
|
64675
|
-
return
|
|
64919
|
+
return import_crypto12.default.createHash("md5").update(bytes).digest();
|
|
64676
64920
|
}
|
|
64677
|
-
var
|
|
64921
|
+
var import_crypto12, md5_default3;
|
|
64678
64922
|
var init_md53 = __esm({
|
|
64679
64923
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/md5.js"() {
|
|
64680
|
-
|
|
64924
|
+
import_crypto12 = __toESM(require("crypto"));
|
|
64681
64925
|
md5_default3 = md53;
|
|
64682
64926
|
}
|
|
64683
64927
|
});
|
|
@@ -64694,23 +64938,23 @@ var init_v33 = __esm({
|
|
|
64694
64938
|
});
|
|
64695
64939
|
|
|
64696
64940
|
// ../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/native.js
|
|
64697
|
-
var
|
|
64698
|
-
var
|
|
64941
|
+
var import_crypto13, native_default4;
|
|
64942
|
+
var init_native4 = __esm({
|
|
64699
64943
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/native.js"() {
|
|
64700
|
-
|
|
64701
|
-
|
|
64702
|
-
randomUUID:
|
|
64944
|
+
import_crypto13 = __toESM(require("crypto"));
|
|
64945
|
+
native_default4 = {
|
|
64946
|
+
randomUUID: import_crypto13.default.randomUUID
|
|
64703
64947
|
};
|
|
64704
64948
|
}
|
|
64705
64949
|
});
|
|
64706
64950
|
|
|
64707
64951
|
// ../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/v4.js
|
|
64708
|
-
function
|
|
64709
|
-
if (
|
|
64710
|
-
return
|
|
64952
|
+
function v44(options, buf, offset) {
|
|
64953
|
+
if (native_default4.randomUUID && !buf && !options) {
|
|
64954
|
+
return native_default4.randomUUID();
|
|
64711
64955
|
}
|
|
64712
64956
|
options = options || {};
|
|
64713
|
-
const rnds = options.random || (options.rng ||
|
|
64957
|
+
const rnds = options.random || (options.rng || rng4)();
|
|
64714
64958
|
rnds[6] = rnds[6] & 15 | 64;
|
|
64715
64959
|
rnds[8] = rnds[8] & 63 | 128;
|
|
64716
64960
|
if (buf) {
|
|
@@ -64720,15 +64964,15 @@ function v43(options, buf, offset) {
|
|
|
64720
64964
|
}
|
|
64721
64965
|
return buf;
|
|
64722
64966
|
}
|
|
64723
|
-
return
|
|
64967
|
+
return unsafeStringify4(rnds);
|
|
64724
64968
|
}
|
|
64725
|
-
var
|
|
64726
|
-
var
|
|
64969
|
+
var v4_default4;
|
|
64970
|
+
var init_v44 = __esm({
|
|
64727
64971
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/v4.js"() {
|
|
64728
|
-
|
|
64729
|
-
|
|
64730
|
-
|
|
64731
|
-
|
|
64972
|
+
init_native4();
|
|
64973
|
+
init_rng4();
|
|
64974
|
+
init_stringify4();
|
|
64975
|
+
v4_default4 = v44;
|
|
64732
64976
|
}
|
|
64733
64977
|
});
|
|
64734
64978
|
|
|
@@ -64739,12 +64983,12 @@ function sha13(bytes) {
|
|
|
64739
64983
|
} else if (typeof bytes === "string") {
|
|
64740
64984
|
bytes = Buffer.from(bytes, "utf8");
|
|
64741
64985
|
}
|
|
64742
|
-
return
|
|
64986
|
+
return import_crypto14.default.createHash("sha1").update(bytes).digest();
|
|
64743
64987
|
}
|
|
64744
|
-
var
|
|
64988
|
+
var import_crypto14, sha1_default3;
|
|
64745
64989
|
var init_sha13 = __esm({
|
|
64746
64990
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/sha1.js"() {
|
|
64747
|
-
|
|
64991
|
+
import_crypto14 = __toESM(require("crypto"));
|
|
64748
64992
|
sha1_default3 = sha13;
|
|
64749
64993
|
}
|
|
64750
64994
|
});
|
|
@@ -64791,21 +65035,21 @@ __export(esm_node_exports3, {
|
|
|
64791
65035
|
stringify: () => stringify_default3,
|
|
64792
65036
|
v1: () => v1_default3,
|
|
64793
65037
|
v3: () => v3_default3,
|
|
64794
|
-
v4: () =>
|
|
65038
|
+
v4: () => v4_default4,
|
|
64795
65039
|
v5: () => v5_default3,
|
|
64796
65040
|
validate: () => validate_default3,
|
|
64797
65041
|
version: () => version_default3
|
|
64798
65042
|
});
|
|
64799
|
-
var
|
|
65043
|
+
var init_esm_node4 = __esm({
|
|
64800
65044
|
"../node_modules/@aws-sdk/client-secrets-manager/node_modules/uuid/dist/esm-node/index.js"() {
|
|
64801
65045
|
init_v13();
|
|
64802
65046
|
init_v33();
|
|
64803
|
-
|
|
65047
|
+
init_v44();
|
|
64804
65048
|
init_v53();
|
|
64805
65049
|
init_nil3();
|
|
64806
65050
|
init_version3();
|
|
64807
65051
|
init_validate3();
|
|
64808
|
-
|
|
65052
|
+
init_stringify4();
|
|
64809
65053
|
init_parse3();
|
|
64810
65054
|
}
|
|
64811
65055
|
});
|
|
@@ -65320,7 +65564,7 @@ var require_dist_cjs97 = __commonJS({
|
|
|
65320
65564
|
...obj.SecretString && { SecretString: import_smithy_client61.SENSITIVE_STRING }
|
|
65321
65565
|
}), "UpdateSecretRequestFilterSensitiveLog");
|
|
65322
65566
|
var import_core210 = (init_dist_es8(), __toCommonJS(dist_es_exports8));
|
|
65323
|
-
var
|
|
65567
|
+
var import_uuid2 = (init_esm_node4(), __toCommonJS(esm_node_exports3));
|
|
65324
65568
|
var se_BatchGetSecretValueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
65325
65569
|
const headers = sharedHeaders("BatchGetSecretValue");
|
|
65326
65570
|
let body;
|
|
@@ -65915,7 +66159,7 @@ var require_dist_cjs97 = __commonJS({
|
|
|
65915
66159
|
var se_CreateSecretRequest = /* @__PURE__ */ __name((input, context) => {
|
|
65916
66160
|
return (0, import_smithy_client61.take)(input, {
|
|
65917
66161
|
AddReplicaRegions: import_smithy_client61._json,
|
|
65918
|
-
ClientRequestToken: [true, (_2) => _2 ?? (0,
|
|
66162
|
+
ClientRequestToken: [true, (_2) => _2 ?? (0, import_uuid2.v4)()],
|
|
65919
66163
|
Description: [],
|
|
65920
66164
|
ForceOverwriteReplicaSecret: [],
|
|
65921
66165
|
KmsKeyId: [],
|
|
@@ -65927,7 +66171,7 @@ var require_dist_cjs97 = __commonJS({
|
|
|
65927
66171
|
}, "se_CreateSecretRequest");
|
|
65928
66172
|
var se_PutSecretValueRequest = /* @__PURE__ */ __name((input, context) => {
|
|
65929
66173
|
return (0, import_smithy_client61.take)(input, {
|
|
65930
|
-
ClientRequestToken: [true, (_2) => _2 ?? (0,
|
|
66174
|
+
ClientRequestToken: [true, (_2) => _2 ?? (0, import_uuid2.v4)()],
|
|
65931
66175
|
RotationToken: [],
|
|
65932
66176
|
SecretBinary: context.base64Encoder,
|
|
65933
66177
|
SecretId: [],
|
|
@@ -65937,7 +66181,7 @@ var require_dist_cjs97 = __commonJS({
|
|
|
65937
66181
|
}, "se_PutSecretValueRequest");
|
|
65938
66182
|
var se_RotateSecretRequest = /* @__PURE__ */ __name((input, context) => {
|
|
65939
66183
|
return (0, import_smithy_client61.take)(input, {
|
|
65940
|
-
ClientRequestToken: [true, (_2) => _2 ?? (0,
|
|
66184
|
+
ClientRequestToken: [true, (_2) => _2 ?? (0, import_uuid2.v4)()],
|
|
65941
66185
|
RotateImmediately: [],
|
|
65942
66186
|
RotationLambdaARN: [],
|
|
65943
66187
|
RotationRules: import_smithy_client61._json,
|
|
@@ -65946,7 +66190,7 @@ var require_dist_cjs97 = __commonJS({
|
|
|
65946
66190
|
}, "se_RotateSecretRequest");
|
|
65947
66191
|
var se_UpdateSecretRequest = /* @__PURE__ */ __name((input, context) => {
|
|
65948
66192
|
return (0, import_smithy_client61.take)(input, {
|
|
65949
|
-
ClientRequestToken: [true, (_2) => _2 ?? (0,
|
|
66193
|
+
ClientRequestToken: [true, (_2) => _2 ?? (0, import_uuid2.v4)()],
|
|
65950
66194
|
Description: [],
|
|
65951
66195
|
KmsKeyId: [],
|
|
65952
66196
|
SecretBinary: context.base64Encoder,
|