@cdk8s/awscdk-resolver 0.0.95 → 0.0.97

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 (187) hide show
  1. package/.jsii +4 -4
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +4 -2
  4. package/node_modules/@aws-sdk/client-sso-oidc/LICENSE +201 -0
  5. package/node_modules/@aws-sdk/client-sso-oidc/README.md +274 -0
  6. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js +64 -0
  7. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +14 -0
  8. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +7 -0
  9. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +1024 -0
  10. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +39 -0
  11. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +49 -0
  12. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +15 -0
  13. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +40 -0
  14. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +15 -0
  15. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +52 -0
  16. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js +58 -0
  18. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +25 -0
  19. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +25 -0
  20. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +25 -0
  21. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +25 -0
  22. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +4 -0
  23. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +14 -0
  24. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +10 -0
  25. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +4 -0
  26. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/extensionConfiguration.js +1 -0
  27. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +5 -0
  28. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +8 -0
  29. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +1 -0
  30. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +217 -0
  31. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +409 -0
  32. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +34 -0
  33. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +44 -0
  34. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +11 -0
  35. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +36 -0
  36. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js +21 -0
  37. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +75 -0
  38. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +212 -0
  39. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  40. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  41. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +162 -0
  42. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +244 -0
  43. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +108 -0
  44. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +111 -0
  45. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +4 -0
  46. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  47. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +5 -0
  48. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +2 -0
  49. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/extensionConfiguration.d.ts +9 -0
  50. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +50 -0
  51. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +13 -0
  52. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +734 -0
  54. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +38 -0
  55. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +53 -0
  56. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +53 -0
  57. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +52 -0
  58. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +32 -0
  59. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeExtensions.d.ts +17 -0
  60. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +73 -0
  61. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +144 -0
  62. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  63. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  64. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +35 -0
  65. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +39 -0
  66. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +38 -0
  67. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +39 -0
  68. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +4 -0
  69. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  70. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  71. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  72. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  73. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +8 -0
  74. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +8 -0
  75. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +1 -0
  76. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +201 -0
  77. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
  78. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +110 -0
  79. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +114 -0
  80. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  81. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +49 -0
  82. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  83. package/node_modules/@aws-sdk/client-sso-oidc/package.json +100 -0
  84. package/node_modules/@aws-sdk/client-sts/LICENSE +201 -0
  85. package/node_modules/@aws-sdk/client-sts/README.md +273 -0
  86. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +56 -0
  87. package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  88. package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js +67 -0
  89. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js +20 -0
  90. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +14 -0
  91. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +7 -0
  92. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1457 -0
  93. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +39 -0
  94. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +63 -0
  95. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.native.js +15 -0
  96. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +40 -0
  97. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +25 -0
  98. package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +23 -0
  99. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +52 -0
  100. package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  101. package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js +60 -0
  102. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +25 -0
  103. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +25 -0
  104. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +25 -0
  105. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +24 -0
  106. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +24 -0
  107. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +24 -0
  108. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +25 -0
  109. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +25 -0
  110. package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +8 -0
  111. package/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js +22 -0
  112. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +67 -0
  113. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js +16 -0
  114. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +10 -0
  115. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +4 -0
  116. package/node_modules/@aws-sdk/client-sts/dist-es/extensionConfiguration.js +1 -0
  117. package/node_modules/@aws-sdk/client-sts/dist-es/index.js +6 -0
  118. package/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js +8 -0
  119. package/node_modules/@aws-sdk/client-sts/dist-es/models/index.js +1 -0
  120. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +130 -0
  121. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +885 -0
  122. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +34 -0
  123. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +58 -0
  124. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.native.js +11 -0
  125. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +36 -0
  126. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +21 -0
  127. package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +71 -0
  128. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +182 -0
  129. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  130. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +71 -0
  131. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +257 -0
  132. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +282 -0
  133. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +291 -0
  134. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +115 -0
  135. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +75 -0
  136. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +116 -0
  137. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +230 -0
  138. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +154 -0
  139. package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +8 -0
  140. package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +23 -0
  141. package/node_modules/@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers.d.ts +43 -0
  142. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/EndpointParameters.d.ts +46 -0
  143. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/endpointResolver.d.ts +5 -0
  144. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/ruleset.d.ts +2 -0
  145. package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +9 -0
  146. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +17 -0
  147. package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +13 -0
  148. package/node_modules/@aws-sdk/client-sts/dist-types/models/index.d.ts +1 -0
  149. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +1213 -0
  150. package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +74 -0
  151. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +54 -0
  152. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +52 -0
  153. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +53 -0
  154. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +32 -0
  155. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +17 -0
  156. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +143 -0
  157. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +165 -0
  158. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  159. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +54 -0
  160. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +35 -0
  161. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +39 -0
  162. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +39 -0
  163. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +39 -0
  164. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +38 -0
  165. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +39 -0
  166. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +39 -0
  167. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +38 -0
  168. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +8 -0
  169. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultRoleAssumers.d.ts +19 -0
  170. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +33 -0
  171. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +57 -0
  172. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  173. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  174. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  175. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +9 -0
  176. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/STSServiceException.d.ts +8 -0
  177. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/index.d.ts +1 -0
  178. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +206 -0
  179. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +101 -0
  180. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +116 -0
  181. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +109 -0
  182. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +110 -0
  183. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +51 -0
  184. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  185. package/node_modules/@aws-sdk/client-sts/package.json +102 -0
  186. package/node_modules/@aws-sdk/credential-provider-node/package.json +1 -1
  187. package/package.json +3 -3
