@cdk8s/awscdk-resolver 0.0.177 → 0.0.179

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 (117) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +1 -0
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +2 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +2 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
  11. package/node_modules/@aws-sdk/client-cloudformation/package.json +14 -14
  12. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -0
  13. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +2 -1
  14. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -1
  15. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -1
  16. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -1
  17. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
  18. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  19. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
  20. package/node_modules/@aws-sdk/client-sso/package.json +11 -11
  21. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +1 -0
  22. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +2 -1
  23. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -1
  24. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -1
  25. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -1
  26. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
  27. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  28. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
  29. package/node_modules/@aws-sdk/client-sso-oidc/package.json +13 -13
  30. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +1 -0
  31. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +2 -1
  32. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -1
  33. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -1
  34. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -1
  35. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
  36. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  37. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
  38. package/node_modules/@aws-sdk/client-sts/package.json +13 -13
  39. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +3 -3
  40. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +17 -2
  41. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  42. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  43. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +11 -0
  44. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  45. package/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +12 -0
  46. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  47. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +6 -0
  48. package/node_modules/@aws-sdk/core/package.json +2 -1
  49. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  50. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  51. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  52. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  53. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  54. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  55. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  56. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  57. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  58. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  59. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +60 -4
  60. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +22 -0
  61. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js +18 -0
  62. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +9 -1
  63. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +14 -1
  64. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts +5 -0
  65. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts +5 -1
  66. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts +2 -0
  67. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts +2 -1
  68. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -1
  69. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -3
  70. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  71. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  72. package/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  73. package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  74. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +54 -0
  75. package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  76. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
  77. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +51 -0
  78. package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  79. package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
  80. package/node_modules/@aws-sdk/types/package.json +1 -1
  81. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  82. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +6 -2
  83. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +1 -1
  84. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +6 -2
  85. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js +1 -1
  86. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +4 -1
  87. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +6 -1
  88. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
  89. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +46 -39
  90. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +29 -0
  91. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +2 -39
  92. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js +8 -0
  93. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +23 -0
  94. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +2 -20
  95. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +13 -0
  96. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts +21 -0
  97. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +2 -12
  98. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +6 -0
  99. package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -2
  100. package/node_modules/@smithy/core/package.json +3 -3
  101. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  102. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +53 -1
  103. package/node_modules/@smithy/smithy-client/dist-cjs/quote-header.js +1 -0
  104. package/node_modules/@smithy/smithy-client/dist-cjs/split-header.js +1 -0
  105. package/node_modules/@smithy/smithy-client/dist-es/index.js +2 -0
  106. package/node_modules/@smithy/smithy-client/dist-es/quote-header.js +6 -0
  107. package/node_modules/@smithy/smithy-client/dist-es/split-header.js +37 -0
  108. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +2 -0
  109. package/node_modules/@smithy/smithy-client/dist-types/quote-header.d.ts +6 -0
  110. package/node_modules/@smithy/smithy-client/dist-types/split-header.d.ts +5 -0
  111. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +2 -0
  112. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/quote-header.d.ts +6 -0
  113. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/split-header.d.ts +5 -0
  114. package/node_modules/@smithy/smithy-client/package.json +1 -1
  115. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  116. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  117. package/package.json +5 -5
@@ -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.662.0",
4
+ "version": "3.665.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,17 +20,17 @@
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.662.0",
24
- "@aws-sdk/credential-provider-node": "3.662.0",
25
- "@aws-sdk/middleware-host-header": "3.662.0",
26
- "@aws-sdk/middleware-logger": "3.662.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.662.0",
28
- "@aws-sdk/middleware-user-agent": "3.662.0",
29
- "@aws-sdk/region-config-resolver": "3.662.0",
30
- "@aws-sdk/types": "3.662.0",
31
- "@aws-sdk/util-endpoints": "3.662.0",
32
- "@aws-sdk/util-user-agent-browser": "3.662.0",
33
- "@aws-sdk/util-user-agent-node": "3.662.0",
23
+ "@aws-sdk/core": "3.665.0",
24
+ "@aws-sdk/credential-provider-node": "3.665.0",
25
+ "@aws-sdk/middleware-host-header": "3.664.0",
26
+ "@aws-sdk/middleware-logger": "3.664.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.664.0",
28
+ "@aws-sdk/middleware-user-agent": "3.664.0",
29
+ "@aws-sdk/region-config-resolver": "3.664.0",
30
+ "@aws-sdk/types": "3.664.0",
31
+ "@aws-sdk/util-endpoints": "3.664.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.664.0",
33
+ "@aws-sdk/util-user-agent-node": "3.664.0",
34
34
  "@smithy/config-resolver": "^3.0.9",
