@cdk8s/awscdk-resolver 0.0.270 → 0.0.272
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/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +10 -11
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +108 -18
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +91 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +10 -11
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +10 -11
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateOrganizationsAccessCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateTypeCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CancelUpdateStackCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateChangeSetCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateGeneratedTemplateCommand.d.ts +12 -12
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackRefactorCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackSetCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateOrganizationsAccessCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateTypeCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteChangeSetCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteGeneratedTemplateCommand.d.ts +7 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackSetCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeregisterTypeCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +1 -32
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeOrganizationsAccessCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribePublisherCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeResourceScanCommand.d.ts +8 -97
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackDriftDetectionStatusCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackInstanceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackRefactorCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourcesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetOperationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStacksCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeRegistrationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackDriftCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackResourceDriftCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackSetDriftCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/EstimateTemplateCostCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ExecuteChangeSetCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ExecuteStackRefactorCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetGeneratedTemplateCommand.d.ts +47 -12
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetStackPolicyCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateSummaryCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ImportStacksToStackSetCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListChangeSetsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListExportsCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListGeneratedTemplatesCommand.d.ts +1 -42
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListHookResultsCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListImportsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanRelatedResourcesCommand.d.ts +30 -30
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanResourcesCommand.d.ts +28 -29
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScansCommand.d.ts +3 -28
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstanceResourceDriftsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackRefactorActionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackRefactorsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackResourcesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStacksCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeRegistrationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeVersionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/PublishTypeCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RecordHandlerProgressCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterPublisherCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterTypeCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RollbackStackCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetStackPolicyCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeDefaultVersionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SignalResourceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StartResourceScanCommand.d.ts +12 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/TestTypeCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +36 -38
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ValidateTemplateCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +10 -11
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +141 -219
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +165 -16
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +11 -17
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +21 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +4 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +79 -30
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +70 -27
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +20 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +11 -1
- package/node_modules/@aws-sdk/core/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +15 -26
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +2 -12
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/types/dist-es/function.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +5 -7
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/package.json +5 -5
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.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,11 +25,11 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/core": "3.
|
29
|
-
"@aws-sdk/types": "3.
|
30
|
-
"@smithy/property-provider": "^4.0.
|
31
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
32
|
-
"@smithy/types": "^4.
|
28
|
+
"@aws-sdk/core": "3.775.0",
|
29
|
+
"@aws-sdk/types": "3.775.0",
|
30
|
+
"@smithy/property-provider": "^4.0.2",
|
31
|
+
"@smithy/shared-ini-file-loader": "^4.0.2",
|
32
|
+
"@smithy/types": "^4.2.0",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.777.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,13 +25,13 @@
|
|
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.
|
31
|
-
"@aws-sdk/types": "3.
|
32
|
-
"@smithy/property-provider": "^4.0.
|
33
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
34
|
-
"@smithy/types": "^4.
|
28
|
+
"@aws-sdk/client-sso": "3.777.0",
|
29
|
+
"@aws-sdk/core": "3.775.0",
|
30
|
+
"@aws-sdk/token-providers": "3.777.0",
|
31
|
+
"@aws-sdk/types": "3.775.0",
|
32
|
+
"@smithy/property-provider": "^4.0.2",
|
33
|
+
"@smithy/shared-ini-file-loader": "^4.0.2",
|
34
|
+
"@smithy/types": "^4.2.0",
|
35
35
|
"tslib": "^2.6.2"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.777.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,11 +33,11 @@
|
|
33
33
|
},
|
34
34
|
"license": "Apache-2.0",
|
35
35
|
"dependencies": {
|
36
|
-
"@aws-sdk/core": "3.
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
38
|
-
"@aws-sdk/types": "3.
|
39
|
-
"@smithy/property-provider": "^4.0.
|
40
|
-
"@smithy/types": "^4.
|
36
|
+
"@aws-sdk/core": "3.775.0",
|
37
|
+
"@aws-sdk/nested-clients": "3.777.0",
|
38
|
+
"@aws-sdk/types": "3.775.0",
|
39
|
+
"@smithy/property-provider": "^4.0.2",
|
40
|
+
"@smithy/types": "^4.2.0",
|
41
41
|
"tslib": "^2.6.2"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.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",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/types": "3.
|
28
|
-
"@smithy/protocol-http": "^5.0
|
29
|
-
"@smithy/types": "^4.
|
27
|
+
"@aws-sdk/types": "3.775.0",
|
28
|
+
"@smithy/protocol-http": "^5.1.0",
|
29
|
+
"@smithy/types": "^4.2.0",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"engines": {
|
@@ -19,13 +19,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
21
|
// src/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
22
|
+
var index_exports = {};
|
23
|
+
__export(index_exports, {
|
24
24
|
getLoggerPlugin: () => getLoggerPlugin,
|
25
25
|
loggerMiddleware: () => loggerMiddleware,
|
26
26
|
loggerMiddlewareOptions: () => loggerMiddlewareOptions
|
27
27
|
});
|
28
|
-
module.exports = __toCommonJS(
|
28
|
+
module.exports = __toCommonJS(index_exports);
|
29
29
|
|
30
30
|
// src/loggerMiddleware.ts
|
31
31
|
var loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (args) => {
|
@@ -65,9 +65,9 @@ var loggerMiddlewareOptions = {
|
|
65
65
|
override: true
|
66
66
|
};
|
67
67
|
var getLoggerPlugin = /* @__PURE__ */ __name((options) => ({
|
68
|
-
applyToStack: (clientStack) => {
|
68
|
+
applyToStack: /* @__PURE__ */ __name((clientStack) => {
|
69
69
|
clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);
|
70
|
-
}
|
70
|
+
}, "applyToStack")
|
71
71
|
}), "getLoggerPlugin");
|
72
72
|
// Annotate the CommonJS export names for ESM import in node:
|
73
73
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.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,8 +24,8 @@
|
|
24
24
|
"module": "./dist-es/index.js",
|
25
25
|
"types": "./dist-types/index.d.ts",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/types": "3.
|
28
|
-
"@smithy/types": "^4.
|
27
|
+
"@aws-sdk/types": "3.775.0",
|
28
|
+
"@smithy/types": "^4.2.0",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.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,9 +23,9 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@aws-sdk/types": "3.
|
27
|
-
"@smithy/protocol-http": "^5.0
|
28
|
-
"@smithy/types": "^4.
|
26
|
+
"@aws-sdk/types": "3.775.0",
|
27
|
+
"@smithy/protocol-http": "^5.1.0",
|
28
|
+
"@smithy/types": "^4.2.0",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
31
31
|
"engines": {
|
@@ -41,9 +41,9 @@ function isValidUserAgentAppId(appId) {
|
|
41
41
|
__name(isValidUserAgentAppId, "isValidUserAgentAppId");
|
42
42
|
function resolveUserAgentConfig(input) {
|
43
43
|
const normalizedAppIdProvider = (0, import_core.normalizeProvider)(input.userAgentAppId ?? DEFAULT_UA_APP_ID);
|
44
|
-
|
45
|
-
|
46
|
-
customUserAgent: typeof
|
44
|
+
const { customUserAgent } = input;
|
45
|
+
return Object.assign(input, {
|
46
|
+
customUserAgent: typeof customUserAgent === "string" ? [[customUserAgent]] : customUserAgent,
|
47
47
|
userAgentAppId: /* @__PURE__ */ __name(async () => {
|
48
48
|
const appId = await normalizedAppIdProvider();
|
49
49
|
if (!isValidUserAgentAppId(appId)) {
|
@@ -56,7 +56,7 @@ function resolveUserAgentConfig(input) {
|
|
56
56
|
}
|
57
57
|
return appId;
|
58
58
|
}, "userAgentAppId")
|
59
|
-
};
|
59
|
+
});
|
60
60
|
}
|
61
61
|
__name(resolveUserAgentConfig, "resolveUserAgentConfig");
|
62
62
|
|
@@ -8,9 +8,9 @@ function isValidUserAgentAppId(appId) {
|
|
8
8
|
}
|
9
9
|
export function resolveUserAgentConfig(input) {
|
10
10
|
const normalizedAppIdProvider = normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID);
|
11
|
-
|
12
|
-
|
13
|
-
customUserAgent: typeof
|
11
|
+
const { customUserAgent } = input;
|
12
|
+
return Object.assign(input, {
|
13
|
+
customUserAgent: typeof customUserAgent === "string" ? [[customUserAgent]] : customUserAgent,
|
14
14
|
userAgentAppId: async () => {
|
15
15
|
const appId = await normalizedAppIdProvider();
|
16
16
|
if (!isValidUserAgentAppId(appId)) {
|
@@ -24,5 +24,5 @@ export function resolveUserAgentConfig(input) {
|
|
24
24
|
}
|
25
25
|
return appId;
|
26
26
|
},
|
27
|
-
};
|
27
|
+
});
|
28
28
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.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,12 +24,12 @@
|
|
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.
|
30
|
-
"@smithy/core": "^3.
|
31
|
-
"@smithy/protocol-http": "^5.0
|
32
|
-
"@smithy/types": "^4.
|
27
|
+
"@aws-sdk/core": "3.775.0",
|
28
|
+
"@aws-sdk/types": "3.775.0",
|
29
|
+
"@aws-sdk/util-endpoints": "3.775.0",
|
30
|
+
"@smithy/core": "^3.2.0",
|
31
|
+
"@smithy/protocol-http": "^5.1.0",
|
32
|
+
"@smithy/types": "^4.2.0",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
@@ -49,8 +49,6 @@ const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {
|
|
49
49
|
exports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider;
|
50
50
|
const resolveHttpAuthSchemeConfig = (config) => {
|
51
51
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
52
|
-
return {
|
53
|
-
...config_0,
|
54
|
-
};
|
52
|
+
return Object.assign(config_0, {});
|
55
53
|
};
|
56
54
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
@@ -58,12 +58,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
58
58
|
|
59
59
|
// src/submodules/sso-oidc/endpoint/EndpointParameters.ts
|
60
60
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
61
|
-
return {
|
62
|
-
...options,
|
61
|
+
return Object.assign(options, {
|
63
62
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
64
63
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
65
64
|
defaultSigningName: "sso-oauth"
|
66
|
-
};
|
65
|
+
});
|
67
66
|
}, "resolveClientEndpointParameters");
|
68
67
|
var commonParams = {
|
69
68
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
@@ -120,22 +119,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
120
119
|
}, "resolveHttpAuthRuntimeConfig");
|
121
120
|
|
122
121
|
// src/submodules/sso-oidc/runtimeExtensions.ts
|
123
|
-
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
124
122
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
125
|
-
const extensionConfiguration =
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
123
|
+
const extensionConfiguration = Object.assign(
|
124
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
125
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
126
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
127
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
128
|
+
);
|
131
129
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
132
|
-
return
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
130
|
+
return Object.assign(
|
131
|
+
runtimeConfig,
|
132
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
133
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
134
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
135
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
136
|
+
);
|
139
137
|
}, "resolveRuntimeExtensions");
|
140
138
|
|
141
139
|
// src/submodules/sso-oidc/SSOOIDCClient.ts
|
@@ -149,6 +147,8 @@ var SSOOIDCClient = class extends import_smithy_client2.Client {
|
|
149
147
|
config;
|
150
148
|
constructor(...[configuration]) {
|
151
149
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
150
|
+
super(_config_0);
|
151
|
+
this.initConfig = _config_0;
|
152
152
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
153
153
|
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
154
154
|
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
@@ -157,7 +157,6 @@ var SSOOIDCClient = class extends import_smithy_client2.Client {
|
|
157
157
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
158
158
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
159
159
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
160
|
-
super(_config_8);
|
161
160
|
this.config = _config_8;
|
162
161
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
163
162
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
@@ -20,6 +20,8 @@ class STSClient extends smithy_client_1.Client {
|
|
20
20
|
config;
|
21
21
|
constructor(...[configuration]) {
|
22
22
|
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
23
|
+
super(_config_0);
|
24
|
+
this.initConfig = _config_0;
|
23
25
|
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
24
26
|
const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
|
25
27
|
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
@@ -28,7 +30,6 @@ class STSClient extends smithy_client_1.Client {
|
|
28
30
|
const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
|
29
31
|
const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
|
30
32
|
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
31
|
-
super(_config_8);
|
32
33
|
this.config = _config_8;
|
33
34
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
34
35
|
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js
CHANGED
@@ -48,16 +48,13 @@ const defaultSTSHttpAuthSchemeProvider = (authParameters) => {
|
|
48
48
|
return options;
|
49
49
|
};
|
50
50
|
exports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider;
|
51
|
-
const resolveStsAuthConfig = (input) => ({
|
52
|
-
...input,
|
51
|
+
const resolveStsAuthConfig = (input) => Object.assign(input, {
|
53
52
|
stsClientCtor: STSClient_1.STSClient,
|
54
53
|
});
|
55
54
|
exports.resolveStsAuthConfig = resolveStsAuthConfig;
|
56
55
|
const resolveHttpAuthSchemeConfig = (config) => {
|
57
56
|
const config_0 = (0, exports.resolveStsAuthConfig)(config);
|
58
57
|
const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0);
|
59
|
-
return {
|
60
|
-
...config_1,
|
61
|
-
};
|
58
|
+
return Object.assign(config_1, {});
|
62
59
|
};
|
63
60
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js
CHANGED
@@ -2,13 +2,12 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
5
|
-
return {
|
6
|
-
...options,
|
5
|
+
return Object.assign(options, {
|
7
6
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
8
7
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
9
8
|
useGlobalEndpoint: options.useGlobalEndpoint ?? false,
|
10
9
|
defaultSigningName: "sts",
|
11
|
-
};
|
10
|
+
});
|
12
11
|
};
|
13
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
14
13
|
exports.commonParams = {
|
@@ -5,21 +5,9 @@ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
7
7
|
const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
|
8
|
-
const asPartial = (t) => t;
|
9
8
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
10
|
-
const extensionConfiguration =
|
11
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
12
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
13
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
14
|
-
...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)),
|
15
|
-
};
|
9
|
+
const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
|
16
10
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
17
|
-
return
|
18
|
-
...runtimeConfig,
|
19
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
20
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
21
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
22
|
-
...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration),
|
23
|
-
};
|
11
|
+
return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));
|
24
12
|
};
|
25
13
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
@@ -17,6 +17,8 @@ export class SSOOIDCClient extends __Client {
|
|
17
17
|
config;
|
18
18
|
constructor(...[configuration]) {
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
20
|
+
super(_config_0);
|
21
|
+
this.initConfig = _config_0;
|
20
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
21
23
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
22
24
|
const _config_3 = resolveRetryConfig(_config_2);
|
@@ -25,7 +27,6 @@ export class SSOOIDCClient extends __Client {
|
|
25
27
|
const _config_6 = resolveEndpointConfig(_config_5);
|
26
28
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
27
29
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
28
|
-
super(_config_8);
|
29
30
|
this.config = _config_8;
|
30
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
31
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
@@ -44,7 +44,5 @@ export const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {
|
|
44
44
|
};
|
45
45
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
46
46
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
47
|
-
return {
|
48
|
-
...config_0,
|
49
|
-
};
|
47
|
+
return Object.assign(config_0, {});
|
50
48
|
};
|
@@ -1,10 +1,9 @@
|
|
1
1
|
export const resolveClientEndpointParameters = (options) => {
|
2
|
-
return {
|
3
|
-
...options,
|
2
|
+
return Object.assign(options, {
|
4
3
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
5
4
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
6
5
|
defaultSigningName: "sso-oauth",
|
7
|
-
};
|
6
|
+
});
|
8
7
|
};
|
9
8
|
export const commonParams = {
|
10
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
CHANGED
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
5
|
-
const asPartial = (t) => t;
|
6
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
7
|
-
const extensionConfiguration =
|
8
|
-
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
9
|
-
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
10
|
-
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
11
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
12
|
-
};
|
6
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
13
7
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
14
|
-
return
|
15
|
-
...runtimeConfig,
|
16
|
-
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
17
|
-
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
18
|
-
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
19
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
20
|
-
};
|
8
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
21
9
|
};
|
@@ -17,6 +17,8 @@ export class STSClient extends __Client {
|
|
17
17
|
config;
|
18
18
|
constructor(...[configuration]) {
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
20
|
+
super(_config_0);
|
21
|
+
this.initConfig = _config_0;
|
20
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
21
23
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
22
24
|
const _config_3 = resolveRetryConfig(_config_2);
|
@@ -25,7 +27,6 @@ export class STSClient extends __Client {
|
|
25
27
|
const _config_6 = resolveEndpointConfig(_config_5);
|
26
28
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
27
29
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
28
|
-
super(_config_8);
|
29
30
|
this.config = _config_8;
|
30
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
31
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
CHANGED
@@ -43,14 +43,11 @@ export const defaultSTSHttpAuthSchemeProvider = (authParameters) => {
|
|
43
43
|
}
|
44
44
|
return options;
|
45
45
|
};
|
46
|
-
export const resolveStsAuthConfig = (input) => ({
|
47
|
-
...input,
|
46
|
+
export const resolveStsAuthConfig = (input) => Object.assign(input, {
|
48
47
|
stsClientCtor: STSClient,
|
49
48
|
});
|
50
49
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
51
50
|
const config_0 = resolveStsAuthConfig(config);
|
52
51
|
const config_1 = resolveAwsSdkSigV4Config(config_0);
|
53
|
-
return {
|
54
|
-
...config_1,
|
55
|
-
};
|
52
|
+
return Object.assign(config_1, {});
|
56
53
|
};
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
export const resolveClientEndpointParameters = (options) => {
|
2
|
-
return {
|
3
|
-
...options,
|
2
|
+
return Object.assign(options, {
|
4
3
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
5
4
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
6
5
|
useGlobalEndpoint: options.useGlobalEndpoint ?? false,
|
7
6
|
defaultSigningName: "sts",
|
8
|
-
};
|
7
|
+
});
|
9
8
|
};
|
10
9
|
export const commonParams = {
|
11
10
|
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
5
|
-
const asPartial = (t) => t;
|
6
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
7
|
-
const extensionConfiguration =
|
8
|
-
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
9
|
-
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
10
|
-
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
11
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
12
|
-
};
|
6
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
13
7
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
14
|
-
return
|
15
|
-
...runtimeConfig,
|
16
|
-
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
17
|
-
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
18
|
-
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
19
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
20
|
-
};
|
8
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
21
9
|
};
|
@@ -111,6 +111,52 @@ declare const CreateTokenCommand_base: {
|
|
111
111
|
* @throws {@link SSOOIDCServiceException}
|
112
112
|
* <p>Base exception class for all service exceptions from SSOOIDC service.</p>
|
113
113
|
*
|
114
|
+
*
|
115
|
+
* @example Call OAuth/OIDC /token endpoint for Device Code grant with Secret authentication
|
116
|
+
* ```javascript
|
117
|
+
* //
|
118
|
+
* const input = {
|
119
|
+
* clientId: "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID",
|
120
|
+
* clientSecret: "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0",
|
121
|
+
* deviceCode: "yJraWQiOiJrZXktMTU2Njk2ODA4OCIsImFsZyI6IkhTMzIn0EXAMPLEDEVICECODE",
|
122
|
+
* grantType: "urn:ietf:params:oauth:grant-type:device-code"
|
123
|
+
* };
|
124
|
+
* const command = new CreateTokenCommand(input);
|
125
|
+
* const response = await client.send(command);
|
126
|
+
* /* response is
|
127
|
+
* {
|
128
|
+
* accessToken: "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
|
129
|
+
* expiresIn: 1579729529,
|
130
|
+
* refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
|
131
|
+
* tokenType: "Bearer"
|
132
|
+
* }
|
133
|
+
* *\/
|
134
|
+
* ```
|
135
|
+
*
|
136
|
+
* @example Call OAuth/OIDC /token endpoint for Refresh Token grant with Secret authentication
|
137
|
+
* ```javascript
|
138
|
+
* //
|
139
|
+
* const input = {
|
140
|
+
* clientId: "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID",
|
141
|
+
* clientSecret: "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0",
|
142
|
+
* grantType: "refresh_token",
|
143
|
+
* refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
|
144
|
+
* scope: [
|
145
|
+
* "codewhisperer:completions"
|
146
|
+
* ]
|
147
|
+
* };
|
148
|
+
* const command = new CreateTokenCommand(input);
|
149
|
+
* const response = await client.send(command);
|
150
|
+
* /* response is
|
151
|
+
* {
|
152
|
+
* accessToken: "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
|
153
|
+
* expiresIn: 1579729529,
|
154
|
+
* refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
|
155
|
+
* tokenType: "Bearer"
|
156
|
+
* }
|
157
|
+
* *\/
|
158
|
+
* ```
|
159
|
+
*
|
114
160
|
* @public
|
115
161
|
*/
|
116
162
|
export declare class CreateTokenCommand extends CreateTokenCommand_base {
|