@cdklabs/cdk-ecs-codedeploy 0.0.318 → 0.0.319

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.
Files changed (70) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/endpointResolver.js +6 -2
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +2 -0
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +2 -0
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +2 -0
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-types/tsdoc-metadata.json +11 -0
  14. package/node_modules/@aws-sdk/client-codedeploy/package.json +36 -36
  15. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +6 -2
  16. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +7 -3
  17. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -0
  18. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -0
  19. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -0
  20. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  21. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  22. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  23. package/node_modules/@aws-sdk/client-sso/dist-types/tsdoc-metadata.json +11 -0
  24. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  25. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +6 -2
  26. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -0
  27. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -0
  28. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -0
  29. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  30. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  31. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  32. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/tsdoc-metadata.json +11 -0
  33. package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
  34. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +6 -2
  35. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +7 -3
  36. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -0
  37. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -0
  38. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -0
  39. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  40. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  41. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  42. package/node_modules/@aws-sdk/client-sts/package.json +34 -34
  43. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.js +20 -0
  44. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.js +20 -0
  45. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +5 -0
  46. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +5 -0
  47. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +4 -0
  48. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +4 -0
  49. package/node_modules/@aws-sdk/core/dist-types/tsdoc-metadata.json +11 -0
  50. package/node_modules/@aws-sdk/core/package.json +9 -9
  51. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  52. package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
  53. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
  54. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  55. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  56. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  57. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  58. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  59. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  60. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  61. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +11 -0
  62. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  63. package/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +11 -0
  64. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  65. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  66. package/node_modules/@aws-sdk/types/package.json +2 -2
  67. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  68. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  69. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  70. package/package.json +2 -2
@@ -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.645.0",
4
+ "version": "3.649.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.635.0",
24
- "@aws-sdk/middleware-host-header": "3.620.0",
25
- "@aws-sdk/middleware-logger": "3.609.0",
26
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
27
- "@aws-sdk/middleware-user-agent": "3.645.0",
28
- "@aws-sdk/region-config-resolver": "3.614.0",
29
- "@aws-sdk/types": "3.609.0",
30
- "@aws-sdk/util-endpoints": "3.645.0",
31
- "@aws-sdk/util-user-agent-browser": "3.609.0",
32
- "@aws-sdk/util-user-agent-node": "3.614.0",
33
- "@smithy/config-resolver": "^3.0.5",
34
- "@smithy/core": "^2.4.0",
35
- "@smithy/fetch-http-handler": "^3.2.4",
36
- "@smithy/hash-node": "^3.0.3",
37
- "@smithy/invalid-dependency": "^3.0.3",
38
- "@smithy/middleware-content-length": "^3.0.5",
39
- "@smithy/middleware-endpoint": "^3.1.0",
40
- "@smithy/middleware-retry": "^3.0.15",
41
- "@smithy/middleware-serde": "^3.0.3",
42
- "@smithy/middleware-stack": "^3.0.3",
43
- "@smithy/node-config-provider": "^3.1.4",
44
- "@smithy/node-http-handler": "^3.1.4",
45
- "@smithy/protocol-http": "^4.1.0",
46
- "@smithy/smithy-client": "^3.2.0",
47
- "@smithy/types": "^3.3.0",
48
- "@smithy/url-parser": "^3.0.3",
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.15",
53
- "@smithy/util-defaults-mode-node": "^3.0.15",
54
- "@smithy/util-endpoints": "^2.0.5",
55
- "@smithy/util-middleware": "^3.0.3",
56
- "@smithy/util-retry": "^3.0.3",
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;
@@ -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
  | (
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
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;
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
55
56
  }
56
57
  ) => import("@smithy/types").EndpointV2;
57
58
  tls?: boolean | undefined;
59
+ serviceConfiguredEndpoint?: undefined;
58
60
  httpAuthSchemes:
59
61
  | import("@smithy/types").HttpAuthScheme[]
60
62
  | (
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.34.4"
9
+ }
10
+ ]
11
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-oidc",
3
3
  "description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