35
35
  "@smithy/core": "^2.4.7",
36
36
  "@smithy/fetch-http-handler": "^3.2.9",
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "license": "Apache-2.0",
87
87
  "peerDependencies": {
88
- "@aws-sdk/client-sts": "^3.662.0"
88
+ "@aws-sdk/client-sts": "^3.665.0"
89
89
  },
90
90
  "browser": {
91
91
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
@@ -58,6 +58,7 @@ const getRuntimeConfig = (config) => {
58
58
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
59
59
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
60
60
  useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
61
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
61
62
  };
62
63
  };
63
64
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,7 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { AwsSdkSigV4Signer, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
- import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
4
+ import { NODE_APP_ID_CONFIG_OPTIONS, defaultUserAgent } from "@aws-sdk/util-user-agent-node";
5
5
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
6
  import { NoAuthSigner } from "@smithy/core";
7
7
  import { Hash } from "@smithy/hash-node";
@@ -54,5 +54,6 @@ export const getRuntimeConfig = (config) => {
54
54
  streamCollector: config?.streamCollector ?? streamCollector,
55
55
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
56
56
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
57
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
57
58
  };
58
59
  };
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
29
29
  logger: import("@smithy/types").Logger;
30
30
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
32
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
33
34
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
34
35
  endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -10,7 +10,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
10
10
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
13
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
13
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
14
14
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
15
15
  schemeId: string;
16
16
  identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
24
24
  streamCollector: import("@smithy/types").StreamCollector;
25
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
27
28
  apiVersion: string;
28
29
  cacheMiddleware?: boolean | undefined;
29
30
  urlParser: import("@smithy/types").UrlParser;
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
+ defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
24
24
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
25
  maxAttempts: number | import("@smithy/types").Provider<number>;
26
26
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -28,6 +28,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
28
28
  extensions: import("./runtimeExtensions").RuntimeExtension[];
29
29
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
30
30
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
31
32
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
32
33
  endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
33
34
  endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -9,9 +9,9 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
11
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
- defaultUserAgentProvider: import("@smithy/types").Provider<
13
- import("@smithy/types").UserAgent
14
- >;
12
+ defaultUserAgentProvider: (
13
+ config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
14
+ ) => Promise<import("@smithy/types").UserAgent>;
15
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
16
16
  region: string | import("@smithy/types").Provider<any>;
17
17
  requestHandler:
@@ -34,6 +34,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
34
34
  logger: import("@smithy/types").Logger;
35
35
  extensions: import("./runtimeExtensions").RuntimeExtension[];
36
36
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
37
+ userAgentAppId?:
38
+ | string
39
+ | import("@smithy/types").Provider<string | undefined>
40
+ | undefined;
37
41
  retryStrategy?:
38
42
  | import("@smithy/types").RetryStrategy
39
43
  | import("@smithy/types").RetryStrategyV2
@@ -15,9 +15,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
15
15
  ) => import("@smithy/types").MemoizedProvider<
16
16
  import("@smithy/types").AwsCredentialIdentity
17
17
  >;
18
- defaultUserAgentProvider: import("@smithy/types").Provider<
19
- import("@smithy/types").UserAgent
20
- >;
18
+ defaultUserAgentProvider: (
19
+ config?:
20
+ | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
21
+ | undefined
22
+ ) => Promise<import("@smithy/types").UserAgent>;
21
23
  httpAuthSchemes:
22
24
  | import("@smithy/types").HttpAuthScheme[]
