@hasna/skills 0.10.4 → 0.10.6
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/README.md +13 -0
- package/bin/index.js +2279 -1385
- package/bin/mcp.js +1893 -1116
- package/bin/migrate.js +1 -1
- package/bin/server.js +176 -1163
- package/bin/worker.js +92 -1079
- package/dist/cli/commands/registry.d.ts +2 -0
- package/dist/index.js +1456 -669
- package/dist/lib/review-export.d.ts +16 -0
- package/dist/sdk/index.js +1617 -1817
- package/package.json +1 -1
package/bin/worker.js
CHANGED
|
@@ -4827,6 +4827,7 @@ 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(() => {});
|
|
4830
4831
|
const reader = readableStream.getReader();
|
|
4831
4832
|
return new ReadableStream({
|
|
4832
4833
|
async pull(controller) {
|
|
@@ -4859,8 +4860,11 @@ ${value}\r
|
|
|
4859
4860
|
const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
|
|
4860
4861
|
const checksumRequired = base64Encoder !== undefined && checksumAlgorithmFn !== undefined && checksumLocationName !== undefined && streamHasher !== undefined;
|
|
4861
4862
|
const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : undefined;
|
|
4863
|
+
Promise.resolve(digest).catch(() => {});
|
|
4862
4864
|
const awsChunkedEncodingStream = new Readable({
|
|
4863
|
-
read
|
|
4865
|
+
read() {
|
|
4866
|
+
readable.resume();
|
|
4867
|
+
}
|
|
4864
4868
|
});
|
|
4865
4869
|
readable.on("data", (data) => {
|
|
4866
4870
|
const length = bodyLengthChecker(data) || 0;
|
|
@@ -4870,20 +4874,30 @@ ${value}\r
|
|
|
4870
4874
|
awsChunkedEncodingStream.push(`${length.toString(16)}\r
|
|
4871
4875
|
`);
|
|
4872
4876
|
awsChunkedEncodingStream.push(data);
|
|
4873
|
-
awsChunkedEncodingStream.push(`\r
|
|
4874
|
-
`)
|
|
4877
|
+
if (!awsChunkedEncodingStream.push(`\r
|
|
4878
|
+
`)) {
|
|
4879
|
+
readable.pause();
|
|
4880
|
+
}
|
|
4875
4881
|
});
|
|
4882
|
+
readable.on("error", (err) => {
|
|
4883
|
+
awsChunkedEncodingStream.destroy(err);
|
|
4884
|
+
});
|
|
4885
|
+
readable.pause();
|
|
4876
4886
|
readable.on("end", async () => {
|
|
4877
|
-
|
|
4887
|
+
try {
|
|
4888
|
+
awsChunkedEncodingStream.push(`0\r
|
|
4878
4889
|
`);
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4890
|
+
if (checksumRequired) {
|
|
4891
|
+
const checksum = base64Encoder(await digest);
|
|
4892
|
+
awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r
|
|
4882
4893
|
`);
|
|
4883
|
-
|
|
4894
|
+
awsChunkedEncodingStream.push(`\r
|
|
4884
4895
|
`);
|
|
4896
|
+
}
|
|
4897
|
+
awsChunkedEncodingStream.push(null);
|
|
4898
|
+
} catch (err) {
|
|
4899
|
+
awsChunkedEncodingStream.destroy(err);
|
|
4885
4900
|
}
|
|
4886
|
-
awsChunkedEncodingStream.push(null);
|
|
4887
4901
|
});
|
|
4888
4902
|
return awsChunkedEncodingStream;
|
|
4889
4903
|
}
|
|
@@ -7777,7 +7791,7 @@ var require_retry = __commonJS((exports) => {
|
|
|
7777
7791
|
return errorMessages.has(error.message);
|
|
7778
7792
|
};
|
|
7779
7793
|
var isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error.name) || error.$retryable?.throttling == true;
|
|
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);
|
|
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));
|
|
7781
7795
|
var isServerError = (error) => {
|
|
7782
7796
|
if (error.$metadata?.httpStatusCode !== undefined) {
|
|
7783
7797
|
const statusCode = error.$metadata.httpStatusCode;
|
|
@@ -11650,8 +11664,12 @@ var require_util = __commonJS((exports) => {
|
|
|
11650
11664
|
}
|
|
11651
11665
|
return `${protocol}//${auth}${hostname}${path}${queryString}${fragment}`;
|
|
11652
11666
|
}
|
|
11667
|
+
function hasOwn(container, key) {
|
|
11668
|
+
return Object.prototype.hasOwnProperty.call(container, key);
|
|
11669
|
+
}
|
|
11653
11670
|
exports.build = build;
|
|
11654
11671
|
exports.formatUrl = formatUrl;
|
|
11672
|
+
exports.hasOwn = hasOwn;
|
|
11655
11673
|
exports.parse = parse;
|
|
11656
11674
|
exports.validate = validate;
|
|
11657
11675
|
});
|
|
@@ -19093,7 +19111,7 @@ var init_constants = __esm(() => {
|
|
|
19093
19111
|
EXPIRE_WINDOW_MS = 5 * 60 * 1000;
|
|
19094
19112
|
});
|
|
19095
19113
|
|
|
19096
|
-
// node_modules/@aws-sdk/
|
|
19114
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
|
|
19097
19115
|
var require_sso_oidc = __commonJS((exports) => {
|
|
19098
19116
|
var { awsEndpointFunctions: awsEndpointFunctions2, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require_client2();
|
|
19099
19117
|
var { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require_dist_cjs2();
|
|
@@ -19171,7 +19189,7 @@ var require_sso_oidc = __commonJS((exports) => {
|
|
|
19171
19189
|
Region: { type: "builtInParams", name: "region" },
|
|
19172
19190
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
19173
19191
|
};
|
|
19174
|
-
var version = "3.997.
|
|
19192
|
+
var version = "3.997.44";
|
|
19175
19193
|
var packageInfo = {
|
|
19176
19194
|
version
|
|
19177
19195
|
};
|
|
@@ -19995,7 +20013,7 @@ var init_dist_es4 = __esm(() => {
|
|
|
19995
20013
|
init_fromSso();
|
|
19996
20014
|
});
|
|
19997
20015
|
|
|
19998
|
-
// node_modules/@aws-sdk/
|
|
20016
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
|
|
19999
20017
|
function createAwsAuthSigv4HttpAuthOption2(authParameters) {
|
|
20000
20018
|
return {
|
|
20001
20019
|
schemeId: "aws.auth#sigv4",
|
|
@@ -20046,7 +20064,7 @@ var awsEndpointFunctions2, emitWarningIfUnsupportedVersion$1, createDefaultUserA
|
|
|
20046
20064
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
20047
20065
|
defaultSigningName: "awsssoportal"
|
|
20048
20066
|
});
|
|
20049
|
-
}, commonParams2, version = "3.997.
|
|
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 = {}) => {
|
|
20050
20068
|
return cache2.get(endpointParams, () => decideEndpoint2(bdd2, {
|
|
20051
20069
|
endpointParams,
|
|
20052
20070
|
logger: context.logger
|
|
@@ -20680,7 +20698,7 @@ var init_resolveCredentialSource = __esm(() => {
|
|
|
20680
20698
|
import_config18 = __toESM(require_config(), 1);
|
|
20681
20699
|
});
|
|
20682
20700
|
|
|
20683
|
-
// node_modules/@aws-sdk/
|
|
20701
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
|
|
20684
20702
|
var require_sts = __commonJS((exports) => {
|
|
20685
20703
|
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();
|
|
20686
20704
|
var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
|
|
@@ -21011,7 +21029,7 @@ var require_sts = __commonJS((exports) => {
|
|
|
21011
21029
|
Region: { type: "builtInParams", name: "region" },
|
|
21012
21030
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
21013
21031
|
};
|
|
21014
|
-
var version2 = "3.997.
|
|
21032
|
+
var version2 = "3.997.44";
|
|
21015
21033
|
var packageInfo2 = {
|
|
21016
21034
|
version: version2
|
|
21017
21035
|
};
|
|
@@ -21770,7 +21788,7 @@ var init_resolveAssumeRoleCredentials = __esm(() => {
|
|
|
21770
21788
|
import_config19 = __toESM(require_config(), 1);
|
|
21771
21789
|
});
|
|
21772
21790
|
|
|
21773
|
-
// node_modules/@aws-sdk/
|
|
21791
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
|
|
21774
21792
|
var require_signin = __commonJS((exports) => {
|
|
21775
21793
|
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();
|
|
21776
21794
|
var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
|
|
@@ -21848,7 +21866,7 @@ var require_signin = __commonJS((exports) => {
|
|
|
21848
21866
|
Region: { type: "builtInParams", name: "region" },
|
|
21849
21867
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
21850
21868
|
};
|
|
21851
|
-
var version2 = "3.997.
|
|
21869
|
+
var version2 = "3.997.44";
|
|
21852
21870
|
var packageInfo2 = {
|
|
21853
21871
|
version: version2
|
|
21854
21872
|
};
|
|
@@ -22502,7 +22520,7 @@ var require_signin = __commonJS((exports) => {
|
|
|
22502
22520
|
exports.errorTypeRegistries = errorTypeRegistries3;
|
|
22503
22521
|
});
|
|
22504
22522
|
|
|
22505
|
-
// node_modules/@aws-sdk/credential-provider-
|
|
22523
|
+
// node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
|
|
22506
22524
|
import { createHash, createPrivateKey, createPublicKey, sign } from "crypto";
|
|
22507
22525
|
import { promises as fs2 } from "fs";
|
|
22508
22526
|
import { homedir } from "os";
|
|
@@ -22766,7 +22784,7 @@ var init_LoginCredentialsFetcher = __esm(() => {
|
|
|
22766
22784
|
};
|
|
22767
22785
|
});
|
|
22768
22786
|
|
|
22769
|
-
// node_modules/@aws-sdk/credential-provider-
|
|
22787
|
+
// node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
|
|
22770
22788
|
var import_client10, import_config21, fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
|
|
22771
22789
|
init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
|
|
22772
22790
|
const profiles = await import_config21.parseKnownFiles(init || {});
|
|
@@ -22790,7 +22808,7 @@ var init_fromLoginCredentials = __esm(() => {
|
|
|
22790
22808
|
import_config21 = __toESM(require_config(), 1);
|
|
22791
22809
|
});
|
|
22792
22810
|
|
|
22793
|
-
// node_modules/@aws-sdk/credential-provider-
|
|
22811
|
+
// node_modules/@aws-sdk/credential-provider-login/dist-es/index.js
|
|
22794
22812
|
var exports_dist_es5 = {};
|
|
22795
22813
|
__export(exports_dist_es5, {
|
|
22796
22814
|
fromLoginCredentials: () => fromLoginCredentials
|
|
@@ -22956,1043 +22974,21 @@ var init_resolveStaticCredentials = __esm(() => {
|
|
|
22956
22974
|
import_client15 = __toESM(require_client2(), 1);
|
|
22957
22975
|
});
|
|
22958
22976
|
|
|
22959
|
-
// node_modules/@aws-sdk/credential-provider-web-identity/
|
|
22960
|
-
var
|
|
22961
|
-
|
|
22962
|
-
|
|
22963
|
-
|
|
22964
|
-
|
|
22965
|
-
|
|
22966
|
-
|
|
22967
|
-
|
|
22968
|
-
|
|
22969
|
-
|
|
22970
|
-
|
|
22971
|
-
|
|
22972
|
-
|
|
22973
|
-
|
|
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"]
|
|
23142
|
-
});
|
|
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);
|
|
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);
|
|
23996
22992
|
}
|
|
23997
22993
|
return roleAssumerWithWebIdentity({
|
|
23998
22994
|
RoleArn: roleArn,
|
|
@@ -24125,7 +23121,7 @@ import { randomUUID as randomUUID6 } from "crypto";
|
|
|
24125
23121
|
// package.json
|
|
24126
23122
|
var package_default = {
|
|
24127
23123
|
name: "@hasna/skills",
|
|
24128
|
-
version: "0.10.
|
|
23124
|
+
version: "0.10.6",
|
|
24129
23125
|
description: "Skills library for AI coding agents",
|
|
24130
23126
|
type: "module",
|
|
24131
23127
|
bin: {
|
|
@@ -28214,6 +27210,7 @@ var _DBTR = "DeleteBucketTaggingRequest";
|
|
|
28214
27210
|
var _DBW = "DeleteBucketWebsite";
|
|
28215
27211
|
var _DBWR = "DeleteBucketWebsiteRequest";
|
|
28216
27212
|
var _DE = "DataExport";
|
|
27213
|
+
var _DEH = "DefaultEventHold";
|
|
28217
27214
|
var _DIM = "DestinationIfMatch";
|
|
28218
27215
|
var _DIMS = "DestinationIfModifiedSince";
|
|
28219
27216
|
var _DINM = "DestinationIfNoneMatch";
|
|
@@ -28261,6 +27258,8 @@ var _ED = "ErrorDetails";
|
|
|
28261
27258
|
var _EDr = "ErrorDocument";
|
|
28262
27259
|
var _EE = "EndEvent";
|
|
28263
27260
|
var _EH = "ExposeHeaders";
|
|
27261
|
+
var _EHD = "EventHoldDuration";
|
|
27262
|
+
var _EHv = "EventHold";
|
|
28264
27263
|
var _EHx = "ExposeHeader";
|
|
28265
27264
|
var _EM = "ErrorMessage";
|
|
28266
27265
|
var _EODM = "ExpiredObjectDeleteMarker";
|
|
@@ -28605,6 +27604,9 @@ var _OL = "OutputLocation";
|
|
|
28605
27604
|
var _OLC = "ObjectLockConfiguration";
|
|
28606
27605
|
var _OLE = "ObjectLockEnabled";
|
|
28607
27606
|
var _OLEFB = "ObjectLockEnabledForBucket";
|
|
27607
|
+
var _OLEH = "ObjectLockEventHold";
|
|
27608
|
+
var _OLEHDD = "ObjectLockEventHoldDurationDays";
|
|
27609
|
+
var _OLEHDY = "ObjectLockEventHoldDurationYears";
|
|
28608
27610
|
var _OLLH = "ObjectLockLegalHold";
|
|
28609
27611
|
var _OLLHS = "ObjectLockLegalHoldStatus";
|
|
28610
27612
|
var _OLM = "ObjectLockMode";
|
|
@@ -29048,6 +28050,9 @@ var _xampc = "x-amz-mp-parts-count";
|
|
|
29048
28050
|
var _xaoa = "x-amz-object-attributes";
|
|
29049
28051
|
var _xaoad = "x-amz-object-annotation-directive";
|
|
29050
28052
|
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";
|
|
29051
28056
|
var _xaollh = "x-amz-object-lock-legal-hold";
|
|
29052
28057
|
var _xaolm = "x-amz-object-lock-mode";
|
|
29053
28058
|
var _xaolrud = "x-amz-object-lock-retain-until-date";
|
|
@@ -29540,8 +28545,8 @@ var CopyObjectRequest$ = [
|
|
|
29540
28545
|
n0,
|
|
29541
28546
|
_CORo,
|
|
29542
28547
|
0,
|
|
29543
|
-
[_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],
|
|
29544
|
-
[[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 }]],
|
|
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 }]],
|
|
29545
28550
|
3
|
|
29546
28551
|
];
|
|
29547
28552
|
var CopyObjectResult$ = [
|
|
@@ -29634,8 +28639,8 @@ var CreateMultipartUploadRequest$ = [
|
|
|
29634
28639
|
n0,
|
|
29635
28640
|
_CMURr,
|
|
29636
28641
|
0,
|
|
29637
|
-
[_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],
|
|
29638
|
-
[[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 }]],
|
|
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 }]],
|
|
29639
28644
|
2
|
|
29640
28645
|
];
|
|
29641
28646
|
var CreateSessionOutput$ = [
|
|
@@ -29677,8 +28682,8 @@ var DefaultRetention$ = [
|
|
|
29677
28682
|
n0,
|
|
29678
28683
|
_DRe,
|
|
29679
28684
|
0,
|
|
29680
|
-
[_Mo, _D, _Y],
|
|
29681
|
-
[0, 1, 1]
|
|
28685
|
+
[_Mo, _D, _Y, _DEH],
|
|
28686
|
+
[0, 1, 1, () => EventHoldDuration$]
|
|
29682
28687
|
];
|
|
29683
28688
|
var Delete$ = [
|
|
29684
28689
|
3,
|
|
@@ -30000,6 +29005,14 @@ var EventBridgeConfiguration$ = [
|
|
|
30000
29005
|
[],
|
|
30001
29006
|
[]
|
|
30002
29007
|
];
|
|
29008
|
+
var EventHoldDuration$ = [
|
|
29009
|
+
3,
|
|
29010
|
+
n0,
|
|
29011
|
+
_EHD,
|
|
29012
|
+
0,
|
|
29013
|
+
[_D, _Y],
|
|
29014
|
+
[1, 1]
|
|
29015
|
+
];
|
|
30003
29016
|
var ExistingObjectReplication$ = [
|
|
30004
29017
|
3,
|
|
30005
29018
|
n0,
|
|
@@ -30517,8 +29530,8 @@ var GetObjectOutput$ = [
|
|
|
30517
29530
|
n0,
|
|
30518
29531
|
_GOO,
|
|
30519
29532
|
0,
|
|
30520
|
-
[_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],
|
|
30521
|
-
[[() => 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 }]]
|
|
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 }]]
|
|
30522
29535
|
];
|
|
30523
29536
|
var GetObjectRequest$ = [
|
|
30524
29537
|
3,
|
|
@@ -30646,8 +29659,8 @@ var HeadObjectOutput$ = [
|
|
|
30646
29659
|
n0,
|
|
30647
29660
|
_HOO,
|
|
30648
29661
|
0,
|
|
30649
|
-
[_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],
|
|
30650
|
-
[[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 }]]
|
|
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 }]]
|
|
30651
29664
|
];
|
|
30652
29665
|
var HeadObjectRequest$ = [
|
|
30653
29666
|
3,
|
|
@@ -31249,8 +30262,8 @@ var ObjectLockRetention$ = [
|
|
|
31249
30262
|
n0,
|
|
31250
30263
|
_OLR,
|
|
31251
30264
|
0,
|
|
31252
|
-
[_Mo, _RUD],
|
|
31253
|
-
[0, 5]
|
|
30265
|
+
[_Mo, _RUD, _EHv, _EHD],
|
|
30266
|
+
[0, 5, 0, () => EventHoldDuration$]
|
|
31254
30267
|
];
|
|
31255
30268
|
var ObjectLockRule$ = [
|
|
31256
30269
|
3,
|
|
@@ -31634,8 +30647,8 @@ var PutObjectRequest$ = [
|
|
|
31634
30647
|
n0,
|
|
31635
30648
|
_POR,
|
|
31636
30649
|
0,
|
|
31637
|
-
[_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],
|
|
31638
|
-
[[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 }]],
|
|
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 }]],
|
|
31639
30652
|
2
|
|
31640
30653
|
];
|
|
31641
30654
|
var PutObjectRetentionOutput$ = [
|
|
@@ -33474,7 +32487,7 @@ class CreateSessionCommand extends command(_ep4, _mw0, "CreateSession", CreateSe
|
|
|
33474
32487
|
// node_modules/@aws-sdk/client-s3/package.json
|
|
33475
32488
|
var package_default2 = {
|
|
33476
32489
|
name: "@aws-sdk/client-s3",
|
|
33477
|
-
version: "3.
|
|
32490
|
+
version: "3.1136.0",
|
|
33478
32491
|
description: "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
33479
32492
|
homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
|
|
33480
32493
|
license: "Apache-2.0",
|
|
@@ -33528,10 +32541,10 @@ var package_default2 = {
|
|
|
33528
32541
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
33529
32542
|
},
|
|
33530
32543
|
dependencies: {
|
|
33531
|
-
"@aws-sdk/checksums": "^3.
|
|
33532
|
-
"@aws-sdk/core": "^3.
|
|
33533
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
33534
|
-
"@aws-sdk/middleware-sdk-s3": "^3.972.
|
|
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",
|
|
33535
32548
|
"@aws-sdk/signature-v4-multi-region": "^3.996.46",
|
|
33536
32549
|
"@aws-sdk/types": "^3.974.5",
|
|
33537
32550
|
"@smithy/core": "^3.33.3",
|
|
@@ -33541,7 +32554,7 @@ var package_default2 = {
|
|
|
33541
32554
|
tslib: "^2.6.2"
|
|
33542
32555
|
},
|
|
33543
32556
|
devDependencies: {
|
|
33544
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
32557
|
+
"@aws-sdk/signature-v4-crt": "3.1136.0",
|
|
33545
32558
|
"@smithy/snapshot-testing": "^2.3.2",
|
|
33546
32559
|
"@tsconfig/node20": "20.1.8",
|
|
33547
32560
|
"@types/node": "^20.14.8",
|