4
- "version": "3.645.0",
4
+ "version": "3.649.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-oidc",
@@ -20,41 +20,41 @@
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.635.0",
24
- "@aws-sdk/credential-provider-node": "3.645.0",
25
- "@aws-sdk/middleware-host-header": "3.620.0",
26
- "@aws-sdk/middleware-logger": "3.609.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
28
- "@aws-sdk/middleware-user-agent": "3.645.0",
29
- "@aws-sdk/region-config-resolver": "3.614.0",
30
- "@aws-sdk/types": "3.609.0",
31
- "@aws-sdk/util-endpoints": "3.645.0",
32
- "@aws-sdk/util-user-agent-browser": "3.609.0",
33
- "@aws-sdk/util-user-agent-node": "3.614.0",
34
- "@smithy/config-resolver": "^3.0.5",
35
- "@smithy/core": "^2.4.0",
36
- "@smithy/fetch-http-handler": "^3.2.4",
37
- "@smithy/hash-node": "^3.0.3",
38
- "@smithy/invalid-dependency": "^3.0.3",
39
- "@smithy/middleware-content-length": "^3.0.5",
40
- "@smithy/middleware-endpoint": "^3.1.0",
41
- "@smithy/middleware-retry": "^3.0.15",
42
- "@smithy/middleware-serde": "^3.0.3",
43
- "@smithy/middleware-stack": "^3.0.3",
44
- "@smithy/node-config-provider": "^3.1.4",
45
- "@smithy/node-http-handler": "^3.1.4",
46
- "@smithy/protocol-http": "^4.1.0",
47
- "@smithy/smithy-client": "^3.2.0",
48
- "@smithy/types": "^3.3.0",
49
- "@smithy/url-parser": "^3.0.3",
23
+ "@aws-sdk/core": "3.649.0",
24
+ "@aws-sdk/credential-provider-node": "3.649.0",
25
+ "@aws-sdk/middleware-host-header": "3.649.0",
26
+ "@aws-sdk/middleware-logger": "3.649.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.649.0",
28
+ "@aws-sdk/middleware-user-agent": "3.649.0",
29
+ "@aws-sdk/region-config-resolver": "3.649.0",
30
+ "@aws-sdk/types": "3.649.0",
31
+ "@aws-sdk/util-endpoints": "3.649.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.649.0",
33
+ "@aws-sdk/util-user-agent-node": "3.649.0",
34
+ "@smithy/config-resolver": "^3.0.6",
35
+ "@smithy/core": "^2.4.1",
36
+ "@smithy/fetch-http-handler": "^3.2.5",
37
+ "@smithy/hash-node": "^3.0.4",
38
+ "@smithy/invalid-dependency": "^3.0.4",
39
+ "@smithy/middleware-content-length": "^3.0.6",
40
+ "@smithy/middleware-endpoint": "^3.1.1",
41
+ "@smithy/middleware-retry": "^3.0.16",
42
+ "@smithy/middleware-serde": "^3.0.4",
43
+ "@smithy/middleware-stack": "^3.0.4",
44
+ "@smithy/node-config-provider": "^3.1.5",
45
+ "@smithy/node-http-handler": "^3.2.0",
46
+ "@smithy/protocol-http": "^4.1.1",
47
+ "@smithy/smithy-client": "^3.3.0",
48
+ "@smithy/types": "^3.4.0",
49
+ "@smithy/url-parser": "^3.0.4",
50
50
  "@smithy/util-base64": "^3.0.0",
51
51
  "@smithy/util-body-length-browser": "^3.0.0",
52
52
  "@smithy/util-body-length-node": "^3.0.0",
53
- "@smithy/util-defaults-mode-browser": "^3.0.15",
54
- "@smithy/util-defaults-mode-node": "^3.0.15",
55
- "@smithy/util-endpoints": "^2.0.5",
56
- "@smithy/util-middleware": "^3.0.3",
57
- "@smithy/util-retry": "^3.0.3",
53
+ "@smithy/util-defaults-mode-browser": "^3.0.16",
54
+ "@smithy/util-defaults-mode-node": "^3.0.16",
55
+ "@smithy/util-endpoints": "^2.1.0",
56
+ "@smithy/util-middleware": "^3.0.4",
57
+ "@smithy/util-retry": "^3.0.4",
58
58
  "@smithy/util-utf8": "^3.0.0",
59
59
  "tslib": "^2.6.2"
60
60
  },
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "license": "Apache-2.0",
87
87
  "peerDependencies": {
88
- "@aws-sdk/client-sts": "^3.645.0"
88
+ "@aws-sdk/client-sts": "^3.649.0"
89
89
  },
90
90
  "browser": {
91
91
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
@@ -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", "UseGlobalEndpoint"],
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;
@@ -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", "UseGlobalEndpoint"],
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: STSClientConfig) => {
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: STSClientConfig) => {
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  } | undefined) => 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;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
25
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  apiVersion: string;
28
+ cacheMiddleware?: boolean | undefined;
28
29
  urlParser: import("@smithy/types").UrlParser;
