@cdk8s/awscdk-resolver 0.0.94 → 0.0.96

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 (198) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +7 -5
  4. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  5. package/node_modules/@aws-sdk/client-sso-oidc/LICENSE +201 -0
  6. package/node_modules/@aws-sdk/client-sso-oidc/README.md +274 -0
  7. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js +64 -0
  8. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +14 -0
  9. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +7 -0
  10. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +1024 -0
  11. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +39 -0
  12. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +49 -0
  13. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +15 -0
  14. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +40 -0
  15. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +15 -0
  16. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +52 -0
  17. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  18. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js +58 -0
  19. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +25 -0
  20. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +25 -0
  21. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +25 -0
  22. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +25 -0
  23. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +4 -0
  24. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +14 -0
  25. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +10 -0
  26. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +4 -0
  27. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/extensionConfiguration.js +1 -0
  28. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +5 -0
  29. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +8 -0
  30. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +1 -0
  31. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +217 -0
  32. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +409 -0
  33. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +34 -0
  34. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +44 -0
  35. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +11 -0
  36. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +36 -0
  37. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js +21 -0
  38. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +75 -0
  39. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +212 -0
  40. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  41. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  42. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +162 -0
  43. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +244 -0
  44. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +108 -0
  45. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +111 -0
  46. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +4 -0
  47. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  48. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +5 -0
  49. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +2 -0
  50. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/extensionConfiguration.d.ts +9 -0
  51. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +50 -0
  52. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +13 -0
  53. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +1 -0
  54. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +734 -0
  55. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +38 -0
  56. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +53 -0
  57. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +53 -0
  58. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +52 -0
  59. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +32 -0
  60. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeExtensions.d.ts +17 -0
  61. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +73 -0
  62. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +144 -0
  63. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  64. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  65. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +35 -0
  66. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +39 -0
  67. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +38 -0
  68. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +39 -0
  69. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +4 -0
  70. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  71. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  72. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  73. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  74. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +8 -0
  75. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +8 -0
  76. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +1 -0
  77. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +201 -0
  78. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
  79. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +110 -0
  80. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +114 -0
  81. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  82. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +49 -0
  83. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  84. package/node_modules/@aws-sdk/client-sso-oidc/package.json +100 -0
  85. package/node_modules/@aws-sdk/client-sts/LICENSE +201 -0
  86. package/node_modules/@aws-sdk/client-sts/README.md +273 -0
  87. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +56 -0
  88. package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  89. package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js +67 -0
  90. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js +20 -0
  91. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +14 -0
  92. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +7 -0
  93. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1457 -0
  94. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +39 -0
  95. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +63 -0
  96. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.native.js +15 -0
  97. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +40 -0
  98. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +25 -0
  99. package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +23 -0
  100. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +52 -0
  101. package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  102. package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js +60 -0
  103. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +25 -0
  104. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +25 -0
  105. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +25 -0
  106. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +24 -0
  107. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +24 -0
  108. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +24 -0
  109. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +25 -0
  110. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +25 -0
  111. package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +8 -0
  112. package/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js +22 -0
  113. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +67 -0
  114. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js +16 -0
  115. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +10 -0
  116. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +4 -0
  117. package/node_modules/@aws-sdk/client-sts/dist-es/extensionConfiguration.js +1 -0
  118. package/node_modules/@aws-sdk/client-sts/dist-es/index.js +6 -0
  119. package/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js +8 -0
  120. package/node_modules/@aws-sdk/client-sts/dist-es/models/index.js +1 -0
  121. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +130 -0
  122. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +885 -0
  123. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +34 -0
  124. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +58 -0
  125. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.native.js +11 -0
  126. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +36 -0
  127. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +21 -0
  128. package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +71 -0
  129. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +182 -0
  130. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  131. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +71 -0
  132. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +257 -0
  133. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +282 -0
  134. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +291 -0
  135. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +115 -0
  136. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +75 -0
  137. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +116 -0
  138. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +230 -0
  139. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +154 -0
  140. package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +8 -0
  141. package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +23 -0
  142. package/node_modules/@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers.d.ts +43 -0
  143. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/EndpointParameters.d.ts +46 -0
  144. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/endpointResolver.d.ts +5 -0
  145. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/ruleset.d.ts +2 -0
  146. package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +9 -0
  147. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +17 -0
  148. package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +13 -0
  149. package/node_modules/@aws-sdk/client-sts/dist-types/models/index.d.ts +1 -0
  150. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +1213 -0
  151. package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +74 -0
  152. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +54 -0
  153. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +52 -0
  154. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +53 -0
  155. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +32 -0
  156. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +17 -0
  157. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +143 -0
  158. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +165 -0
  159. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  160. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +54 -0
  161. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +35 -0
  162. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +39 -0
  163. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +39 -0
  164. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +39 -0
  165. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +38 -0
  166. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +39 -0
  167. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +39 -0
  168. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +38 -0
  169. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +8 -0
  170. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultRoleAssumers.d.ts +19 -0
  171. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +33 -0
  172. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +57 -0
  173. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  174. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  175. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  176. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +9 -0
  177. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/STSServiceException.d.ts +8 -0
  178. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/index.d.ts +1 -0
  179. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +206 -0
  180. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +101 -0
  181. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +116 -0
  182. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +109 -0
  183. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +110 -0
  184. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +51 -0
  185. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  186. package/node_modules/@aws-sdk/client-sts/package.json +102 -0
  187. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  188. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  189. package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
  190. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  191. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  192. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  193. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  194. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  195. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  196. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  197. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  198. package/package.json +3 -3
