@mavogel/awscdk-rootmail 0.0.237 → 0.0.239
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/.jsii +8 -8
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +14 -14
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +18 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/package.json +15 -15
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +23 -46
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +16 -11
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +16 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +18 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/package.json +22 -22
- package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-ses/dist-types/SESClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/SESClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/package.json +14 -14
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +14 -14
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +13 -13
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/package.json +13 -13
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +11 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +10 -9
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +30 -14
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +11 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +13 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +4 -7
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -10
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +5 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +5 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +5 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +17 -8
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js +16 -7
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts +12 -7
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsMiddleware.d.ts +4 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-ssec/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +11 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +11 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +5 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -1
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +37 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +12 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/package.json +10 -10
package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
1
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
CredentialProviderOptions,
|
|
3
|
+
RuntimeConfigAwsCredentialIdentityProvider,
|
|
4
|
+
} from "@aws-sdk/types";
|
|
5
|
+
import { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
7
6
|
export interface AssumeRoleWithWebIdentityParams {
|
|
8
7
|
RoleArn: string;
|
|
9
8
|
RoleSessionName: string;
|
|
@@ -36,5 +35,5 @@ export interface FromWebTokenInit
|
|
|
36
35
|
}
|
|
37
36
|
export declare const fromWebToken: (
|
|
38
37
|
init: FromWebTokenInit
|
|
39
|
-
) =>
|
|
38
|
+
) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
40
39
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@aws-sdk/core": "3.
|
|
37
|
-
"@aws-sdk/types": "3.
|
|
36
|
+
"@aws-sdk/core": "3.714.0",
|
|
37
|
+
"@aws-sdk/types": "3.714.0",
|
|
38
38
|
"@smithy/property-provider": "^3.1.11",
|
|
39
39
|
"@smithy/types": "^3.7.2",
|
|
40
40
|
"tslib": "^2.6.2"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"typescript": "~4.9.5"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@aws-sdk/client-sts": "^3.
|
|
51
|
+
"@aws-sdk/client-sts": "^3.714.0"
|
|
52
52
|
},
|
|
53
53
|
"types": "./dist-types/index.d.ts",
|
|
54
54
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-bucket-endpoint",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-bucket-endpoint",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/types": "3.714.0",
|
|
26
26
|
"@aws-sdk/util-arn-parser": "3.693.0",
|
|
27
27
|
"@smithy/node-config-provider": "^3.1.12",
|
|
28
28
|
"@smithy/protocol-http": "^4.1.8",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-expect-continue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-expect-continue",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.714.0",
|
|
27
27
|
"@smithy/protocol-http": "^4.1.8",
|
|
28
28
|
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -176,13 +176,22 @@ var isStreaming = /* @__PURE__ */ __name((body) => body !== void 0 && typeof bod
|
|
|
176
176
|
// src/selectChecksumAlgorithmFunction.ts
|
|
177
177
|
var import_crc32c = require("@aws-crypto/crc32c");
|
|
178
178
|
var import_getCrc32ChecksumAlgorithmFunction = require("././getCrc32ChecksumAlgorithmFunction");
|
|
179
|
-
var selectChecksumAlgorithmFunction = /* @__PURE__ */ __name((checksumAlgorithm, config) =>
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
179
|
+
var selectChecksumAlgorithmFunction = /* @__PURE__ */ __name((checksumAlgorithm, config) => {
|
|
180
|
+
switch (checksumAlgorithm) {
|
|
181
|
+
case "MD5" /* MD5 */:
|
|
182
|
+
return config.md5;
|
|
183
|
+
case "CRC32" /* CRC32 */:
|
|
184
|
+
return (0, import_getCrc32ChecksumAlgorithmFunction.getCrc32ChecksumAlgorithmFunction)();
|
|
185
|
+
case "CRC32C" /* CRC32C */:
|
|
186
|
+
return import_crc32c.AwsCrc32c;
|
|
187
|
+
case "SHA1" /* SHA1 */:
|
|
188
|
+
return config.sha1;
|
|
189
|
+
case "SHA256" /* SHA256 */:
|
|
190
|
+
return config.sha256;
|
|
191
|
+
default:
|
|
192
|
+
throw new Error(`Unsupported checksum algorithm: ${checksumAlgorithm}`);
|
|
193
|
+
}
|
|
194
|
+
}, "selectChecksumAlgorithmFunction");
|
|
186
195
|
|
|
187
196
|
// src/stringHasher.ts
|
|
188
197
|
var import_util_utf8 = require("@smithy/util-utf8");
|
|
@@ -211,7 +220,7 @@ var flexibleChecksumsMiddleware = /* @__PURE__ */ __name((config, middlewareConf
|
|
|
211
220
|
input,
|
|
212
221
|
{
|
|
213
222
|
requestChecksumRequired,
|
|
214
|
-
requestAlgorithmMember
|
|
223
|
+
requestAlgorithmMember: requestAlgorithmMember == null ? void 0 : requestAlgorithmMember.name
|
|
215
224
|
},
|
|
216
225
|
!!context.isS3ExpressBucket
|
|
217
226
|
);
|
package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js
CHANGED
|
@@ -23,7 +23,7 @@ export const flexibleChecksumsMiddleware = (config, middlewareConfig) => (next,
|
|
|
23
23
|
const { requestChecksumRequired, requestAlgorithmMember } = middlewareConfig;
|
|
24
24
|
const checksumAlgorithm = getChecksumAlgorithmForRequest(input, {
|
|
25
25
|
requestChecksumRequired,
|
|
26
|
-
requestAlgorithmMember,
|
|
26
|
+
requestAlgorithmMember: requestAlgorithmMember?.name,
|
|
27
27
|
}, !!context.isS3ExpressBucket);
|
|
28
28
|
let updatedBody = requestBody;
|
|
29
29
|
let updatedHeaders = headers;
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { AwsCrc32c } from "@aws-crypto/crc32c";
|
|
2
2
|
import { ChecksumAlgorithm } from "./constants";
|
|
3
3
|
import { getCrc32ChecksumAlgorithmFunction } from "./getCrc32ChecksumAlgorithmFunction";
|
|
4
|
-
export const selectChecksumAlgorithmFunction = (checksumAlgorithm, config) =>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
export const selectChecksumAlgorithmFunction = (checksumAlgorithm, config) => {
|
|
5
|
+
switch (checksumAlgorithm) {
|
|
6
|
+
case ChecksumAlgorithm.MD5:
|
|
7
|
+
return config.md5;
|
|
8
|
+
case ChecksumAlgorithm.CRC32:
|
|
9
|
+
return getCrc32ChecksumAlgorithmFunction();
|
|
10
|
+
case ChecksumAlgorithm.CRC32C:
|
|
11
|
+
return AwsCrc32c;
|
|
12
|
+
case ChecksumAlgorithm.SHA1:
|
|
13
|
+
return config.sha1;
|
|
14
|
+
case ChecksumAlgorithm.SHA256:
|
|
15
|
+
return config.sha256;
|
|
16
|
+
default:
|
|
17
|
+
throw new Error(`Unsupported checksum algorithm: ${checksumAlgorithm}`);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
@@ -7,14 +7,19 @@ export interface FlexibleChecksumsRequestMiddlewareConfig {
|
|
|
7
7
|
*/
|
|
8
8
|
requestChecksumRequired: boolean;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Member that is used to configure request checksum behavior.
|
|
11
11
|
*/
|
|
12
|
-
requestAlgorithmMember?:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
requestAlgorithmMember?: {
|
|
13
|
+
/**
|
|
14
|
+
* Defines a top-level operation input member that is used to configure request checksum behavior.
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* The {@link httpHeader} value, if present.
|
|
19
|
+
* {@link https://smithy.io/2.0/spec/http-bindings.html#httpheader-trait httpHeader}
|
|
20
|
+
*/
|
|
21
|
+
httpHeader?: string;
|
|
22
|
+
};
|
|
18
23
|
}
|
|
19
24
|
export declare const flexibleChecksumsMiddlewareOptions: BuildHandlerOptions;
|
|
20
25
|
/**
|
|
@@ -2,8 +2,10 @@ import { BuildHandlerOptions, BuildMiddleware } from "@smithy/types";
|
|
|
2
2
|
import { PreviouslyResolved } from "./configuration";
|
|
3
3
|
export interface FlexibleChecksumsRequestMiddlewareConfig {
|
|
4
4
|
requestChecksumRequired: boolean;
|
|
5
|
-
requestAlgorithmMember?:
|
|
6
|
-
|
|
5
|
+
requestAlgorithmMember?: {
|
|
6
|
+
name: string;
|
|
7
|
+
httpHeader?: string;
|
|
8
|
+
};
|
|
7
9
|
}
|
|
8
10
|
export declare const flexibleChecksumsMiddlewareOptions: BuildHandlerOptions;
|
|
9
11
|
export declare const flexibleChecksumsMiddleware: (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-flexible-checksums",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-flexible-checksums",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"@aws-crypto/crc32": "5.2.0",
|
|
37
37
|
"@aws-crypto/crc32c": "5.2.0",
|
|
38
38
|
"@aws-crypto/util": "5.2.0",
|
|
39
|
-
"@aws-sdk/core": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
39
|
+
"@aws-sdk/core": "3.714.0",
|
|
40
|
+
"@aws-sdk/types": "3.714.0",
|
|
41
41
|
"@smithy/is-array-buffer": "^3.0.0",
|
|
42
42
|
"@smithy/node-config-provider": "^3.1.12",
|
|
43
43
|
"@smithy/protocol-http": "^4.1.8",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.714.0",
|
|
27
27
|
"@smithy/protocol-http": "^4.1.8",
|
|
28
28
|
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-location-constraint",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-location-constraint",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.714.0",
|
|
27
27
|
"@smithy/types": "^3.7.2",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-logger",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"module": "./dist-es/index.js",
|
|
25
25
|
"types": "./dist-types/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.714.0",
|
|
28
28
|
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.714.0",
|
|
27
27
|
"@smithy/protocol-http": "^4.1.8",
|
|
28
28
|
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-route53",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-sdk-route53",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.714.0",
|
|
27
27
|
"@smithy/types": "^3.7.2",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-s3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/core": "3.714.0",
|
|
31
|
+
"@aws-sdk/types": "3.714.0",
|
|
32
32
|
"@aws-sdk/util-arn-parser": "3.693.0",
|
|
33
33
|
"@smithy/core": "^2.5.5",
|
|
34
34
|
"@smithy/node-config-provider": "^3.1.12",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-ssec",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-ssec",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.714.0",
|
|
27
27
|
"@smithy/types": "^3.7.2",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
|
27
|
+
"@aws-sdk/core": "3.714.0",
|
|
28
|
+
"@aws-sdk/types": "3.714.0",
|
|
29
|
+
"@aws-sdk/util-endpoints": "3.714.0",
|
|
30
30
|
"@smithy/core": "^2.5.5",
|
|
31
31
|
"@smithy/protocol-http": "^4.1.8",
|
|
32
32
|
"@smithy/types": "^3.7.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/types": "3.714.0",
|
|
26
26
|
"@smithy/node-config-provider": "^3.1.12",
|
|
27
27
|
"@smithy/types": "^3.7.2",
|
|
28
28
|
"@smithy/util-config-provider": "^3.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline signature-v4-multi-region",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/middleware-sdk-s3": "3.714.0",
|
|
25
|
+
"@aws-sdk/types": "3.714.0",
|
|
26
26
|
"@smithy/protocol-http": "^4.1.8",
|
|
27
27
|
"@smithy/signature-v4": "^4.2.4",
|
|
28
28
|
"@smithy/types": "^3.7.2",
|
|
@@ -103,11 +103,20 @@ var writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {
|
|
|
103
103
|
|
|
104
104
|
// src/fromSso.ts
|
|
105
105
|
var lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);
|
|
106
|
-
var fromSso = /* @__PURE__ */ __name((
|
|
106
|
+
var fromSso = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {
|
|
107
107
|
var _a;
|
|
108
|
+
const init = {
|
|
109
|
+
..._init,
|
|
110
|
+
parentClientConfig: {
|
|
111
|
+
...callerClientConfig,
|
|
112
|
+
..._init.parentClientConfig
|
|
113
|
+
}
|
|
114
|
+
};
|
|
108
115
|
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/token-providers - fromSso");
|
|
109
116
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
|
110
|
-
const profileName = (0, import_shared_ini_file_loader.getProfileName)(
|
|
117
|
+
const profileName = (0, import_shared_ini_file_loader.getProfileName)({
|
|
118
|
+
profile: init.profile ?? (callerClientConfig == null ? void 0 : callerClientConfig.profile)
|
|
119
|
+
});
|
|
111
120
|
const profile = profiles[profileName];
|
|
112
121
|
if (!profile) {
|
|
113
122
|
throw new import_property_provider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);
|
|
@@ -6,10 +6,19 @@ import { validateTokenExpiry } from "./validateTokenExpiry";
|
|
|
6
6
|
import { validateTokenKey } from "./validateTokenKey";
|
|
7
7
|
import { writeSSOTokenToFile } from "./writeSSOTokenToFile";
|
|
8
8
|
const lastRefreshAttemptTime = new Date(0);
|
|
9
|
-
export const fromSso = (
|
|
9
|
+
export const fromSso = (_init = {}) => async ({ callerClientConfig } = {}) => {
|
|
10
|
+
const init = {
|
|
11
|
+
..._init,
|
|
12
|
+
parentClientConfig: {
|
|
13
|
+
...callerClientConfig,
|
|
14
|
+
..._init.parentClientConfig,
|
|
15
|
+
},
|
|
16
|
+
};
|
|
10
17
|
init.logger?.debug("@aws-sdk/token-providers - fromSso");
|
|
11
18
|
const profiles = await parseKnownFiles(init);
|
|
12
|
-
const profileName = getProfileName(
|
|
19
|
+
const profileName = getProfileName({
|
|
20
|
+
profile: init.profile ?? callerClientConfig?.profile,
|
|
21
|
+
});
|
|
13
22
|
const profile = profiles[profileName];
|
|
14
23
|
if (!profile) {
|
|
15
24
|
throw new TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CredentialProviderOptions,
|
|
1
|
+
import { CredentialProviderOptions, RuntimeConfigIdentityProvider, TokenIdentity } from "@aws-sdk/types";
|
|
2
2
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
3
3
|
export interface FromSsoInit extends SourceProfileInit, CredentialProviderOptions {
|
|
4
4
|
/**
|
|
@@ -9,4 +9,4 @@ export interface FromSsoInit extends SourceProfileInit, CredentialProviderOption
|
|
|
9
9
|
/**
|
|
10
10
|
* Creates a token provider that will read from SSO token cache or ssoOidc.createToken() call.
|
|
11
11
|
*/
|
|
12
|
-
export declare const fromSso: (
|
|
12
|
+
export declare const fromSso: (_init?: FromSsoInit) => RuntimeConfigIdentityProvider<TokenIdentity>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CredentialProviderOptions,
|
|
3
|
-
|
|
3
|
+
RuntimeConfigIdentityProvider,
|
|
4
|
+
TokenIdentity,
|
|
4
5
|
} from "@aws-sdk/types";
|
|
5
6
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
6
7
|
export interface FromSsoInit
|
|
@@ -8,4 +9,6 @@ export interface FromSsoInit
|
|
|
8
9
|
CredentialProviderOptions {
|
|
9
10
|
clientConfig?: any;
|
|
10
11
|
}
|
|
11
|
-
export declare const fromSso: (
|
|
12
|
+
export declare const fromSso: (
|
|
13
|
+
_init?: FromSsoInit
|
|
14
|
+
) => RuntimeConfigIdentityProvider<TokenIdentity>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/types": "3.714.0",
|
|
31
31
|
"@smithy/property-provider": "^3.1.11",
|
|
32
32
|
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
33
33
|
"@smithy/types": "^3.7.2",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "~4.9.5"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@aws-sdk/client-sso-oidc": "^3.
|
|
45
|
+
"@aws-sdk/client-sso-oidc": "^3.714.0"
|
|
46
46
|
},
|
|
47
47
|
"types": "./dist-types/index.d.ts",
|
|
48
48
|
"engines": {
|
|
@@ -100,7 +100,6 @@ __export(src_exports, {
|
|
|
100
100
|
HttpRequest: () => import_types.HttpRequest,
|
|
101
101
|
HttpResponse: () => import_types.HttpResponse,
|
|
102
102
|
Identity: () => import_types.Identity,
|
|
103
|
-
IdentityProvider: () => import_types.IdentityProvider,
|
|
104
103
|
IniSection: () => import_types.IniSection,
|
|
105
104
|
InitializeHandler: () => import_types.InitializeHandler,
|
|
106
105
|
InitializeHandlerArguments: () => import_types.InitializeHandlerArguments,
|
|
@@ -1,6 +1,42 @@
|
|
|
1
1
|
import type { AwsCredentialIdentity } from "@smithy/types";
|
|
2
2
|
import type { AwsSdkCredentialsFeatures } from "../feature-ids";
|
|
3
|
-
export { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
3
|
+
export { AwsCredentialIdentity, AwsCredentialIdentityProvider, IdentityProvider } from "@smithy/types";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface AwsIdentityProperties {
|
|
8
|
+
callerClientConfig?: {
|
|
9
|
+
region(): Promise<string>;
|
|
10
|
+
profile?: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* Variation of {@link IdentityProvider} which accepts a contextual
|
|
17
|
+
* client configuration that includes an AWS region and potentially other
|
|
18
|
+
* configurable fields.
|
|
19
|
+
*
|
|
20
|
+
* Used to link a credential provider to a client if it is being called
|
|
21
|
+
* in the context of a client.
|
|
22
|
+
*/
|
|
23
|
+
export type RuntimeConfigIdentityProvider<T> = (awsIdentityProperties?: AwsIdentityProperties) => Promise<T>;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*
|
|
27
|
+
* Variation of {@link AwsCredentialIdentityProvider} which accepts a contextual
|
|
28
|
+
* client configuration that includes an AWS region and potentially other
|
|
29
|
+
* configurable fields.
|
|
30
|
+
*
|
|
31
|
+
* Used to link a credential provider to a client if it is being called
|
|
32
|
+
* in the context of a client.
|
|
33
|
+
*/
|
|
34
|
+
export type RuntimeConfigAwsCredentialIdentityProvider = RuntimeConfigIdentityProvider<AwsCredentialIdentity>;
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*
|
|
38
|
+
* AwsCredentialIdentity with source attribution metadata.
|
|
39
|
+
*/
|
|
4
40
|
export type AttributedAwsCredentialIdentity = AwsCredentialIdentity & {
|
|
5
41
|
$source?: AwsSdkCredentialsFeatures;
|
|
6
42
|
};
|
|
@@ -3,7 +3,19 @@ import { AwsSdkCredentialsFeatures } from "../feature-ids";
|
|
|
3
3
|
export {
|
|
4
4
|
AwsCredentialIdentity,
|
|
5
5
|
AwsCredentialIdentityProvider,
|
|
6
|
+
IdentityProvider,
|
|
6
7
|
} from "@smithy/types";
|
|
8
|
+
export interface AwsIdentityProperties {
|
|
9
|
+
callerClientConfig?: {
|
|
10
|
+
region(): Promise<string>;
|
|
11
|
+
profile?: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export type RuntimeConfigIdentityProvider<T> = (
|
|
15
|
+
awsIdentityProperties?: AwsIdentityProperties
|
|
16
|
+
) => Promise<T>;
|
|
17
|
+
export type RuntimeConfigAwsCredentialIdentityProvider =
|
|
18
|
+
RuntimeConfigIdentityProvider<AwsCredentialIdentity>;
|
|
7
19
|
export type AttributedAwsCredentialIdentity = AwsCredentialIdentity & {
|
|
8
20
|
$source?: AwsSdkCredentialsFeatures;
|
|
9
21
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.714.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.714.0",
|
|
28
28
|
"@smithy/types": "^3.7.2",
|
|
29
29
|
"@smithy/util-endpoints": "^2.1.7",
|
|
30
30
|
"tslib": "^2.6.2"
|