@mavogel/awscdk-rootmail 0.0.304 → 0.0.305
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 +3 -3
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/AssociateKmsKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateExportTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateLogGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeLogGroupsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutLogEventsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/StartLiveTailCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +21 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +7 -7
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-route-53/package.json +7 -7
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +20 -20
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +20 -20
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-s3/package.json +11 -11
- package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-ses/package.json +7 -7
- package/node_modules/@aws-sdk/client-ssm/README.md +16 -0
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +333 -71
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetAccessTokenCommand.js +23 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAccessRequestCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +24 -4
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +57 -27
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +50 -16
- package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +94 -6
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +14 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAccessTokenCommand.d.ts +94 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAccessRequestCommand.d.ts +105 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +31 -51
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +163 -348
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +413 -21
- package/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +34 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +12 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAccessRequestCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +20 -14
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +61 -58
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +81 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-ssm/package.json +7 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-sso/package.json +6 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +33 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +16 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +8 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/nested-clients/package.json +6 -6
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +3 -1
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +4 -4
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +22 -1
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +15 -0
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +5 -0
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@smithy/service-error-classification/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-retry/package.json +2 -2
- package/node_modules/cdk-nag/.jsii +3 -3
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/package.json +2 -2
- package/package.json +1 -1
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/HISTORY.md +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/LICENSE +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/README.md +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/db.json +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/index.js +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/package.json +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/HISTORY.md +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/LICENSE +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/README.md +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/index.js +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/package.json +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
2
|
+
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
3
|
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
5
5
|
import { Hash } from "@smithy/hash-node";
|
|
@@ -24,6 +24,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
...config,
|
|
25
25
|
runtime: "node",
|
|
26
26
|
defaultsMode,
|
|
27
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
27
28
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
29
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
30
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
@@ -6,6 +6,7 @@ import { SSOClientConfig } from "./SSOClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -37,7 +38,6 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
37
38
|
}) => import("@smithy/types").EndpointV2;
|
|
38
39
|
tls?: boolean | undefined;
|
|
39
40
|
serviceConfiguredEndpoint?: undefined;
|
|
40
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
41
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
42
42
|
schemeId: string;
|
|
43
43
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -5,6 +5,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
5
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
8
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
10
|
defaultUserAgentProvider: (
|
|
10
11
|
config?:
|
|
@@ -64,10 +65,6 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
64
65
|
) => import("@smithy/types").EndpointV2;
|
|
65
66
|
tls?: boolean | undefined;
|
|
66
67
|
serviceConfiguredEndpoint?: undefined;
|
|
67
|
-
authSchemePreference?:
|
|
68
|
-
| string[]
|
|
69
|
-
| import("@smithy/types").Provider<string[]>
|
|
70
|
-
| undefined;
|
|
71
68
|
httpAuthSchemes:
|
|
72
69
|
| import("@smithy/types").HttpAuthScheme[]
|
|
73
70
|
| (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.803.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
23
|
+
"@aws-sdk/core": "3.799.0",
|
|
24
24
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
25
25
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.799.0",
|
|
28
28
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
29
29
|
"@aws-sdk/types": "3.775.0",
|
|
30
30
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
31
31
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.799.0",
|
|
33
33
|
"@smithy/config-resolver": "^4.1.0",
|
|
34
34
|
"@smithy/core": "^3.3.0",
|
|
35
35
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@smithy/invalid-dependency": "^4.0.2",
|
|
38
38
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
39
39
|
"@smithy/middleware-endpoint": "^4.1.1",
|
|
40
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-retry": "^4.1.2",
|
|
41
41
|
"@smithy/middleware-serde": "^4.0.3",
|
|
42
42
|
"@smithy/middleware-stack": "^4.0.2",
|
|
43
43
|
"@smithy/node-config-provider": "^4.0.2",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@smithy/util-defaults-mode-node": "^4.0.9",
|
|
54
54
|
"@smithy/util-endpoints": "^3.0.2",
|
|
55
55
|
"@smithy/util-middleware": "^4.0.2",
|
|
56
|
-
"@smithy/util-retry": "^4.0.
|
|
56
|
+
"@smithy/util-retry": "^4.0.3",
|
|
57
57
|
"@smithy/util-utf8": "^4.0.0",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|
|
@@ -24,6 +24,7 @@ __export(index_exports, {
|
|
|
24
24
|
AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,
|
|
25
25
|
AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,
|
|
26
26
|
AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,
|
|
27
|
+
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: () => NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
27
28
|
NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS,
|
|
28
29
|
resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,
|
|
29
30
|
resolveAwsSdkSigV4AConfig: () => resolveAwsSdkSigV4AConfig,
|
|
@@ -159,6 +160,37 @@ var AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {
|
|
|
159
160
|
}
|
|
160
161
|
};
|
|
161
162
|
|
|
163
|
+
// src/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.ts
|
|
164
|
+
var getArrayForCommaSeparatedString = /* @__PURE__ */ __name((str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : [], "getArrayForCommaSeparatedString");
|
|
165
|
+
|
|
166
|
+
// src/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.ts
|
|
167
|
+
var NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE";
|
|
168
|
+
var NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference";
|
|
169
|
+
var NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
|
170
|
+
/**
|
|
171
|
+
* Retrieves auth scheme preference from environment variables
|
|
172
|
+
* @param env - Node process environment object
|
|
173
|
+
* @returns Array of auth scheme strings if preference is set, undefined otherwise
|
|
174
|
+
*/
|
|
175
|
+
environmentVariableSelector: /* @__PURE__ */ __name((env) => {
|
|
176
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) return void 0;
|
|
177
|
+
return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);
|
|
178
|
+
}, "environmentVariableSelector"),
|
|
179
|
+
/**
|
|
180
|
+
* Retrieves auth scheme preference from config file
|
|
181
|
+
* @param profile - Config profile object
|
|
182
|
+
* @returns Array of auth scheme strings if preference is set, undefined otherwise
|
|
183
|
+
*/
|
|
184
|
+
configFileSelector: /* @__PURE__ */ __name((profile) => {
|
|
185
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) return void 0;
|
|
186
|
+
return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);
|
|
187
|
+
}, "configFileSelector"),
|
|
188
|
+
/**
|
|
189
|
+
* Default auth scheme preference if not specified in environment or config
|
|
190
|
+
*/
|
|
191
|
+
default: []
|
|
192
|
+
};
|
|
193
|
+
|
|
162
194
|
// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts
|
|
163
195
|
var import_core = require("@smithy/core");
|
|
164
196
|
var import_property_provider = require("@smithy/property-provider");
|
|
@@ -341,6 +373,7 @@ __name(bindCallerConfig, "bindCallerConfig");
|
|
|
341
373
|
AWSSDKSigV4Signer,
|
|
342
374
|
AwsSdkSigV4ASigner,
|
|
343
375
|
AwsSdkSigV4Signer,
|
|
376
|
+
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
344
377
|
NODE_SIGV4A_CONFIG_OPTIONS,
|
|
345
378
|
resolveAWSSDKSigV4Config,
|
|
346
379
|
resolveAwsSdkSigV4AConfig,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getArrayForCommaSeparatedString } from "../utils/getArrayForCommaSeparatedString";
|
|
2
|
+
const NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE";
|
|
3
|
+
const NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference";
|
|
4
|
+
export const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
|
5
|
+
environmentVariableSelector: (env) => {
|
|
6
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env))
|
|
7
|
+
return undefined;
|
|
8
|
+
return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);
|
|
9
|
+
},
|
|
10
|
+
configFileSelector: (profile) => {
|
|
11
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile))
|
|
12
|
+
return undefined;
|
|
13
|
+
return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);
|
|
14
|
+
},
|
|
15
|
+
default: [],
|
|
16
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { AwsSdkSigV4Signer, AWSSDKSigV4Signer, validateSigningProperties } from "./AwsSdkSigV4Signer";
|
|
2
2
|
export { AwsSdkSigV4ASigner } from "./AwsSdkSigV4ASigner";
|
|
3
|
+
export * from "./NODE_AUTH_SCHEME_PREFERENCE_OPTIONS";
|
|
3
4
|
export * from "./resolveAwsSdkSigV4AConfig";
|
|
4
5
|
export * from "./resolveAwsSdkSigV4Config";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const getArrayForCommaSeparatedString = (str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : [];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { AwsSdkSigV4Signer, AWSSDKSigV4Signer, validateSigningProperties } from "./AwsSdkSigV4Signer";
|
|
2
2
|
export { AwsSdkSigV4ASigner } from "./AwsSdkSigV4ASigner";
|
|
3
|
+
export * from "./NODE_AUTH_SCHEME_PREFERENCE_OPTIONS";
|
|
3
4
|
export * from "./resolveAwsSdkSigV4AConfig";
|
|
4
5
|
export * from "./resolveAwsSdkSigV4Config";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a comma-separated string into an array of trimmed strings
|
|
3
|
+
* @param str The comma-separated input string to split
|
|
4
|
+
* @returns Array of trimmed strings split from the input
|
|
5
|
+
*
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare const getArrayForCommaSeparatedString: (str: string) => string[];
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts
CHANGED
|
@@ -4,5 +4,6 @@ export {
|
|
|
4
4
|
validateSigningProperties,
|
|
5
5
|
} from "./AwsSdkSigV4Signer";
|
|
6
6
|
export { AwsSdkSigV4ASigner } from "./AwsSdkSigV4ASigner";
|
|
7
|
+
export * from "./NODE_AUTH_SCHEME_PREFERENCE_OPTIONS";
|
|
7
8
|
export * from "./resolveAwsSdkSigV4AConfig";
|
|
8
9
|
export * from "./resolveAwsSdkSigV4Config";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getArrayForCommaSeparatedString: (str: string) => string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.799.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
28
|
+
"@aws-sdk/core": "3.799.0",
|
|
29
29
|
"@aws-sdk/types": "3.775.0",
|
|
30
30
|
"@smithy/property-provider": "^4.0.2",
|
|
31
31
|
"@smithy/types": "^4.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.799.0",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
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/core": "3.
|
|
30
|
+
"@aws-sdk/core": "3.799.0",
|
|
31
31
|
"@aws-sdk/types": "3.775.0",
|
|
32
32
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
33
33
|
"@smithy/node-http-handler": "^4.0.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.803.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
36
|
-
"@aws-sdk/nested-clients": "3.
|
|
30
|
+
"@aws-sdk/core": "3.799.0",
|
|
31
|
+
"@aws-sdk/credential-provider-env": "3.799.0",
|
|
32
|
+
"@aws-sdk/credential-provider-http": "3.799.0",
|
|
33
|
+
"@aws-sdk/credential-provider-process": "3.799.0",
|
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.803.0",
|
|
35
|
+
"@aws-sdk/credential-provider-web-identity": "3.803.0",
|
|
36
|
+
"@aws-sdk/nested-clients": "3.803.0",
|
|
37
37
|
"@aws-sdk/types": "3.775.0",
|
|
38
38
|
"@smithy/credential-provider-imds": "^4.0.2",
|
|
39
39
|
"@smithy/property-provider": "^4.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.803.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
32
|
+
"@aws-sdk/credential-provider-env": "3.799.0",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "3.799.0",
|
|
34
|
+
"@aws-sdk/credential-provider-ini": "3.803.0",
|
|
35
|
+
"@aws-sdk/credential-provider-process": "3.799.0",
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.803.0",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.803.0",
|
|
38
38
|
"@aws-sdk/types": "3.775.0",
|
|
39
39
|
"@smithy/credential-provider-imds": "^4.0.2",
|
|
40
40
|
"@smithy/property-provider": "^4.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.799.0",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
28
|
+
"@aws-sdk/core": "3.799.0",
|
|
29
29
|
"@aws-sdk/types": "3.775.0",
|
|
30
30
|
"@smithy/property-provider": "^4.0.2",
|
|
31
31
|
"@smithy/shared-ini-file-loader": "^4.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.803.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/client-sso": "3.
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
28
|
+
"@aws-sdk/client-sso": "3.803.0",
|
|
29
|
+
"@aws-sdk/core": "3.799.0",
|
|
30
|
+
"@aws-sdk/token-providers": "3.803.0",
|
|
31
31
|
"@aws-sdk/types": "3.775.0",
|
|
32
32
|
"@smithy/property-provider": "^4.0.2",
|
|
33
33
|
"@smithy/shared-ini-file-loader": "^4.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.803.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/nested-clients": "3.
|
|
36
|
+
"@aws-sdk/core": "3.799.0",
|
|
37
|
+
"@aws-sdk/nested-clients": "3.803.0",
|
|
38
38
|
"@aws-sdk/types": "3.775.0",
|
|
39
39
|
"@smithy/property-provider": "^4.0.2",
|
|
40
40
|
"@smithy/types": "^4.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-flexible-checksums",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.799.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,7 +36,7 @@
|
|
|
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.
|
|
39
|
+
"@aws-sdk/core": "3.799.0",
|
|
40
40
|
"@aws-sdk/types": "3.775.0",
|
|
41
41
|
"@smithy/is-array-buffer": "^4.0.0",
|
|
42
42
|
"@smithy/node-config-provider": "^4.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-s3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.799.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,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
30
|
+
"@aws-sdk/core": "3.799.0",
|
|
31
31
|
"@aws-sdk/types": "3.775.0",
|
|
32
32
|
"@aws-sdk/util-arn-parser": "3.723.0",
|
|
33
33
|
"@smithy/core": "^3.3.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.799.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,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
27
|
+
"@aws-sdk/core": "3.799.0",
|
|
28
28
|
"@aws-sdk/types": "3.775.0",
|
|
29
29
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
30
30
|
"@smithy/core": "^3.3.0",
|
|
@@ -28,6 +28,7 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
...config,
|
|
29
29
|
runtime: "node",
|
|
30
30
|
defaultsMode,
|
|
31
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
31
32
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
32
33
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
33
34
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -29,6 +29,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
...config,
|
|
30
30
|
runtime: "node",
|
|
31
31
|
defaultsMode,
|
|
32
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
32
33
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
33
34
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
35
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../../../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
2
|
+
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
3
|
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
5
5
|
import { Hash } from "@smithy/hash-node";
|
|
@@ -24,6 +24,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
...config,
|
|
25
25
|
runtime: "node",
|
|
26
26
|
defaultsMode,
|
|
27
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
27
28
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
29
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
30
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../../../package.json";
|
|
2
|
-
import { AwsSdkSigV4Signer, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
2
|
+
import { AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion, } from "@aws-sdk/core";
|
|
3
3
|
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
5
5
|
import { NoAuthSigner } from "@smithy/core";
|
|
@@ -25,6 +25,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
25
25
|
...config,
|
|
26
26
|
runtime: "node",
|
|
27
27
|
defaultsMode,
|
|
28
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
28
29
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
31
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -37,7 +38,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
37
38
|
}) => import("@smithy/types").EndpointV2;
|
|
38
39
|
tls?: boolean | undefined;
|
|
39
40
|
serviceConfiguredEndpoint?: undefined;
|
|
40
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
41
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
42
42
|
schemeId: string;
|
|
43
43
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -8,6 +8,7 @@ import { STSClientConfig } from "./STSClient";
|
|
|
8
8
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
9
9
|
runtime: string;
|
|
10
10
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
11
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
13
14
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
|
|
@@ -45,7 +46,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
45
46
|
} | undefined) => import("@smithy/types").EndpointV2;
|
|
46
47
|
tls?: boolean | undefined;
|
|
47
48
|
serviceConfiguredEndpoint?: undefined;
|
|
48
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
49
49
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
50
50
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
51
51
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
5
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
8
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
10
|
defaultUserAgentProvider: (
|
|
10
11
|
config?:
|
|
@@ -64,10 +65,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
64
65
|
) => import("@smithy/types").EndpointV2;
|
|
65
66
|
tls?: boolean | undefined;
|
|
66
67
|
serviceConfiguredEndpoint?: undefined;
|
|
67
|
-
authSchemePreference?:
|
|
68
|
-
| string[]
|
|
69
|
-
| import("@smithy/types").Provider<string[]>
|
|
70
|
-
| undefined;
|
|
71
68
|
httpAuthSchemes:
|
|
72
69
|
| import("@smithy/types").HttpAuthScheme[]
|
|
73
70
|
| (
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
7
7
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
12
|
defaultUserAgentProvider: (
|
|
12
13
|
config?:
|
|
@@ -84,10 +85,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
84
85
|
) => import("@smithy/types").EndpointV2;
|
|
85
86
|
tls?: boolean | undefined;
|
|
86
87
|
serviceConfiguredEndpoint?: undefined;
|
|
87
|
-
authSchemePreference?:
|
|
88
|
-
| string[]
|
|
89
|
-
| import("@smithy/types").Provider<string[]>
|
|
90
|
-
| undefined;
|
|
91
88
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
92
89
|
credentials?:
|
|
93
90
|
| import("@smithy/types").AwsCredentialIdentity
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.803.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
31
|
+
"@aws-sdk/core": "3.799.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.799.0",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
37
37
|
"@aws-sdk/types": "3.775.0",
|
|
38
38
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.799.0",
|
|
41
41
|
"@smithy/config-resolver": "^4.1.0",
|
|
42
42
|
"@smithy/core": "^3.3.0",
|
|
43
43
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@smithy/invalid-dependency": "^4.0.2",
|
|
46
46
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
47
47
|
"@smithy/middleware-endpoint": "^4.1.1",
|
|
48
|
-
"@smithy/middleware-retry": "^4.1.
|
|
48
|
+
"@smithy/middleware-retry": "^4.1.2",
|
|
49
49
|
"@smithy/middleware-serde": "^4.0.3",
|
|
50
50
|
"@smithy/middleware-stack": "^4.0.2",
|
|
51
51
|
"@smithy/node-config-provider": "^4.0.2",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@smithy/util-defaults-mode-node": "^4.0.9",
|
|
62
62
|
"@smithy/util-endpoints": "^3.0.2",
|
|
63
63
|
"@smithy/util-middleware": "^4.0.2",
|
|
64
|
-
"@smithy/util-retry": "^4.0.
|
|
64
|
+
"@smithy/util-retry": "^4.0.3",
|
|
65
65
|
"@smithy/util-utf8": "^4.0.0",
|
|
66
66
|
"tslib": "^2.6.2"
|
|
67
67
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.803.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",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
27
|
+
"@aws-sdk/middleware-sdk-s3": "3.799.0",
|
|
28
28
|
"@aws-sdk/types": "3.775.0",
|
|
29
29
|
"@smithy/protocol-http": "^5.1.0",
|
|
30
30
|
"@smithy/signature-v4": "^5.1.0",
|