@cdklabs/cdk-ecs-codedeploy 0.0.318 → 0.0.320
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/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +47 -141
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/endpointResolver.js +7 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +4 -12
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +7 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +4 -12
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +7 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +8 -24
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +1 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +7 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/package.json +34 -34
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.js +20 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/tsdoc-metadata.json +11 -0
- package/node_modules/@aws-sdk/core/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- 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-types/tsdoc-metadata.json +11 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +11 -0
- 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/package.json +2 -2
- 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 +4 -4
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codedeploy",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.650.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-codedeploy",
|
|
@@ -20,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.650.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.650.0",
|
|
25
|
+
"@aws-sdk/core": "3.649.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.650.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.649.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.649.0",
|
|
32
|
+
"@aws-sdk/types": "3.649.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.649.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.649.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.649.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.6",
|
|
37
|
+
"@smithy/core": "^2.4.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.5",
|
|
39
|
+
"@smithy/hash-node": "^3.0.4",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.4",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.6",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.16",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.4",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.4",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.5",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.1",
|
|
49
|
+
"@smithy/smithy-client": "^3.3.0",
|
|
50
|
+
"@smithy/types": "^3.4.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.4",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.0
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.16",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.16",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.0",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.4",
|
|
59
|
+
"@smithy/util-retry": "^3.0.4",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
|
-
"@smithy/util-waiter": "^3.1.
|
|
61
|
+
"@smithy/util-waiter": "^3.1.3",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
9
13
|
endpointParams: endpointParams,
|
|
10
14
|
logger: context.logger,
|
|
11
|
-
});
|
|
15
|
+
}));
|
|
12
16
|
};
|
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
@@ -512,9 +512,7 @@ var _rn = "role_name";
|
|
|
512
512
|
var _xasbt = "x-amz-sso_bearer_token";
|
|
513
513
|
|
|
514
514
|
// src/commands/GetRoleCredentialsCommand.ts
|
|
515
|
-
var _GetRoleCredentialsCommand = class _GetRoleCredentialsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
516
|
-
...commonParams
|
|
517
|
-
}).m(function(Command, cs, config, o) {
|
|
515
|
+
var _GetRoleCredentialsCommand = class _GetRoleCredentialsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
518
516
|
return [
|
|
519
517
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
520
518
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -528,9 +526,7 @@ var GetRoleCredentialsCommand = _GetRoleCredentialsCommand;
|
|
|
528
526
|
|
|
529
527
|
|
|
530
528
|
|
|
531
|
-
var _ListAccountRolesCommand = class _ListAccountRolesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
532
|
-
...commonParams
|
|
533
|
-
}).m(function(Command, cs, config, o) {
|
|
529
|
+
var _ListAccountRolesCommand = class _ListAccountRolesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
534
530
|
return [
|
|
535
531
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
536
532
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -544,9 +540,7 @@ var ListAccountRolesCommand = _ListAccountRolesCommand;
|
|
|
544
540
|
|
|
545
541
|
|
|
546
542
|
|
|
547
|
-
var _ListAccountsCommand = class _ListAccountsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
548
|
-
...commonParams
|
|
549
|
-
}).m(function(Command, cs, config, o) {
|
|
543
|
+
var _ListAccountsCommand = class _ListAccountsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
550
544
|
return [
|
|
551
545
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
552
546
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -560,9 +554,7 @@ var ListAccountsCommand = _ListAccountsCommand;
|
|
|
560
554
|
|
|
561
555
|
|
|
562
556
|
|
|
563
|
-
var _LogoutCommand = class _LogoutCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
564
|
-
...commonParams
|
|
565
|
-
}).m(function(Command, cs, config, o) {
|
|
557
|
+
var _LogoutCommand = class _LogoutCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
566
558
|
return [
|
|
567
559
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
568
560
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -7,9 +7,7 @@ import { de_GetRoleCredentialsCommand, se_GetRoleCredentialsCommand } from "../p
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class GetRoleCredentialsCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_ListAccountRolesCommand, se_ListAccountRolesCommand } from "../proto
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ListAccountRolesCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_ListAccountsCommand, se_ListAccountsCommand } from "../protocols/Aws
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ListAccountsCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_LogoutCommand, se_LogoutCommand } from "../protocols/Aws_restJson1";
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class LogoutCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -17,6 +17,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
17
17
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
18
18
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
apiVersion: string;
|
|
20
|
+
cacheMiddleware?: boolean | undefined;
|
|
20
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
23
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
|
35
36
|
tls?: boolean | undefined;
|
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
37
39
|
schemeId: string;
|
|
38
40
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -17,6 +17,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
17
17
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
18
18
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
apiVersion: string;
|
|
20
|
+
cacheMiddleware?: boolean | undefined;
|
|
20
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
23
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
|
35
36
|
tls?: boolean | undefined;
|
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
37
39
|
schemeId: string;
|
|
38
40
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -32,6 +33,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
32
33
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
34
|
}) => import("@smithy/types").EndpointV2;
|
|
34
35
|
tls?: boolean | undefined;
|
|
36
|
+
serviceConfiguredEndpoint?: undefined;
|
|
35
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
36
38
|
schemeId: string;
|
|
37
39
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
apiVersion: string;
|
|
23
|
+
cacheMiddleware?: boolean | undefined;
|
|
23
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
25
|
base64Decoder: import("@smithy/types").Decoder;
|
|
25
26
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -58,6 +59,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
58
59
|
}
|
|
59
60
|
) => import("@smithy/types").EndpointV2;
|
|
60
61
|
tls?: boolean | undefined;
|
|
62
|
+
serviceConfiguredEndpoint?: undefined;
|
|
61
63
|
httpAuthSchemes:
|
|
62
64
|
| import("@smithy/types").HttpAuthScheme[]
|
|
63
65
|
| (
|
|
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
apiVersion: string;
|
|
23
|
+
cacheMiddleware?: boolean | undefined;
|
|
23
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
25
|
base64Decoder: import("@smithy/types").Decoder;
|
|
25
26
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -58,6 +59,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
58
59
|
}
|
|
59
60
|
) => import("@smithy/types").EndpointV2;
|
|
60
61
|
tls?: boolean | undefined;
|
|
62
|
+
serviceConfiguredEndpoint?: undefined;
|
|
61
63
|
httpAuthSchemes:
|
|
62
64
|
| import("@smithy/types").HttpAuthScheme[]
|
|
63
65
|
| (
|
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
apiVersion: string;
|
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -52,6 +53,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
52
53
|
}
|
|
53
54
|
) => import("@smithy/types").EndpointV2;
|
|
54
55
|
tls?: boolean | undefined;
|
|
56
|
+
serviceConfiguredEndpoint?: undefined;
|
|
55
57
|
httpAuthSchemes:
|
|
56
58
|
| import("@smithy/types").HttpAuthScheme[]
|
|
57
59
|
| (
|
|
@@ -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.650.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,40 +20,40 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25
|
-
"@aws-sdk/middleware-logger": "3.
|
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
-
"@smithy/config-resolver": "^3.0.
|
|
34
|
-
"@smithy/core": "^2.4.
|
|
35
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
36
|
-
"@smithy/hash-node": "^3.0.
|
|
37
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
38
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
39
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
40
|
-
"@smithy/middleware-retry": "^3.0.
|
|
41
|
-
"@smithy/middleware-serde": "^3.0.
|
|
42
|
-
"@smithy/middleware-stack": "^3.0.
|
|
43
|
-
"@smithy/node-config-provider": "^3.1.
|
|
44
|
-
"@smithy/node-http-handler": "^3.
|
|
45
|
-
"@smithy/protocol-http": "^4.1.
|
|
46
|
-
"@smithy/smithy-client": "^3.
|
|
47
|
-
"@smithy/types": "^3.
|
|
48
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/core": "3.649.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.649.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.649.0",
|
|
28
|
+
"@aws-sdk/region-config-resolver": "3.649.0",
|
|
29
|
+
"@aws-sdk/types": "3.649.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.649.0",
|
|
31
|
+
"@aws-sdk/util-user-agent-browser": "3.649.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.649.0",
|
|
33
|
+
"@smithy/config-resolver": "^3.0.6",
|
|
34
|
+
"@smithy/core": "^2.4.1",
|
|
35
|
+
"@smithy/fetch-http-handler": "^3.2.5",
|
|
36
|
+
"@smithy/hash-node": "^3.0.4",
|
|
37
|
+
"@smithy/invalid-dependency": "^3.0.4",
|
|
38
|
+
"@smithy/middleware-content-length": "^3.0.6",
|
|
39
|
+
"@smithy/middleware-endpoint": "^3.1.1",
|
|
40
|
+
"@smithy/middleware-retry": "^3.0.16",
|
|
41
|
+
"@smithy/middleware-serde": "^3.0.4",
|
|
42
|
+
"@smithy/middleware-stack": "^3.0.4",
|
|
43
|
+
"@smithy/node-config-provider": "^3.1.5",
|
|
44
|
+
"@smithy/node-http-handler": "^3.2.0",
|
|
45
|
+
"@smithy/protocol-http": "^4.1.1",
|
|
46
|
+
"@smithy/smithy-client": "^3.3.0",
|
|
47
|
+
"@smithy/types": "^3.4.0",
|
|
48
|
+
"@smithy/url-parser": "^3.0.4",
|
|
49
49
|
"@smithy/util-base64": "^3.0.0",
|
|
50
50
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
51
51
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
52
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
53
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
54
|
-
"@smithy/util-endpoints": "^2.0
|
|
55
|
-
"@smithy/util-middleware": "^3.0.
|
|
56
|
-
"@smithy/util-retry": "^3.0.
|
|
52
|
+
"@smithy/util-defaults-mode-browser": "^3.0.16",
|
|
53
|
+
"@smithy/util-defaults-mode-node": "^3.0.16",
|
|
54
|
+
"@smithy/util-endpoints": "^2.1.0",
|
|
55
|
+
"@smithy/util-middleware": "^3.0.4",
|
|
56
|
+
"@smithy/util-retry": "^3.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^3.0.0",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
9
13
|
endpointParams: endpointParams,
|
|
10
14
|
logger: context.logger,
|
|
11
|
-
});
|
|
15
|
+
}));
|
|
12
16
|
};
|
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
@@ -952,9 +952,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
952
952
|
var _ai = "aws_iam";
|
|
953
953
|
|
|
954
954
|
// src/commands/CreateTokenCommand.ts
|
|
955
|
-
var _CreateTokenCommand = class _CreateTokenCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
956
|
-
...commonParams
|
|
957
|
-
}).m(function(Command, cs, config, o) {
|
|
955
|
+
var _CreateTokenCommand = class _CreateTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
958
956
|
return [
|
|
959
957
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
960
958
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -968,9 +966,7 @@ var CreateTokenCommand = _CreateTokenCommand;
|
|
|
968
966
|
|
|
969
967
|
|
|
970
968
|
|
|
971
|
-
var _CreateTokenWithIAMCommand = class _CreateTokenWithIAMCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
972
|
-
...commonParams
|
|
973
|
-
}).m(function(Command, cs, config, o) {
|
|
969
|
+
var _CreateTokenWithIAMCommand = class _CreateTokenWithIAMCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
974
970
|
return [
|
|
975
971
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
976
972
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -984,9 +980,7 @@ var CreateTokenWithIAMCommand = _CreateTokenWithIAMCommand;
|
|
|
984
980
|
|
|
985
981
|
|
|
986
982
|
|
|
987
|
-
var _RegisterClientCommand = class _RegisterClientCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
988
|
-
...commonParams
|
|
989
|
-
}).m(function(Command, cs, config, o) {
|
|
983
|
+
var _RegisterClientCommand = class _RegisterClientCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
990
984
|
return [
|
|
991
985
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
992
986
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1000,9 +994,7 @@ var RegisterClientCommand = _RegisterClientCommand;
|
|
|
1000
994
|
|
|
1001
995
|
|
|
1002
996
|
|
|
1003
|
-
var _StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1004
|
-
...commonParams
|
|
1005
|
-
}).m(function(Command, cs, config, o) {
|
|
997
|
+
var _StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1006
998
|
return [
|
|
1007
999
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1008
1000
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -7,9 +7,7 @@ import { de_CreateTokenCommand, se_CreateTokenCommand } from "../protocols/Aws_r
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateTokenCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_CreateTokenWithIAMCommand, se_CreateTokenWithIAMCommand } from "../p
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateTokenWithIAMCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_RegisterClientCommand, se_RegisterClientCommand } from "../protocols
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class RegisterClientCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js
CHANGED
|
@@ -7,9 +7,7 @@ import { de_StartDeviceAuthorizationCommand, se_StartDeviceAuthorizationCommand
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class StartDeviceAuthorizationCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
38
40
|
schemeId: string;
|
|
39
41
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
38
40
|
schemeId: string;
|
|
39
41
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
|
35
36
|
tls?: boolean | undefined;
|
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
37
39
|
schemeId: string;
|
|
38
40
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
23
23
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
25
25
|
apiVersion: string;
|
|
26
|
+
cacheMiddleware?: boolean | undefined;
|
|
26
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
27
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
28
29
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
61
62
|
}
|
|
62
63
|
) => import("@smithy/types").EndpointV2;
|
|
63
64
|
tls?: boolean | undefined;
|
|
65
|
+
serviceConfiguredEndpoint?: undefined;
|
|
64
66
|
httpAuthSchemes:
|
|
65
67
|
| import("@smithy/types").HttpAuthScheme[]
|
|
66
68
|
| (
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
27
27
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
29
|
apiVersion: string;
|
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
|
30
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
32
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
33
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
65
66
|
}
|
|
66
67
|
) => import("@smithy/types").EndpointV2;
|
|
67
68
|
tls?: boolean | undefined;
|
|
69
|
+
serviceConfiguredEndpoint?: undefined;
|
|
68
70
|
httpAuthSchemes:
|
|
69
71
|
| import("@smithy/types").HttpAuthScheme[]
|
|
70
72
|
| (
|