@hasna/skills 0.10.6 → 0.10.8

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/bin/worker.js CHANGED
@@ -4827,7 +4827,6 @@ var require_serde = __commonJS((exports) => {
4827
4827
  const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
4828
4828
  const checksumRequired = base64Encoder !== undefined && bodyLengthChecker !== undefined && checksumAlgorithmFn !== undefined && checksumLocationName !== undefined && streamHasher !== undefined;
4829
4829
  const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined;
4830
- Promise.resolve(digest).catch(() => {});
4831
4830
  const reader = readableStream.getReader();
4832
4831
  return new ReadableStream({
4833
4832
  async pull(controller) {
@@ -4860,11 +4859,8 @@ ${value}\r
4860
4859
  const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
4861
4860
  const checksumRequired = base64Encoder !== undefined && checksumAlgorithmFn !== undefined && checksumLocationName !== undefined && streamHasher !== undefined;
4862
4861
  const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : undefined;
4863
- Promise.resolve(digest).catch(() => {});
4864
4862
  const awsChunkedEncodingStream = new Readable({
4865
- read() {
4866
- readable.resume();
4867
- }
4863
+ read: () => {}
4868
4864
  });
4869
4865
  readable.on("data", (data) => {
4870
4866
  const length = bodyLengthChecker(data) || 0;
@@ -4874,30 +4870,20 @@ ${value}\r
4874
4870
  awsChunkedEncodingStream.push(`${length.toString(16)}\r
4875
4871
  `);
4876
4872
  awsChunkedEncodingStream.push(data);
4877
- if (!awsChunkedEncodingStream.push(`\r
4878
- `)) {
4879
- readable.pause();
4880
- }
4881
- });
4882
- readable.on("error", (err) => {
4883
- awsChunkedEncodingStream.destroy(err);
4873
+ awsChunkedEncodingStream.push(`\r
4874
+ `);
4884
4875
  });
4885
- readable.pause();
4886
4876
  readable.on("end", async () => {
4887
- try {
4888
- awsChunkedEncodingStream.push(`0\r
4877
+ awsChunkedEncodingStream.push(`0\r
4889
4878
  `);
4890
- if (checksumRequired) {
4891
- const checksum = base64Encoder(await digest);
4892
- awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r
4879
+ if (checksumRequired) {
4880
+ const checksum = base64Encoder(await digest);
4881
+ awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r
4893
4882
  `);
4894
- awsChunkedEncodingStream.push(`\r
4883
+ awsChunkedEncodingStream.push(`\r
4895
4884
  `);
4896
- }
4897
- awsChunkedEncodingStream.push(null);
4898
- } catch (err) {
4899
- awsChunkedEncodingStream.destroy(err);
4900
4885
  }
4886
+ awsChunkedEncodingStream.push(null);
4901
4887
  });
4902
4888
  return awsChunkedEncodingStream;
4903
4889
  }
@@ -7791,7 +7777,7 @@ var require_retry = __commonJS((exports) => {
7791
7777
  return errorMessages.has(error.message);
7792
7778
  };
7793
7779
  var isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error.name) || error.$retryable?.throttling == true;
7794
- var isTransientError = (error, depth = 0) => error?.name !== "AbortError" && (isRetryableByTrait(error) || isClockSkewCorrectedError(error) || error.name === "InvalidSignatureException" && error.message?.includes("Signature expired") || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error) || isNodeJsHttp2TransientError(error) || error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1));
7780
+ var isTransientError = (error, depth = 0) => isRetryableByTrait(error) || isClockSkewCorrectedError(error) || error.name === "InvalidSignatureException" && error.message?.includes("Signature expired") || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error) || isNodeJsHttp2TransientError(error) || error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1);
7795
7781
  var isServerError = (error) => {
7796
7782
  if (error.$metadata?.httpStatusCode !== undefined) {
7797
7783
  const statusCode = error.$metadata.httpStatusCode;
@@ -11664,12 +11650,8 @@ var require_util = __commonJS((exports) => {
11664
11650
  }
11665
11651
  return `${protocol}//${auth}${hostname}${path}${queryString}${fragment}`;
11666
11652
  }
11667
- function hasOwn(container, key) {
11668
- return Object.prototype.hasOwnProperty.call(container, key);
11669
- }
11670
11653
  exports.build = build;
11671
11654
  exports.formatUrl = formatUrl;
11672
- exports.hasOwn = hasOwn;
11673
11655
  exports.parse = parse;
11674
11656
  exports.validate = validate;
11675
11657
  });
@@ -19111,7 +19093,7 @@ var init_constants = __esm(() => {
19111
19093
  EXPIRE_WINDOW_MS = 5 * 60 * 1000;
19112
19094
  });
19113
19095
 
19114
- // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
19096
+ // node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
19115
19097
  var require_sso_oidc = __commonJS((exports) => {
19116
19098
  var { awsEndpointFunctions: awsEndpointFunctions2, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require_client2();
19117
19099
  var { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require_dist_cjs2();
@@ -19189,7 +19171,7 @@ var require_sso_oidc = __commonJS((exports) => {
19189
19171
  Region: { type: "builtInParams", name: "region" },
19190
19172
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
19191
19173
  };
19192
- var version = "3.997.44";
19174
+ var version = "3.997.43";
19193
19175
  var packageInfo = {
19194
19176
  version
19195
19177
  };
@@ -20013,7 +19995,7 @@ var init_dist_es4 = __esm(() => {
20013
19995
  init_fromSso();
20014
19996
  });
20015
19997
 
20016
- // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
19998
+ // node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
20017
19999
  function createAwsAuthSigv4HttpAuthOption2(authParameters) {
20018
20000
  return {
20019
20001
  schemeId: "aws.auth#sigv4",
@@ -20064,7 +20046,7 @@ var awsEndpointFunctions2, emitWarningIfUnsupportedVersion$1, createDefaultUserA
20064
20046
  useFipsEndpoint: options.useFipsEndpoint ?? false,
20065
20047
  defaultSigningName: "awsssoportal"
20066
20048
  });
20067
- }, commonParams2, version = "3.997.44", packageInfo, k2 = "ref", a2 = -1, b2 = true, c2 = "isSet", d2 = "PartitionResult", e2 = "booleanEquals", f2 = "getAttr", g2, h2, i2, j2, _data2, root2 = 2, r2 = 1e8, nodes2, bdd2, cache2, defaultEndpointResolver2 = (endpointParams, context = {}) => {
20049
+ }, commonParams2, version = "3.997.43", packageInfo, k2 = "ref", a2 = -1, b2 = true, c2 = "isSet", d2 = "PartitionResult", e2 = "booleanEquals", f2 = "getAttr", g2, h2, i2, j2, _data2, root2 = 2, r2 = 1e8, nodes2, bdd2, cache2, defaultEndpointResolver2 = (endpointParams, context = {}) => {
20068
20050
  return cache2.get(endpointParams, () => decideEndpoint2(bdd2, {
20069
20051
  endpointParams,
20070
20052
  logger: context.logger
@@ -20698,7 +20680,7 @@ var init_resolveCredentialSource = __esm(() => {
20698
20680
  import_config18 = __toESM(require_config(), 1);
20699
20681
  });
20700
20682
 
20701
- // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
20683
+ // node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
20702
20684
  var require_sts = __commonJS((exports) => {
20703
20685
  var { awsEndpointFunctions: awsEndpointFunctions3, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$12, createDefaultUserAgentProvider: createDefaultUserAgentProvider2, NODE_APP_ID_CONFIG_OPTIONS: NODE_APP_ID_CONFIG_OPTIONS2, getAwsRegionExtensionConfiguration: getAwsRegionExtensionConfiguration2, resolveAwsRegionExtensionConfiguration: resolveAwsRegionExtensionConfiguration2, resolveUserAgentConfig: resolveUserAgentConfig2, resolveHostHeaderConfig: resolveHostHeaderConfig2, getUserAgentPlugin: getUserAgentPlugin2, getHostHeaderPlugin: getHostHeaderPlugin2, getLoggerPlugin: getLoggerPlugin2, getRecursionDetectionPlugin: getRecursionDetectionPlugin2, setCredentialFeature: setCredentialFeature5, stsRegionDefaultResolver } = require_client2();
20704
20686
  var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
@@ -21029,7 +21011,7 @@ var require_sts = __commonJS((exports) => {
21029
21011
  Region: { type: "builtInParams", name: "region" },
21030
21012
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
21031
21013
  };
21032
- var version2 = "3.997.44";
21014
+ var version2 = "3.997.43";
21033
21015
  var packageInfo2 = {
21034
21016
  version: version2
21035
21017
  };
@@ -21788,7 +21770,7 @@ var init_resolveAssumeRoleCredentials = __esm(() => {
21788
21770
  import_config19 = __toESM(require_config(), 1);
21789
21771
  });
21790
21772
 
21791
- // node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
21773
+ // node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
21792
21774
  var require_signin = __commonJS((exports) => {
21793
21775
  var { awsEndpointFunctions: awsEndpointFunctions3, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$12, createDefaultUserAgentProvider: createDefaultUserAgentProvider2, NODE_APP_ID_CONFIG_OPTIONS: NODE_APP_ID_CONFIG_OPTIONS2, getAwsRegionExtensionConfiguration: getAwsRegionExtensionConfiguration2, resolveAwsRegionExtensionConfiguration: resolveAwsRegionExtensionConfiguration2, resolveUserAgentConfig: resolveUserAgentConfig2, resolveHostHeaderConfig: resolveHostHeaderConfig2, getUserAgentPlugin: getUserAgentPlugin2, getHostHeaderPlugin: getHostHeaderPlugin2, getLoggerPlugin: getLoggerPlugin2, getRecursionDetectionPlugin: getRecursionDetectionPlugin2 } = require_client2();
21794
21776
  var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
@@ -21866,7 +21848,7 @@ var require_signin = __commonJS((exports) => {
21866
21848
  Region: { type: "builtInParams", name: "region" },
21867
21849
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
21868
21850
  };
21869
- var version2 = "3.997.44";
21851
+ var version2 = "3.997.43";
21870
21852
  var packageInfo2 = {
21871
21853
  version: version2
21872
21854
  };
@@ -22520,7 +22502,7 @@ var require_signin = __commonJS((exports) => {
22520
22502
  exports.errorTypeRegistries = errorTypeRegistries3;
22521
22503
  });
22522
22504
 
22523
- // node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
22505
+ // node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
22524
22506
  import { createHash, createPrivateKey, createPublicKey, sign } from "crypto";
22525
22507
  import { promises as fs2 } from "fs";
22526
22508
  import { homedir } from "os";
@@ -22784,7 +22766,7 @@ var init_LoginCredentialsFetcher = __esm(() => {
22784
22766
  };
22785
22767
  });
22786
22768
 
22787
- // node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
22769
+ // node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
22788
22770
  var import_client10, import_config21, fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
22789
22771
  init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
22790
22772
  const profiles = await import_config21.parseKnownFiles(init || {});
@@ -22808,7 +22790,7 @@ var init_fromLoginCredentials = __esm(() => {
22808
22790
  import_config21 = __toESM(require_config(), 1);
22809
22791
  });
22810
22792
 
22811
- // node_modules/@aws-sdk/credential-provider-login/dist-es/index.js
22793
+ // node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js
22812
22794
  var exports_dist_es5 = {};
22813
22795
  __export(exports_dist_es5, {
22814
22796
  fromLoginCredentials: () => fromLoginCredentials
@@ -22974,74 +22956,1096 @@ var init_resolveStaticCredentials = __esm(() => {
22974
22956
  import_client15 = __toESM(require_client2(), 1);
22975
22957
  });
22976
22958
 
22977
- // node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
22978
- var fromWebToken = (init) => async (awsIdentityProperties) => {
22979
- init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
22980
- const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
22981
- let { roleAssumerWithWebIdentity } = init;
22982
- if (!roleAssumerWithWebIdentity) {
22983
- const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __toESM(require_sts(), 1));
22984
- roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
22985
- ...init.clientConfig,
22986
- credentialProviderLogger: init.logger,
22987
- parentClientConfig: {
22988
- ...awsIdentityProperties?.callerClientConfig,
22989
- ...init.parentClientConfig
22990
- }
22991
- }, init.clientPlugins);
22992
- }
22993
- return roleAssumerWithWebIdentity({
22994
- RoleArn: roleArn,
22995
- RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,
22996
- WebIdentityToken: webIdentityToken,
22997
- ProviderId: providerId,
22998
- PolicyArns: policyArns,
22999
- Policy: policy,
23000
- DurationSeconds: durationSeconds
22959
+ // node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
22960
+ var require_sts2 = __commonJS((exports) => {
22961
+ var { awsEndpointFunctions: awsEndpointFunctions3, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$12, createDefaultUserAgentProvider: createDefaultUserAgentProvider2, NODE_APP_ID_CONFIG_OPTIONS: NODE_APP_ID_CONFIG_OPTIONS2, getAwsRegionExtensionConfiguration: getAwsRegionExtensionConfiguration2, resolveAwsRegionExtensionConfiguration: resolveAwsRegionExtensionConfiguration2, resolveUserAgentConfig: resolveUserAgentConfig2, resolveHostHeaderConfig: resolveHostHeaderConfig2, getUserAgentPlugin: getUserAgentPlugin2, getHostHeaderPlugin: getHostHeaderPlugin2, getLoggerPlugin: getLoggerPlugin2, getRecursionDetectionPlugin: getRecursionDetectionPlugin2, setCredentialFeature: setCredentialFeature12, stsRegionDefaultResolver } = require_client2();
22962
+ var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
22963
+ var { normalizeProvider: normalizeProvider4, getSmithyContext: getSmithyContext4, ServiceException: ServiceException2, NoOpLogger: NoOpLogger3, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion2, loadConfigsForDefaultMode: loadConfigsForDefaultMode2, getDefaultExtensionConfiguration: getDefaultExtensionConfiguration2, resolveDefaultRuntimeConfig: resolveDefaultRuntimeConfig2, Client: Client2, makeBuilder: makeBuilder3, createAggregatedClient: createAggregatedClient2 } = require_client();
22964
+ var { Command: $Command2 } = require_client();
22965
+ exports.$Command = $Command2;
22966
+ exports.__Client = Client2;
22967
+ var { resolveDefaultsModeConfig: resolveDefaultsModeConfig2, loadConfig: loadConfig4, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS: NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS2, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS: NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS2, NODE_REGION_CONFIG_OPTIONS: NODE_REGION_CONFIG_OPTIONS2, NODE_REGION_CONFIG_FILE_OPTIONS: NODE_REGION_CONFIG_FILE_OPTIONS2, resolveRegionConfig: resolveRegionConfig2 } = require_config();
22968
+ var { BinaryDecisionDiagram: BinaryDecisionDiagram3, EndpointCache: EndpointCache3, decideEndpoint: decideEndpoint3, customEndpointFunctions: customEndpointFunctions3, resolveParams: resolveParams2, resolveEndpointConfig: resolveEndpointConfig2, getEndpointPlugin: getEndpointPlugin3 } = require_endpoints();
22969
+ var { parseUrl: parseUrl3, getHttpHandlerExtensionConfiguration: getHttpHandlerExtensionConfiguration2, resolveHttpHandlerRuntimeConfig: resolveHttpHandlerRuntimeConfig2, getContentLengthPlugin: getContentLengthPlugin2 } = require_protocols();
22970
+ var { DEFAULT_RETRY_MODE: DEFAULT_RETRY_MODE2, NODE_RETRY_MODE_CONFIG_OPTIONS: NODE_RETRY_MODE_CONFIG_OPTIONS2, NODE_MAX_ATTEMPT_CONFIG_OPTIONS: NODE_MAX_ATTEMPT_CONFIG_OPTIONS2, resolveRetryConfig: resolveRetryConfig2, getRetryPlugin: getRetryPlugin2 } = require_retry();
22971
+ var { TypeRegistry: TypeRegistry3, getSchemaSerdePlugin: getSchemaSerdePlugin2 } = require_schema();
22972
+ var { resolveAwsSdkSigV4Config: resolveAwsSdkSigV4Config3, resolveAwsSdkSigV4AConfig: resolveAwsSdkSigV4AConfig2, AwsSdkSigV4Signer: AwsSdkSigV4Signer2, AwsSdkSigV4ASigner, NODE_SIGV4A_CONFIG_OPTIONS, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: NODE_AUTH_SCHEME_PREFERENCE_OPTIONS2 } = require_httpAuthSchemes();
22973
+ var { SignatureV4MultiRegion: SignatureV4MultiRegion2 } = require_dist_cjs4();
22974
+ var { toUtf8: toUtf82, fromUtf8: fromUtf82, toBase64: toBase642, fromBase64: fromBase642, calculateBodyLength: calculateBodyLength2 } = require_serde();
22975
+ var { streamCollector: streamCollector2, NodeHttpHandler: NodeHttpHandler3 } = require_dist_cjs6();
22976
+ var { AwsQueryProtocol } = require_protocols2();
22977
+ var { Sha256: Sha2562 } = require_checksum();
22978
+ var q2 = "ref";
22979
+ var a3 = -1;
22980
+ var b3 = true;
22981
+ var c3 = "isSet";
22982
+ var d3 = "PartitionResult";
22983
+ var e3 = "booleanEquals";
22984
+ var f3 = "stringEquals";
22985
+ var g3 = "getAttr";
22986
+ var h3 = "us-east-1";
22987
+ var i3 = "sigv4";
22988
+ var j3 = "sts";
22989
+ var k3 = "https://sts.{Region}.{PartitionResult#dnsSuffix}";
22990
+ var l2 = { [q2]: "Endpoint" };
22991
+ var m2 = { [q2]: "Region" };
22992
+ var n2 = { [q2]: d3 };
22993
+ var o2 = {};
22994
+ var p2 = [m2];
22995
+ var _data3 = {
22996
+ conditions: [
22997
+ [c3, [l2]],
22998
+ [c3, p2],
22999
+ ["aws.partition", p2, d3],
23000
+ [e3, [{ [q2]: "UseFIPS" }, b3]],
23001
+ [e3, [{ [q2]: "UseDualStack" }, b3]],
23002
+ [f3, [m2, "aws-global"]],
23003
+ [e3, [{ [q2]: "UseGlobalEndpoint" }, b3]],
23004
+ [f3, [m2, "eu-central-1"]],
23005
+ [e3, [{ fn: g3, argv: [n2, "supportsDualStack"] }, b3]],
23006
+ [e3, [{ fn: g3, argv: [n2, "supportsFIPS"] }, b3]],
23007
+ [f3, [m2, "ap-south-1"]],
23008
+ [f3, [m2, "eu-north-1"]],
23009
+ [f3, [m2, "eu-west-1"]],
23010
+ [f3, [m2, "eu-west-2"]],
23011
+ [f3, [m2, "eu-west-3"]],
23012
+ [f3, [m2, "sa-east-1"]],
23013
+ [f3, [m2, h3]],
23014
+ [f3, [m2, "us-east-2"]],
23015
+ [f3, [m2, "us-west-2"]],
23016
+ [f3, [m2, "us-west-1"]],
23017
+ [f3, [m2, "ca-central-1"]],
23018
+ [f3, [m2, "ap-southeast-1"]],
23019
+ [f3, [m2, "ap-northeast-1"]],
23020
+ [f3, [m2, "ap-southeast-2"]],
23021
+ [f3, [{ fn: g3, argv: [n2, "name"] }, "aws-us-gov"]]
23022
+ ],
23023
+ results: [
23024
+ [a3],
23025
+ ["https://sts.amazonaws.com", { authSchemes: [{ name: i3, signingName: j3, signingRegion: h3 }] }],
23026
+ [k3, { authSchemes: [{ name: i3, signingName: j3, signingRegion: "{Region}" }] }],
23027
+ [a3, "Invalid Configuration: FIPS and custom endpoint are not supported"],
23028
+ [a3, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
23029
+ [l2, o2],
23030
+ ["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", o2],
23031
+ [a3, "FIPS and DualStack are enabled, but this partition does not support one or both"],
23032
+ ["https://sts.{Region}.amazonaws.com", o2],
23033
+ ["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", o2],
23034
+ [a3, "FIPS is enabled but this partition does not support FIPS"],
23035
+ ["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", o2],
23036
+ [a3, "DualStack is enabled but this partition does not support DualStack"],
23037
+ [k3, o2],
23038
+ [a3, "Invalid Configuration: Missing Region"]
23039
+ ]
23040
+ };
23041
+ var root3 = 2;
23042
+ var r3 = 1e8;
23043
+ var nodes3 = new Int32Array([
23044
+ -1,
23045
+ 1,
23046
+ -1,
23047
+ 0,
23048
+ 30,
23049
+ 3,
23050
+ 1,
23051
+ 4,
23052
+ r3 + 14,
23053
+ 2,
23054
+ 5,
23055
+ r3 + 14,
23056
+ 3,
23057
+ 25,
23058
+ 6,
23059
+ 4,
23060
+ 24,
23061
+ 7,
23062
+ 5,
23063
+ r3 + 1,
23064
+ 8,
23065
+ 6,
23066
+ 9,
23067
+ r3 + 13,
23068
+ 7,
23069
+ r3 + 1,
23070
+ 10,
23071
+ 10,
23072
+ r3 + 1,
23073
+ 11,
23074
+ 11,
23075
+ r3 + 1,
23076
+ 12,
23077
+ 12,
23078
+ r3 + 1,
23079
+ 13,
23080
+ 13,
23081
+ r3 + 1,
23082
+ 14,
23083
+ 14,
23084
+ r3 + 1,
23085
+ 15,
23086
+ 15,
23087
+ r3 + 1,
23088
+ 16,
23089
+ 16,
23090
+ r3 + 1,
23091
+ 17,
23092
+ 17,
23093
+ r3 + 1,
23094
+ 18,
23095
+ 18,
23096
+ r3 + 1,
23097
+ 19,
23098
+ 19,
23099
+ r3 + 1,
23100
+ 20,
23101
+ 20,
23102
+ r3 + 1,
23103
+ 21,
23104
+ 21,
23105
+ r3 + 1,
23106
+ 22,
23107
+ 22,
23108
+ r3 + 1,
23109
+ 23,
23110
+ 23,
23111
+ r3 + 1,
23112
+ r3 + 2,
23113
+ 8,
23114
+ r3 + 11,
23115
+ r3 + 12,
23116
+ 4,
23117
+ 28,
23118
+ 26,
23119
+ 9,
23120
+ 27,
23121
+ r3 + 10,
23122
+ 24,
23123
+ r3 + 8,
23124
+ r3 + 9,
23125
+ 8,
23126
+ 29,
23127
+ r3 + 7,
23128
+ 9,
23129
+ r3 + 6,
23130
+ r3 + 7,
23131
+ 3,
23132
+ r3 + 3,
23133
+ 31,
23134
+ 4,
23135
+ r3 + 4,
23136
+ r3 + 5
23137
+ ]);
23138
+ var bdd3 = BinaryDecisionDiagram3.from(nodes3, root3, _data3.conditions, _data3.results);
23139
+ var cache3 = new EndpointCache3({
23140
+ size: 50,
23141
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"]
23001
23142
  });
23002
- };
23003
-
23004
- // node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
23005
- import { readFileSync } from "fs";
23006
- var import_client16, import_config24, ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE", ENV_ROLE_ARN = "AWS_ROLE_ARN", ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME", fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
23007
- init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
23008
- const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
23009
- const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
23010
- const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];
23011
- if (!webIdentityTokenFile || !roleArn) {
23012
- throw new import_config24.CredentialsProviderError("Web identity configuration not specified", {
23013
- logger: init.logger
23014
- });
23015
- }
23016
- const credentials = await fromWebToken({
23017
- ...init,
23018
- webIdentityToken: import_config24.externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ?? readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
23019
- roleArn,
23020
- roleSessionName
23021
- })(awsIdentityProperties);
23022
- if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
23023
- import_client16.setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
23024
- }
23025
- return credentials;
23026
- };
23027
- var init_fromTokenFile = __esm(() => {
23028
- import_client16 = __toESM(require_client2(), 1);
23029
- import_config24 = __toESM(require_config(), 1);
23030
- });
23031
-
23032
- // node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js
23033
- var exports_dist_es7 = {};
23034
- __export(exports_dist_es7, {
23035
- fromWebToken: () => fromWebToken,
23036
- fromTokenFile: () => fromTokenFile
23037
- });
23038
- var init_dist_es8 = __esm(() => {
23039
- init_fromTokenFile();
23040
- });
23041
-
23042
- // node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
23043
- var import_client17, isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1, resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => {
23044
- const { fromTokenFile: fromTokenFile2 } = await Promise.resolve().then(() => (init_dist_es8(), exports_dist_es7));
23143
+ var defaultEndpointResolver3 = (endpointParams, context = {}) => {
23144
+ return cache3.get(endpointParams, () => decideEndpoint3(bdd3, {
23145
+ endpointParams,
23146
+ logger: context.logger
23147
+ }));
23148
+ };
23149
+ customEndpointFunctions3.aws = awsEndpointFunctions3;
23150
+ var createEndpointRuleSetHttpAuthSchemeParametersProvider2 = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
23151
+ if (!input) {
23152
+ throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
23153
+ }
23154
+ const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
23155
+ const instructionsFn = getSmithyContext4(context)?.commandInstance?.constructor?.getEndpointParameterInstructions;
23156
+ if (!instructionsFn) {
23157
+ throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
23158
+ }
23159
+ const endpointParameters = await resolveParams2(input, { getEndpointParameterInstructions: instructionsFn }, config);
23160
+ return Object.assign(defaultParameters, endpointParameters);
23161
+ };
23162
+ var _defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
23163
+ return {
23164
+ operation: getSmithyContext4(context).operation,
23165
+ region: await normalizeProvider4(config.region)() || (() => {
23166
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
23167
+ })()
23168
+ };
23169
+ };
23170
+ var defaultSTSHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider2(_defaultSTSHttpAuthSchemeParametersProvider);
23171
+ function createAwsAuthSigv4HttpAuthOption3(authParameters) {
23172
+ return {
23173
+ schemeId: "aws.auth#sigv4",
23174
+ signingProperties: {
23175
+ name: "sts",
23176
+ region: authParameters.region
23177
+ },
23178
+ propertiesExtractor: (config, context) => ({
23179
+ signingProperties: {
23180
+ config,
23181
+ context
23182
+ }
23183
+ })
23184
+ };
23185
+ }
23186
+ function createAwsAuthSigv4aHttpAuthOption2(authParameters) {
23187
+ return {
23188
+ schemeId: "aws.auth#sigv4a",
23189
+ signingProperties: {
23190
+ name: "sts",
23191
+ region: authParameters.region
23192
+ },
23193
+ propertiesExtractor: (config, context) => ({
23194
+ signingProperties: {
23195
+ config,
23196
+ context
23197
+ }
23198
+ })
23199
+ };
23200
+ }
23201
+ function createSmithyApiNoAuthHttpAuthOption2(authParameters) {
23202
+ return {
23203
+ schemeId: "smithy.api#noAuth"
23204
+ };
23205
+ }
23206
+ var createEndpointRuleSetHttpAuthSchemeProvider2 = (defaultEndpointResolver4, defaultHttpAuthSchemeResolver, createHttpAuthOptionFunctions) => {
23207
+ const endpointRuleSetHttpAuthSchemeProvider = (authParameters) => {
23208
+ const endpoint = defaultEndpointResolver4(authParameters);
23209
+ const authSchemes = endpoint.properties?.authSchemes;
23210
+ if (!authSchemes) {
23211
+ return defaultHttpAuthSchemeResolver(authParameters);
23212
+ }
23213
+ const options = [];
23214
+ for (const scheme of authSchemes) {
23215
+ const { name: resolvedName, properties = {}, ...rest } = scheme;
23216
+ const name = resolvedName.toLowerCase();
23217
+ if (resolvedName !== name) {
23218
+ console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);
23219
+ }
23220
+ let schemeId;
23221
+ if (name === "sigv4a") {
23222
+ schemeId = "aws.auth#sigv4a";
23223
+ const sigv4Present = authSchemes.find((s2) => {
23224
+ const name2 = s2.name.toLowerCase();
23225
+ return name2 !== "sigv4a" && name2.startsWith("sigv4");
23226
+ });
23227
+ if (SignatureV4MultiRegion2.sigv4aDependency() === "none" && sigv4Present) {
23228
+ continue;
23229
+ }
23230
+ } else if (name.startsWith("sigv4")) {
23231
+ schemeId = "aws.auth#sigv4";
23232
+ } else {
23233
+ throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);
23234
+ }
23235
+ const createOption = createHttpAuthOptionFunctions[schemeId];
23236
+ if (!createOption) {
23237
+ throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);
23238
+ }
23239
+ const option = createOption(authParameters);
23240
+ option.schemeId = schemeId;
23241
+ option.signingProperties = { ...option.signingProperties || {}, ...rest, ...properties };
23242
+ options.push(option);
23243
+ }
23244
+ return options;
23245
+ };
23246
+ return endpointRuleSetHttpAuthSchemeProvider;
23247
+ };
23248
+ var _defaultSTSHttpAuthSchemeProvider = (authParameters) => {
23249
+ const options = [];
23250
+ switch (authParameters.operation) {
23251
+ case "AssumeRoleWithWebIdentity": {
23252
+ options.push(createSmithyApiNoAuthHttpAuthOption2());
23253
+ options.push(createAwsAuthSigv4aHttpAuthOption2(authParameters));
23254
+ break;
23255
+ }
23256
+ default: {
23257
+ options.push(createAwsAuthSigv4HttpAuthOption3(authParameters));
23258
+ options.push(createAwsAuthSigv4aHttpAuthOption2(authParameters));
23259
+ }
23260
+ }
23261
+ return options;
23262
+ };
23263
+ var defaultSTSHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemeProvider2(defaultEndpointResolver3, _defaultSTSHttpAuthSchemeProvider, {
23264
+ "aws.auth#sigv4": createAwsAuthSigv4HttpAuthOption3,
23265
+ "aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption2,
23266
+ "smithy.api#noAuth": createSmithyApiNoAuthHttpAuthOption2
23267
+ });
23268
+ var resolveHttpAuthSchemeConfig3 = (config) => {
23269
+ const config_0 = resolveAwsSdkSigV4Config3(config);
23270
+ const config_1 = resolveAwsSdkSigV4AConfig2(config_0);
23271
+ return Object.assign(config_1, {
23272
+ authSchemePreference: normalizeProvider4(config.authSchemePreference ?? [])
23273
+ });
23274
+ };
23275
+ var resolveClientEndpointParameters3 = (options) => {
23276
+ return Object.assign(options, {
23277
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
23278
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
23279
+ useGlobalEndpoint: options.useGlobalEndpoint ?? false,
23280
+ defaultSigningName: "sts"
23281
+ });
23282
+ };
23283
+ var commonParams3 = {
23284
+ UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
23285
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
23286
+ Endpoint: { type: "builtInParams", name: "endpoint" },
23287
+ Region: { type: "builtInParams", name: "region" },
23288
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
23289
+ };
23290
+ var version2 = "3.997.43";
23291
+ var packageInfo2 = {
23292
+ version: version2
23293
+ };
23294
+
23295
+ class STSServiceException extends ServiceException2 {
23296
+ constructor(options) {
23297
+ super(options);
23298
+ Object.setPrototypeOf(this, STSServiceException.prototype);
23299
+ }
23300
+ }
23301
+
23302
+ class ExpiredTokenException extends STSServiceException {
23303
+ name = "ExpiredTokenException";
23304
+ $fault = "client";
23305
+ constructor(opts) {
23306
+ super({
23307
+ name: "ExpiredTokenException",
23308
+ $fault: "client",
23309
+ ...opts
23310
+ });
23311
+ Object.setPrototypeOf(this, ExpiredTokenException.prototype);
23312
+ }
23313
+ }
23314
+
23315
+ class MalformedPolicyDocumentException extends STSServiceException {
23316
+ name = "MalformedPolicyDocumentException";
23317
+ $fault = "client";
23318
+ constructor(opts) {
23319
+ super({
23320
+ name: "MalformedPolicyDocumentException",
23321
+ $fault: "client",
23322
+ ...opts
23323
+ });
23324
+ Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
23325
+ }
23326
+ }
23327
+
23328
+ class PackedPolicyTooLargeException extends STSServiceException {
23329
+ name = "PackedPolicyTooLargeException";
23330
+ $fault = "client";
23331
+ constructor(opts) {
23332
+ super({
23333
+ name: "PackedPolicyTooLargeException",
23334
+ $fault: "client",
23335
+ ...opts
23336
+ });
23337
+ Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
23338
+ }
23339
+ }
23340
+
23341
+ class RegionDisabledException extends STSServiceException {
23342
+ name = "RegionDisabledException";
23343
+ $fault = "client";
23344
+ constructor(opts) {
23345
+ super({
23346
+ name: "RegionDisabledException",
23347
+ $fault: "client",
23348
+ ...opts
23349
+ });
23350
+ Object.setPrototypeOf(this, RegionDisabledException.prototype);
23351
+ }
23352
+ }
23353
+
23354
+ class IDPRejectedClaimException extends STSServiceException {
23355
+ name = "IDPRejectedClaimException";
23356
+ $fault = "client";
23357
+ constructor(opts) {
23358
+ super({
23359
+ name: "IDPRejectedClaimException",
23360
+ $fault: "client",
23361
+ ...opts
23362
+ });
23363
+ Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
23364
+ }
23365
+ }
23366
+
23367
+ class InvalidIdentityTokenException extends STSServiceException {
23368
+ name = "InvalidIdentityTokenException";
23369
+ $fault = "client";
23370
+ constructor(opts) {
23371
+ super({
23372
+ name: "InvalidIdentityTokenException",
23373
+ $fault: "client",
23374
+ ...opts
23375
+ });
23376
+ Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
23377
+ }
23378
+ }
23379
+
23380
+ class IDPCommunicationErrorException extends STSServiceException {
23381
+ name = "IDPCommunicationErrorException";
23382
+ $fault = "client";
23383
+ $retryable = {};
23384
+ constructor(opts) {
23385
+ super({
23386
+ name: "IDPCommunicationErrorException",
23387
+ $fault: "client",
23388
+ ...opts
23389
+ });
23390
+ Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
23391
+ }
23392
+ }
23393
+ var _A2 = "Arn";
23394
+ var _AKI2 = "AccessKeyId";
23395
+ var _AR2 = "AssumeRole";
23396
+ var _ARI2 = "AssumedRoleId";
23397
+ var _ARR = "AssumeRoleRequest";
23398
+ var _ARRs = "AssumeRoleResponse";
23399
+ var _ARU = "AssumedRoleUser";
23400
+ var _ARWWI = "AssumeRoleWithWebIdentity";
23401
+ var _ARWWIR = "AssumeRoleWithWebIdentityRequest";
23402
+ var _ARWWIRs = "AssumeRoleWithWebIdentityResponse";
23403
+ var _Au = "Audience";
23404
+ var _C2 = "Credentials";
23405
+ var _CA2 = "ContextAssertion";
23406
+ var _DS = "DurationSeconds";
23407
+ var _E2 = "Expiration";
23408
+ var _EI = "ExternalId";
23409
+ var _ETE = "ExpiredTokenException";
23410
+ var _IDPCEE = "IDPCommunicationErrorException";
23411
+ var _IDPRCE = "IDPRejectedClaimException";
23412
+ var _IITE = "InvalidIdentityTokenException";
23413
+ var _K2 = "Key";
23414
+ var _MPDE = "MalformedPolicyDocumentException";
23415
+ var _P2 = "Policy";
23416
+ var _PA = "PolicyArns";
23417
+ var _PAr = "ProviderArn";
23418
+ var _PC2 = "ProvidedContexts";
23419
+ var _PCLT = "ProvidedContextsListType";
23420
+ var _PCr = "ProvidedContext";
23421
+ var _PDT = "PolicyDescriptorType";
23422
+ var _PI2 = "ProviderId";
23423
+ var _PPS = "PackedPolicySize";
23424
+ var _PPTLE = "PackedPolicyTooLargeException";
23425
+ var _Pr2 = "Provider";
23426
+ var _RA = "RoleArn";
23427
+ var _RDE = "RegionDisabledException";
23428
+ var _RSN = "RoleSessionName";
23429
+ var _SAK2 = "SecretAccessKey";
23430
+ var _SFWIT = "SubjectFromWebIdentityToken";
23431
+ var _SI = "SourceIdentity";
23432
+ var _SN = "SerialNumber";
23433
+ var _ST2 = "SessionToken";
23434
+ var _T2 = "Tags";
23435
+ var _TC2 = "TokenCode";
23436
+ var _TTK = "TransitiveTagKeys";
23437
+ var _Ta2 = "Tag";
23438
+ var _V2 = "Value";
23439
+ var _WIT = "WebIdentityToken";
23440
+ var _a = "arn";
23441
+ var _aKST = "accessKeySecretType";
23442
+ var _aQE = "awsQueryError";
23443
+ var _c3 = "client";
23444
+ var _cTT = "clientTokenType";
23445
+ var _e3 = "error";
23446
+ var _hE3 = "httpError";
23447
+ var _m3 = "message";
23448
+ var _pDLT = "policyDescriptorListType";
23449
+ var _s3 = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
23450
+ var _tLT = "tagListType";
23451
+ var n03 = "com.amazonaws.sts";
23452
+ var _s_registry3 = TypeRegistry3.for(_s3);
23453
+ var STSServiceException$ = [-3, _s3, "STSServiceException", 0, [], []];
23454
+ _s_registry3.registerError(STSServiceException$, STSServiceException);
23455
+ var n0_registry3 = TypeRegistry3.for(n03);
23456
+ var ExpiredTokenException$ = [
23457
+ -3,
23458
+ n03,
23459
+ _ETE,
23460
+ { [_aQE]: [`ExpiredTokenException`, 400], [_e3]: _c3, [_hE3]: 400 },
23461
+ [_m3],
23462
+ [0]
23463
+ ];
23464
+ n0_registry3.registerError(ExpiredTokenException$, ExpiredTokenException);
23465
+ var IDPCommunicationErrorException$ = [
23466
+ -3,
23467
+ n03,
23468
+ _IDPCEE,
23469
+ { [_aQE]: [`IDPCommunicationError`, 400], [_e3]: _c3, [_hE3]: 400 },
23470
+ [_m3],
23471
+ [0]
23472
+ ];
23473
+ n0_registry3.registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException);
23474
+ var IDPRejectedClaimException$ = [
23475
+ -3,
23476
+ n03,
23477
+ _IDPRCE,
23478
+ { [_aQE]: [`IDPRejectedClaim`, 403], [_e3]: _c3, [_hE3]: 403 },
23479
+ [_m3],
23480
+ [0]
23481
+ ];
23482
+ n0_registry3.registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
23483
+ var InvalidIdentityTokenException$ = [
23484
+ -3,
23485
+ n03,
23486
+ _IITE,
23487
+ { [_aQE]: [`InvalidIdentityToken`, 400], [_e3]: _c3, [_hE3]: 400 },
23488
+ [_m3],
23489
+ [0]
23490
+ ];
23491
+ n0_registry3.registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException);
23492
+ var MalformedPolicyDocumentException$ = [
23493
+ -3,
23494
+ n03,
23495
+ _MPDE,
23496
+ { [_aQE]: [`MalformedPolicyDocument`, 400], [_e3]: _c3, [_hE3]: 400 },
23497
+ [_m3],
23498
+ [0]
23499
+ ];
23500
+ n0_registry3.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
23501
+ var PackedPolicyTooLargeException$ = [
23502
+ -3,
23503
+ n03,
23504
+ _PPTLE,
23505
+ { [_aQE]: [`PackedPolicyTooLarge`, 400], [_e3]: _c3, [_hE3]: 400 },
23506
+ [_m3],
23507
+ [0]
23508
+ ];
23509
+ n0_registry3.registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException);
23510
+ var RegionDisabledException$ = [
23511
+ -3,
23512
+ n03,
23513
+ _RDE,
23514
+ { [_aQE]: [`RegionDisabledException`, 403], [_e3]: _c3, [_hE3]: 403 },
23515
+ [_m3],
23516
+ [0]
23517
+ ];
23518
+ n0_registry3.registerError(RegionDisabledException$, RegionDisabledException);
23519
+ var errorTypeRegistries3 = [
23520
+ _s_registry3,
23521
+ n0_registry3
23522
+ ];
23523
+ var accessKeySecretType = [0, n03, _aKST, 8, 0];
23524
+ var clientTokenType = [0, n03, _cTT, 8, 0];
23525
+ var AssumedRoleUser$ = [
23526
+ 3,
23527
+ n03,
23528
+ _ARU,
23529
+ 0,
23530
+ [_ARI2, _A2],
23531
+ [0, 0],
23532
+ 2
23533
+ ];
23534
+ var AssumeRoleRequest$ = [
23535
+ 3,
23536
+ n03,
23537
+ _ARR,
23538
+ 0,
23539
+ [_RA, _RSN, _PA, _P2, _DS, _T2, _TTK, _EI, _SN, _TC2, _SI, _PC2],
23540
+ [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
23541
+ 2
23542
+ ];
23543
+ var AssumeRoleResponse$ = [
23544
+ 3,
23545
+ n03,
23546
+ _ARRs,
23547
+ 0,
23548
+ [_C2, _ARU, _PPS, _SI],
23549
+ [[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0]
23550
+ ];
23551
+ var AssumeRoleWithWebIdentityRequest$ = [
23552
+ 3,
23553
+ n03,
23554
+ _ARWWIR,
23555
+ 0,
23556
+ [_RA, _RSN, _WIT, _PI2, _PA, _P2, _DS],
23557
+ [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
23558
+ 3
23559
+ ];
23560
+ var AssumeRoleWithWebIdentityResponse$ = [
23561
+ 3,
23562
+ n03,
23563
+ _ARWWIRs,
23564
+ 0,
23565
+ [_C2, _SFWIT, _ARU, _PPS, _Pr2, _Au, _SI],
23566
+ [[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0]
23567
+ ];
23568
+ var Credentials$ = [
23569
+ 3,
23570
+ n03,
23571
+ _C2,
23572
+ 0,
23573
+ [_AKI2, _SAK2, _ST2, _E2],
23574
+ [0, [() => accessKeySecretType, 0], 0, 4],
23575
+ 4
23576
+ ];
23577
+ var PolicyDescriptorType$ = [
23578
+ 3,
23579
+ n03,
23580
+ _PDT,
23581
+ 0,
23582
+ [_a],
23583
+ [0]
23584
+ ];
23585
+ var ProvidedContext$ = [
23586
+ 3,
23587
+ n03,
23588
+ _PCr,
23589
+ 0,
23590
+ [_PAr, _CA2],
23591
+ [0, 0]
23592
+ ];
23593
+ var Tag$2 = [
23594
+ 3,
23595
+ n03,
23596
+ _Ta2,
23597
+ 0,
23598
+ [_K2, _V2],
23599
+ [0, 0],
23600
+ 2
23601
+ ];
23602
+ var policyDescriptorListType = [
23603
+ 1,
23604
+ n03,
23605
+ _pDLT,
23606
+ 0,
23607
+ () => PolicyDescriptorType$
23608
+ ];
23609
+ var ProvidedContextsListType = [
23610
+ 1,
23611
+ n03,
23612
+ _PCLT,
23613
+ 0,
23614
+ () => ProvidedContext$
23615
+ ];
23616
+ var tagListType = [
23617
+ 1,
23618
+ n03,
23619
+ _tLT,
23620
+ 0,
23621
+ () => Tag$2
23622
+ ];
23623
+ var AssumeRole$ = [
23624
+ 9,
23625
+ n03,
23626
+ _AR2,
23627
+ 0,
23628
+ () => AssumeRoleRequest$,
23629
+ () => AssumeRoleResponse$
23630
+ ];
23631
+ var AssumeRoleWithWebIdentity$ = [
23632
+ 9,
23633
+ n03,
23634
+ _ARWWI,
23635
+ 0,
23636
+ () => AssumeRoleWithWebIdentityRequest$,
23637
+ () => AssumeRoleWithWebIdentityResponse$
23638
+ ];
23639
+ var getRuntimeConfig$12 = (config) => {
23640
+ return {
23641
+ apiVersion: "2011-06-15",
23642
+ base64Decoder: config?.base64Decoder ?? fromBase642,
23643
+ base64Encoder: config?.base64Encoder ?? toBase642,
23644
+ disableHostPrefix: config?.disableHostPrefix ?? false,
23645
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver3,
23646
+ extensions: config?.extensions ?? [],
23647
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSTSHttpAuthSchemeProvider,
23648
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
23649
+ {
23650
+ schemeId: "aws.auth#sigv4",
23651
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
23652
+ signer: new AwsSdkSigV4Signer2
23653
+ },
23654
+ {
23655
+ schemeId: "aws.auth#sigv4a",
23656
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
23657
+ signer: new AwsSdkSigV4ASigner
23658
+ },
23659
+ {
23660
+ schemeId: "smithy.api#noAuth",
23661
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
23662
+ signer: new NoAuthSigner2
23663
+ }
23664
+ ],
23665
+ logger: config?.logger ?? new NoOpLogger3,
23666
+ protocol: config?.protocol ?? AwsQueryProtocol,
23667
+ protocolSettings: config?.protocolSettings ?? {
23668
+ defaultNamespace: "com.amazonaws.sts",
23669
+ errorTypeRegistries: errorTypeRegistries3,
23670
+ xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
23671
+ version: "2011-06-15",
23672
+ serviceTarget: "AWSSecurityTokenServiceV20110615"
23673
+ },
23674
+ serviceId: config?.serviceId ?? "STS",
23675
+ sha256: config?.sha256 ?? Sha2562,
23676
+ signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion2,
23677
+ urlParser: config?.urlParser ?? parseUrl3,
23678
+ utf8Decoder: config?.utf8Decoder ?? fromUtf82,
23679
+ utf8Encoder: config?.utf8Encoder ?? toUtf82
23680
+ };
23681
+ };
23682
+ var getRuntimeConfig2 = (config) => {
23683
+ emitWarningIfUnsupportedVersion2(process.version);
23684
+ const defaultsMode = resolveDefaultsModeConfig2(config);
23685
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode2);
23686
+ const clientSharedValues = getRuntimeConfig$12(config);
23687
+ emitWarningIfUnsupportedVersion$12(process.version);
23688
+ const loaderConfig = {
23689
+ profile: config?.profile,
23690
+ logger: clientSharedValues.logger
23691
+ };
23692
+ return {
23693
+ ...clientSharedValues,
23694
+ ...config,
23695
+ runtime: "node",
23696
+ defaultsMode,
23697
+ authSchemePreference: config?.authSchemePreference ?? loadConfig4(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS2, loaderConfig),
23698
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength2,
23699
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider2({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo2.version }),
23700
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
23701
+ {
23702
+ schemeId: "aws.auth#sigv4",
23703
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
23704
+ signer: new AwsSdkSigV4Signer2
23705
+ },
23706
+ {
23707
+ schemeId: "aws.auth#sigv4a",
23708
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4a"),
23709
+ signer: new AwsSdkSigV4ASigner
23710
+ },
23711
+ {
23712
+ schemeId: "smithy.api#noAuth",
23713
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
23714
+ signer: new NoAuthSigner2
23715
+ }
23716
+ ],
23717
+ maxAttempts: config?.maxAttempts ?? loadConfig4(NODE_MAX_ATTEMPT_CONFIG_OPTIONS2, config),
23718
+ region: config?.region ?? loadConfig4(NODE_REGION_CONFIG_OPTIONS2, { ...NODE_REGION_CONFIG_FILE_OPTIONS2, ...loaderConfig }),
23719
+ requestHandler: NodeHttpHandler3.create(config?.requestHandler ?? defaultConfigProvider),
23720
+ retryMode: config?.retryMode ?? loadConfig4({
23721
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS2,
23722
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE2
23723
+ }, config),
23724
+ sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadConfig4(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
23725
+ streamCollector: config?.streamCollector ?? streamCollector2,
23726
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig4(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS2, loaderConfig),
23727
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig4(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS2, loaderConfig),
23728
+ userAgentAppId: config?.userAgentAppId ?? loadConfig4(NODE_APP_ID_CONFIG_OPTIONS2, loaderConfig)
23729
+ };
23730
+ };
23731
+ var getHttpAuthExtensionConfiguration2 = (runtimeConfig) => {
23732
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
23733
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
23734
+ let _credentials = runtimeConfig.credentials;
23735
+ return {
23736
+ setHttpAuthScheme(httpAuthScheme) {
23737
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
23738
+ if (index === -1) {
23739
+ _httpAuthSchemes.push(httpAuthScheme);
23740
+ } else {
23741
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
23742
+ }
23743
+ },
23744
+ httpAuthSchemes() {
23745
+ return _httpAuthSchemes;
23746
+ },
23747
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
23748
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
23749
+ },
23750
+ httpAuthSchemeProvider() {
23751
+ return _httpAuthSchemeProvider;
23752
+ },
23753
+ setCredentials(credentials) {
23754
+ _credentials = credentials;
23755
+ },
23756
+ credentials() {
23757
+ return _credentials;
23758
+ }
23759
+ };
23760
+ };
23761
+ var resolveHttpAuthRuntimeConfig2 = (config) => {
23762
+ return {
23763
+ httpAuthSchemes: config.httpAuthSchemes(),
23764
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
23765
+ credentials: config.credentials()
23766
+ };
23767
+ };
23768
+ var resolveRuntimeExtensions2 = (runtimeConfig, extensions) => {
23769
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration2(runtimeConfig), getDefaultExtensionConfiguration2(runtimeConfig), getHttpHandlerExtensionConfiguration2(runtimeConfig), getHttpAuthExtensionConfiguration2(runtimeConfig));
23770
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
23771
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration2(extensionConfiguration), resolveDefaultRuntimeConfig2(extensionConfiguration), resolveHttpHandlerRuntimeConfig2(extensionConfiguration), resolveHttpAuthRuntimeConfig2(extensionConfiguration));
23772
+ };
23773
+
23774
+ class STSClient extends Client2 {
23775
+ config;
23776
+ constructor(...[configuration]) {
23777
+ const _config_0 = getRuntimeConfig2(configuration || {});
23778
+ super(_config_0);
23779
+ this.initConfig = _config_0;
23780
+ const _config_1 = resolveClientEndpointParameters3(_config_0);
23781
+ const _config_2 = resolveUserAgentConfig2(_config_1);
23782
+ const _config_3 = resolveRetryConfig2(_config_2);
23783
+ const _config_4 = resolveRegionConfig2(_config_3);
23784
+ const _config_5 = resolveHostHeaderConfig2(_config_4);
23785
+ const _config_6 = resolveEndpointConfig2(_config_5);
23786
+ const _config_7 = resolveHttpAuthSchemeConfig3(_config_6);
23787
+ const _config_8 = resolveRuntimeExtensions2(_config_7, configuration?.extensions || []);
23788
+ this.config = _config_8;
23789
+ this.middlewareStack.use(getSchemaSerdePlugin2(this.config));
23790
+ this.middlewareStack.use(getUserAgentPlugin2(this.config));
23791
+ this.middlewareStack.use(getRetryPlugin2(this.config));
23792
+ this.middlewareStack.use(getContentLengthPlugin2(this.config));
23793
+ this.middlewareStack.use(getHostHeaderPlugin2(this.config));
23794
+ this.middlewareStack.use(getLoggerPlugin2(this.config));
23795
+ this.middlewareStack.use(getRecursionDetectionPlugin2(this.config));
23796
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin2(this.config, {
23797
+ httpAuthSchemeParametersProvider: defaultSTSHttpAuthSchemeParametersProvider,
23798
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig2({
23799
+ "aws.auth#sigv4": config.credentials,
23800
+ "aws.auth#sigv4a": config.credentials
23801
+ })
23802
+ }));
23803
+ this.middlewareStack.use(getHttpSigningPlugin2(this.config));
23804
+ }
23805
+ destroy() {
23806
+ super.destroy();
23807
+ }
23808
+ }
23809
+ var command3 = makeBuilder3(commonParams3, "AWSSecurityTokenServiceV20110615", "STSClient", getEndpointPlugin3);
23810
+ var _ep03 = {};
23811
+ var _mw03 = (Command, cs, config, o3) => [];
23812
+
23813
+ class AssumeRoleCommand extends command3(_ep03, _mw03, "AssumeRole", AssumeRole$) {
23814
+ }
23815
+
23816
+ class AssumeRoleWithWebIdentityCommand extends command3(_ep03, _mw03, "AssumeRoleWithWebIdentity", AssumeRoleWithWebIdentity$) {
23817
+ }
23818
+ var commands2 = {
23819
+ AssumeRoleCommand,
23820
+ AssumeRoleWithWebIdentityCommand
23821
+ };
23822
+
23823
+ class STS extends STSClient {
23824
+ }
23825
+ createAggregatedClient2(commands2, STS);
23826
+ var getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
23827
+ if (typeof assumedRoleUser?.Arn === "string") {
23828
+ const arnComponents = assumedRoleUser.Arn.split(":");
23829
+ if (arnComponents.length > 4 && arnComponents[4] !== "") {
23830
+ return arnComponents[4];
23831
+ }
23832
+ }
23833
+ return;
23834
+ };
23835
+ var resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => {
23836
+ const region = typeof _region === "function" ? await _region() : _region;
23837
+ const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
23838
+ let stsDefaultRegion = "";
23839
+ const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await stsRegionDefaultResolver(loaderConfig)());
23840
+ credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`);
23841
+ return resolvedRegion;
23842
+ };
23843
+ var getDefaultRoleAssumer$1 = (stsOptions, STSClient2) => {
23844
+ let stsClient;
23845
+ let closureSourceCreds;
23846
+ return async (sourceCreds, params) => {
23847
+ closureSourceCreds = sourceCreds;
23848
+ if (!stsClient) {
23849
+ const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
23850
+ const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
23851
+ logger,
23852
+ profile
23853
+ });
23854
+ const isCompatibleRequestHandler = !isH2(requestHandler);
23855
+ stsClient = new STSClient2({
23856
+ ...stsOptions,
23857
+ userAgentAppId,
23858
+ profile,
23859
+ credentialDefaultProvider: () => async () => closureSourceCreds,
23860
+ region: resolvedRegion,
23861
+ requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
23862
+ logger
23863
+ });
23864
+ }
23865
+ const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleCommand(params));
23866
+ if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
23867
+ throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);
23868
+ }
23869
+ const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
23870
+ const credentials = {
23871
+ accessKeyId: Credentials.AccessKeyId,
23872
+ secretAccessKey: Credentials.SecretAccessKey,
23873
+ sessionToken: Credentials.SessionToken,
23874
+ expiration: Credentials.Expiration,
23875
+ ...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
23876
+ ...accountId && { accountId }
23877
+ };
23878
+ setCredentialFeature12(credentials, "CREDENTIALS_STS_ASSUME_ROLE", "i");
23879
+ return credentials;
23880
+ };
23881
+ };
23882
+ var getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient2) => {
23883
+ let stsClient;
23884
+ return async (params) => {
23885
+ if (!stsClient) {
23886
+ const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
23887
+ const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
23888
+ logger,
23889
+ profile
23890
+ });
23891
+ const isCompatibleRequestHandler = !isH2(requestHandler);
23892
+ stsClient = new STSClient2({
23893
+ ...stsOptions,
23894
+ userAgentAppId,
23895
+ profile,
23896
+ region: resolvedRegion,
23897
+ requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
23898
+ logger
23899
+ });
23900
+ }
23901
+ const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));
23902
+ if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
23903
+ throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);
23904
+ }
23905
+ const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
23906
+ const credentials = {
23907
+ accessKeyId: Credentials.AccessKeyId,
23908
+ secretAccessKey: Credentials.SecretAccessKey,
23909
+ sessionToken: Credentials.SessionToken,
23910
+ expiration: Credentials.Expiration,
23911
+ ...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
23912
+ ...accountId && { accountId }
23913
+ };
23914
+ if (accountId) {
23915
+ setCredentialFeature12(credentials, "RESOLVED_ACCOUNT_ID", "T");
23916
+ }
23917
+ setCredentialFeature12(credentials, "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID", "k");
23918
+ return credentials;
23919
+ };
23920
+ };
23921
+ var isH2 = (requestHandler) => {
23922
+ return requestHandler?.metadata?.handlerProtocol === "h2";
23923
+ };
23924
+ var getCustomizableStsClientCtor = (baseCtor, customizations) => {
23925
+ if (!customizations)
23926
+ return baseCtor;
23927
+ else
23928
+ return class CustomizableSTSClient extends baseCtor {
23929
+ constructor(config) {
23930
+ super(config);
23931
+ for (const customization of customizations) {
23932
+ this.middlewareStack.use(customization);
23933
+ }
23934
+ }
23935
+ };
23936
+ };
23937
+ var getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumer$1(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));
23938
+ var getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity$1(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));
23939
+ var decorateDefaultCredentialProvider = (provider) => (input) => provider({
23940
+ roleAssumer: getDefaultRoleAssumer(input),
23941
+ roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input),
23942
+ ...input
23943
+ });
23944
+ exports.AssumeRole$ = AssumeRole$;
23945
+ exports.AssumeRoleCommand = AssumeRoleCommand;
23946
+ exports.AssumeRoleRequest$ = AssumeRoleRequest$;
23947
+ exports.AssumeRoleResponse$ = AssumeRoleResponse$;
23948
+ exports.AssumeRoleWithWebIdentity$ = AssumeRoleWithWebIdentity$;
23949
+ exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand;
23950
+ exports.AssumeRoleWithWebIdentityRequest$ = AssumeRoleWithWebIdentityRequest$;
23951
+ exports.AssumeRoleWithWebIdentityResponse$ = AssumeRoleWithWebIdentityResponse$;
23952
+ exports.AssumedRoleUser$ = AssumedRoleUser$;
23953
+ exports.Credentials$ = Credentials$;
23954
+ exports.ExpiredTokenException = ExpiredTokenException;
23955
+ exports.ExpiredTokenException$ = ExpiredTokenException$;
23956
+ exports.IDPCommunicationErrorException = IDPCommunicationErrorException;
23957
+ exports.IDPCommunicationErrorException$ = IDPCommunicationErrorException$;
23958
+ exports.IDPRejectedClaimException = IDPRejectedClaimException;
23959
+ exports.IDPRejectedClaimException$ = IDPRejectedClaimException$;
23960
+ exports.InvalidIdentityTokenException = InvalidIdentityTokenException;
23961
+ exports.InvalidIdentityTokenException$ = InvalidIdentityTokenException$;
23962
+ exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
23963
+ exports.MalformedPolicyDocumentException$ = MalformedPolicyDocumentException$;
23964
+ exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException;
23965
+ exports.PackedPolicyTooLargeException$ = PackedPolicyTooLargeException$;
23966
+ exports.PolicyDescriptorType$ = PolicyDescriptorType$;
23967
+ exports.ProvidedContext$ = ProvidedContext$;
23968
+ exports.RegionDisabledException = RegionDisabledException;
23969
+ exports.RegionDisabledException$ = RegionDisabledException$;
23970
+ exports.STS = STS;
23971
+ exports.STSClient = STSClient;
23972
+ exports.STSServiceException = STSServiceException;
23973
+ exports.STSServiceException$ = STSServiceException$;
23974
+ exports.Tag$ = Tag$2;
23975
+ exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider;
23976
+ exports.errorTypeRegistries = errorTypeRegistries3;
23977
+ exports.getDefaultRoleAssumer = getDefaultRoleAssumer;
23978
+ exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
23979
+ });
23980
+
23981
+ // node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
23982
+ var fromWebToken = (init) => async (awsIdentityProperties) => {
23983
+ init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
23984
+ const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
23985
+ let { roleAssumerWithWebIdentity } = init;
23986
+ if (!roleAssumerWithWebIdentity) {
23987
+ const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __toESM(require_sts2(), 1));
23988
+ roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
23989
+ ...init.clientConfig,
23990
+ credentialProviderLogger: init.logger,
23991
+ parentClientConfig: {
23992
+ ...awsIdentityProperties?.callerClientConfig,
23993
+ ...init.parentClientConfig
23994
+ }
23995
+ }, init.clientPlugins);
23996
+ }
23997
+ return roleAssumerWithWebIdentity({
23998
+ RoleArn: roleArn,
23999
+ RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,
24000
+ WebIdentityToken: webIdentityToken,
24001
+ ProviderId: providerId,
24002
+ PolicyArns: policyArns,
24003
+ Policy: policy,
24004
+ DurationSeconds: durationSeconds
24005
+ });
24006
+ };
24007
+
24008
+ // node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
24009
+ import { readFileSync } from "fs";
24010
+ var import_client16, import_config24, ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE", ENV_ROLE_ARN = "AWS_ROLE_ARN", ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME", fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
24011
+ init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
24012
+ const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
24013
+ const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
24014
+ const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];
24015
+ if (!webIdentityTokenFile || !roleArn) {
24016
+ throw new import_config24.CredentialsProviderError("Web identity configuration not specified", {
24017
+ logger: init.logger
24018
+ });
24019
+ }
24020
+ const credentials = await fromWebToken({
24021
+ ...init,
24022
+ webIdentityToken: import_config24.externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ?? readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
24023
+ roleArn,
24024
+ roleSessionName
24025
+ })(awsIdentityProperties);
24026
+ if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
24027
+ import_client16.setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
24028
+ }
24029
+ return credentials;
24030
+ };
24031
+ var init_fromTokenFile = __esm(() => {
24032
+ import_client16 = __toESM(require_client2(), 1);
24033
+ import_config24 = __toESM(require_config(), 1);
24034
+ });
24035
+
24036
+ // node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js
24037
+ var exports_dist_es7 = {};
24038
+ __export(exports_dist_es7, {
24039
+ fromWebToken: () => fromWebToken,
24040
+ fromTokenFile: () => fromTokenFile
24041
+ });
24042
+ var init_dist_es8 = __esm(() => {
24043
+ init_fromTokenFile();
24044
+ });
24045
+
24046
+ // node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
24047
+ var import_client17, isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1, resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => {
24048
+ const { fromTokenFile: fromTokenFile2 } = await Promise.resolve().then(() => (init_dist_es8(), exports_dist_es7));
23045
24049
  const credentials = await fromTokenFile2({
23046
24050
  webIdentityTokenFile: profile.web_identity_token_file,
23047
24051
  roleArn: profile.role_arn,
@@ -23121,7 +24125,7 @@ import { randomUUID as randomUUID6 } from "crypto";
23121
24125
  // package.json
23122
24126
  var package_default = {
23123
24127
  name: "@hasna/skills",
23124
- version: "0.10.6",
24128
+ version: "0.10.8",
23125
24129
  description: "Skills library for AI coding agents",
23126
24130
  type: "module",
23127
24131
  bin: {
@@ -23183,6 +24187,7 @@ var package_default = {
23183
24187
  migrate: "bun run ./src/server/migrate.ts",
23184
24188
  typecheck: "tsc --noEmit",
23185
24189
  "verify:release": "bun run scripts/release-guard.ts",
24190
+ "verify:release-review": "bun run scripts/verify-release-review.ts",
23186
24191
  "verify:consumer-types": "bun run scripts/consumer-types.ts",
23187
24192
  prepack: "bun run verify:generated && bun run verify:release && bun run verify:consumer-types",
23188
24193
  prepublishOnly: "bun run verify:producer && bun run typecheck && bun run test",
@@ -27210,7 +28215,6 @@ var _DBTR = "DeleteBucketTaggingRequest";
27210
28215
  var _DBW = "DeleteBucketWebsite";
27211
28216
  var _DBWR = "DeleteBucketWebsiteRequest";
27212
28217
  var _DE = "DataExport";
27213
- var _DEH = "DefaultEventHold";
27214
28218
  var _DIM = "DestinationIfMatch";
27215
28219
  var _DIMS = "DestinationIfModifiedSince";
27216
28220
  var _DINM = "DestinationIfNoneMatch";
@@ -27258,8 +28262,6 @@ var _ED = "ErrorDetails";
27258
28262
  var _EDr = "ErrorDocument";
27259
28263
  var _EE = "EndEvent";
27260
28264
  var _EH = "ExposeHeaders";
27261
- var _EHD = "EventHoldDuration";
27262
- var _EHv = "EventHold";
27263
28265
  var _EHx = "ExposeHeader";
27264
28266
  var _EM = "ErrorMessage";
27265
28267
  var _EODM = "ExpiredObjectDeleteMarker";
@@ -27604,9 +28606,6 @@ var _OL = "OutputLocation";
27604
28606
  var _OLC = "ObjectLockConfiguration";
27605
28607
  var _OLE = "ObjectLockEnabled";
27606
28608
  var _OLEFB = "ObjectLockEnabledForBucket";
27607
- var _OLEH = "ObjectLockEventHold";
27608
- var _OLEHDD = "ObjectLockEventHoldDurationDays";
27609
- var _OLEHDY = "ObjectLockEventHoldDurationYears";
27610
28609
  var _OLLH = "ObjectLockLegalHold";
27611
28610
  var _OLLHS = "ObjectLockLegalHoldStatus";
27612
28611
  var _OLM = "ObjectLockMode";
@@ -28050,9 +29049,6 @@ var _xampc = "x-amz-mp-parts-count";
28050
29049
  var _xaoa = "x-amz-object-attributes";
28051
29050
  var _xaoad = "x-amz-object-annotation-directive";
28052
29051
  var _xaoim = "x-amz-object-if-match";
28053
- var _xaoleh = "x-amz-object-lock-event-hold";
28054
- var _xaolehdd = "x-amz-object-lock-event-hold-duration-days";
28055
- var _xaolehdy = "x-amz-object-lock-event-hold-duration-years";
28056
29052
  var _xaollh = "x-amz-object-lock-legal-hold";
28057
29053
  var _xaolm = "x-amz-object-lock-mode";
28058
29054
  var _xaolrud = "x-amz-object-lock-retain-until-date";
@@ -28545,8 +29541,8 @@ var CopyObjectRequest$ = [
28545
29541
  n0,
28546
29542
  _CORo,
28547
29543
  0,
28548
- [_B, _CSo, _K, _ACL_, _CC, _CA, _CDo, _CEo, _CL, _CTo, _CSIM, _CSIMS, _CSINM, _CSIUS, _Exp, _GFC, _GR, _GRACP, _GWACP, _IM, _INM, _M, _MD, _TD, _ADn, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _CSSSECA, _CSSSECK, _CSSSECKMD, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY, _EBO, _ESBO],
28549
- [[0, 1], [0, { [_hH]: _xacs___ }], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _xaca }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xacsim }], [4, { [_hH]: _xacsims }], [0, { [_hH]: _xacsinm }], [4, { [_hH]: _xacsius }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xamd }], [0, { [_hH]: _xatd }], [0, { [_hH]: _xaoad }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xacssseca }], [() => CopySourceSSECustomerKey, { [_hH]: _xacssseck }], [0, { [_hH]: _xacssseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasebo }]],
29544
+ [_B, _CSo, _K, _ACL_, _CC, _CA, _CDo, _CEo, _CL, _CTo, _CSIM, _CSIMS, _CSINM, _CSIUS, _Exp, _GFC, _GR, _GRACP, _GWACP, _IM, _INM, _M, _MD, _TD, _ADn, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _CSSSECA, _CSSSECK, _CSSSECKMD, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO, _ESBO],
29545
+ [[0, 1], [0, { [_hH]: _xacs___ }], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _xaca }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xacsim }], [4, { [_hH]: _xacsims }], [0, { [_hH]: _xacsinm }], [4, { [_hH]: _xacsius }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xamd }], [0, { [_hH]: _xatd }], [0, { [_hH]: _xaoad }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xacssseca }], [() => CopySourceSSECustomerKey, { [_hH]: _xacssseck }], [0, { [_hH]: _xacssseckM }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xasebo }]],
28550
29546
  3
28551
29547
  ];
28552
29548
  var CopyObjectResult$ = [
@@ -28639,8 +29635,8 @@ var CreateMultipartUploadRequest$ = [
28639
29635
  n0,
28640
29636
  _CMURr,
28641
29637
  0,
28642
- [_B, _K, _ACL_, _CC, _CDo, _CEo, _CL, _CTo, _Exp, _GFC, _GR, _GRACP, _GWACP, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY, _EBO, _CA, _CT],
28643
- [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xaca }], [0, { [_hH]: _xact }]],
29638
+ [_B, _K, _ACL_, _CC, _CDo, _CEo, _CL, _CTo, _Exp, _GFC, _GR, _GRACP, _GWACP, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO, _CA, _CT],
29639
+ [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }], [0, { [_hH]: _xaca }], [0, { [_hH]: _xact }]],
28644
29640
  2
28645
29641
  ];
28646
29642
  var CreateSessionOutput$ = [
@@ -28682,8 +29678,8 @@ var DefaultRetention$ = [
28682
29678
  n0,
28683
29679
  _DRe,
28684
29680
  0,
28685
- [_Mo, _D, _Y, _DEH],
28686
- [0, 1, 1, () => EventHoldDuration$]
29681
+ [_Mo, _D, _Y],
29682
+ [0, 1, 1]
28687
29683
  ];
28688
29684
  var Delete$ = [
28689
29685
  3,
@@ -29005,14 +30001,6 @@ var EventBridgeConfiguration$ = [
29005
30001
  [],
29006
30002
  []
29007
30003
  ];
29008
- var EventHoldDuration$ = [
29009
- 3,
29010
- n0,
29011
- _EHD,
29012
- 0,
29013
- [_D, _Y],
29014
- [1, 1]
29015
- ];
29016
30004
  var ExistingObjectReplication$ = [
29017
30005
  3,
29018
30006
  n0,
@@ -29530,8 +30518,8 @@ var GetObjectOutput$ = [
29530
30518
  n0,
29531
30519
  _GOO,
29532
30520
  0,
29533
- [_Bo, _DM, _AR, _Ex, _Re, _LM, _CLo, _ET, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _MM, _VI, _CC, _CDo, _CEo, _CL, _CR, _CTo, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY],
29534
- [[() => StreamingBlob, 16], [2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _ET }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CR_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }]]
30521
+ [_Bo, _DM, _AR, _Ex, _Re, _LM, _CLo, _ET, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _MM, _VI, _CC, _CDo, _CEo, _CL, _CR, _CTo, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS],
30522
+ [[() => StreamingBlob, 16], [2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _ET }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CR_ }], [0, { [_hH]: _CT_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }]]
29535
30523
  ];
29536
30524
  var GetObjectRequest$ = [
29537
30525
  3,
@@ -29659,8 +30647,8 @@ var HeadObjectOutput$ = [
29659
30647
  n0,
29660
30648
  _HOO,
29661
30649
  0,
29662
- [_DM, _AR, _Ex, _Re, _ASr, _LM, _CLo, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _ET, _MM, _VI, _CC, _CDo, _CEo, _CL, _CTo, _CR, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY],
29663
- [[2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [0, { [_hH]: _xaas }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [0, { [_hH]: _ET }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CR_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }]]
30650
+ [_DM, _AR, _Ex, _Re, _ASr, _LM, _CLo, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _CT, _ET, _MM, _VI, _CC, _CDo, _CEo, _CL, _CTo, _CR, _Exp, _ES, _WRL, _SSE, _M, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _SC, _RC, _RS, _PC, _TC, _OLM, _OLRUD, _OLLHS],
30651
+ [[2, { [_hH]: _xadm }], [0, { [_hH]: _ar }], [0, { [_hH]: _xae }], [0, { [_hH]: _xar }], [0, { [_hH]: _xaas }], [4, { [_hH]: _LM_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [0, { [_hH]: _xact }], [0, { [_hH]: _ET }], [1, { [_hH]: _xamm }], [0, { [_hH]: _xavi }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CR_ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _ES }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasse }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasseca }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xarc }], [0, { [_hH]: _xars }], [1, { [_hH]: _xampc }], [1, { [_hH]: _xatc }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }]]
29664
30652
  ];
29665
30653
  var HeadObjectRequest$ = [
29666
30654
  3,
@@ -30262,8 +31250,8 @@ var ObjectLockRetention$ = [
30262
31250
  n0,
30263
31251
  _OLR,
30264
31252
  0,
30265
- [_Mo, _RUD, _EHv, _EHD],
30266
- [0, 5, 0, () => EventHoldDuration$]
31253
+ [_Mo, _RUD],
31254
+ [0, 5]
30267
31255
  ];
30268
31256
  var ObjectLockRule$ = [
30269
31257
  3,
@@ -30647,8 +31635,8 @@ var PutObjectRequest$ = [
30647
31635
  n0,
30648
31636
  _POR,
30649
31637
  0,
30650
- [_B, _K, _ACL_, _Bo, _CC, _CDo, _CEo, _CL, _CLo, _CMDo, _CTo, _CA, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _Exp, _IM, _INM, _GFC, _GR, _GRACP, _GWACP, _WOB, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _OLEH, _OLEHDD, _OLEHDY, _EBO],
30651
- [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [() => StreamingBlob, 16], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _CM }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [1, { [_hH]: _xawob }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaoleh }], [1, { [_hH]: _xaolehdd }], [1, { [_hH]: _xaolehdy }], [0, { [_hH]: _xaebo }]],
31638
+ [_B, _K, _ACL_, _Bo, _CC, _CDo, _CEo, _CL, _CLo, _CMDo, _CTo, _CA, _CCRC, _CCRCC, _CCRCNVME, _CSHA, _CSHAh, _CSHAhe, _CMD, _CXXHASH, _CXXHASHh, _CXXHASHhe, _Exp, _IM, _INM, _GFC, _GR, _GRACP, _GWACP, _WOB, _M, _SSE, _SC, _WRL, _SSECA, _SSECK, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RP, _Tag, _OLM, _OLRUD, _OLLHS, _EBO],
31639
+ [[0, 1], [0, 1], [0, { [_hH]: _xaa }], [() => StreamingBlob, 16], [0, { [_hH]: _CC_ }], [0, { [_hH]: _CD_ }], [0, { [_hH]: _CE_ }], [0, { [_hH]: _CL_ }], [1, { [_hH]: _CL__ }], [0, { [_hH]: _CM }], [0, { [_hH]: _CT_ }], [0, { [_hH]: _xasca }], [0, { [_hH]: _xacc }], [0, { [_hH]: _xacc_ }], [0, { [_hH]: _xacc__ }], [0, { [_hH]: _xacs }], [0, { [_hH]: _xacs_ }], [0, { [_hH]: _xacs__ }], [0, { [_hH]: _xacm }], [0, { [_hH]: _xacx }], [0, { [_hH]: _xacx_ }], [0, { [_hH]: _xacx__ }], [4, { [_hH]: _Exp }], [0, { [_hH]: _IM_ }], [0, { [_hH]: _INM_ }], [0, { [_hH]: _xagfc }], [0, { [_hH]: _xagr }], [0, { [_hH]: _xagra }], [0, { [_hH]: _xagwa }], [1, { [_hH]: _xawob }], [128 | 0, { [_hPH]: _xam }], [0, { [_hH]: _xasse }], [0, { [_hH]: _xasc }], [0, { [_hH]: _xawrl }], [0, { [_hH]: _xasseca }], [() => SSECustomerKey, { [_hH]: _xasseck }], [0, { [_hH]: _xasseckM }], [() => SSEKMSKeyId, { [_hH]: _xasseakki }], [() => SSEKMSEncryptionContext, { [_hH]: _xassec }], [2, { [_hH]: _xassebke }], [0, { [_hH]: _xarp }], [0, { [_hH]: _xat }], [0, { [_hH]: _xaolm }], [5, { [_hH]: _xaolrud }], [0, { [_hH]: _xaollh }], [0, { [_hH]: _xaebo }]],
30652
31640
  2
30653
31641
  ];
30654
31642
  var PutObjectRetentionOutput$ = [
@@ -32487,7 +33475,7 @@ class CreateSessionCommand extends command(_ep4, _mw0, "CreateSession", CreateSe
32487
33475
  // node_modules/@aws-sdk/client-s3/package.json
32488
33476
  var package_default2 = {
32489
33477
  name: "@aws-sdk/client-s3",
32490
- version: "3.1136.0",
33478
+ version: "3.1127.0",
32491
33479
  description: "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
32492
33480
  homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
32493
33481
  license: "Apache-2.0",
@@ -32541,10 +33529,10 @@ var package_default2 = {
32541
33529
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
32542
33530
  },
32543
33531
  dependencies: {
32544
- "@aws-sdk/checksums": "^3.1001.0",
32545
- "@aws-sdk/core": "^3.978.0",
32546
- "@aws-sdk/credential-provider-node": "^3.972.83",
32547
- "@aws-sdk/middleware-sdk-s3": "^3.972.76",
33532
+ "@aws-sdk/checksums": "^3.1000.29",
33533
+ "@aws-sdk/core": "^3.977.9",
33534
+ "@aws-sdk/credential-provider-node": "^3.972.82",
33535
+ "@aws-sdk/middleware-sdk-s3": "^3.972.75",
32548
33536
  "@aws-sdk/signature-v4-multi-region": "^3.996.46",
32549
33537
  "@aws-sdk/types": "^3.974.5",
32550
33538
  "@smithy/core": "^3.33.3",
@@ -32554,7 +33542,7 @@ var package_default2 = {
32554
33542
  tslib: "^2.6.2"
32555
33543
  },
32556
33544
  devDependencies: {
32557
- "@aws-sdk/signature-v4-crt": "3.1136.0",
33545
+ "@aws-sdk/signature-v4-crt": "3.1127.0",
32558
33546
  "@smithy/snapshot-testing": "^2.3.2",
32559
33547
  "@tsconfig/node20": "20.1.8",
32560
33548
  "@types/node": "^20.14.8",