23
25
  | {
@@ -41,6 +43,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
41
43
  streamCollector: import("@smithy/types").StreamCollector;
42
44
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
43
45
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
46
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
44
47
  apiVersion: string;
45
48
  cacheMiddleware?: boolean | undefined;
46
49
  urlParser: import("@smithy/types").UrlParser;
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
- defaultUserAgentProvider: import("@smithy/types").Provider<
26
- import("@smithy/types").UserAgent
27
- >;
25
+ defaultUserAgentProvider: (
26
+ config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
27
+ ) => Promise<import("@smithy/types").UserAgent>;
28
28
  credentialDefaultProvider: (
29
29
  input: any
30
30
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
38
38
  import("@smithy/smithy-client").DefaultsMode
39
39
  >;
40
40
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
41
+ userAgentAppId?:
42
+ | string
43
+ | import("@smithy/types").Provider<string | undefined>
44
+ | undefined;
41
45
  retryStrategy?:
42
46
  | import("@smithy/types").RetryStrategy
43
47
  | import("@smithy/types").RetryStrategyV2
@@ -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.662.0",
4
+ "version": "3.665.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,18 +22,18 @@
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.662.0",
26
- "@aws-sdk/core": "3.662.0",
27
- "@aws-sdk/credential-provider-node": "3.662.0",
28
- "@aws-sdk/middleware-host-header": "3.662.0",
29
- "@aws-sdk/middleware-logger": "3.662.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.662.0",
31
- "@aws-sdk/middleware-user-agent": "3.662.0",
32
- "@aws-sdk/region-config-resolver": "3.662.0",
33
- "@aws-sdk/types": "3.662.0",
34
- "@aws-sdk/util-endpoints": "3.662.0",
35
- "@aws-sdk/util-user-agent-browser": "3.662.0",
36
- "@aws-sdk/util-user-agent-node": "3.662.0",
25
+ "@aws-sdk/client-sso-oidc": "3.665.0",
26
+ "@aws-sdk/core": "3.665.0",
27
+ "@aws-sdk/credential-provider-node": "3.665.0",
28
+ "@aws-sdk/middleware-host-header": "3.664.0",
29
+ "@aws-sdk/middleware-logger": "3.664.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.664.0",
31
+ "@aws-sdk/middleware-user-agent": "3.664.0",
32
+ "@aws-sdk/region-config-resolver": "3.664.0",
33
+ "@aws-sdk/types": "3.664.0",
34
+ "@aws-sdk/util-endpoints": "3.664.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.664.0",
36
+ "@aws-sdk/util-user-agent-node": "3.664.0",
37
37
  "@smithy/config-resolver": "^3.0.9",
38
38
  "@smithy/core": "^2.4.7",
39
39
  "@smithy/fetch-http-handler": "^3.2.9",
@@ -44,12 +44,12 @@ __name(validateAccountIdEndpointMode, "validateAccountIdEndpointMode");
44
44
 
45
45
  // src/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.ts
46
46
  var resolveAccountIdEndpointModeConfig = /* @__PURE__ */ __name((input) => {
47
+ const accountIdEndpointModeProvider = (0, import_util_middleware.normalizeProvider)(
48
+ input.accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE
49
+ );
47
50
  return {
48
51
  ...input,
49
52
  accountIdEndpointMode: async () => {
50
- const accountIdEndpointModeProvider = (0, import_util_middleware.normalizeProvider)(
51
- input.accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE
52
- );
53
53
  const accIdMode = await accountIdEndpointModeProvider();
54
54
  if (!validateAccountIdEndpointMode(accIdMode)) {
55
55
  throw new Error(
@@ -21,7 +21,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/submodules/client/index.ts
22
22
  var client_exports = {};
23
23
  __export(client_exports, {
24
- emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion
24
+ emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,
25
+ setFeature: () => setFeature
25
26
  });
26
27
  module.exports = __toCommonJS(client_exports);
27
28
 
@@ -41,7 +42,21 @@ More information can be found at: https://a.co/74kJMmI`
41
42
  );
42
43
  }
43
44
  }, "emitWarningIfUnsupportedVersion");
45
+
46
+ // src/submodules/client/setFeature.ts
47
+ function setFeature(context, feature, value) {
48
+ if (!context.__aws_sdk_context) {
49
+ context.__aws_sdk_context = {
50
+ features: {}
51
+ };
52
+ } else if (!context.__aws_sdk_context.features) {
53
+ context.__aws_sdk_context.features = {};
54
+ }
55
+ context.__aws_sdk_context.features[feature] = value;
56
+ }
57
+ __name(setFeature, "setFeature");
44
58
  // Annotate the CommonJS export names for ESM import in node:
45
59
  0 && (module.exports = {
46
- emitWarningIfUnsupportedVersion
60
+ emitWarningIfUnsupportedVersion,
61
+ setFeature
47
62
  });
@@ -1,10 +1,10 @@
1
1
  import { normalizeProvider } from "@smithy/util-middleware";
2
2
  import { DEFAULT_ACCOUNT_ID_ENDPOINT_MODE, validateAccountIdEndpointMode, } from "./AccountIdEndpointModeConstants";
3
3
  export const resolveAccountIdEndpointModeConfig = (input) => {
4
+ const accountIdEndpointModeProvider = normalizeProvider(input.accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE);
4
5
  return {
5
6
  ...input,
6
7
  accountIdEndpointMode: async () => {
7
- const accountIdEndpointModeProvider = normalizeProvider(input.accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE);
8
8
  const accIdMode = await accountIdEndpointModeProvider();
9
9
  if (!validateAccountIdEndpointMode(accIdMode)) {
10
10
  throw new Error(`Invalid value for accountIdEndpointMode: ${accIdMode}. Valid values are: "required", "preferred", "disabled".`);
@@ -1 +1,2 @@
1
1
  export * from "./emitWarningIfUnsupportedVersion";
2
+ export * from "./setFeature";
@@ -0,0 +1,11 @@
1
+ export function setFeature(context, feature, value) {
2
+ if (!context.__aws_sdk_context) {
3
+ context.__aws_sdk_context = {
4
+ features: {},
5
+ };
6
+ }
7
+ else if (!context.__aws_sdk_context.features) {
8
+ context.__aws_sdk_context.features = {};
9
+ }
10
+ context.__aws_sdk_context.features[feature] = value;
11
+ }
@@ -1 +1,2 @@
1
1
  export * from "./emitWarningIfUnsupportedVersion";
2
+ export * from "./setFeature";
@@ -0,0 +1,12 @@
1
+ import type { AwsHandlerExecutionContext, AwsSdkFeatures } from "@aws-sdk/types";
2
+ /**
3
+ * @internal
4
+ * Indicates to the request context that a given feature is active.
5
+ *
6
+ * @param context - handler execution context.
7
+ * @param feature - readable name of feature.
8
+ * @param value - encoding value of feature. This is required because the
9
+ * specification asks the SDK not to include a runtime lookup of all
10
+ * the feature identifiers.
11
+ */
12
+ export declare function setFeature<F extends keyof AwsSdkFeatures>(context: AwsHandlerExecutionContext, feature: F, value: AwsSdkFeatures[F]): void;
@@ -1 +1,2 @@
1
1
  export * from "./emitWarningIfUnsupportedVersion";
2
+ export * from "./setFeature";
@@ -0,0 +1,6 @@
1
+ import { AwsHandlerExecutionContext, AwsSdkFeatures } from "@aws-sdk/types";
2
+ export declare function setFeature<F extends keyof AwsSdkFeatures>(
3
+ context: AwsHandlerExecutionContext,
4
+ feature: F,
5
+ value: AwsSdkFeatures[F]
6
+ ): void;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.662.0",
3
+ "version": "3.665.0",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -79,6 +79,7 @@
79
79
  },
80
80
  "license": "Apache-2.0",
81
81
  "dependencies": {
82
+ "@aws-sdk/types": "3.664.0",
82
83
  "@smithy/core": "^2.4.7",
83
84
  "@smithy/node-config-provider": "^3.1.8",
84
85
  "@smithy/property-provider": "^3.1.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.662.0",
3
+ "version": "3.664.0",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.662.0",
27
+ "@aws-sdk/types": "3.664.0",
28
28
  "@smithy/property-provider": "^3.1.7",
29
29
  "@smithy/types": "^3.5.0",
30
30
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.662.0",
3
+ "version": "3.664.0",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/types": "3.662.0",
29
+ "@aws-sdk/types": "3.664.0",
30
30
  "@smithy/fetch-http-handler": "^3.2.9",
31
31
  "@smithy/node-http-handler": "^3.2.4",
32
32
  "@smithy/property-provider": "^3.1.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.662.0",
3
+ "version": "3.665.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/credential-provider-env": "3.662.0",
28
- "@aws-sdk/credential-provider-http": "3.662.0",
29
- "@aws-sdk/credential-provider-process": "3.662.0",
30
- "@aws-sdk/credential-provider-sso": "3.662.0",
31
- "@aws-sdk/credential-provider-web-identity": "3.662.0",
32
- "@aws-sdk/types": "3.662.0",
27
+ "@aws-sdk/credential-provider-env": "3.664.0",
28
+ "@aws-sdk/credential-provider-http": "3.664.0",
29
+ "@aws-sdk/credential-provider-process": "3.664.0",
30
+ "@aws-sdk/credential-provider-sso": "3.665.0",
31
+ "@aws-sdk/credential-provider-web-identity": "3.664.0",
32
+ "@aws-sdk/types": "3.664.0",
33
33
  "@smithy/credential-provider-imds": "^3.2.4",
34
34
  "@smithy/property-provider": "^3.1.7",
35
35
  "@smithy/shared-ini-file-loader": "^3.1.8",
@@ -45,7 +45,7 @@
45
45
  "typescript": "~4.9.5"
46
46
  },
47
47
  "peerDependencies": {
48
- "@aws-sdk/client-sts": "^3.662.0"
48
+ "@aws-sdk/client-sts": "^3.665.0"
49
49
  },
50
50
  "types": "./dist-types/index.d.ts",
51
51
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.662.0",
3
+ "version": "3.665.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=16.0.0"
@@ -28,13 +28,13 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/credential-provider-env": "3.662.0",
32
- "@aws-sdk/credential-provider-http": "3.662.0",
33
- "@aws-sdk/credential-provider-ini": "3.662.0",
34
- "@aws-sdk/credential-provider-process": "3.662.0",
35
- "@aws-sdk/credential-provider-sso": "3.662.0",
36
- "@aws-sdk/credential-provider-web-identity": "3.662.0",
37
- "@aws-sdk/types": "3.662.0",
31
+ "@aws-sdk/credential-provider-env": "3.664.0",
32
+ "@aws-sdk/credential-provider-http": "3.664.0",
33
+ "@aws-sdk/credential-provider-ini": "3.665.0",
34
+ "@aws-sdk/credential-provider-process": "3.664.0",
35
+ "@aws-sdk/credential-provider-sso": "3.665.0",
36
+ "@aws-sdk/credential-provider-web-identity": "3.664.0",
37
+ "@aws-sdk/types": "3.664.0",
38
38
  "@smithy/credential-provider-imds": "^3.2.4",
39
39
  "@smithy/property-provider": "^3.1.7",
40
40
  "@smithy/shared-ini-file-loader": "^3.1.8",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.662.0",
3
+ "version": "3.664.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",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.662.0",
27
+ "@aws-sdk/types": "3.664.0",
28
28
  "@smithy/property-provider": "^3.1.7",
29
29
  "@smithy/shared-ini-file-loader": "^3.1.8",
30
30
  "@smithy/types": "^3.5.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.662.0",
3
+ "version": "3.665.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",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/client-sso": "3.662.0",
28
- "@aws-sdk/token-providers": "3.662.0",
29
- "@aws-sdk/types": "3.662.0",
27
+ "@aws-sdk/client-sso": "3.665.0",
28
+ "@aws-sdk/token-providers": "3.664.0",
29
+ "@aws-sdk/types": "3.664.0",
30
30
  "@smithy/property-provider": "^3.1.7",
31
31
  "@smithy/shared-ini-file-loader": "^3.1.8",
32
32
  "@smithy/types": "^3.5.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.662.0",
3
+ "version": "3.664.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",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "license": "Apache-2.0",
34
34
  "dependencies": {
35
- "@aws-sdk/types": "3.662.0",
35
+ "@aws-sdk/types": "3.664.0",
36
36
  "@smithy/property-provider": "^3.1.7",
37
37
  "@smithy/types": "^3.5.0",
38
38
  "tslib": "^2.6.2"
@@ -46,7 +46,7 @@
46
46
  "typescript": "~4.9.5"
47
47
  },
48
48
  "peerDependencies": {
49
- "@aws-sdk/client-sts": "^3.662.0"
49
+ "@aws-sdk/client-sts": "^3.664.0"
50
50
  },
51
51
  "types": "./dist-types/index.d.ts",
52
52
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-host-header",
3
- "version": "3.662.0",
3
+ "version": "3.664.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",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/types": "3.662.0",
24
+ "@aws-sdk/types": "3.664.0",
25
25
  "@smithy/protocol-http": "^4.1.4",
26
26
  "@smithy/types": "^3.5.0",
27
27
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-logger",
3
- "version": "3.662.0",
3
+ "version": "3.664.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",
@@ -22,7 +22,7 @@
22
22
  "module": "./dist-es/index.js",
23
23
  "types": "./dist-types/index.d.ts",
24
24
  "dependencies": {
25
- "@aws-sdk/types": "3.662.0",
25
+ "@aws-sdk/types": "3.664.0",
26
26
  "@smithy/types": "^3.5.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.662.0",
3
+ "version": "3.664.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",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/types": "3.662.0",
24
+ "@aws-sdk/types": "3.664.0",
25
25
  "@smithy/protocol-http": "^4.1.4",
26
26
  "@smithy/types": "^3.5.0",
27
27
  "tslib": "^2.6.2"