@depup/aws-sdk__nested-clients 3.996.10-depup.0

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 (394) hide show
  1. package/README.md +39 -0
  2. package/changes.json +42 -0
  3. package/cognito-identity.d.ts +7 -0
  4. package/cognito-identity.js +5 -0
  5. package/dist-cjs/index.js +2 -0
  6. package/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
  7. package/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +18 -0
  8. package/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
  9. package/dist-cjs/submodules/cognito-identity/index.js +174 -0
  10. package/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
  11. package/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
  12. package/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js +38 -0
  13. package/dist-cjs/submodules/cognito-identity/runtimeConfig.js +53 -0
  14. package/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js +15 -0
  15. package/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
  16. package/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
  17. package/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
  18. package/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
  19. package/dist-cjs/submodules/signin/endpoint/ruleset.js +133 -0
  20. package/dist-cjs/submodules/signin/index.js +170 -0
  21. package/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  22. package/dist-cjs/submodules/signin/models/errors.js +64 -0
  23. package/dist-cjs/submodules/signin/runtimeConfig.browser.js +39 -0
  24. package/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
  25. package/dist-cjs/submodules/signin/runtimeConfig.native.js +15 -0
  26. package/dist-cjs/submodules/signin/runtimeConfig.shared.js +49 -0
  27. package/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  28. package/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
  29. package/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  30. package/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  31. package/dist-cjs/submodules/sso/index.js +160 -0
  32. package/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
  33. package/dist-cjs/submodules/sso/models/errors.js +56 -0
  34. package/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
  35. package/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  36. package/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
  37. package/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
  38. package/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  39. package/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
  40. package/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
  41. package/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
  42. package/dist-cjs/submodules/sso-oidc/index.js +172 -0
  43. package/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  44. package/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  45. package/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +38 -0
  46. package/dist-cjs/submodules/sso-oidc/runtimeConfig.js +53 -0
  47. package/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js +15 -0
  48. package/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +49 -0
  49. package/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  50. package/dist-cjs/submodules/sts/STSClient.js +54 -0
  51. package/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
  52. package/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +62 -0
  53. package/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +19 -0
  54. package/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
  55. package/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
  56. package/dist-cjs/submodules/sts/index.js +202 -0
  57. package/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  58. package/dist-cjs/submodules/sts/models/errors.js +95 -0
  59. package/dist-cjs/submodules/sts/runtimeConfig.browser.js +39 -0
  60. package/dist-cjs/submodules/sts/runtimeConfig.js +67 -0
  61. package/dist-cjs/submodules/sts/runtimeConfig.native.js +15 -0
  62. package/dist-cjs/submodules/sts/runtimeConfig.shared.js +50 -0
  63. package/dist-cjs/submodules/sts/runtimeExtensions.js +13 -0
  64. package/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  65. package/dist-es/index.js +1 -0
  66. package/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
  67. package/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
  68. package/dist-es/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.js +38 -0
  69. package/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
  70. package/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +16 -0
  71. package/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +16 -0
  72. package/dist-es/submodules/cognito-identity/commands/index.js +2 -0
  73. package/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
  74. package/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +14 -0
  75. package/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
  76. package/dist-es/submodules/cognito-identity/extensionConfiguration.js +1 -0
  77. package/dist-es/submodules/cognito-identity/index.js +7 -0
  78. package/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
  79. package/dist-es/submodules/cognito-identity/models/errors.js +109 -0
  80. package/dist-es/submodules/cognito-identity/models/models_0.js +1 -0
  81. package/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +33 -0
  82. package/dist-es/submodules/cognito-identity/runtimeConfig.js +48 -0
  83. package/dist-es/submodules/cognito-identity/runtimeConfig.native.js +11 -0
  84. package/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
  85. package/dist-es/submodules/cognito-identity/runtimeExtensions.js +9 -0
  86. package/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
  87. package/dist-es/submodules/signin/Signin.js +9 -0
  88. package/dist-es/submodules/signin/SigninClient.js +50 -0
  89. package/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js +38 -0
  90. package/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +50 -0
  91. package/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +16 -0
  92. package/dist-es/submodules/signin/commands/index.js +1 -0
  93. package/dist-es/submodules/signin/endpoint/EndpointParameters.js +13 -0
  94. package/dist-es/submodules/signin/endpoint/endpointResolver.js +14 -0
  95. package/dist-es/submodules/signin/endpoint/ruleset.js +130 -0
  96. package/dist-es/submodules/signin/extensionConfiguration.js +1 -0
  97. package/dist-es/submodules/signin/index.js +8 -0
  98. package/dist-es/submodules/signin/models/SigninServiceException.js +8 -0
  99. package/dist-es/submodules/signin/models/enums.js +8 -0
  100. package/dist-es/submodules/signin/models/errors.js +57 -0
  101. package/dist-es/submodules/signin/models/models_0.js +1 -0
  102. package/dist-es/submodules/signin/runtimeConfig.browser.js +34 -0
  103. package/dist-es/submodules/signin/runtimeConfig.js +48 -0
  104. package/dist-es/submodules/signin/runtimeConfig.native.js +11 -0
  105. package/dist-es/submodules/signin/runtimeConfig.shared.js +45 -0
  106. package/dist-es/submodules/signin/runtimeExtensions.js +9 -0
  107. package/dist-es/submodules/signin/schemas/schemas_0.js +122 -0
  108. package/dist-es/submodules/sso/SSO.js +9 -0
  109. package/dist-es/submodules/sso/SSOClient.js +50 -0
  110. package/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
  111. package/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +50 -0
  112. package/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +16 -0
  113. package/dist-es/submodules/sso/commands/index.js +1 -0
  114. package/dist-es/submodules/sso/endpoint/EndpointParameters.js +13 -0
  115. package/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
  116. package/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
  117. package/dist-es/submodules/sso/extensionConfiguration.js +1 -0
  118. package/dist-es/submodules/sso/index.js +7 -0
  119. package/dist-es/submodules/sso/models/SSOServiceException.js +8 -0
  120. package/dist-es/submodules/sso/models/errors.js +49 -0
  121. package/dist-es/submodules/sso/models/models_0.js +1 -0
  122. package/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
  123. package/dist-es/submodules/sso/runtimeConfig.js +48 -0
  124. package/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
  125. package/dist-es/submodules/sso/runtimeConfig.shared.js +45 -0
  126. package/dist-es/submodules/sso/runtimeExtensions.js +9 -0
  127. package/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
  128. package/dist-es/submodules/sso-oidc/SSOOIDC.js +9 -0
  129. package/dist-es/submodules/sso-oidc/SSOOIDCClient.js +50 -0
  130. package/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js +38 -0
  131. package/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +50 -0
  132. package/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +16 -0
  133. package/dist-es/submodules/sso-oidc/commands/index.js +1 -0
  134. package/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +13 -0
  135. package/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +14 -0
  136. package/dist-es/submodules/sso-oidc/endpoint/ruleset.js +103 -0
  137. package/dist-es/submodules/sso-oidc/extensionConfiguration.js +1 -0
  138. package/dist-es/submodules/sso-oidc/index.js +8 -0
  139. package/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +8 -0
  140. package/dist-es/submodules/sso-oidc/models/enums.js +9 -0
  141. package/dist-es/submodules/sso-oidc/models/errors.js +181 -0
  142. package/dist-es/submodules/sso-oidc/models/models_0.js +1 -0
  143. package/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +33 -0
  144. package/dist-es/submodules/sso-oidc/runtimeConfig.js +48 -0
  145. package/dist-es/submodules/sso-oidc/runtimeConfig.native.js +11 -0
  146. package/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +45 -0
  147. package/dist-es/submodules/sso-oidc/runtimeExtensions.js +9 -0
  148. package/dist-es/submodules/sso-oidc/schemas/schemas_0.js +137 -0
  149. package/dist-es/submodules/sts/STS.js +11 -0
  150. package/dist-es/submodules/sts/STSClient.js +50 -0
  151. package/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js +38 -0
  152. package/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +55 -0
  153. package/dist-es/submodules/sts/commands/AssumeRoleCommand.js +16 -0
  154. package/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +16 -0
  155. package/dist-es/submodules/sts/commands/index.js +2 -0
  156. package/dist-es/submodules/sts/defaultRoleAssumers.js +22 -0
  157. package/dist-es/submodules/sts/defaultStsRoleAssumers.js +107 -0
  158. package/dist-es/submodules/sts/endpoint/EndpointParameters.js +15 -0
  159. package/dist-es/submodules/sts/endpoint/endpointResolver.js +14 -0
  160. package/dist-es/submodules/sts/endpoint/ruleset.js +142 -0
  161. package/dist-es/submodules/sts/extensionConfiguration.js +1 -0
  162. package/dist-es/submodules/sts/index.js +8 -0
  163. package/dist-es/submodules/sts/models/STSServiceException.js +8 -0
  164. package/dist-es/submodules/sts/models/errors.js +85 -0
  165. package/dist-es/submodules/sts/models/models_0.js +1 -0
  166. package/dist-es/submodules/sts/runtimeConfig.browser.js +34 -0
  167. package/dist-es/submodules/sts/runtimeConfig.js +62 -0
  168. package/dist-es/submodules/sts/runtimeConfig.native.js +11 -0
  169. package/dist-es/submodules/sts/runtimeConfig.shared.js +46 -0
  170. package/dist-es/submodules/sts/runtimeExtensions.js +9 -0
  171. package/dist-es/submodules/sts/schemas/schemas_0.js +192 -0
  172. package/dist-types/index.d.ts +7 -0
  173. package/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  174. package/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
  175. package/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
  176. package/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
  177. package/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
  178. package/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
  179. package/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
  180. package/dist-types/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +50 -0
  181. package/dist-types/submodules/cognito-identity/endpoint/endpointResolver.d.ts +8 -0
  182. package/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
  183. package/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  184. package/dist-types/submodules/cognito-identity/index.d.ts +29 -0
  185. package/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
  186. package/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
  187. package/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
  188. package/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
  189. package/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
  190. package/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
  191. package/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
  192. package/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
  193. package/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
  194. package/dist-types/submodules/signin/Signin.d.ts +18 -0
  195. package/dist-types/submodules/signin/SigninClient.d.ts +190 -0
  196. package/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +30 -0
  197. package/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +75 -0
  198. package/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +157 -0
  199. package/dist-types/submodules/signin/commands/index.d.ts +1 -0
  200. package/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +50 -0
  201. package/dist-types/submodules/signin/endpoint/endpointResolver.d.ts +8 -0
  202. package/dist-types/submodules/signin/endpoint/ruleset.d.ts +2 -0
  203. package/dist-types/submodules/signin/extensionConfiguration.d.ts +9 -0
  204. package/dist-types/submodules/signin/index.d.ts +17 -0
  205. package/dist-types/submodules/signin/models/SigninServiceException.d.ts +14 -0
  206. package/dist-types/submodules/signin/models/enums.d.ts +34 -0
  207. package/dist-types/submodules/signin/models/errors.d.ts +102 -0
  208. package/dist-types/submodules/signin/models/models_0.d.ts +142 -0
  209. package/dist-types/submodules/signin/runtimeConfig.browser.d.ts +63 -0
  210. package/dist-types/submodules/signin/runtimeConfig.d.ts +63 -0
  211. package/dist-types/submodules/signin/runtimeConfig.native.d.ts +62 -0
  212. package/dist-types/submodules/signin/runtimeConfig.shared.d.ts +38 -0
  213. package/dist-types/submodules/signin/runtimeExtensions.d.ts +17 -0
  214. package/dist-types/submodules/signin/schemas/schemas_0.d.ts +19 -0
  215. package/dist-types/submodules/sso/SSO.d.ts +32 -0
  216. package/dist-types/submodules/sso/SSOClient.d.ts +198 -0
  217. package/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +30 -0
  218. package/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +75 -0
  219. package/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +97 -0
  220. package/dist-types/submodules/sso/commands/index.d.ts +1 -0
  221. package/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
  222. package/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  223. package/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
  224. package/dist-types/submodules/sso/extensionConfiguration.d.ts +9 -0
  225. package/dist-types/submodules/sso/index.d.ts +30 -0
  226. package/dist-types/submodules/sso/models/SSOServiceException.d.ts +14 -0
  227. package/dist-types/submodules/sso/models/errors.d.ts +53 -0
  228. package/dist-types/submodules/sso/models/models_0.d.ts +61 -0
  229. package/dist-types/submodules/sso/runtimeConfig.browser.d.ts +62 -0
  230. package/dist-types/submodules/sso/runtimeConfig.d.ts +62 -0
  231. package/dist-types/submodules/sso/runtimeConfig.native.d.ts +61 -0
  232. package/dist-types/submodules/sso/runtimeConfig.shared.d.ts +38 -0
  233. package/dist-types/submodules/sso/runtimeExtensions.d.ts +17 -0
  234. package/dist-types/submodules/sso/schemas/schemas_0.d.ts +17 -0
  235. package/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +55 -0
  236. package/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +221 -0
  237. package/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +30 -0
  238. package/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +75 -0
  239. package/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +176 -0
  240. package/dist-types/submodules/sso-oidc/commands/index.d.ts +1 -0
  241. package/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +50 -0
  242. package/dist-types/submodules/sso-oidc/endpoint/endpointResolver.d.ts +8 -0
  243. package/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +2 -0
  244. package/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts +9 -0
  245. package/dist-types/submodules/sso-oidc/index.d.ts +54 -0
  246. package/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +14 -0
  247. package/dist-types/submodules/sso-oidc/models/enums.d.ts +25 -0
  248. package/dist-types/submodules/sso-oidc/models/errors.d.ts +279 -0
  249. package/dist-types/submodules/sso-oidc/models/models_0.d.ts +109 -0
  250. package/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +62 -0
  251. package/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +62 -0
  252. package/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +61 -0
  253. package/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +38 -0
  254. package/dist-types/submodules/sso-oidc/runtimeExtensions.d.ts +17 -0
  255. package/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +23 -0
  256. package/dist-types/submodules/sts/STS.d.ts +27 -0
  257. package/dist-types/submodules/sts/STSClient.d.ts +193 -0
  258. package/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +30 -0
  259. package/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +86 -0
  260. package/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +270 -0
  261. package/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +290 -0
  262. package/dist-types/submodules/sts/commands/index.d.ts +2 -0
  263. package/dist-types/submodules/sts/defaultRoleAssumers.d.ts +23 -0
  264. package/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +43 -0
  265. package/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +56 -0
  266. package/dist-types/submodules/sts/endpoint/endpointResolver.d.ts +8 -0
  267. package/dist-types/submodules/sts/endpoint/ruleset.d.ts +2 -0
  268. package/dist-types/submodules/sts/extensionConfiguration.d.ts +9 -0
  269. package/dist-types/submodules/sts/index.d.ts +19 -0
  270. package/dist-types/submodules/sts/models/STSServiceException.d.ts +14 -0
  271. package/dist-types/submodules/sts/models/errors.d.ts +107 -0
  272. package/dist-types/submodules/sts/models/models_0.d.ts +588 -0
  273. package/dist-types/submodules/sts/runtimeConfig.browser.d.ts +64 -0
  274. package/dist-types/submodules/sts/runtimeConfig.d.ts +62 -0
  275. package/dist-types/submodules/sts/runtimeConfig.native.d.ts +63 -0
  276. package/dist-types/submodules/sts/runtimeConfig.shared.d.ts +38 -0
  277. package/dist-types/submodules/sts/runtimeExtensions.d.ts +17 -0
  278. package/dist-types/submodules/sts/schemas/schemas_0.d.ts +27 -0
  279. package/dist-types/ts3.4/index.d.ts +1 -0
  280. package/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  281. package/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
  282. package/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  283. package/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
  284. package/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
  285. package/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
  286. package/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
  287. package/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +51 -0
  288. package/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts +8 -0
  289. package/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
  290. package/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  291. package/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
  292. package/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
  293. package/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
  294. package/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
  295. package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
  296. package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
  297. package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
  298. package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
  299. package/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
  300. package/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
  301. package/dist-types/ts3.4/submodules/signin/Signin.d.ts +22 -0
  302. package/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +125 -0
  303. package/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  304. package/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +47 -0
  305. package/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +47 -0
  306. package/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
  307. package/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +51 -0
  308. package/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +8 -0
  309. package/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +2 -0
  310. package/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +9 -0
  311. package/dist-types/ts3.4/submodules/signin/index.d.ts +11 -0
  312. package/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +9 -0
  313. package/dist-types/ts3.4/submodules/signin/models/enums.d.ts +10 -0
  314. package/dist-types/ts3.4/submodules/signin/models/errors.d.ts +35 -0
  315. package/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +26 -0
  316. package/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +125 -0
  317. package/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +118 -0
  318. package/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +129 -0
  319. package/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +58 -0
  320. package/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +11 -0
  321. package/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +18 -0
  322. package/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
  323. package/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +117 -0
  324. package/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  325. package/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +46 -0
  326. package/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +47 -0
  327. package/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
  328. package/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
  329. package/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  330. package/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts +2 -0
  331. package/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +9 -0
  332. package/dist-types/ts3.4/submodules/sso/index.d.ts +10 -0
  333. package/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts +9 -0
  334. package/dist-types/ts3.4/submodules/sso/models/errors.d.ts +30 -0
  335. package/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
  336. package/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +120 -0
  337. package/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +115 -0
  338. package/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +124 -0
  339. package/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +58 -0
  340. package/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts +11 -0
  341. package/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts +16 -0
  342. package/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +22 -0
  343. package/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +120 -0
  344. package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  345. package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +47 -0
  346. package/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +43 -0
  347. package/dist-types/ts3.4/submodules/sso-oidc/commands/index.d.ts +1 -0
  348. package/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +51 -0
  349. package/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts +8 -0
  350. package/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts +2 -0
  351. package/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +9 -0
  352. package/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +11 -0
  353. package/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +9 -0
  354. package/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts +13 -0
  355. package/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +105 -0
  356. package/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +18 -0
  357. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +120 -0
  358. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +115 -0
  359. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +124 -0
  360. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +58 -0
  361. package/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts +11 -0
  362. package/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +22 -0
  363. package/dist-types/ts3.4/submodules/sts/STS.d.ts +39 -0
  364. package/dist-types/ts3.4/submodules/sts/STSClient.d.ts +130 -0
  365. package/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  366. package/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +57 -0
  367. package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +47 -0
  368. package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +51 -0
  369. package/dist-types/ts3.4/submodules/sts/commands/index.d.ts +2 -0
  370. package/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts +19 -0
  371. package/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +33 -0
  372. package/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +57 -0
  373. package/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts +8 -0
  374. package/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts +2 -0
  375. package/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +9 -0
  376. package/dist-types/ts3.4/submodules/sts/index.d.ts +11 -0
  377. package/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +9 -0
  378. package/dist-types/ts3.4/submodules/sts/models/errors.d.ts +54 -0
  379. package/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +59 -0
  380. package/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +129 -0
  381. package/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +111 -0
  382. package/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +133 -0
  383. package/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +58 -0
  384. package/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts +11 -0
  385. package/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +26 -0
  386. package/package.json +200 -0
  387. package/signin.d.ts +7 -0
  388. package/signin.js +5 -0
  389. package/sso-oidc.d.ts +7 -0
  390. package/sso-oidc.js +5 -0
  391. package/sso.d.ts +7 -0
  392. package/sso.js +5 -0
  393. package/sts.d.ts +7 -0
  394. package/sts.js +5 -0