@@ -0,0 +1,54 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ Client,
8
+ HandlerExecutionContext,
9
+ HttpAuthScheme,
10
+ HttpAuthSchemeParameters,
11
+ HttpAuthSchemeParametersProvider,
12
+ HttpAuthSchemeProvider,
13
+ } from "@smithy/types";
14
+ import { STSClientResolvedConfig } from "../STSClient";
15
+ export interface STSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface STSHttpAuthSchemeParametersProvider
19
+ extends HttpAuthSchemeParametersProvider<
20
+ STSClientResolvedConfig,
21
+ HandlerExecutionContext,
22
+ STSHttpAuthSchemeParameters,
23
+ object
24
+ > {}
25
+ export declare const defaultSTSHttpAuthSchemeParametersProvider: (
26
+ config: STSClientResolvedConfig,
27
+ context: HandlerExecutionContext,
28
+ input: object
29
+ ) => Promise<STSHttpAuthSchemeParameters>;
30
+ export interface STSHttpAuthSchemeProvider
31
+ extends HttpAuthSchemeProvider<STSHttpAuthSchemeParameters> {}
32
+ export declare const defaultSTSHttpAuthSchemeProvider: STSHttpAuthSchemeProvider;
33
+ export interface StsAuthInputConfig {}
34
+ export interface StsAuthResolvedConfig {
35
+ stsClientCtor: new (clientConfig: any) => Client<any, any, any>;
36
+ }
37
+ export declare const resolveStsAuthConfig: <T>(
38
+ input: T & StsAuthInputConfig
39
+ ) => T & StsAuthResolvedConfig;
40
+ export interface HttpAuthSchemeInputConfig
41
+ extends StsAuthInputConfig,
42
+ AwsSdkSigV4AuthInputConfig {
43
+ httpAuthSchemes?: HttpAuthScheme[];
44
+ httpAuthSchemeProvider?: STSHttpAuthSchemeProvider;
45
+ }
46
+ export interface HttpAuthSchemeResolvedConfig
47
+ extends StsAuthResolvedConfig,
48
+ AwsSdkSigV4AuthResolvedConfig {
49
+ readonly httpAuthSchemes: HttpAuthScheme[];
50
+ readonly httpAuthSchemeProvider: STSHttpAuthSchemeProvider;
51
+ }
52
+ export declare const resolveHttpAuthSchemeConfig: <T>(
53
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
54
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
4
+ import {
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ STSClientResolvedConfig,
8
+ } from "../STSClient";
9
+ export { __MetadataBearer, $Command };
10
+ export interface AssumeRoleCommandInput extends AssumeRoleRequest {}
11
+ export interface AssumeRoleCommandOutput
12
+ extends AssumeRoleResponse,
13
+ __MetadataBearer {}
14
+ declare const AssumeRoleCommand_base: {
15
+ new (
16
+ input: AssumeRoleCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ AssumeRoleCommandInput,
19
+ AssumeRoleCommandOutput,
20
+ STSClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ new (
25
+ __0_0: AssumeRoleCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ AssumeRoleCommandInput,
28
+ AssumeRoleCommandOutput,
29
+ STSClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class AssumeRoleCommand extends AssumeRoleCommand_base {}
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AssumeRoleWithSAMLRequest,
5
+ AssumeRoleWithSAMLResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ STSClientResolvedConfig,
11
+ } from "../STSClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface AssumeRoleWithSAMLCommandInput
14
+ extends AssumeRoleWithSAMLRequest {}
15
+ export interface AssumeRoleWithSAMLCommandOutput
16
+ extends AssumeRoleWithSAMLResponse,
17
+ __MetadataBearer {}
18
+ declare const AssumeRoleWithSAMLCommand_base: {
19
+ new (
20
+ input: AssumeRoleWithSAMLCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ AssumeRoleWithSAMLCommandInput,
23
+ AssumeRoleWithSAMLCommandOutput,
24
+ STSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: AssumeRoleWithSAMLCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ AssumeRoleWithSAMLCommandInput,
32
+ AssumeRoleWithSAMLCommandOutput,
33
+ STSClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class AssumeRoleWithSAMLCommand extends AssumeRoleWithSAMLCommand_base {}
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AssumeRoleWithWebIdentityRequest,
5
+ AssumeRoleWithWebIdentityResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ STSClientResolvedConfig,
11
+ } from "../STSClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface AssumeRoleWithWebIdentityCommandInput
14
+ extends AssumeRoleWithWebIdentityRequest {}
15
+ export interface AssumeRoleWithWebIdentityCommandOutput
16
+ extends AssumeRoleWithWebIdentityResponse,
17
+ __MetadataBearer {}
18
+ declare const AssumeRoleWithWebIdentityCommand_base: {
19
+ new (
20
+ input: AssumeRoleWithWebIdentityCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ AssumeRoleWithWebIdentityCommandInput,
23
+ AssumeRoleWithWebIdentityCommandOutput,
24
+ STSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: AssumeRoleWithWebIdentityCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ AssumeRoleWithWebIdentityCommandInput,
32
+ AssumeRoleWithWebIdentityCommandOutput,
33
+ STSClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class AssumeRoleWithWebIdentityCommand extends AssumeRoleWithWebIdentityCommand_base {}
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DecodeAuthorizationMessageRequest,
5
+ DecodeAuthorizationMessageResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ STSClientResolvedConfig,
11
+ } from "../STSClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface DecodeAuthorizationMessageCommandInput
14
+ extends DecodeAuthorizationMessageRequest {}
15
+ export interface DecodeAuthorizationMessageCommandOutput
16
+ extends DecodeAuthorizationMessageResponse,
17
+ __MetadataBearer {}
18
+ declare const DecodeAuthorizationMessageCommand_base: {
19
+ new (
20
+ input: DecodeAuthorizationMessageCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ DecodeAuthorizationMessageCommandInput,
23
+ DecodeAuthorizationMessageCommandOutput,
24
+ STSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: DecodeAuthorizationMessageCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DecodeAuthorizationMessageCommandInput,
32
+ DecodeAuthorizationMessageCommandOutput,
33
+ STSClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class DecodeAuthorizationMessageCommand extends DecodeAuthorizationMessageCommand_base {}
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetAccessKeyInfoRequest,
5
+ GetAccessKeyInfoResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ STSClientResolvedConfig,
11
+ } from "../STSClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface GetAccessKeyInfoCommandInput extends GetAccessKeyInfoRequest {}
14
+ export interface GetAccessKeyInfoCommandOutput
15
+ extends GetAccessKeyInfoResponse,
16
+ __MetadataBearer {}
17
+ declare const GetAccessKeyInfoCommand_base: {
18
+ new (
19
+ input: GetAccessKeyInfoCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ GetAccessKeyInfoCommandInput,
22
+ GetAccessKeyInfoCommandOutput,
23
+ STSClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ new (
28
+ __0_0: GetAccessKeyInfoCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ GetAccessKeyInfoCommandInput,
31
+ GetAccessKeyInfoCommandOutput,
32
+ STSClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ };
38
+ export declare class GetAccessKeyInfoCommand extends GetAccessKeyInfoCommand_base {}
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetCallerIdentityRequest,
5
+ GetCallerIdentityResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ STSClientResolvedConfig,
11
+ } from "../STSClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface GetCallerIdentityCommandInput
14
+ extends GetCallerIdentityRequest {}
15
+ export interface GetCallerIdentityCommandOutput
16
+ extends GetCallerIdentityResponse,
17
+ __MetadataBearer {}
18
+ declare const GetCallerIdentityCommand_base: {
19
+ new (
20
+ input: GetCallerIdentityCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetCallerIdentityCommandInput,
23
+ GetCallerIdentityCommandOutput,
24
+ STSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: [] | [GetCallerIdentityCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetCallerIdentityCommandInput,
32
+ GetCallerIdentityCommandOutput,
33
+ STSClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetCallerIdentityCommand extends GetCallerIdentityCommand_base {}
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetFederationTokenRequest,
5
+ GetFederationTokenResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ STSClientResolvedConfig,
11
+ } from "../STSClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface GetFederationTokenCommandInput
14
+ extends GetFederationTokenRequest {}
15
+ export interface GetFederationTokenCommandOutput
16
+ extends GetFederationTokenResponse,
17
+ __MetadataBearer {}
18
+ declare const GetFederationTokenCommand_base: {
19
+ new (
20
+ input: GetFederationTokenCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetFederationTokenCommandInput,
23
+ GetFederationTokenCommandOutput,
24
+ STSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: GetFederationTokenCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetFederationTokenCommandInput,
32
+ GetFederationTokenCommandOutput,
33
+ STSClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetFederationTokenCommand extends GetFederationTokenCommand_base {}
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetSessionTokenRequest,
5
+ GetSessionTokenResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ STSClientResolvedConfig,
11
+ } from "../STSClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {}
14
+ export interface GetSessionTokenCommandOutput
15
+ extends GetSessionTokenResponse,
16
+ __MetadataBearer {}
17
+ declare const GetSessionTokenCommand_base: {
18
+ new (
19
+ input: GetSessionTokenCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ GetSessionTokenCommandInput,
22
+ GetSessionTokenCommandOutput,
23
+ STSClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ new (
28
+ ...[input]: [] | [GetSessionTokenCommandInput]
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ GetSessionTokenCommandInput,
31
+ GetSessionTokenCommandOutput,
32
+ STSClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ };
38
+ export declare class GetSessionTokenCommand extends GetSessionTokenCommand_base {}
@@ -0,0 +1,8 @@
1
+ export * from "./AssumeRoleCommand";
2
+ export * from "./AssumeRoleWithSAMLCommand";
3
+ export * from "./AssumeRoleWithWebIdentityCommand";
4
+ export * from "./DecodeAuthorizationMessageCommand";
5
+ export * from "./GetAccessKeyInfoCommand";
6
+ export * from "./GetCallerIdentityCommand";
7
+ export * from "./GetFederationTokenCommand";
8
+ export * from "./GetSessionTokenCommand";
@@ -0,0 +1,19 @@
1
+ import { Pluggable } from "@smithy/types";
2
+ import {
3
+ DefaultCredentialProvider,
4
+ RoleAssumer,
5
+ RoleAssumerWithWebIdentity,
6
+ STSRoleAssumerOptions,
7
+ } from "./defaultStsRoleAssumers";
8
+ import { ServiceInputTypes, ServiceOutputTypes } from "./STSClient";
9
+ export declare const getDefaultRoleAssumer: (
10
+ stsOptions?: STSRoleAssumerOptions,
11
+ stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[]
12
+ ) => RoleAssumer;
13
+ export declare const getDefaultRoleAssumerWithWebIdentity: (
14
+ stsOptions?: STSRoleAssumerOptions,
15
+ stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[]
16
+ ) => RoleAssumerWithWebIdentity;
17
+ export declare const decorateDefaultCredentialProvider: (
18
+ provider: DefaultCredentialProvider
19
+ ) => DefaultCredentialProvider;
@@ -0,0 +1,33 @@
1
+ import { CredentialProviderOptions } from "@aws-sdk/types";
2
+ import { AwsCredentialIdentity, Logger, Provider } from "@smithy/types";
3
+ import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
4
+ import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
5
+ import { STSClient, STSClientConfig } from "./STSClient";
6
+ export type STSRoleAssumerOptions = Pick<
7
+ STSClientConfig,
8
+ "logger" | "region" | "requestHandler"
9
+ > & {
10
+ credentialProviderLogger?: Logger;
11
+ parentClientConfig?: CredentialProviderOptions["parentClientConfig"];
12
+ };
13
+ export type RoleAssumer = (
14
+ sourceCreds: AwsCredentialIdentity,
15
+ params: AssumeRoleCommandInput
16
+ ) => Promise<AwsCredentialIdentity>;
17
+ export declare const getDefaultRoleAssumer: (
18
+ stsOptions: STSRoleAssumerOptions,
19
+ stsClientCtor: new (options: STSClientConfig) => STSClient
20
+ ) => RoleAssumer;
21
+ export type RoleAssumerWithWebIdentity = (
22
+ params: AssumeRoleWithWebIdentityCommandInput
23
+ ) => Promise<AwsCredentialIdentity>;
24
+ export declare const getDefaultRoleAssumerWithWebIdentity: (
25
+ stsOptions: STSRoleAssumerOptions,
26
+ stsClientCtor: new (options: STSClientConfig) => STSClient
27
+ ) => RoleAssumerWithWebIdentity;
28
+ export type DefaultCredentialProvider = (
29
+ input: any
30
+ ) => Provider<AwsCredentialIdentity>;
31
+ export declare const decorateDefaultCredentialProvider: (
32
+ provider: DefaultCredentialProvider
33
+ ) => DefaultCredentialProvider;
@@ -0,0 +1,57 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ region?: string | Provider<string>;
9
+ useDualstackEndpoint?: boolean | Provider<boolean>;
10
+ useFipsEndpoint?: boolean | Provider<boolean>;
11
+ endpoint?:
12
+ | string
13
+ | Provider<string>
14
+ | Endpoint
15
+ | Provider<Endpoint>
16
+ | EndpointV2
17
+ | Provider<EndpointV2>;
18
+ useGlobalEndpoint?: boolean | Provider<boolean>;
19
+ }
20
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
21
+ defaultSigningName: string;
22
+ };
23
+ export declare const resolveClientEndpointParameters: <T>(
24
+ options: T & ClientInputEndpointParameters
25
+ ) => T &
26
+ ClientInputEndpointParameters & {
27
+ defaultSigningName: string;
28
+ };
29
+ export declare const commonParams: {
30
+ readonly UseGlobalEndpoint: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useGlobalEndpoint";
33
+ };
34
+ readonly UseFIPS: {
35
+ readonly type: "builtInParams";
36
+ readonly name: "useFipsEndpoint";
37
+ };
38
+ readonly Endpoint: {
39
+ readonly type: "builtInParams";
40
+ readonly name: "endpoint";
41
+ };
42
+ readonly Region: {
43
+ readonly type: "builtInParams";
44
+ readonly name: "region";
45
+ };
46
+ readonly UseDualStack: {
47
+ readonly type: "builtInParams";
48
+ readonly name: "useDualstackEndpoint";
49
+ };
50
+ };
51
+ export interface EndpointParameters extends __EndpointParameters {
52
+ Region?: string;
53
+ UseDualStack?: boolean;
54
+ UseFIPS?: boolean;
55
+ Endpoint?: string;
56
+ UseGlobalEndpoint?: boolean;
57
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ export interface STSExtensionConfiguration
6
+ extends HttpHandlerExtensionConfiguration,
7
+ DefaultExtensionConfiguration,
8
+ AwsRegionExtensionConfiguration,
9
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,9 @@
1
+ export * from "./STSClient";
2
+ export * from "./STS";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { STSExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./models";
8
+ export * from "./defaultRoleAssumers";
9
+ export { STSServiceException } from "./models/STSServiceException";
@@ -0,0 +1,8 @@
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
6
+ export declare class STSServiceException extends __ServiceException {
7
+ constructor(options: __ServiceExceptionOptions);
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";