29
30
  base64Decoder: import("@smithy/types").Decoder;
30
31
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -41,6 +42,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
41
42
  logger?: import("@smithy/types").Logger | undefined;
42
43
  } | undefined) => import("@smithy/types").EndpointV2;
43
44
  tls?: boolean | undefined;
45
+ serviceConfiguredEndpoint?: undefined;
44
46
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
45
47
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
46
48
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
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: STSClientConfig) => {
33
34
  logger?: import("@smithy/types").Logger | undefined;
34
35
  } | undefined) => 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: STSClientConfig) => {
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;
@@ -63,6 +64,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
63
64
  | undefined
64
65
  ) => import("@smithy/types").EndpointV2;
65
66
  tls?: boolean | undefined;
67
+ serviceConfiguredEndpoint?: undefined;
66
68
  httpAuthSchemes:
67
69
  | import("@smithy/types").HttpAuthScheme[]
68
70
  | (
@@ -42,6 +42,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
42
42
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
43
43
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
44
44
  apiVersion: string;
45
+ cacheMiddleware?: boolean | undefined;
45
46
  urlParser: import("@smithy/types").UrlParser;
46
47
  base64Decoder: import("@smithy/types").Decoder;
47
48
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -82,6 +83,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
82
83
  | undefined
83
84
  ) => import("@smithy/types").EndpointV2;
84
85
  tls?: boolean | undefined;
86
+ serviceConfiguredEndpoint?: undefined;
85
87
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
86
88
  credentials?:
87
89
  | import("@smithy/types").AwsCredentialIdentity
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
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;
@@ -57,6 +58,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
57
58
  | undefined
58
59
  ) => import("@smithy/types").EndpointV2;
59
60
  tls?: boolean | undefined;
61
+ serviceConfiguredEndpoint?: undefined;
60
62
  httpAuthSchemes:
61
63
  | import("@smithy/types").HttpAuthScheme[]