@@ -0,0 +1,176 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateTokenRequest, CreateTokenResponse } from "../models/models_0";
4
+ import type { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateTokenCommand}.
14
+ */
15
+ export interface CreateTokenCommandInput extends CreateTokenRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateTokenCommand}.
21
+ */
22
+ export interface CreateTokenCommandOutput extends CreateTokenResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateTokenCommand_base: {
25
+ new (input: CreateTokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig, CreateTokenCommandInput, CreateTokenCommandOutput>;
26
+ new (input: CreateTokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig, CreateTokenCommandInput, CreateTokenCommandOutput>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates and returns access and refresh tokens for clients that are authenticated using
31
+ * client secrets. The access token can be used to fetch short-lived credentials for the assigned
32
+ * AWS accounts or to access application APIs using <code>bearer</code> authentication.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { SSOOIDCClient, CreateTokenCommand } from "@aws-sdk/client-sso-oidc"; // ES Modules import
37
+ * // const { SSOOIDCClient, CreateTokenCommand } = require("@aws-sdk/client-sso-oidc"); // CommonJS import
38
+ * // import type { SSOOIDCClientConfig } from "@aws-sdk/client-sso-oidc";
39
+ * const config = {}; // type is SSOOIDCClientConfig
40
+ * const client = new SSOOIDCClient(config);
41
+ * const input = { // CreateTokenRequest
42
+ * clientId: "STRING_VALUE", // required
43
+ * clientSecret: "STRING_VALUE", // required
44
+ * grantType: "STRING_VALUE", // required
45
+ * deviceCode: "STRING_VALUE",
46
+ * code: "STRING_VALUE",
47
+ * refreshToken: "STRING_VALUE",
48
+ * scope: [ // Scopes
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * redirectUri: "STRING_VALUE",
52
+ * codeVerifier: "STRING_VALUE",
53
+ * };
54
+ * const command = new CreateTokenCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // CreateTokenResponse
57
+ * // accessToken: "STRING_VALUE",
58
+ * // tokenType: "STRING_VALUE",
59
+ * // expiresIn: Number("int"),
60
+ * // refreshToken: "STRING_VALUE",
61
+ * // idToken: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param CreateTokenCommandInput - {@link CreateTokenCommandInput}
67
+ * @returns {@link CreateTokenCommandOutput}
68
+ * @see {@link CreateTokenCommandInput} for command's `input` shape.
69
+ * @see {@link CreateTokenCommandOutput} for command's `response` shape.
70
+ * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>You do not have sufficient access to perform this action.</p>
74
+ *
75
+ * @throws {@link AuthorizationPendingException} (client fault)
76
+ * <p>Indicates that a request to authorize a client with an access user session token is
77
+ * pending.</p>
78
+ *
79
+ * @throws {@link ExpiredTokenException} (client fault)
80
+ * <p>Indicates that the token issued by the service is expired and is no longer valid.</p>
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * <p>Indicates that an error from the service occurred while trying to process a
84
+ * request.</p>
85
+ *
86
+ * @throws {@link InvalidClientException} (client fault)
87
+ * <p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is
88
+ * invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or
89
+ * an expired <code>clientSecret</code>.</p>
90
+ *
91
+ * @throws {@link InvalidGrantException} (client fault)
92
+ * <p>Indicates that a request contains an invalid grant. This can occur if a client makes a
93
+ * <a>CreateToken</a> request with an invalid grant type.</p>
94
+ *
95
+ * @throws {@link InvalidRequestException} (client fault)
96
+ * <p>Indicates that something is wrong with the input to the request. For example, a required
97
+ * parameter might be missing or out of range.</p>
98
+ *
99
+ * @throws {@link InvalidScopeException} (client fault)
100
+ * <p>Indicates that the scope provided in the request is invalid.</p>
101
+ *
102
+ * @throws {@link SlowDownException} (client fault)
103
+ * <p>Indicates that the client is making the request too frequently and is more than the
104
+ * service can handle. </p>
105
+ *
106
+ * @throws {@link UnauthorizedClientException} (client fault)
107
+ * <p>Indicates that the client is not currently authorized to make the request. This can happen
108
+ * when a <code>clientId</code> is not issued for a public client.</p>
109
+ *
110
+ * @throws {@link UnsupportedGrantTypeException} (client fault)
111
+ * <p>Indicates that the grant type in the request is not supported by the service.</p>
112
+ *
113
+ * @throws {@link SSOOIDCServiceException}
114
+ * <p>Base exception class for all service exceptions from SSOOIDC service.</p>
115
+ *
116
+ *
117
+ * @example Call OAuth/OIDC /token endpoint for Device Code grant with Secret authentication
118
+ * ```javascript
119
+ * //
120
+ * const input = {
121
+ * clientId: "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID",
122
+ * clientSecret: "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0",
123
+ * deviceCode: "yJraWQiOiJrZXktMTU2Njk2ODA4OCIsImFsZyI6IkhTMzIn0EXAMPLEDEVICECODE",
124
+ * grantType: "urn:ietf:params:oauth:grant-type:device-code"
125
+ * };
126
+ * const command = new CreateTokenCommand(input);
127
+ * const response = await client.send(command);
128
+ * /* response is
129
+ * {
130
+ * accessToken: "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
131
+ * expiresIn: 1579729529,
132
+ * refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
133
+ * tokenType: "Bearer"
134
+ * }
135
+ * *\/
136
+ * ```
137
+ *
138
+ * @example Call OAuth/OIDC /token endpoint for Refresh Token grant with Secret authentication
139
+ * ```javascript
140
+ * //
141
+ * const input = {
142
+ * clientId: "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID",
143
+ * clientSecret: "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0",
144
+ * grantType: "refresh_token",
145
+ * refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
146
+ * scope: [
147
+ * "codewhisperer:completions"
148
+ * ]
149
+ * };
150
+ * const command = new CreateTokenCommand(input);
151
+ * const response = await client.send(command);
152
+ * /* response is
153
+ * {
154
+ * accessToken: "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
155
+ * expiresIn: 1579729529,
156
+ * refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
157
+ * tokenType: "Bearer"
158
+ * }
159
+ * *\/
160
+ * ```
161
+ *
162
+ * @public
163
+ */
164
+ export declare class CreateTokenCommand extends CreateTokenCommand_base {
165
+ /** @internal type navigation helper, not in runtime. */
166
+ protected static __types: {
167
+ api: {
168
+ input: CreateTokenRequest;
169
+ output: CreateTokenResponse;
170
+ };
171
+ sdk: {
172
+ input: CreateTokenCommandInput;
173
+ output: CreateTokenCommandOutput;
174
+ };
175
+ };
176
+ }
@@ -0,0 +1 @@
1
+ export * from "./CreateTokenCommand";
@@ -0,0 +1,50 @@
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | undefined | Provider<string | undefined>;
7
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ }
11
+ /**
12
+ * @public
13
+ */
14
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
15
+ defaultSigningName: string;
16
+ };
17
+ /**
18
+ * @internal
19
+ */
20
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
21
+ /**
22
+ * @internal
23
+ */
24
+ export declare const commonParams: {
25
+ readonly UseFIPS: {
26
+ readonly type: "builtInParams";
27
+ readonly name: "useFipsEndpoint";
28
+ };
29
+ readonly Endpoint: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "endpoint";
32
+ };
33
+ readonly Region: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "region";
36
+ };
37
+ readonly UseDualStack: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "useDualstackEndpoint";
40
+ };
41
+ };
42
+ /**
43
+ * @internal
44
+ */
45
+ export interface EndpointParameters extends __EndpointParameters {
46
+ Region?: string | undefined;
47
+ UseDualStack?: boolean | undefined;
48
+ UseFIPS?: boolean | undefined;
49
+ Endpoint?: string | undefined;
50
+ }
@@ -0,0 +1,8 @@
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
7
+ logger?: Logger;
8
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import type { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface SSOOIDCExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,54 @@
1
+ /**
2
+ * <p>IAM Identity Center OpenID Connect (OIDC) is a web service that enables a client (such as CLI or a
3
+ * native application) to register with IAM Identity Center. The service also enables the client to fetch the
4
+ * user’s access token upon successful authentication and authorization with IAM Identity Center.</p>
5
+ * <p>
6
+ * <b>API namespaces</b>
7
+ * </p>
8
+ * <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces. IAM Identity Center
9
+ * OpenID Connect uses the <code>sso-oauth</code> namespace.</p>
10
+ * <p>
11
+ * <b>Considerations for using this guide</b>
12
+ * </p>
13
+ * <p>Before you begin using this guide, we recommend that you first review the following
14
+ * important information about how the IAM Identity Center OIDC service works.</p>
15
+ * <ul>
16
+ * <li>
17
+ * <p>The IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0 Device
18
+ * Authorization Grant standard (<a href="https://tools.ietf.org/html/rfc8628">https://tools.ietf.org/html/rfc8628</a>) that are necessary to enable single
19
+ * sign-on authentication with the CLI. </p>
20
+ * </li>
21
+ * <li>
22
+ * <p>With older versions of the CLI, the service only emits OIDC access tokens, so to
23
+ * obtain a new token, users must explicitly re-authenticate. To access the OIDC flow that
24
+ * supports token refresh and doesn’t require re-authentication, update to the latest CLI
25
+ * version (1.27.10 for CLI V1 and 2.9.0 for CLI V2) with support for OIDC token refresh
26
+ * and configurable IAM Identity Center session durations. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/configure-user-session.html">Configure Amazon Web Services access portal session duration </a>. </p>
27
+ * </li>
28
+ * <li>
29
+ * <p>The access tokens provided by this service grant access to all Amazon Web Services account
30
+ * entitlements assigned to an IAM Identity Center user, not just a particular application.</p>
31
+ * </li>
32
+ * <li>
33
+ * <p>The documentation in this guide does not describe the mechanism to convert the access
34
+ * token into Amazon Web Services Auth (“sigv4”) credentials for use with IAM-protected Amazon Web Services service
35
+ * endpoints. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/PortalAPIReference/API_GetRoleCredentials.html">GetRoleCredentials</a> in the <i>IAM Identity Center Portal API Reference
36
+ * Guide</i>.</p>
37
+ * </li>
38
+ * </ul>
39
+ * <p>For general information about IAM Identity Center, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">What is
40
+ * IAM Identity Center?</a> in the <i>IAM Identity Center User Guide</i>.</p>
41
+ *
42
+ * @packageDocumentation
43
+ */
44
+ export * from "./SSOOIDCClient";
45
+ export * from "./SSOOIDC";
46
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
47
+ export type { RuntimeExtension } from "./runtimeExtensions";
48
+ export type { SSOOIDCExtensionConfiguration } from "./extensionConfiguration";
49
+ export * from "./commands";
50
+ export * from "./schemas/schemas_0";
51
+ export * from "./models/enums";
52
+ export * from "./models/errors";
53
+ export * from "./models/models_0";
54
+ export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException";
@@ -0,0 +1,14 @@
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from SSOOIDC service.
8
+ */
9
+ export declare class SSOOIDCServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccessDeniedExceptionReason: {
6
+ readonly KMS_ACCESS_DENIED: "KMS_AccessDeniedException";
7
+ };
8
+ /**
9
+ * @public
10
+ */
11
+ export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
12
+ /**
13
+ * @public
14
+ * @enum
15
+ */
16
+ export declare const InvalidRequestExceptionReason: {
17
+ readonly KMS_DISABLED_KEY: "KMS_DisabledException";
18
+ readonly KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException";
19
+ readonly KMS_INVALID_STATE: "KMS_InvalidStateException";
20
+ readonly KMS_KEY_NOT_FOUND: "KMS_NotFoundException";
21
+ };
22
+ /**
23
+ * @public
24
+ */
25
+ export type InvalidRequestExceptionReason = (typeof InvalidRequestExceptionReason)[keyof typeof InvalidRequestExceptionReason];
@@ -0,0 +1,279 @@
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import type { AccessDeniedExceptionReason, InvalidRequestExceptionReason } from "./enums";
3
+ import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
4
+ /**
5
+ * <p>You do not have sufficient access to perform this action.</p>
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * <p>Single error code. For this exception the value will be <code>access_denied</code>.</p>
13
+ * @public
14
+ */
15
+ error?: string | undefined;
16
+ /**
17
+ * <p>A string that uniquely identifies a reason for the error.</p>
18
+ * @public
19
+ */
20
+ reason?: AccessDeniedExceptionReason | undefined;
21
+ /**
22
+ * <p>Human-readable text providing additional information, used to assist the client developer
23
+ * in understanding the error that occurred.</p>
24
+ * @public
25
+ */
26
+ error_description?: string | undefined;
27
+ /**
28
+ * @internal
29
+ */
30
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
31
+ }
32
+ /**
33
+ * <p>Indicates that a request to authorize a client with an access user session token is
34
+ * pending.</p>
35
+ * @public
36
+ */
37
+ export declare class AuthorizationPendingException extends __BaseException {
38
+ readonly name: "AuthorizationPendingException";
39
+ readonly $fault: "client";
40
+ /**
41
+ * <p>Single error code. For this exception the value will be
42
+ * <code>authorization_pending</code>.</p>
43
+ * @public
44
+ */
45
+ error?: string | undefined;
46
+ /**
47
+ * <p>Human-readable text providing additional information, used to assist the client developer
48
+ * in understanding the error that occurred.</p>
49
+ * @public
50
+ */
51
+ error_description?: string | undefined;
52
+ /**
53
+ * @internal
54
+ */
55
+ constructor(opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>);
56
+ }
57
+ /**
58
+ * <p>Indicates that the token issued by the service is expired and is no longer valid.</p>
59
+ * @public
60
+ */
61
+ export declare class ExpiredTokenException extends __BaseException {
62
+ readonly name: "ExpiredTokenException";
63
+ readonly $fault: "client";
64
+ /**
65
+ * <p>Single error code. For this exception the value will be <code>expired_token</code>.</p>
66
+ * @public
67
+ */
68
+ error?: string | undefined;
69
+ /**
70
+ * <p>Human-readable text providing additional information, used to assist the client developer
71
+ * in understanding the error that occurred.</p>
72
+ * @public
73
+ */
74
+ error_description?: string | undefined;
75
+ /**
76
+ * @internal
77
+ */
78
+ constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
79
+ }
80
+ /**
81
+ * <p>Indicates that an error from the service occurred while trying to process a
82
+ * request.</p>
83
+ * @public
84
+ */
85
+ export declare class InternalServerException extends __BaseException {
86
+ readonly name: "InternalServerException";
87
+ readonly $fault: "server";
88
+ /**
89
+ * <p>Single error code. For this exception the value will be <code>server_error</code>.</p>
90
+ * @public
91
+ */
92
+ error?: string | undefined;
93
+ /**
94
+ * <p>Human-readable text providing additional information, used to assist the client developer
95
+ * in understanding the error that occurred.</p>
96
+ * @public
97
+ */
98
+ error_description?: string | undefined;
99
+ /**
100
+ * @internal
101
+ */
102
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
103
+ }
104
+ /**
105
+ * <p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is
106
+ * invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or
107
+ * an expired <code>clientSecret</code>.</p>
108
+ * @public
109
+ */
110
+ export declare class InvalidClientException extends __BaseException {
111
+ readonly name: "InvalidClientException";
112
+ readonly $fault: "client";
113
+ /**
114
+ * <p>Single error code. For this exception the value will be
115
+ * <code>invalid_client</code>.</p>
116
+ * @public
117
+ */
118
+ error?: string | undefined;
119
+ /**
120
+ * <p>Human-readable text providing additional information, used to assist the client developer
121
+ * in understanding the error that occurred.</p>
122
+ * @public
123
+ */
124
+ error_description?: string | undefined;
125
+ /**
126
+ * @internal
127
+ */
128
+ constructor(opts: __ExceptionOptionType<InvalidClientException, __BaseException>);
129
+ }
130
+ /**
131
+ * <p>Indicates that a request contains an invalid grant. This can occur if a client makes a
132
+ * <a>CreateToken</a> request with an invalid grant type.</p>
133
+ * @public
134
+ */
135
+ export declare class InvalidGrantException extends __BaseException {
136
+ readonly name: "InvalidGrantException";
137
+ readonly $fault: "client";
138
+ /**
139
+ * <p>Single error code. For this exception the value will be <code>invalid_grant</code>.</p>
140
+ * @public
141
+ */
142
+ error?: string | undefined;
143
+ /**
144
+ * <p>Human-readable text providing additional information, used to assist the client developer
145
+ * in understanding the error that occurred.</p>
146
+ * @public
147
+ */
148
+ error_description?: string | undefined;
149
+ /**
150
+ * @internal
151
+ */
152
+ constructor(opts: __ExceptionOptionType<InvalidGrantException, __BaseException>);
153
+ }
154
+ /**
155
+ * <p>Indicates that something is wrong with the input to the request. For example, a required
156
+ * parameter might be missing or out of range.</p>
157
+ * @public
158
+ */
159
+ export declare class InvalidRequestException extends __BaseException {
160
+ readonly name: "InvalidRequestException";
161
+ readonly $fault: "client";
162
+ /**
163
+ * <p>Single error code. For this exception the value will be
164
+ * <code>invalid_request</code>.</p>
165
+ * @public
166
+ */
167
+ error?: string | undefined;
168
+ /**
169
+ * <p>A string that uniquely identifies a reason for the error.</p>
170
+ * @public
171
+ */
172
+ reason?: InvalidRequestExceptionReason | undefined;
173
+ /**
174
+ * <p>Human-readable text providing additional information, used to assist the client developer
175
+ * in understanding the error that occurred.</p>
176
+ * @public
177
+ */
178
+ error_description?: string | undefined;
179
+ /**
180
+ * @internal
181
+ */
182
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
183
+ }
184
+ /**
185
+ * <p>Indicates that the scope provided in the request is invalid.</p>
186
+ * @public
187
+ */
188
+ export declare class InvalidScopeException extends __BaseException {
189
+ readonly name: "InvalidScopeException";
190
+ readonly $fault: "client";
191
+ /**
192
+ * <p>Single error code. For this exception the value will be <code>invalid_scope</code>.</p>
193
+ * @public
194
+ */
195
+ error?: string | undefined;
196
+ /**
197
+ * <p>Human-readable text providing additional information, used to assist the client developer
198
+ * in understanding the error that occurred.</p>
199
+ * @public
200
+ */
201
+ error_description?: string | undefined;
202
+ /**
203
+ * @internal
204
+ */
205
+ constructor(opts: __ExceptionOptionType<InvalidScopeException, __BaseException>);
206
+ }
207
+ /**
208
+ * <p>Indicates that the client is making the request too frequently and is more than the
209
+ * service can handle. </p>
210
+ * @public
211
+ */
212
+ export declare class SlowDownException extends __BaseException {
213
+ readonly name: "SlowDownException";
214
+ readonly $fault: "client";
215
+ /**
216
+ * <p>Single error code. For this exception the value will be <code>slow_down</code>.</p>
217
+ * @public
218
+ */
219
+ error?: string | undefined;
220
+ /**
221
+ * <p>Human-readable text providing additional information, used to assist the client developer
222
+ * in understanding the error that occurred.</p>
223
+ * @public
224
+ */
225
+ error_description?: string | undefined;
226
+ /**
227
+ * @internal
228
+ */
229
+ constructor(opts: __ExceptionOptionType<SlowDownException, __BaseException>);
230
+ }
231
+ /**
232
+ * <p>Indicates that the client is not currently authorized to make the request. This can happen
233
+ * when a <code>clientId</code> is not issued for a public client.</p>
234
+ * @public
235
+ */
236
+ export declare class UnauthorizedClientException extends __BaseException {
237
+ readonly name: "UnauthorizedClientException";
238
+ readonly $fault: "client";
239
+ /**
240
+ * <p>Single error code. For this exception the value will be
241
+ * <code>unauthorized_client</code>.</p>
242
+ * @public
243
+ */
244
+ error?: string | undefined;
245
+ /**
246
+ * <p>Human-readable text providing additional information, used to assist the client developer
247
+ * in understanding the error that occurred.</p>
248
+ * @public
249
+ */
250
+ error_description?: string | undefined;
251
+ /**
252
+ * @internal
253
+ */
254
+ constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
255
+ }
256
+ /**
257
+ * <p>Indicates that the grant type in the request is not supported by the service.</p>
258
+ * @public
259
+ */
260
+ export declare class UnsupportedGrantTypeException extends __BaseException {
261
+ readonly name: "UnsupportedGrantTypeException";
262
+ readonly $fault: "client";
263
+ /**
264
+ * <p>Single error code. For this exception the value will be
265
+ * <code>unsupported_grant_type</code>.</p>
266
+ * @public
267
+ */
268
+ error?: string | undefined;
269
+ /**
270
+ * <p>Human-readable text providing additional information, used to assist the client developer
271
+ * in understanding the error that occurred.</p>
272
+ * @public
273
+ */
274
+ error_description?: string | undefined;
275
+ /**
276
+ * @internal
277
+ */
278
+ constructor(opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>);
279
+ }