@continuous-excellence/ze-great-dashboard-aws 0.31.9 → 0.31.11

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.
Files changed (2) hide show
  1. package/dist/lambda.mjs +184 -106
  2. package/package.json +1 -1
package/dist/lambda.mjs CHANGED
@@ -1696,12 +1696,12 @@ var init_TypeRegistry = __esm({
1696
1696
  this.namespace = namespace;
1697
1697
  this.schemas = schemas;
1698
1698
  this.exceptions = exceptions;
1699
- }
1700
- static for(namespace) {
1701
1699
  if (!_TypeRegistry.registries.has(namespace)) {
1702
- _TypeRegistry.registries.set(namespace, new _TypeRegistry(namespace));
1700
+ _TypeRegistry.registries.set(namespace, this);
1703
1701
  }
1704
- return _TypeRegistry.registries.get(namespace);
1702
+ }
1703
+ static for(namespace) {
1704
+ return _TypeRegistry.registries.get(namespace) ?? new _TypeRegistry(namespace);
1705
1705
  }
1706
1706
  copyFrom(other) {
1707
1707
  const { schemas, exceptions } = this;
@@ -1719,7 +1719,9 @@ var init_TypeRegistry = __esm({
1719
1719
  register(shapeId, schema) {
1720
1720
  const qualifiedName = this.normalizeShapeId(shapeId);
1721
1721
  for (const r5 of [this, _TypeRegistry.for(qualifiedName.split("#")[0])]) {
1722
- r5.schemas.set(qualifiedName, schema);
1722
+ if (!r5.schemas.has(qualifiedName)) {
1723
+ r5.schemas.set(qualifiedName, schema);
1724
+ }
1723
1725
  }
1724
1726
  }
1725
1727
  getSchema(shapeId) {
@@ -1744,9 +1746,12 @@ var init_TypeRegistry = __esm({
1744
1746
  registerError(es, ctor) {
1745
1747
  const $error = es;
1746
1748
  const ns = $error[1];
1749
+ const qualifiedName = ns + "#" + $error[2];
1747
1750
  for (const r5 of [this, _TypeRegistry.for(ns)]) {
1748
- r5.schemas.set(ns + "#" + $error[2], $error);
1749
- r5.exceptions.set($error, ctor);
1751
+ if (!r5.schemas.has(qualifiedName) && !r5.exceptions.has($error)) {
1752
+ r5.schemas.set(qualifiedName, $error);
1753
+ r5.exceptions.set($error, ctor);
1754
+ }
1750
1755
  }
1751
1756
  }
1752
1757
  getErrorCtor(es) {
@@ -1899,20 +1904,27 @@ var init_command = __esm({
1899
1904
  }
1900
1905
  const stack = clientStack.concat(this.middlewareStack);
1901
1906
  const { logger: logger2 } = configuration;
1907
+ const additionalSmithyContext = additionalContext[import_types2.SMITHY_CONTEXT_KEY];
1902
1908
  const handlerExecutionContext = {
1903
1909
  logger: logger2,
1904
1910
  clientName,
1905
1911
  commandName,
1906
1912
  inputFilterSensitiveLog,
1907
1913
  outputFilterSensitiveLog,
1914
+ ...additionalContext,
1908
1915
  [import_types2.SMITHY_CONTEXT_KEY]: {
1916
+ ...additionalSmithyContext,
1909
1917
  commandInstance: this,
1910
- ...smithyContext
1911
- },
1912
- ...additionalContext
1918
+ ...smithyContext,
1919
+ ...options?.metricsRecorder === void 0 ? {} : { metricsRecorder: options.metricsRecorder }
1920
+ }
1913
1921
  };
1914
1922
  const { requestHandler } = configuration;
1915
1923
  let requestOptions = options ?? {};
1924
+ if (requestOptions.metricsRecorder) {
1925
+ requestOptions = { ...requestOptions };
1926
+ delete requestOptions.metricsRecorder;
1927
+ }
1916
1928
  if (smithyContext.eventStream) {
1917
1929
  requestOptions = {
1918
1930
  isEventStream: true,
@@ -2109,10 +2121,25 @@ var init_exceptions = __esm({
2109
2121
  return _ServiceException.isInstance(instance);
2110
2122
  }
2111
2123
  if (_ServiceException.isInstance(instance)) {
2112
- if (candidate.name && this.name) {
2113
- return this.prototype.isPrototypeOf(instance) || candidate.name === this.name;
2124
+ if (this.prototype.isPrototypeOf(instance)) {
2125
+ return true;
2114
2126
  }
2115
- return this.prototype.isPrototypeOf(instance);
2127
+ const targetName = this.name;
2128
+ if (!targetName || !candidate.name) {
2129
+ return false;
2130
+ }
2131
+ if (candidate.name === targetName) {
2132
+ return true;
2133
+ }
2134
+ let proto = Object.getPrototypeOf(candidate);
2135
+ while (proto && proto !== Object.prototype) {
2136
+ const ctorName = proto.constructor?.name;
2137
+ if (ctorName && ctorName !== "Error" && ctorName === targetName) {
2138
+ return true;
2139
+ }
2140
+ proto = Object.getPrototypeOf(proto);
2141
+ }
2142
+ return false;
2116
2143
  }
2117
2144
  return false;
2118
2145
  }
@@ -6509,6 +6536,8 @@ var init_getAwsChunkedEncodingStream_browser = __esm({
6509
6536
  const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
6510
6537
  const checksumRequired = base64Encoder !== void 0 && bodyLengthChecker !== void 0 && checksumAlgorithmFn !== void 0 && checksumLocationName !== void 0 && streamHasher !== void 0;
6511
6538
  const digest2 = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : void 0;
6539
+ Promise.resolve(digest2).catch(() => {
6540
+ });
6512
6541
  const reader = readableStream.getReader();
6513
6542
  return new ReadableStream({
6514
6543
  async pull(controller) {
@@ -6546,8 +6575,11 @@ function getAwsChunkedEncodingStream2(stream, options) {
6546
6575
  const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
6547
6576
  const checksumRequired = base64Encoder !== void 0 && checksumAlgorithmFn !== void 0 && checksumLocationName !== void 0 && streamHasher !== void 0;
6548
6577
  const digest2 = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : void 0;
6578
+ Promise.resolve(digest2).catch(() => {
6579
+ });
6549
6580
  const awsChunkedEncodingStream = new Readable4({
6550
- read: () => {
6581
+ read() {
6582
+ readable.resume();
6551
6583
  }
6552
6584
  });
6553
6585
  readable.on("data", (data) => {
@@ -6558,19 +6590,29 @@ function getAwsChunkedEncodingStream2(stream, options) {
6558
6590
  awsChunkedEncodingStream.push(`${length.toString(16)}\r
6559
6591
  `);
6560
6592
  awsChunkedEncodingStream.push(data);
6561
- awsChunkedEncodingStream.push("\r\n");
6593
+ if (!awsChunkedEncodingStream.push("\r\n")) {
6594
+ readable.pause();
6595
+ }
6596
+ });
6597
+ readable.on("error", (err) => {
6598
+ awsChunkedEncodingStream.destroy(err);
6562
6599
  });
6600
+ readable.pause();
6563
6601
  readable.on("end", async () => {
6564
- awsChunkedEncodingStream.push(`0\r
6602
+ try {
6603
+ awsChunkedEncodingStream.push(`0\r
6565
6604
  `);
6566
- if (checksumRequired) {
6567
- const checksum = base64Encoder(await digest2);
6568
- awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r
6605
+ if (checksumRequired) {
6606
+ const checksum = base64Encoder(await digest2);
6607
+ awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r
6569
6608
  `);
6570
- awsChunkedEncodingStream.push(`\r
6609
+ awsChunkedEncodingStream.push(`\r
6571
6610
  `);
6611
+ }
6612
+ awsChunkedEncodingStream.push(null);
6613
+ } catch (err) {
6614
+ awsChunkedEncodingStream.destroy(err);
6572
6615
  }
6573
- awsChunkedEncodingStream.push(null);
6574
6616
  });
6575
6617
  return awsChunkedEncodingStream;
6576
6618
  }
@@ -8825,7 +8867,7 @@ var init_HttpProtocol = __esm({
8825
8867
  constructor(options) {
8826
8868
  super();
8827
8869
  this.options = options;
8828
- this.compositeErrorRegistry = TypeRegistry.for(options.defaultNamespace);
8870
+ this.compositeErrorRegistry = new TypeRegistry(options.defaultNamespace);
8829
8871
  for (const etr of options.errorTypeRegistries ?? []) {
8830
8872
  this.compositeErrorRegistry.copyFrom(etr);
8831
8873
  }
@@ -8919,6 +8961,44 @@ var init_HttpProtocol = __esm({
8919
8961
  cfId: output2.headers["x-amz-cf-id"]
8920
8962
  };
8921
8963
  }
8964
+ resolveError(name, namespaces, registries) {
8965
+ const defaultErrorSchema = [-3, "", "Error", 0, [], [], 0];
8966
+ let schema;
8967
+ for (const registry2 of registries) {
8968
+ for (const ns of namespaces) {
8969
+ try {
8970
+ if (ns === "*") {
8971
+ schema = registry2.getSchema(name);
8972
+ } else {
8973
+ schema = registry2.getSchema(ns + "#" + name);
8974
+ }
8975
+ const errorCtor = registry2.getErrorCtor(schema);
8976
+ if (errorCtor) {
8977
+ return [schema, errorCtor, "modeled"];
8978
+ } else {
8979
+ const syntheticErrorSchema = registry2.getBaseException();
8980
+ if (syntheticErrorSchema) {
8981
+ const syntheticErrorCtor = registry2.getErrorCtor(syntheticErrorSchema);
8982
+ if (syntheticErrorCtor) {
8983
+ return [schema, syntheticErrorCtor, "synthetic"];
8984
+ }
8985
+ }
8986
+ }
8987
+ } catch (ignored) {
8988
+ }
8989
+ }
8990
+ }
8991
+ for (const registry2 of registries) {
8992
+ const syntheticErrorSchema = registry2.getBaseException();
8993
+ if (syntheticErrorSchema) {
8994
+ const syntheticErrorCtor = registry2.getErrorCtor(syntheticErrorSchema);
8995
+ if (syntheticErrorCtor) {
8996
+ return [syntheticErrorSchema, syntheticErrorCtor, "synthetic"];
8997
+ }
8998
+ }
8999
+ }
9000
+ return [defaultErrorSchema, Error, "native"];
9001
+ }
8922
9002
  async serializeEventStream({ eventStream, requestSchema, initialRequest }) {
8923
9003
  const eventStreamSerde = await this.loadEventStreamCapability();
8924
9004
  return eventStreamSerde.serializeEventStream({
@@ -8947,13 +9027,6 @@ var init_HttpProtocol = __esm({
8947
9027
  compositeErrorRegistry: this.compositeErrorRegistry
8948
9028
  });
8949
9029
  }
8950
- resolveEventStreamMarshaller(importedProvider) {
8951
- const context = this.serdeContext;
8952
- if (context.eventStreamMarshaller) {
8953
- return context.eventStreamMarshaller;
8954
- }
8955
- return importedProvider(this.serdeContext);
8956
- }
8957
9030
  getDefaultContentType() {
8958
9031
  throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`);
8959
9032
  }
@@ -8972,6 +9045,13 @@ var init_HttpProtocol = __esm({
8972
9045
  }
8973
9046
  return context.eventStreamMarshaller;
8974
9047
  }
9048
+ resolveEventStreamMarshaller(importedProvider) {
9049
+ const context = this.serdeContext;
9050
+ if (context.eventStreamMarshaller) {
9051
+ return context.eventStreamMarshaller;
9052
+ }
9053
+ return importedProvider(this.serdeContext);
9054
+ }
8975
9055
  };
8976
9056
  }
8977
9057
  });
@@ -10030,7 +10110,7 @@ var init_service_error_classification = __esm({
10030
10110
  return errorMessages.has(error63.message);
10031
10111
  };
10032
10112
  isThrottlingError = (error63) => error63.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error63.name) || error63.$retryable?.throttling == true;
10033
- isTransientError = (error63, depth = 0) => isRetryableByTrait(error63) || isClockSkewCorrectedError(error63) || error63.name === "InvalidSignatureException" && error63.message?.includes("Signature expired") || TRANSIENT_ERROR_CODES.includes(error63.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error63?.code || "") || NODEJS_NETWORK_ERROR_CODES.includes(error63?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error63.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error63) || isNodeJsHttp2TransientError(error63) || error63.cause !== void 0 && depth <= 10 && isTransientError(error63.cause, depth + 1);
10113
+ isTransientError = (error63, depth = 0) => error63?.name !== "AbortError" && (isRetryableByTrait(error63) || isClockSkewCorrectedError(error63) || error63.name === "InvalidSignatureException" && error63.message?.includes("Signature expired") || TRANSIENT_ERROR_CODES.includes(error63.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error63?.code || "") || NODEJS_NETWORK_ERROR_CODES.includes(error63?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error63.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error63) || isNodeJsHttp2TransientError(error63) || error63.cause !== void 0 && depth <= 10 && isTransientError(error63.cause, depth + 1));
10034
10114
  isServerError = (error63) => {
10035
10115
  if (error63.$metadata?.httpStatusCode !== void 0) {
10036
10116
  const statusCode = error63.$metadata.httpStatusCode;
@@ -15407,6 +15487,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
15407
15487
  destroy() {
15408
15488
  this.refs = 0;
15409
15489
  if (!this.session.destroyed) {
15490
+ this.session.setTimeout(0);
15410
15491
  this.session.destroy();
15411
15492
  }
15412
15493
  }
@@ -15519,9 +15600,8 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
15519
15600
  session.on("error", ensureDestroyed);
15520
15601
  session.on("frameError", ensureDestroyed);
15521
15602
  session.on("close", ensureDestroyed);
15522
- if (connectionConfiguration.requestTimeout) {
15523
- session.setTimeout(connectionConfiguration.requestTimeout, ensureDestroyed);
15524
- }
15603
+ const timeout = connectionConfiguration.requestTimeout ?? 3e5;
15604
+ session.setTimeout(timeout, ensureDestroyed);
15525
15605
  ref.retain();
15526
15606
  return ref;
15527
15607
  }
@@ -15721,6 +15801,9 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
15721
15801
  resolve({ response: httpResponse });
15722
15802
  if (useIsolatedSession) {
15723
15803
  session.close();
15804
+ clientHttp2Stream.on("end", () => {
15805
+ ref.destroy();
15806
+ });
15724
15807
  }
15725
15808
  });
15726
15809
  clientHttp2Stream.on("close", () => {
@@ -15730,7 +15813,11 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
15730
15813
  this.connectionManager.release(requestContext, ref);
15731
15814
  }
15732
15815
  if (!fulfilled) {
15733
- rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response"));
15816
+ const error63 = new Error("Unexpected error: http2 request did not get a response");
15817
+ if (session.destroyed) {
15818
+ error63.name = "TimeoutError";
15819
+ }
15820
+ rejectWithDestroy(error63);
15734
15821
  }
15735
15822
  });
15736
15823
  writeRequestBodyPromise = writeRequestBody(clientHttp2Stream, request, effectiveRequestTimeout);
@@ -15998,7 +16085,7 @@ var init_package = __esm({
15998
16085
  "node_modules/@aws-sdk/nested-clients/package.json"() {
15999
16086
  package_default = {
16000
16087
  name: "@aws-sdk/nested-clients",
16001
- version: "3.997.45",
16088
+ version: "3.997.46",
16002
16089
  description: "Nested clients for AWS SDK packages.",
16003
16090
  homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
16004
16091
  license: "Apache-2.0",
@@ -16098,13 +16185,13 @@ var init_package = __esm({
16098
16185
  "test:watch": "yarn g:vitest watch"
16099
16186
  },
16100
16187
  dependencies: {
16101
- "@aws-sdk/core": "^3.978.0",
16102
- "@aws-sdk/signature-v4-multi-region": "^3.996.46",
16103
- "@aws-sdk/types": "^3.974.5",
16104
- "@smithy/core": "^3.33.3",
16105
- "@smithy/fetch-http-handler": "^5.7.2",
16106
- "@smithy/node-http-handler": "^4.11.3",
16107
- "@smithy/types": "^4.17.2",
16188
+ "@aws-sdk/core": "^3.978.1",
16189
+ "@aws-sdk/signature-v4-multi-region": "^3.996.47",
16190
+ "@aws-sdk/types": "^3.974.6",
16191
+ "@smithy/core": "^3.35.0",
16192
+ "@smithy/fetch-http-handler": "^5.8.0",
16193
+ "@smithy/node-http-handler": "^4.12.1",
16194
+ "@smithy/types": "^4.19.0",
16108
16195
  tslib: "^2.6.2"
16109
16196
  },
16110
16197
  devDependencies: {
@@ -16149,7 +16236,6 @@ var init_cbor_types = __esm({
16149
16236
  var loadSmithyRpcV2CborErrorCode;
16150
16237
  var init_parseCborBody = __esm({
16151
16238
  "node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js"() {
16152
- init_transport();
16153
16239
  loadSmithyRpcV2CborErrorCode = (output2, data) => {
16154
16240
  const sanitizeErrorCode2 = (rawValue) => {
16155
16241
  let cleanValue = rawValue;
@@ -16162,26 +16248,11 @@ var init_parseCborBody = __esm({
16162
16248
  if (cleanValue.indexOf(":") >= 0) {
16163
16249
  cleanValue = cleanValue.split(":")[0];
16164
16250
  }
16165
- if (cleanValue.indexOf("#") >= 0) {
16166
- cleanValue = cleanValue.split("#")[1];
16167
- }
16168
16251
  return cleanValue;
16169
16252
  };
16170
16253
  if (data["__type"] !== void 0) {
16171
16254
  return sanitizeErrorCode2(data["__type"]);
16172
16255
  }
16173
- let codeKey;
16174
- for (const key in data) {
16175
- if (!hasOwn(data, key))
16176
- continue;
16177
- if (key.toLowerCase() === "code") {
16178
- codeKey = key;
16179
- break;
16180
- }
16181
- }
16182
- if (codeKey && data[codeKey] !== void 0) {
16183
- return sanitizeErrorCode2(data[codeKey]);
16184
- }
16185
16256
  };
16186
16257
  }
16187
16258
  });
@@ -17495,36 +17566,37 @@ var init_SmithyRpcV2CborProtocol = __esm({
17495
17566
  return super.deserializeResponse(operationSchema, context, response);
17496
17567
  }
17497
17568
  async handleError(operationSchema, context, response, dataObject, metadata) {
17498
- const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
17569
+ const errorIdentifier = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
17570
+ const preferredNamespaces = ["*"];
17571
+ const { defaultNamespace } = this.options;
17572
+ preferredNamespaces.unshift(defaultNamespace);
17573
+ const [namespace, errorShapeName] = (() => {
17574
+ if (errorIdentifier.includes("#")) {
17575
+ return errorIdentifier.split("#");
17576
+ }
17577
+ return [void 0, errorIdentifier];
17578
+ })();
17579
+ if (namespace) {
17580
+ preferredNamespaces.unshift(namespace);
17581
+ }
17499
17582
  const errorMetadata = {
17500
17583
  $metadata: metadata,
17501
- $fault: response.statusCode <= 500 ? "client" : "server"
17584
+ $fault: response.statusCode < 500 ? "client" : "server"
17502
17585
  };
17503
- let namespace = this.options.defaultNamespace;
17504
- if (errorName.includes("#")) {
17505
- [namespace] = errorName.split("#");
17506
- }
17507
- const registry2 = this.compositeErrorRegistry;
17508
- const nsRegistry = TypeRegistry.for(namespace);
17509
- registry2.copyFrom(nsRegistry);
17510
- let errorSchema;
17511
- try {
17512
- errorSchema = registry2.getSchema(errorName);
17513
- } catch (ignored) {
17586
+ const preferredRegistries = [this.compositeErrorRegistry];
17587
+ if (namespace) {
17588
+ preferredRegistries.push(TypeRegistry.for(namespace));
17589
+ }
17590
+ preferredRegistries.push(TypeRegistry.for(defaultNamespace));
17591
+ const [errorSchema, ErrorCtor, errorMode] = this.resolveError(errorShapeName, preferredNamespaces, preferredRegistries);
17592
+ if (errorMode === "native" || errorMode === "synthetic") {
17514
17593
  if (dataObject.Message) {
17515
17594
  dataObject.message = dataObject.Message;
17516
17595
  }
17517
- const syntheticRegistry = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
17518
- registry2.copyFrom(syntheticRegistry);
17519
- const baseExceptionSchema = registry2.getBaseException();
17520
- if (baseExceptionSchema) {
17521
- const ErrorCtor2 = registry2.getErrorCtor(baseExceptionSchema);
17522
- throw Object.assign(new ErrorCtor2({ name: errorName }), errorMetadata, dataObject);
17523
- }
17524
- throw Object.assign(new Error(errorName), errorMetadata, dataObject);
17596
+ const error63 = errorMode === "synthetic" ? new ErrorCtor({ name: errorShapeName }) : new Error(errorShapeName);
17597
+ throw Object.assign(error63, errorMetadata, dataObject);
17525
17598
  }
17526
17599
  const ns = NormalizedSchema.of(errorSchema);
17527
- const ErrorCtor = registry2.getErrorCtor(errorSchema);
17528
17600
  const message2 = dataObject.message ?? dataObject.Message ?? "Unknown";
17529
17601
  const exception = new ErrorCtor({});
17530
17602
  const output2 = {};
@@ -21441,10 +21513,10 @@ var init_schemas_0 = __esm({
21441
21513
  _se = "server";
21442
21514
  _tT = "tokenType";
21443
21515
  n0 = "com.amazonaws.ssooidc";
21444
- _s_registry = TypeRegistry.for(_s);
21516
+ _s_registry = new TypeRegistry(_s);
21445
21517
  SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []];
21446
21518
  _s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
21447
- n0_registry = TypeRegistry.for(n0);
21519
+ n0_registry = new TypeRegistry(n0);
21448
21520
  AccessDeniedException$ = [
21449
21521
  -3,
21450
21522
  n0,
@@ -22366,10 +22438,10 @@ var init_schemas_02 = __esm({
22366
22438
  _sT = "sessionToken";
22367
22439
  _xasbt = "x-amz-sso_bearer_token";
22368
22440
  n02 = "com.amazonaws.sso";
22369
- _s_registry2 = TypeRegistry.for(_s2);
22441
+ _s_registry2 = new TypeRegistry(_s2);
22370
22442
  SSOServiceException$ = [-3, _s2, "SSOServiceException", 0, [], []];
22371
22443
  _s_registry2.registerError(SSOServiceException$, SSOServiceException);
22372
- n0_registry2 = TypeRegistry.for(n02);
22444
+ n0_registry2 = new TypeRegistry(n02);
22373
22445
  InvalidRequestException$2 = [
22374
22446
  -3,
22375
22447
  n02,
@@ -23529,7 +23601,7 @@ var init_errors3 = __esm({
23529
23601
  });
23530
23602
 
23531
23603
  // node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js
23532
- var _A, _AKI, _AR, _ARI, _ARR, _ARRs, _ARU, _ARWWI, _ARWWIR, _ARWWIRs, _Au, _C, _CA, _DS, _E2, _EI, _ETE2, _IDPCEE, _IDPRCE, _IITE, _K, _MPDE, _P, _PA, _PAr, _PC, _PCLT, _PCr, _PDT, _PI, _PPS, _PPTLE, _Pr, _RA, _RDE, _RSN, _SAK, _SFWIT, _SI, _SN, _ST, _T, _TC, _TTK, _Ta, _V, _WIT, _a3, _aKST, _aQE, _c3, _cTT, _e3, _hE3, _m2, _pDLT, _s3, _tLT, n03, _s_registry3, STSServiceException$, n0_registry3, ExpiredTokenException$2, IDPCommunicationErrorException$, IDPRejectedClaimException$, InvalidIdentityTokenException$, MalformedPolicyDocumentException$, PackedPolicyTooLargeException$, RegionDisabledException$, errorTypeRegistries3, accessKeySecretType, clientTokenType, AssumedRoleUser$, AssumeRoleRequest$, AssumeRoleResponse$, AssumeRoleWithWebIdentityRequest$, AssumeRoleWithWebIdentityResponse$, Credentials$, PolicyDescriptorType$, ProvidedContext$, Tag$, policyDescriptorListType, ProvidedContextsListType, tagKeyListType, tagListType, AssumeRole$, AssumeRoleWithWebIdentity$;
23604
+ var _A, _AKI, _AR, _ARI, _ARR, _ARRs, _ARU, _ARWWI, _ARWWIR, _ARWWIRs, _Au, _C, _CA, _DS, _E2, _EI, _ETE2, _IDPCEE, _IDPRCE, _IITE, _K, _MPDE, _MSTS, _P, _PA, _PAr, _PC, _PCLT, _PCr, _PDT, _PI, _PPS, _PPTLE, _Pr, _RA, _RDE, _RSN, _SAK, _SFWIT, _SI, _SN, _ST, _STS, _STU, _T, _TC, _TTK, _Ta, _V, _WIT, _a3, _aKST, _aQE, _c3, _cTT, _e3, _hE3, _m2, _pDLT, _s3, _tLT, n03, _s_registry3, STSServiceException$, n0_registry3, ExpiredTokenException$2, IDPCommunicationErrorException$, IDPRejectedClaimException$, InvalidIdentityTokenException$, MalformedPolicyDocumentException$, PackedPolicyTooLargeException$, RegionDisabledException$, errorTypeRegistries3, accessKeySecretType, clientTokenType, AssumedRoleUser$, AssumeRoleRequest$, AssumeRoleResponse$, AssumeRoleWithWebIdentityRequest$, AssumeRoleWithWebIdentityResponse$, Credentials$, PolicyDescriptorType$, ProvidedContext$, Tag$, policyDescriptorListType, ProvidedContextsListType, tagKeyListType, tagListType, AssumeRole$, AssumeRoleWithWebIdentity$;
23533
23605
  var init_schemas_03 = __esm({
23534
23606
  "node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js"() {
23535
23607
  init_schema();
@@ -23557,6 +23629,7 @@ var init_schemas_03 = __esm({
23557
23629
  _IITE = "InvalidIdentityTokenException";
23558
23630
  _K = "Key";
23559
23631
  _MPDE = "MalformedPolicyDocumentException";
23632
+ _MSTS = "MinimumSessionTokenSize";
23560
23633
  _P = "Policy";
23561
23634
  _PA = "PolicyArns";
23562
23635
  _PAr = "ProviderArn";
@@ -23576,6 +23649,8 @@ var init_schemas_03 = __esm({
23576
23649
  _SI = "SourceIdentity";
23577
23650
  _SN = "SerialNumber";
23578
23651
  _ST = "SessionToken";
23652
+ _STS = "SessionTokenSize";
23653
+ _STU = "SessionTokenUtilization";
23579
23654
  _T = "Tags";
23580
23655
  _TC = "TokenCode";
23581
23656
  _TTK = "TransitiveTagKeys";
@@ -23594,10 +23669,10 @@ var init_schemas_03 = __esm({
23594
23669
  _s3 = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
23595
23670
  _tLT = "tagListType";
23596
23671
  n03 = "com.amazonaws.sts";
23597
- _s_registry3 = TypeRegistry.for(_s3);
23672
+ _s_registry3 = new TypeRegistry(_s3);
23598
23673
  STSServiceException$ = [-3, _s3, "STSServiceException", 0, [], []];
23599
23674
  _s_registry3.registerError(STSServiceException$, STSServiceException);
23600
- n0_registry3 = TypeRegistry.for(n03);
23675
+ n0_registry3 = new TypeRegistry(n03);
23601
23676
  ExpiredTokenException$2 = [
23602
23677
  -3,
23603
23678
  n03,
@@ -23681,8 +23756,8 @@ var init_schemas_03 = __esm({
23681
23756
  n03,
23682
23757
  _ARR,
23683
23758
  0,
23684
- [_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
23685
- [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
23759
+ [_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC, _MSTS],
23760
+ [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType, 1],
23686
23761
  2
23687
23762
  ];
23688
23763
  AssumeRoleResponse$ = [
@@ -23690,16 +23765,16 @@ var init_schemas_03 = __esm({
23690
23765
  n03,
23691
23766
  _ARRs,
23692
23767
  0,
23693
- [_C, _ARU, _PPS, _SI],
23694
- [[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0]
23768
+ [_C, _ARU, _PPS, _SI, _STU, _STS],
23769
+ [[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0, 1, 1]
23695
23770
  ];
23696
23771
  AssumeRoleWithWebIdentityRequest$ = [
23697
23772
  3,
23698
23773
  n03,
23699
23774
  _ARWWIR,
23700
23775
  0,
23701
- [_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
23702
- [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
23776
+ [_RA, _RSN, _WIT, _PI, _PA, _P, _DS, _MSTS],
23777
+ [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1, 1],
23703
23778
  3
23704
23779
  ];
23705
23780
  AssumeRoleWithWebIdentityResponse$ = [
@@ -23707,8 +23782,8 @@ var init_schemas_03 = __esm({
23707
23782
  n03,
23708
23783
  _ARWWIRs,
23709
23784
  0,
23710
- [_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
23711
- [[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0]
23785
+ [_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI, _STU, _STS],
23786
+ [[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0, 1, 1]
23712
23787
  ];
23713
23788
  Credentials$ = [
23714
23789
  3,
@@ -24716,10 +24791,10 @@ var init_schemas_04 = __esm({
24716
24791
  _tT2 = "tokenType";
24717
24792
  _tt = "token_type";
24718
24793
  n04 = "com.amazonaws.signin";
24719
- _s_registry4 = TypeRegistry.for(_s4);
24794
+ _s_registry4 = new TypeRegistry(_s4);
24720
24795
  SigninServiceException$ = [-3, _s4, "SigninServiceException", 0, [], []];
24721
24796
  _s_registry4.registerError(SigninServiceException$, SigninServiceException);
24722
- n0_registry4 = TypeRegistry.for(n04);
24797
+ n0_registry4 = new TypeRegistry(n04);
24723
24798
  AccessDeniedException$2 = [
24724
24799
  -3,
24725
24800
  n04,
@@ -26039,7 +26114,7 @@ var require_dist_cjs16 = __commonJS({
26039
26114
  Region: { type: "builtInParams", name: "region" },
26040
26115
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
26041
26116
  };
26042
- var version2 = "3.1135.0";
26117
+ var version2 = "3.1139.0";
26043
26118
  var packageInfo = {
26044
26119
  version: version2
26045
26120
  };
@@ -26520,10 +26595,10 @@ var require_dist_cjs16 = __commonJS({
26520
26595
  var _s5 = "smithy.ts.sdk.synthetic.com.amazonaws.secretsmanager";
26521
26596
  var _se3 = "server";
26522
26597
  var n05 = "com.amazonaws.secretsmanager";
26523
- var _s_registry5 = TypeRegistry2.for(_s5);
26598
+ var _s_registry5 = new TypeRegistry2(_s5);
26524
26599
  var SecretsManagerServiceException$ = [-3, _s5, "SecretsManagerServiceException", 0, [], []];
26525
26600
  _s_registry5.registerError(SecretsManagerServiceException$, SecretsManagerServiceException);
26526
- var n0_registry5 = TypeRegistry2.for(n05);
26601
+ var n0_registry5 = new TypeRegistry2(n05);
26527
26602
  var DecryptionFailure$ = [
26528
26603
  -3,
26529
26604
  n05,
@@ -27817,7 +27892,7 @@ var require_dist_cjs17 = __commonJS({
27817
27892
  Region: { type: "builtInParams", name: "region" },
27818
27893
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
27819
27894
  };
27820
- var version2 = "3.1135.0";
27895
+ var version2 = "3.1139.0";
27821
27896
  var packageInfo = {
27822
27897
  version: version2
27823
27898
  };
@@ -31367,10 +31442,10 @@ var require_dist_cjs17 = __commonJS({
31367
31442
  var _vS = "valueSet";
31368
31443
  var _xN = "xmlName";
31369
31444
  var n05 = "com.amazonaws.ssm";
31370
- var _s_registry5 = TypeRegistry2.for(_s5);
31445
+ var _s_registry5 = new TypeRegistry2(_s5);
31371
31446
  var SSMServiceException$ = [-3, _s5, "SSMServiceException", 0, [], []];
31372
31447
  _s_registry5.registerError(SSMServiceException$, SSMServiceException);
31373
- var n0_registry5 = TypeRegistry2.for(n05);
31448
+ var n0_registry5 = new TypeRegistry2(n05);
31374
31449
  var AccessDeniedException$3 = [
31375
31450
  -3,
31376
31451
  n05,
@@ -49274,7 +49349,7 @@ var EventV1Processor = class extends EventProcessor {
49274
49349
  ([key, values]) => values.map((value) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`).join("&")
49275
49350
  ).join("&");
49276
49351
  } else {
49277
- return Object.entries(event.queryStringParameters || {}).filter(([, value]) => value).map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value || "")}`).join("&");
49352
+ return Object.entries(event.queryStringParameters || {}).filter(([, value]) => value !== void 0).map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value || "")}`).join("&");
49278
49353
  }
49279
49354
  }
49280
49355
  getCookies(_event, _headers) {
@@ -49334,7 +49409,7 @@ var ALBProcessor = class extends EventProcessor {
49334
49409
  if (event.multiValueQueryStringParameters) {
49335
49410
  return Object.entries(event.multiValueQueryStringParameters || {}).filter(([, value]) => value).map(([key, value]) => `${key}=${value.join(`&${key}=`)}`).join("&");
49336
49411
  } else {
49337
- return Object.entries(event.queryStringParameters || {}).filter(([, value]) => value).map(([key, value]) => `${key}=${value}`).join("&");
49412
+ return Object.entries(event.queryStringParameters || {}).filter(([, value]) => value !== void 0).map(([key, value]) => `${key}=${value}`).join("&");
49338
49413
  }
49339
49414
  }
49340
49415
  getCookies(event, headers) {
@@ -49416,7 +49491,10 @@ var isLatticeEventV2 = (event) => {
49416
49491
  return false;
49417
49492
  };
49418
49493
  var defaultIsContentTypeBinary = (contentType) => {
49419
- return !/^text\/(?:plain|html|css|javascript|csv)|(?:\/|\+)(?:json|xml)\s*(?:;|$)/.test(
49494
+ if (/^application\/vnd\.(?:apple\.installer|mozilla\.xul)\+xml\s*(?:;|$)/i.test(contentType)) {
49495
+ return true;
49496
+ }
49497
+ return !/^text\/(?:plain|html|css|javascript|csv)|(?:\/|\+)(?:json|xml)\s*(?:;|$)/i.test(
49420
49498
  contentType
49421
49499
  );
49422
49500
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@continuous-excellence/ze-great-dashboard-aws",
3
- "version": "0.31.9",
3
+ "version": "0.31.11",
4
4
  "type": "module",
5
5
  "description": "AWS server runtime and CloudFormation deployment tooling for Ze Great Dashboard.",
6
6
  "keywords": [