62
64
  | (
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.645.0",
4
+ "version": "3.649.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-sts",
@@ -22,42 +22,42 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.645.0",
26
- "@aws-sdk/core": "3.635.0",
27
- "@aws-sdk/credential-provider-node": "3.645.0",
28
- "@aws-sdk/middleware-host-header": "3.620.0",
29
- "@aws-sdk/middleware-logger": "3.609.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
31
- "@aws-sdk/middleware-user-agent": "3.645.0",
32
- "@aws-sdk/region-config-resolver": "3.614.0",
33
- "@aws-sdk/types": "3.609.0",
34
- "@aws-sdk/util-endpoints": "3.645.0",
35
- "@aws-sdk/util-user-agent-browser": "3.609.0",
36
- "@aws-sdk/util-user-agent-node": "3.614.0",
37
- "@smithy/config-resolver": "^3.0.5",
38
- "@smithy/core": "^2.4.0",
39
- "@smithy/fetch-http-handler": "^3.2.4",
40
- "@smithy/hash-node": "^3.0.3",
41
- "@smithy/invalid-dependency": "^3.0.3",
42
- "@smithy/middleware-content-length": "^3.0.5",
43
- "@smithy/middleware-endpoint": "^3.1.0",
44
- "@smithy/middleware-retry": "^3.0.15",
45
- "@smithy/middleware-serde": "^3.0.3",
46
- "@smithy/middleware-stack": "^3.0.3",
47
- "@smithy/node-config-provider": "^3.1.4",
48
- "@smithy/node-http-handler": "^3.1.4",
49
- "@smithy/protocol-http": "^4.1.0",
50
- "@smithy/smithy-client": "^3.2.0",
51
- "@smithy/types": "^3.3.0",
52
- "@smithy/url-parser": "^3.0.3",
25
+ "@aws-sdk/client-sso-oidc": "3.649.0",
26
+ "@aws-sdk/core": "3.649.0",
27
+ "@aws-sdk/credential-provider-node": "3.649.0",
28
+ "@aws-sdk/middleware-host-header": "3.649.0",
29
+ "@aws-sdk/middleware-logger": "3.649.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.649.0",
31
+ "@aws-sdk/middleware-user-agent": "3.649.0",
32
+ "@aws-sdk/region-config-resolver": "3.649.0",
33
+ "@aws-sdk/types": "3.649.0",
34
+ "@aws-sdk/util-endpoints": "3.649.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.649.0",
36
+ "@aws-sdk/util-user-agent-node": "3.649.0",
37
+ "@smithy/config-resolver": "^3.0.6",
38
+ "@smithy/core": "^2.4.1",
39
+ "@smithy/fetch-http-handler": "^3.2.5",
40
+ "@smithy/hash-node": "^3.0.4",
41
+ "@smithy/invalid-dependency": "^3.0.4",
42
+ "@smithy/middleware-content-length": "^3.0.6",
43
+ "@smithy/middleware-endpoint": "^3.1.1",
44
+ "@smithy/middleware-retry": "^3.0.16",
45
+ "@smithy/middleware-serde": "^3.0.4",
46
+ "@smithy/middleware-stack": "^3.0.4",
47
+ "@smithy/node-config-provider": "^3.1.5",
48
+ "@smithy/node-http-handler": "^3.2.0",
49
+ "@smithy/protocol-http": "^4.1.1",
50
+ "@smithy/smithy-client": "^3.3.0",
51
+ "@smithy/types": "^3.4.0",
52
+ "@smithy/url-parser": "^3.0.4",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.15",
57
- "@smithy/util-defaults-mode-node": "^3.0.15",
58
- "@smithy/util-endpoints": "^2.0.5",
59
- "@smithy/util-middleware": "^3.0.3",
60
- "@smithy/util-retry": "^3.0.3",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.16",
57
+ "@smithy/util-defaults-mode-node": "^3.0.16",
58
+ "@smithy/util-endpoints": "^2.1.0",
59
+ "@smithy/util-middleware": "^3.0.4",
60
+ "@smithy/util-retry": "^3.0.4",
61
61
  "@smithy/util-utf8": "^3.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
@@ -0,0 +1,20 @@
1
+ import { ProviderError } from "@smithy/property-provider";
2
+ export const NODE_SIGV4A_CONFIG_OPTIONS = {
3
+ environmentVariableSelector(env) {
4
+ if (env.AWS_SIGV4A_SIGNING_REGION_SET) {
5
+ return env.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((_) => _.trim());
6
+ }
7
+ throw new ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.", {
8
+ tryNextLink: true,
9
+ });
10
+ },
11
+ configFileSelector(profile) {
12
+ if (profile.sigv4a_signing_region_set) {
13
+ return (profile.sigv4a_signing_region_set ?? "").split(",").map((_) => _.trim());
14
+ }
15
+ throw new ProviderError("sigv4a_signing_region_set not set in profile.", {
16
+ tryNextLink: true,
17
+ });
18
+ },
19
+ default: undefined,
20
+ };
@@ -0,0 +1,20 @@
1
+ import { ProviderError } from "@smithy/property-provider";
2
+ export const NODE_SIGV4A_CONFIG_OPTIONS = {
3
+ environmentVariableSelector(env) {
4
+ if (env.AWS_SIGV4A_SIGNING_REGION_SET) {
5
+ return env.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((_) => _.trim());
6
+ }
7
+ throw new ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.", {
8
+ tryNextLink: true,
9
+ });
10
+ },
11
+ configFileSelector(profile) {
12
+ if (profile.sigv4a_signing_region_set) {
13
+ return (profile.sigv4a_signing_region_set ?? "").split(",").map((_) => _.trim());
14
+ }
15
+ throw new ProviderError("sigv4a_signing_region_set not set in profile.", {
16
+ tryNextLink: true,
17
+ });
18
+ },
19
+ default: undefined,
20
+ };
@@ -0,0 +1,5 @@
1
+ import { LoadedConfigSelectors } from "@smithy/node-config-provider";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const NODE_SIGV4A_CONFIG_OPTIONS: LoadedConfigSelectors<string[] | undefined>;
@@ -0,0 +1,5 @@
1
+ import { LoadedConfigSelectors } from "@smithy/node-config-provider";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const NODE_SIGV4A_CONFIG_OPTIONS: LoadedConfigSelectors<string[] | undefined>;
@@ -0,0 +1,4 @@
1
+ import { LoadedConfigSelectors } from "@smithy/node-config-provider";
2
+ export declare const NODE_SIGV4A_CONFIG_OPTIONS: LoadedConfigSelectors<
3
+ string[] | undefined
4
+ >;
@@ -0,0 +1,4 @@
1
+ import { LoadedConfigSelectors } from "@smithy/node-config-provider";
2
+ export declare const NODE_SIGV4A_CONFIG_OPTIONS: LoadedConfigSelectors<
3
+ string[] | undefined
4
+ >;
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.34.4"
9
+ }
10
+ ]
11
+ }