@@ -0,0 +1,74 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "../commands/AssumeRoleCommand";
4
+ import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "../commands/AssumeRoleWithSAMLCommand";
5
+ import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "../commands/AssumeRoleWithWebIdentityCommand";
6
+ import { DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput } from "../commands/DecodeAuthorizationMessageCommand";
7
+ import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "../commands/GetAccessKeyInfoCommand";
8
+ import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "../commands/GetCallerIdentityCommand";
9
+ import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "../commands/GetFederationTokenCommand";
10
+ import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "../commands/GetSessionTokenCommand";
11
+ /**
12
+ * serializeAws_queryAssumeRoleCommand
13
+ */
14
+ export declare const se_AssumeRoleCommand: (input: AssumeRoleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
+ /**
16
+ * serializeAws_queryAssumeRoleWithSAMLCommand
17
+ */
18
+ export declare const se_AssumeRoleWithSAMLCommand: (input: AssumeRoleWithSAMLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ /**
20
+ * serializeAws_queryAssumeRoleWithWebIdentityCommand
21
+ */
22
+ export declare const se_AssumeRoleWithWebIdentityCommand: (input: AssumeRoleWithWebIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
+ /**
24
+ * serializeAws_queryDecodeAuthorizationMessageCommand
25
+ */
26
+ export declare const se_DecodeAuthorizationMessageCommand: (input: DecodeAuthorizationMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
+ /**
28
+ * serializeAws_queryGetAccessKeyInfoCommand
29
+ */
30
+ export declare const se_GetAccessKeyInfoCommand: (input: GetAccessKeyInfoCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
+ /**
32
+ * serializeAws_queryGetCallerIdentityCommand
33
+ */
34
+ export declare const se_GetCallerIdentityCommand: (input: GetCallerIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
+ /**
36
+ * serializeAws_queryGetFederationTokenCommand
37
+ */
38
+ export declare const se_GetFederationTokenCommand: (input: GetFederationTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ /**
40
+ * serializeAws_queryGetSessionTokenCommand
41
+ */
42
+ export declare const se_GetSessionTokenCommand: (input: GetSessionTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
+ /**
44
+ * deserializeAws_queryAssumeRoleCommand
45
+ */
46
+ export declare const de_AssumeRoleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleCommandOutput>;
47
+ /**
48
+ * deserializeAws_queryAssumeRoleWithSAMLCommand
49
+ */
50
+ export declare const de_AssumeRoleWithSAMLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithSAMLCommandOutput>;
51
+ /**
52
+ * deserializeAws_queryAssumeRoleWithWebIdentityCommand
53
+ */
54
+ export declare const de_AssumeRoleWithWebIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
55
+ /**
56
+ * deserializeAws_queryDecodeAuthorizationMessageCommand
57
+ */
58
+ export declare const de_DecodeAuthorizationMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DecodeAuthorizationMessageCommandOutput>;
59
+ /**
60
+ * deserializeAws_queryGetAccessKeyInfoCommand
61
+ */
62
+ export declare const de_GetAccessKeyInfoCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccessKeyInfoCommandOutput>;
63
+ /**
64
+ * deserializeAws_queryGetCallerIdentityCommand
65
+ */
66
+ export declare const de_GetCallerIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCallerIdentityCommandOutput>;
67
+ /**
68
+ * deserializeAws_queryGetFederationTokenCommand
69
+ */
70
+ export declare const de_GetFederationTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFederationTokenCommandOutput>;
71
+ /**
72
+ * deserializeAws_queryGetSessionTokenCommand
73
+ */
74
+ export declare const de_GetSessionTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSessionTokenCommandOutput>;
@@ -0,0 +1,54 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { STSClientConfig } from "./STSClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
+ disableHostPrefix: boolean;
27
+ serviceId: string;
28
+ logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ 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;
31
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
32
+ logger?: import("@smithy/types").Logger | undefined;
33
+ } | undefined) => import("@smithy/types").EndpointV2;
34
+ tls?: boolean | undefined;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
36
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
37
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
38
+ schemeId: string;
39
+ identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
40
+ signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
41
+ } | {
42
+ schemeId: string;
43
+ identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
44
+ signer: import("@smithy/core").NoAuthSigner;
45
+ })[];
46
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
47
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
48
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
49
+ signingEscapePath?: boolean | undefined;
50
+ systemClockOffset?: number | undefined;
51
+ signingRegion?: string | undefined;
52
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
53
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
54
+ };
@@ -0,0 +1,52 @@
1
+ import { NoAuthSigner } from "@smithy/core";
2
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
3
+ import { IdentityProviderConfig } from "@smithy/types";
4
+ import { STSClientConfig } from "./STSClient";
5
+ /**
6
+ * @internal
7
+ */
8
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
9
+ runtime: string;
10
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
11
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
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>;
14
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
15
+ schemeId: string;
16
+ identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
17
+ signer: NoAuthSigner;
18
+ }[];
19
+ maxAttempts: number | import("@smithy/types").Provider<number>;
20
+ region: string | import("@smithy/types").Provider<string>;
21
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
22
+ retryMode: string | import("@smithy/types").Provider<string>;
23
+ sha256: import("@smithy/types").HashConstructor;
24
+ streamCollector: import("@smithy/types").StreamCollector;
25
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
+ apiVersion: string;
28
+ urlParser: import("@smithy/types").UrlParser;
29
+ base64Decoder: import("@smithy/types").Decoder;
30
+ base64Encoder: (_input: string | Uint8Array) => string;
31
+ utf8Decoder: import("@smithy/types").Decoder;
32
+ utf8Encoder: (input: string | Uint8Array) => string;
33
+ disableHostPrefix: boolean;
34
+ serviceId: string;
35
+ logger: import("@smithy/types").Logger;
36
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
37
+ 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;
38
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
39
+ logger?: import("@smithy/types").Logger | undefined;
40
+ } | undefined) => import("@smithy/types").EndpointV2;
41
+ tls?: boolean | undefined;
42
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
43
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
44
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
45
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
46
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
47
+ signingEscapePath?: boolean | undefined;
48
+ systemClockOffset?: number | undefined;
49
+ signingRegion?: string | undefined;
50
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
51
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
52
+ };
@@ -0,0 +1,53 @@
1
+ import { STSClientConfig } from "./STSClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
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
+ apiVersion: string;
10
+ urlParser: import("@smithy/types").UrlParser;
11
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
+ streamCollector: import("@smithy/types").StreamCollector;
13
+ base64Decoder: import("@smithy/types").Decoder;
14
+ base64Encoder: (_input: string | Uint8Array) => string;
15
+ utf8Decoder: import("@smithy/types").Decoder;
16
+ utf8Encoder: (input: string | Uint8Array) => string;
17
+ disableHostPrefix: boolean;
18
+ serviceId: string;
19
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
22
+ region: string | import("@smithy/types").Provider<any>;
23
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
24
+ maxAttempts: number | import("@smithy/types").Provider<number>;
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
+ logger: import("@smithy/types").Logger;
27
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
28
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
29
+ 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;
30
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@smithy/types").Logger | undefined;
32
+ } | undefined) => import("@smithy/types").EndpointV2;
33
+ tls?: boolean | undefined;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
36
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
37
+ schemeId: string;
38
+ identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
39
+ signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
40
+ } | {
41
+ schemeId: string;
42
+ identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
43
+ signer: import("@smithy/core").NoAuthSigner;
44
+ })[];
45
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
46
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
47
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
48
+ signingEscapePath?: boolean | undefined;
49
+ systemClockOffset?: number | undefined;
50
+ signingRegion?: string | undefined;
51
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
52
+ useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
53
+ };
@@ -0,0 +1,32 @@
1
+ import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { NoAuthSigner } from "@smithy/core";
3
+ import { IdentityProviderConfig } from "@smithy/types";
4
+ import { STSClientConfig } from "./STSClient";
5
+ /**
6
+ * @internal
7
+ */
8
+ export declare const getRuntimeConfig: (config: STSClientConfig) => {
9
+ apiVersion: string;
10
+ base64Decoder: import("@smithy/types").Decoder;
11
+ base64Encoder: (_input: string | Uint8Array) => string;
12
+ disableHostPrefix: boolean;
13
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
14
+ logger?: import("@smithy/types").Logger | undefined;
15
+ } | undefined) => import("@smithy/types").EndpointV2;
16
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
17
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
18
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
19
+ schemeId: string;
20
+ identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
21
+ signer: AwsSdkSigV4Signer;
22
+ } | {
23
+ schemeId: string;
24
+ identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
25
+ signer: NoAuthSigner;
26
+ })[];
27
+ logger: import("@smithy/types").Logger;
28
+ serviceId: string;
29
+ urlParser: import("@smithy/types").UrlParser;
30
+ utf8Decoder: import("@smithy/types").Decoder;
31
+ utf8Encoder: (input: string | Uint8Array) => string;
32
+ };
@@ -0,0 +1,17 @@
1
+ import { STSExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: STSExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,143 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ AssumeRoleCommandInput,
4
+ AssumeRoleCommandOutput,
5
+ } from "./commands/AssumeRoleCommand";
6
+ import {
7
+ AssumeRoleWithSAMLCommandInput,
8
+ AssumeRoleWithSAMLCommandOutput,
9
+ } from "./commands/AssumeRoleWithSAMLCommand";
10
+ import {
11
+ AssumeRoleWithWebIdentityCommandInput,
12
+ AssumeRoleWithWebIdentityCommandOutput,
13
+ } from "./commands/AssumeRoleWithWebIdentityCommand";
14
+ import {
15
+ DecodeAuthorizationMessageCommandInput,
16
+ DecodeAuthorizationMessageCommandOutput,
17
+ } from "./commands/DecodeAuthorizationMessageCommand";
18
+ import {
19
+ GetAccessKeyInfoCommandInput,
20
+ GetAccessKeyInfoCommandOutput,
21
+ } from "./commands/GetAccessKeyInfoCommand";
22
+ import {
23
+ GetCallerIdentityCommandInput,
24
+ GetCallerIdentityCommandOutput,
25
+ } from "./commands/GetCallerIdentityCommand";
26
+ import {
27
+ GetFederationTokenCommandInput,
28
+ GetFederationTokenCommandOutput,
29
+ } from "./commands/GetFederationTokenCommand";
30
+ import {
31
+ GetSessionTokenCommandInput,
32
+ GetSessionTokenCommandOutput,
33
+ } from "./commands/GetSessionTokenCommand";
34
+ import { STSClient } from "./STSClient";
35
+ export interface STS {
36
+ assumeRole(
37
+ args: AssumeRoleCommandInput,
38
+ options?: __HttpHandlerOptions
39
+ ): Promise<AssumeRoleCommandOutput>;
40
+ assumeRole(
41
+ args: AssumeRoleCommandInput,
42
+ cb: (err: any, data?: AssumeRoleCommandOutput) => void
43
+ ): void;
44
+ assumeRole(
45
+ args: AssumeRoleCommandInput,
46
+ options: __HttpHandlerOptions,
47
+ cb: (err: any, data?: AssumeRoleCommandOutput) => void
48
+ ): void;
49
+ assumeRoleWithSAML(
50
+ args: AssumeRoleWithSAMLCommandInput,
51
+ options?: __HttpHandlerOptions
52
+ ): Promise<AssumeRoleWithSAMLCommandOutput>;
53
+ assumeRoleWithSAML(
54
+ args: AssumeRoleWithSAMLCommandInput,
55
+ cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void
56
+ ): void;
57
+ assumeRoleWithSAML(
58
+ args: AssumeRoleWithSAMLCommandInput,
59
+ options: __HttpHandlerOptions,
60
+ cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void
61
+ ): void;
62
+ assumeRoleWithWebIdentity(
63
+ args: AssumeRoleWithWebIdentityCommandInput,
64
+ options?: __HttpHandlerOptions
65
+ ): Promise<AssumeRoleWithWebIdentityCommandOutput>;
66
+ assumeRoleWithWebIdentity(
67
+ args: AssumeRoleWithWebIdentityCommandInput,
68
+ cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void
69
+ ): void;
70
+ assumeRoleWithWebIdentity(
71
+ args: AssumeRoleWithWebIdentityCommandInput,
72
+ options: __HttpHandlerOptions,
73
+ cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void
74
+ ): void;
75
+ decodeAuthorizationMessage(
76
+ args: DecodeAuthorizationMessageCommandInput,
77
+ options?: __HttpHandlerOptions
78
+ ): Promise<DecodeAuthorizationMessageCommandOutput>;
79
+ decodeAuthorizationMessage(
80
+ args: DecodeAuthorizationMessageCommandInput,
81
+ cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void
82
+ ): void;
83
+ decodeAuthorizationMessage(
84
+ args: DecodeAuthorizationMessageCommandInput,
85
+ options: __HttpHandlerOptions,
86
+ cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void
87
+ ): void;
88
+ getAccessKeyInfo(
89
+ args: GetAccessKeyInfoCommandInput,
90
+ options?: __HttpHandlerOptions
91
+ ): Promise<GetAccessKeyInfoCommandOutput>;
92
+ getAccessKeyInfo(
93
+ args: GetAccessKeyInfoCommandInput,
94
+ cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void
95
+ ): void;
96
+ getAccessKeyInfo(
97
+ args: GetAccessKeyInfoCommandInput,
98
+ options: __HttpHandlerOptions,
99
+ cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void
100
+ ): void;
101
+ getCallerIdentity(): Promise<GetCallerIdentityCommandOutput>;
102
+ getCallerIdentity(
103
+ args: GetCallerIdentityCommandInput,
104
+ options?: __HttpHandlerOptions
105
+ ): Promise<GetCallerIdentityCommandOutput>;
106
+ getCallerIdentity(
107
+ args: GetCallerIdentityCommandInput,
108
+ cb: (err: any, data?: GetCallerIdentityCommandOutput) => void
109
+ ): void;
110
+ getCallerIdentity(
111
+ args: GetCallerIdentityCommandInput,
112
+ options: __HttpHandlerOptions,
113
+ cb: (err: any, data?: GetCallerIdentityCommandOutput) => void
114
+ ): void;
115
+ getFederationToken(
116
+ args: GetFederationTokenCommandInput,
117
+ options?: __HttpHandlerOptions
118
+ ): Promise<GetFederationTokenCommandOutput>;
119
+ getFederationToken(
120
+ args: GetFederationTokenCommandInput,
121
+ cb: (err: any, data?: GetFederationTokenCommandOutput) => void
122
+ ): void;
123
+ getFederationToken(
124
+ args: GetFederationTokenCommandInput,
125
+ options: __HttpHandlerOptions,
126
+ cb: (err: any, data?: GetFederationTokenCommandOutput) => void
127
+ ): void;
128
+ getSessionToken(): Promise<GetSessionTokenCommandOutput>;
129
+ getSessionToken(
130
+ args: GetSessionTokenCommandInput,
131
+ options?: __HttpHandlerOptions
132
+ ): Promise<GetSessionTokenCommandOutput>;
133
+ getSessionToken(
134
+ args: GetSessionTokenCommandInput,
135
+ cb: (err: any, data?: GetSessionTokenCommandOutput) => void
136
+ ): void;
137
+ getSessionToken(
138
+ args: GetSessionTokenCommandInput,
139
+ options: __HttpHandlerOptions,
140
+ cb: (err: any, data?: GetSessionTokenCommandOutput) => void
141
+ ): void;
142
+ }
143
+ export declare class STS extends STSClient implements STS {}
@@ -0,0 +1,165 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ AssumeRoleCommandInput,
50
+ AssumeRoleCommandOutput,
51
+ } from "./commands/AssumeRoleCommand";
52
+ import {
53
+ AssumeRoleWithSAMLCommandInput,
54
+ AssumeRoleWithSAMLCommandOutput,
55
+ } from "./commands/AssumeRoleWithSAMLCommand";
56
+ import {
57
+ AssumeRoleWithWebIdentityCommandInput,
58
+ AssumeRoleWithWebIdentityCommandOutput,
59
+ } from "./commands/AssumeRoleWithWebIdentityCommand";
60
+ import {
61
+ DecodeAuthorizationMessageCommandInput,
62
+ DecodeAuthorizationMessageCommandOutput,
63
+ } from "./commands/DecodeAuthorizationMessageCommand";
64
+ import {
65
+ GetAccessKeyInfoCommandInput,
66
+ GetAccessKeyInfoCommandOutput,
67
+ } from "./commands/GetAccessKeyInfoCommand";
68
+ import {
69
+ GetCallerIdentityCommandInput,
70
+ GetCallerIdentityCommandOutput,
71
+ } from "./commands/GetCallerIdentityCommand";
72
+ import {
73
+ GetFederationTokenCommandInput,
74
+ GetFederationTokenCommandOutput,
75
+ } from "./commands/GetFederationTokenCommand";
76
+ import {
77
+ GetSessionTokenCommandInput,
78
+ GetSessionTokenCommandOutput,
79
+ } from "./commands/GetSessionTokenCommand";
80
+ import {
81
+ ClientInputEndpointParameters,
82
+ ClientResolvedEndpointParameters,
83
+ EndpointParameters,
84
+ } from "./endpoint/EndpointParameters";
85
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
86
+ export { __Client };
87
+ export type ServiceInputTypes =
88
+ | AssumeRoleCommandInput
89
+ | AssumeRoleWithSAMLCommandInput
90
+ | AssumeRoleWithWebIdentityCommandInput
91
+ | DecodeAuthorizationMessageCommandInput
92
+ | GetAccessKeyInfoCommandInput
93
+ | GetCallerIdentityCommandInput
94
+ | GetFederationTokenCommandInput
95
+ | GetSessionTokenCommandInput;
96
+ export type ServiceOutputTypes =
97
+ | AssumeRoleCommandOutput
98
+ | AssumeRoleWithSAMLCommandOutput
99
+ | AssumeRoleWithWebIdentityCommandOutput
100
+ | DecodeAuthorizationMessageCommandOutput
101
+ | GetAccessKeyInfoCommandOutput
102
+ | GetCallerIdentityCommandOutput
103
+ | GetFederationTokenCommandOutput
104
+ | GetSessionTokenCommandOutput;
105
+ export interface ClientDefaults
106
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
107
+ requestHandler?: __HttpHandlerUserInput;
108
+ sha256?: __ChecksumConstructor | __HashConstructor;
109
+ urlParser?: __UrlParser;
110
+ bodyLengthChecker?: __BodyLengthCalculator;
111
+ streamCollector?: __StreamCollector;
112
+ base64Decoder?: __Decoder;
113
+ base64Encoder?: __Encoder;
114
+ utf8Decoder?: __Decoder;
115
+ utf8Encoder?: __Encoder;
116
+ runtime?: string;
117
+ disableHostPrefix?: boolean;
118
+ serviceId?: string;
119
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
120
+ useFipsEndpoint?: boolean | __Provider<boolean>;
121
+ defaultUserAgentProvider?: Provider<__UserAgent>;
122
+ region?: string | __Provider<string>;
123
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
124
+ maxAttempts?: number | __Provider<number>;
125
+ retryMode?: string | __Provider<string>;
126
+ logger?: __Logger;
127
+ extensions?: RuntimeExtension[];
128
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
129
+ }
130
+ export type STSClientConfigType = Partial<
131
+ __SmithyConfiguration<__HttpHandlerOptions>
132
+ > &
133
+ ClientDefaults &
134
+ RegionInputConfig &
135
+ EndpointInputConfig<EndpointParameters> &
136
+ RetryInputConfig &
137
+ HostHeaderInputConfig &
138
+ UserAgentInputConfig &
139
+ HttpAuthSchemeInputConfig &
140
+ ClientInputEndpointParameters;
141
+ export interface STSClientConfig extends STSClientConfigType {}
142
+ export type STSClientResolvedConfigType =
143
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
144
+ Required<ClientDefaults> &
145
+ RuntimeExtensionsConfig &
146
+ RegionResolvedConfig &
147
+ EndpointResolvedConfig<EndpointParameters> &
148
+ RetryResolvedConfig &
149
+ HostHeaderResolvedConfig &
150
+ UserAgentResolvedConfig &
151
+ HttpAuthSchemeResolvedConfig &
152
+ ClientResolvedEndpointParameters;
153
+ export interface STSClientResolvedConfig extends STSClientResolvedConfigType {}
154
+ export declare class STSClient extends __Client<
155
+ __HttpHandlerOptions,
156
+ ServiceInputTypes,
157
+ ServiceOutputTypes,
158
+ STSClientResolvedConfig
159
+ > {
160
+ readonly config: STSClientResolvedConfig;
161
+ constructor(...[configuration]: __CheckOptionalClientConfig<STSClientConfig>);
162
+ destroy(): void;
163
+ private getDefaultHttpAuthSchemeParametersProvider;
164
+ private getIdentityProviderConfigProvider;
165
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: STSHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): STSHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: STSHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;