@cdk8s/awscdk-resolver 0.0.54 → 0.0.56

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 (371) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/README.md +88 -0
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateGeneratedTemplateCommand.js +1 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteGeneratedTemplateCommand.js +1 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeGeneratedTemplateCommand.js +1 -0
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeResourceScanCommand.js +1 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetGeneratedTemplateCommand.js +1 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListGeneratedTemplatesCommand.js +1 -0
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListResourceScanRelatedResourcesCommand.js +1 -0
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListResourceScanResourcesCommand.js +1 -0
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListResourceScansCommand.js +1 -0
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/StartResourceScanCommand.js +1 -0
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateGeneratedTemplateCommand.js +1 -0
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1677 -73
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/models_1.js +1 -0
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListGeneratedTemplatesPaginator.js +1 -0
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListResourceScanRelatedResourcesPaginator.js +1 -0
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListResourceScanResourcesPaginator.js +1 -0
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListResourceScansPaginator.js +1 -0
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +1 -2
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +22 -0
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateGeneratedTemplateCommand.js +24 -0
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteGeneratedTemplateCommand.js +24 -0
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeGeneratedTemplateCommand.js +24 -0
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeResourceScanCommand.js +24 -0
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetGeneratedTemplateCommand.js +24 -0
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListGeneratedTemplatesCommand.js +24 -0
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanRelatedResourcesCommand.js +24 -0
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanResourcesCommand.js +24 -0
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScansCommand.js +24 -0
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StartResourceScanCommand.js +24 -0
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateGeneratedTemplateCommand.js +24 -0
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +11 -0
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/index.js +1 -0
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +104 -0
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +1 -0
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListGeneratedTemplatesPaginator.js +4 -0
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListResourceScanRelatedResourcesPaginator.js +4 -0
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListResourceScanResourcesPaginator.js +4 -0
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListResourceScansPaginator.js +4 -0
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/index.js +4 -0
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +1322 -92
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +1 -2
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +77 -0
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +13 -2
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateGeneratedTemplateCommand.d.ts +116 -0
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteGeneratedTemplateCommand.d.ts +75 -0
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +135 -0
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeResourceScanCommand.d.ts +168 -0
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetGeneratedTemplateCommand.d.ts +100 -0
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListGeneratedTemplatesCommand.d.ts +112 -0
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanRelatedResourcesCommand.d.ts +145 -0
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanResourcesCommand.d.ts +147 -0
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScansCommand.d.ts +97 -0
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StartResourceScanCommand.d.ts +91 -0
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/TestTypeCommand.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +156 -0
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +1 -1
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ValidateTemplateCommand.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +11 -0
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/index.d.ts +1 -0
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +4075 -3877
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +974 -0
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListGeneratedTemplatesPaginator.d.ts +7 -0
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScanRelatedResourcesPaginator.d.ts +7 -0
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScanResourcesPaginator.d.ts +7 -0
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScansPaginator.d.ts +7 -0
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/index.d.ts +4 -0
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +99 -0
  75. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
  76. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +187 -0
  77. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +66 -0
  78. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateGeneratedTemplateCommand.d.ts +30 -0
  79. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteGeneratedTemplateCommand.d.ts +26 -0
  80. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeGeneratedTemplateCommand.d.ts +30 -0
  81. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeResourceScanCommand.d.ts +30 -0
  82. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetGeneratedTemplateCommand.d.ts +30 -0
  83. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListGeneratedTemplatesCommand.d.ts +30 -0
  84. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanRelatedResourcesCommand.d.ts +30 -0
  85. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanResourcesCommand.d.ts +30 -0
  86. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScansCommand.d.ts +29 -0
  87. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +29 -0
  88. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StopStackSetOperationCommand.d.ts +1 -1
  89. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/TestTypeCommand.d.ts +1 -1
  90. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateGeneratedTemplateCommand.d.ts +30 -0
  91. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackInstancesCommand.d.ts +1 -1
  93. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackSetCommand.d.ts +1 -1
  94. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  95. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ValidateTemplateCommand.d.ts +1 -1
  96. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +11 -0
  97. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/index.d.ts +1 -0
  98. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +250 -99
  99. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +132 -0
  100. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListGeneratedTemplatesPaginator.d.ts +11 -0
  101. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListResourceScanRelatedResourcesPaginator.d.ts +11 -0
  102. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListResourceScanResourcesPaginator.d.ts +11 -0
  103. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListResourceScansPaginator.d.ts +11 -0
  104. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/index.d.ts +4 -0
  105. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +132 -0
  106. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +6 -2
  107. package/node_modules/@aws-sdk/client-cloudformation/package.json +13 -13
  108. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +14 -13
  109. package/node_modules/@aws-sdk/client-sso/package.json +10 -10
  110. package/node_modules/@aws-sdk/client-sso-oidc/LICENSE +201 -0
  111. package/node_modules/@aws-sdk/client-sso-oidc/README.md +274 -0
  112. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDC.js +1 -0
  113. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDCClient.js +1 -0
  114. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenCommand.js +1 -0
  115. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenWithIAMCommand.js +1 -0
  116. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/RegisterClientCommand.js +1 -0
  117. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/StartDeviceAuthorizationCommand.js +1 -0
  118. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/index.js +1 -0
  119. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/credentialDefaultProvider.js +29 -0
  120. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/EndpointParameters.js +1 -0
  121. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +12 -0
  122. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +7 -0
  123. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/extensionConfiguration.js +1 -0
  124. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +1115 -0
  125. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/SSOOIDCServiceException.js +1 -0
  126. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/index.js +1 -0
  127. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/models_0.js +1 -0
  128. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/protocols/Aws_restJson1.js +1 -0
  129. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +39 -0
  130. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +49 -0
  131. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +15 -0
  132. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +24 -0
  133. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeExtensions.js +1 -0
  134. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +15 -0
  135. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +38 -0
  136. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +25 -0
  137. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +27 -0
  138. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +25 -0
  139. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +25 -0
  140. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +4 -0
  141. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/credentialDefaultProvider.js +3 -0
  142. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +14 -0
  143. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +8 -0
  144. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +4 -0
  145. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/extensionConfiguration.js +1 -0
  146. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +6 -0
  147. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +8 -0
  148. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +1 -0
  149. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +217 -0
  150. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +553 -0
  151. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +34 -0
  152. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +44 -0
  153. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +11 -0
  154. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +20 -0
  155. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js +18 -0
  156. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +75 -0
  157. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +210 -0
  158. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +161 -0
  159. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +243 -0
  160. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +107 -0
  161. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +110 -0
  162. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +4 -0
  163. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/credentialDefaultProvider.d.ts +4 -0
  164. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  165. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +5 -0
  166. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +2 -0
  167. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/extensionConfiguration.d.ts +8 -0
  168. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +51 -0
  169. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +13 -0
  170. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +1 -0
  171. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +734 -0
  172. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +38 -0
  173. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +46 -0
  174. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +46 -0
  175. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +45 -0
  176. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +19 -0
  177. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeExtensions.d.ts +17 -0
  178. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +73 -0
  179. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +142 -0
  180. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +26 -0
  181. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +30 -0
  182. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +29 -0
  183. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +30 -0
  184. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +4 -0
  185. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
  186. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  187. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  188. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  189. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  190. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +9 -0
  191. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +8 -0
  192. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +1 -0
  193. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +201 -0
  194. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
  195. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  196. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  197. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  198. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  199. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  200. package/node_modules/@aws-sdk/client-sso-oidc/package.json +103 -0
  201. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +1 -29
  202. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +1 -29
  203. package/node_modules/@aws-sdk/client-sts/dist-cjs/credentialDefaultProvider.js +29 -0
  204. package/node_modules/@aws-sdk/client-sts/dist-cjs/defaultStsRoleAssumers.js +1 -78
  205. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1412 -72
  206. package/node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js +1 -12
  207. package/node_modules/@aws-sdk/client-sts/dist-cjs/models/models_0.js +1 -149
  208. package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +1 -1084
  209. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +3 -4
  210. package/node_modules/@aws-sdk/client-sts/dist-es/credentialDefaultProvider.js +3 -0
  211. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +3 -4
  212. package/node_modules/@aws-sdk/client-sts/dist-types/credentialDefaultProvider.d.ts +4 -0
  213. package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +3 -0
  214. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +8 -3
  215. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/credentialDefaultProvider.d.ts +1 -0
  216. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +26 -14
  217. package/node_modules/@aws-sdk/client-sts/package.json +14 -12
  218. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +5 -3
  219. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +2 -1
  220. package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -1
  221. package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +5 -1
  222. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  223. package/node_modules/@aws-sdk/credential-provider-http/README.md +10 -0
  224. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
  225. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +32 -0
  226. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +65 -0
  227. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js +2 -0
  228. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +59 -0
  229. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
  230. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +5 -0
  231. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
  232. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +42 -0
  233. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +27 -0
  234. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +59 -0
  235. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttpTypes.js +1 -0
  236. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +53 -0
  237. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js +13 -0
  238. package/node_modules/@aws-sdk/credential-provider-http/dist-es/index.browser.js +1 -0
  239. package/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js +1 -0
  240. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +7 -0
  241. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +6 -0
  242. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +6 -0
  243. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttpTypes.d.ts +69 -0
  244. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +11 -0
  245. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/retry-wrapper.d.ts +10 -0
  246. package/node_modules/@aws-sdk/credential-provider-http/dist-types/index.browser.d.ts +2 -0
  247. package/node_modules/@aws-sdk/credential-provider-http/dist-types/index.d.ts +2 -0
  248. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/checkUrl.d.ts +1 -0
  249. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +5 -0
  250. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +5 -0
  251. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttpTypes.d.ts +18 -0
  252. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +7 -0
  253. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts +8 -0
  254. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts +5 -0
  255. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts +5 -0
  256. package/node_modules/@aws-sdk/credential-provider-http/package.json +67 -0
  257. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +71 -43
  258. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/loadSts.js +1 -0
  259. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -0
  260. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/loadSts.js +2 -0
  261. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +4 -2
  262. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +4 -6
  263. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -3
  264. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +3 -3
  265. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +10 -9
  266. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +9 -6
  267. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +3 -3
  268. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +8 -4
  269. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/loadSts.d.ts +3 -0
  270. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
  271. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +2 -1
  272. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +1 -2
  273. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
  274. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +6 -3
  275. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -1
  276. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +8 -1
  277. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/loadSts.d.ts +3 -0
  278. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
  279. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +4 -1
  280. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -2
  281. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +6 -3
  282. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +3 -1
  283. package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -6
  284. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +24 -2
  285. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +11 -1
  286. package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +5 -2
  287. package/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts +17 -14
  288. package/node_modules/@aws-sdk/credential-provider-node/dist-types/remoteProvider.d.ts +3 -0
  289. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +5 -2
  290. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -7
  291. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +2 -0
  292. package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +1 -0
  293. package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +2 -1
  294. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +4 -1
  295. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  296. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +31 -7
  297. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso.js +1 -0
  298. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +5 -1
  299. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +2 -0
  300. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +7 -5
  301. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +4 -2
  302. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +3 -0
  303. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
  304. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +6 -2
  305. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +6 -0
  306. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
  307. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  308. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +5 -4
  309. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +7 -5
  310. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/loadSts.js +5 -0
  311. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -0
  312. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +6 -5
  313. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/loadSts.js +2 -0
  314. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +4 -3
  315. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts +14 -4
  316. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/loadSts.d.ts +3 -0
  317. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +7 -2
  318. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +12 -6
  319. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/loadSts.d.ts +3 -0
  320. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -2
  321. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +2 -2
  322. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  323. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +2 -2
  324. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  325. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +2 -2
  326. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  327. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +3 -3
  328. package/node_modules/@aws-sdk/middleware-signing/package.json +2 -2
  329. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +3 -3
  330. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  331. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +4 -4
  332. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  333. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +27 -24
  334. package/node_modules/@aws-sdk/token-providers/dist-cjs/loadSsoOidc.js +1 -0
  335. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -0
  336. package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +2 -1
  337. package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +3 -3
  338. package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +2 -2
  339. package/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -1
  340. package/node_modules/@aws-sdk/token-providers/dist-es/loadSsoOidc.js +2 -0
  341. package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
  342. package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +3 -3
  343. package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -1
  344. package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +2 -1
  345. package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +0 -1
  346. package/node_modules/@aws-sdk/token-providers/dist-types/loadSsoOidc.d.ts +2 -0
  347. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +7 -2
  348. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +7 -2
  349. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +1 -1
  350. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -1
  351. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +0 -1
  352. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/loadSsoOidc.d.ts +2 -0
  353. package/node_modules/@aws-sdk/token-providers/package.json +6 -43
  354. package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -171
  355. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +15 -0
  356. package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +4 -0
  357. package/node_modules/@aws-sdk/types/package.json +1 -1
  358. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +4 -24
  359. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  360. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
  361. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -1
  362. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  363. package/package.json +5 -5
  364. package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-browser.js +0 -1032
  365. package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +0 -1038
  366. package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-browser.js +0 -1010
  367. package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-node.js +0 -1017
  368. package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-browser.d.ts +0 -191
  369. package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-node.d.ts +0 -191
  370. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-browser.d.ts +0 -235
  371. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-node.d.ts +0 -235
@@ -0,0 +1 @@
1
+ module.exports = require("../index.js");
@@ -0,0 +1 @@
1
+ module.exports = require("../index.js");
@@ -0,0 +1 @@
1
+ module.exports = require("../index.js");
@@ -0,0 +1 @@
1
+ module.exports = require("../index.js");
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
12
+ const util_retry_1 = require("@smithy/util-retry");
13
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
+ const getRuntimeConfig = (config) => {
17
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
19
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
+ return {
21
+ ...clientSharedValues,
22
+ ...config,
23
+ runtime: "browser",
24
+ defaultsMode,
25
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
+ (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
+ maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
+ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
+ requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
32
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
33
+ sha256: config?.sha256 ?? sha256_browser_1.Sha256,
34
+ streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
35
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
36
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
37
+ };
38
+ };
39
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const credentialDefaultProvider_1 = require("./credentialDefaultProvider");
7
+ const core_1 = require("@aws-sdk/core");
8
+ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const hash_node_1 = require("@smithy/hash-node");
11
+ const middleware_retry_1 = require("@smithy/middleware-retry");
12
+ const node_config_provider_1 = require("@smithy/node-config-provider");
13
+ const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
15
+ const util_retry_1 = require("@smithy/util-retry");
16
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
+ const smithy_client_1 = require("@smithy/smithy-client");
18
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
+ const smithy_client_2 = require("@smithy/smithy-client");
20
+ const getRuntimeConfig = (config) => {
21
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
+ (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
+ return {
27
+ ...clientSharedValues,
28
+ ...config,
29
+ runtime: "node",
30
+ defaultsMode,
31
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
32
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider_1.defaultProvider,
33
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
+ (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
+ requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: config?.retryMode ??
39
+ (0, node_config_provider_1.loadConfig)({
40
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
42
+ }),
43
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
44
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
45
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
47
+ };
48
+ };
49
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
+ const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
+ const getRuntimeConfig = (config) => {
7
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
8
+ return {
9
+ ...browserDefaults,
10
+ ...config,
11
+ runtime: "react-native",
12
+ sha256: config?.sha256 ?? sha256_js_1.Sha256,
13
+ };
14
+ };
15
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const url_parser_1 = require("@smithy/url-parser");
6
+ const util_base64_1 = require("@smithy/util-base64");
7
+ const util_utf8_1 = require("@smithy/util-utf8");
8
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
9
+ const getRuntimeConfig = (config) => {
10
+ return {
11
+ apiVersion: "2019-06-10",
12
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
13
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
14
+ disableHostPrefix: config?.disableHostPrefix ?? false,
15
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
16
+ extensions: config?.extensions ?? [],
17
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
18
+ serviceId: config?.serviceId ?? "SSO OIDC",
19
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
20
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
21
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
22
+ };
23
+ };
24
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1 @@
1
+ module.exports = require("./index.js");
@@ -0,0 +1,15 @@
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { CreateTokenCommand } from "./commands/CreateTokenCommand";
3
+ import { CreateTokenWithIAMCommand, } from "./commands/CreateTokenWithIAMCommand";
4
+ import { RegisterClientCommand, } from "./commands/RegisterClientCommand";
5
+ import { StartDeviceAuthorizationCommand, } from "./commands/StartDeviceAuthorizationCommand";
6
+ import { SSOOIDCClient } from "./SSOOIDCClient";
7
+ const commands = {
8
+ CreateTokenCommand,
9
+ CreateTokenWithIAMCommand,
10
+ RegisterClientCommand,
11
+ StartDeviceAuthorizationCommand,
12
+ };
13
+ export class SSOOIDC extends SSOOIDCClient {
14
+ }
15
+ createAggregatedClient(commands, SSOOIDC);
@@ -0,0 +1,38 @@
1
+ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
+ import { resolveAwsAuthConfig } from "@aws-sdk/middleware-signing";
5
+ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
6
+ import { resolveRegionConfig } from "@smithy/config-resolver";
7
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
+ import { Client as __Client, } from "@smithy/smithy-client";
11
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
14
+ export { __Client };
15
+ export class SSOOIDCClient extends __Client {
16
+ constructor(...[configuration]) {
17
+ const _config_0 = __getRuntimeConfig(configuration || {});
18
+ const _config_1 = resolveClientEndpointParameters(_config_0);
19
+ const _config_2 = resolveRegionConfig(_config_1);
20
+ const _config_3 = resolveEndpointConfig(_config_2);
21
+ const _config_4 = resolveRetryConfig(_config_3);
22
+ const _config_5 = resolveHostHeaderConfig(_config_4);
23
+ const _config_6 = resolveAwsAuthConfig(_config_5);
24
+ const _config_7 = resolveUserAgentConfig(_config_6);
25
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
26
+ super(_config_8);
27
+ this.config = _config_8;
28
+ this.middlewareStack.use(getRetryPlugin(this.config));
29
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
30
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
31
+ this.middlewareStack.use(getLoggerPlugin(this.config));
32
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
33
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
34
+ }
35
+ destroy() {
36
+ super.destroy();
37
+ }
38
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateTokenCommand, se_CreateTokenCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateTokenCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSSSOOIDCService", "CreateToken", {})
20
+ .n("SSOOIDCClient", "CreateTokenCommand")
21
+ .f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog)
22
+ .ser(se_CreateTokenCommand)
23
+ .de(de_CreateTokenCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,27 @@
1
+ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
+ import { CreateTokenWithIAMRequestFilterSensitiveLog, CreateTokenWithIAMResponseFilterSensitiveLog, } from "../models/models_0";
7
+ import { de_CreateTokenWithIAMCommand, se_CreateTokenWithIAMCommand } from "../protocols/Aws_restJson1";
8
+ export { $Command };
9
+ export class CreateTokenWithIAMCommand extends $Command
10
+ .classBuilder()
11
+ .ep({
12
+ ...commonParams,
13
+ })
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ getSerdePlugin(config, this.serialize, this.deserialize),
17
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
18
+ getAwsAuthPlugin(config),
19
+ ];
20
+ })
21
+ .s("AWSSSOOIDCService", "CreateTokenWithIAM", {})
22
+ .n("SSOOIDCClient", "CreateTokenWithIAMCommand")
23
+ .f(CreateTokenWithIAMRequestFilterSensitiveLog, CreateTokenWithIAMResponseFilterSensitiveLog)
24
+ .ser(se_CreateTokenWithIAMCommand)
25
+ .de(de_CreateTokenWithIAMCommand)
26
+ .build() {
27
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { RegisterClientResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_RegisterClientCommand, se_RegisterClientCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class RegisterClientCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSSSOOIDCService", "RegisterClient", {})
20
+ .n("SSOOIDCClient", "RegisterClientCommand")
21
+ .f(void 0, RegisterClientResponseFilterSensitiveLog)
22
+ .ser(se_RegisterClientCommand)
23
+ .de(de_RegisterClientCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { StartDeviceAuthorizationRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_StartDeviceAuthorizationCommand, se_StartDeviceAuthorizationCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class StartDeviceAuthorizationCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSSSOOIDCService", "StartDeviceAuthorization", {})
20
+ .n("SSOOIDCClient", "StartDeviceAuthorizationCommand")
21
+ .f(StartDeviceAuthorizationRequestFilterSensitiveLog, void 0)
22
+ .ser(se_StartDeviceAuthorizationCommand)
23
+ .de(de_StartDeviceAuthorizationCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,4 @@
1
+ export * from "./CreateTokenCommand";
2
+ export * from "./CreateTokenWithIAMCommand";
3
+ export * from "./RegisterClientCommand";
4
+ export * from "./StartDeviceAuthorizationCommand";
@@ -0,0 +1,3 @@
1
+ export const defaultProvider = ((input) => {
2
+ return () => import("@aws-sdk/credential-provider-node").then(({ defaultProvider }) => defaultProvider(input)());
3
+ });
@@ -0,0 +1,14 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "sso-oauth",
7
+ };
8
+ };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -0,0 +1,8 @@
1
+ import { resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { ruleSet } from "./ruleset";
3
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
+ return resolveEndpoint(ruleSet, {
5
+ endpointParams: endpointParams,
6
+ logger: context.logger,
7
+ });
8
+ };
@@ -0,0 +1,4 @@
1
+ const u = "required", v = "fn", w = "argv", x = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1,6 @@
1
+ export * from "./SSOOIDCClient";
2
+ export * from "./SSOOIDC";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ import "@aws-sdk/util-endpoints";
6
+ export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class SSOOIDCServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, SSOOIDCServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,217 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
3
+ export class AccessDeniedException extends __BaseException {
4
+ constructor(opts) {
5
+ super({
6
+ name: "AccessDeniedException",
7
+ $fault: "client",
8
+ ...opts,
9
+ });
10
+ this.name = "AccessDeniedException";
11
+ this.$fault = "client";
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.error = opts.error;
14
+ this.error_description = opts.error_description;
15
+ }
16
+ }
17
+ export class AuthorizationPendingException extends __BaseException {
18
+ constructor(opts) {
19
+ super({
20
+ name: "AuthorizationPendingException",
21
+ $fault: "client",
22
+ ...opts,
23
+ });
24
+ this.name = "AuthorizationPendingException";
25
+ this.$fault = "client";
26
+ Object.setPrototypeOf(this, AuthorizationPendingException.prototype);
27
+ this.error = opts.error;
28
+ this.error_description = opts.error_description;
29
+ }
30
+ }
31
+ export class ExpiredTokenException extends __BaseException {
32
+ constructor(opts) {
33
+ super({
34
+ name: "ExpiredTokenException",
35
+ $fault: "client",
36
+ ...opts,
37
+ });
38
+ this.name = "ExpiredTokenException";
39
+ this.$fault = "client";
40
+ Object.setPrototypeOf(this, ExpiredTokenException.prototype);
41
+ this.error = opts.error;
42
+ this.error_description = opts.error_description;
43
+ }
44
+ }
45
+ export class InternalServerException extends __BaseException {
46
+ constructor(opts) {
47
+ super({
48
+ name: "InternalServerException",
49
+ $fault: "server",
50
+ ...opts,
51
+ });
52
+ this.name = "InternalServerException";
53
+ this.$fault = "server";
54
+ Object.setPrototypeOf(this, InternalServerException.prototype);
55
+ this.error = opts.error;
56
+ this.error_description = opts.error_description;
57
+ }
58
+ }
59
+ export class InvalidClientException extends __BaseException {
60
+ constructor(opts) {
61
+ super({
62
+ name: "InvalidClientException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ this.name = "InvalidClientException";
67
+ this.$fault = "client";
68
+ Object.setPrototypeOf(this, InvalidClientException.prototype);
69
+ this.error = opts.error;
70
+ this.error_description = opts.error_description;
71
+ }
72
+ }
73
+ export class InvalidGrantException extends __BaseException {
74
+ constructor(opts) {
75
+ super({
76
+ name: "InvalidGrantException",
77
+ $fault: "client",
78
+ ...opts,
79
+ });
80
+ this.name = "InvalidGrantException";
81
+ this.$fault = "client";
82
+ Object.setPrototypeOf(this, InvalidGrantException.prototype);
83
+ this.error = opts.error;
84
+ this.error_description = opts.error_description;
85
+ }
86
+ }
87
+ export class InvalidRequestException extends __BaseException {
88
+ constructor(opts) {
89
+ super({
90
+ name: "InvalidRequestException",
91
+ $fault: "client",
92
+ ...opts,
93
+ });
94
+ this.name = "InvalidRequestException";
95
+ this.$fault = "client";
96
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
97
+ this.error = opts.error;
98
+ this.error_description = opts.error_description;
99
+ }
100
+ }
101
+ export class InvalidScopeException extends __BaseException {
102
+ constructor(opts) {
103
+ super({
104
+ name: "InvalidScopeException",
105
+ $fault: "client",
106
+ ...opts,
107
+ });
108
+ this.name = "InvalidScopeException";
109
+ this.$fault = "client";
110
+ Object.setPrototypeOf(this, InvalidScopeException.prototype);
111
+ this.error = opts.error;
112
+ this.error_description = opts.error_description;
113
+ }
114
+ }
115
+ export class SlowDownException extends __BaseException {
116
+ constructor(opts) {
117
+ super({
118
+ name: "SlowDownException",
119
+ $fault: "client",
120
+ ...opts,
121
+ });
122
+ this.name = "SlowDownException";
123
+ this.$fault = "client";
124
+ Object.setPrototypeOf(this, SlowDownException.prototype);
125
+ this.error = opts.error;
126
+ this.error_description = opts.error_description;
127
+ }
128
+ }
129
+ export class UnauthorizedClientException extends __BaseException {
130
+ constructor(opts) {
131
+ super({
132
+ name: "UnauthorizedClientException",
133
+ $fault: "client",
134
+ ...opts,
135
+ });
136
+ this.name = "UnauthorizedClientException";
137
+ this.$fault = "client";
138
+ Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
139
+ this.error = opts.error;
140
+ this.error_description = opts.error_description;
141
+ }
142
+ }
143
+ export class UnsupportedGrantTypeException extends __BaseException {
144
+ constructor(opts) {
145
+ super({
146
+ name: "UnsupportedGrantTypeException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ this.name = "UnsupportedGrantTypeException";
151
+ this.$fault = "client";
152
+ Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype);
153
+ this.error = opts.error;
154
+ this.error_description = opts.error_description;
155
+ }
156
+ }
157
+ export class InvalidRequestRegionException extends __BaseException {
158
+ constructor(opts) {
159
+ super({
160
+ name: "InvalidRequestRegionException",
161
+ $fault: "client",
162
+ ...opts,
163
+ });
164
+ this.name = "InvalidRequestRegionException";
165
+ this.$fault = "client";
166
+ Object.setPrototypeOf(this, InvalidRequestRegionException.prototype);
167
+ this.error = opts.error;
168
+ this.error_description = opts.error_description;
169
+ this.endpoint = opts.endpoint;
170
+ this.region = opts.region;
171
+ }
172
+ }
173
+ export class InvalidClientMetadataException extends __BaseException {
174
+ constructor(opts) {
175
+ super({
176
+ name: "InvalidClientMetadataException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ this.name = "InvalidClientMetadataException";
181
+ this.$fault = "client";
182
+ Object.setPrototypeOf(this, InvalidClientMetadataException.prototype);
183
+ this.error = opts.error;
184
+ this.error_description = opts.error_description;
185
+ }
186
+ }
187
+ export const CreateTokenRequestFilterSensitiveLog = (obj) => ({
188
+ ...obj,
189
+ ...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
190
+ ...(obj.refreshToken && { refreshToken: SENSITIVE_STRING }),
191
+ });
192
+ export const CreateTokenResponseFilterSensitiveLog = (obj) => ({
193
+ ...obj,
194
+ ...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
195
+ ...(obj.refreshToken && { refreshToken: SENSITIVE_STRING }),
196
+ ...(obj.idToken && { idToken: SENSITIVE_STRING }),
197
+ });
198
+ export const CreateTokenWithIAMRequestFilterSensitiveLog = (obj) => ({
199
+ ...obj,
200
+ ...(obj.refreshToken && { refreshToken: SENSITIVE_STRING }),
201
+ ...(obj.assertion && { assertion: SENSITIVE_STRING }),
202
+ ...(obj.subjectToken && { subjectToken: SENSITIVE_STRING }),
203
+ });
204
+ export const CreateTokenWithIAMResponseFilterSensitiveLog = (obj) => ({
205
+ ...obj,
206
+ ...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
207
+ ...(obj.refreshToken && { refreshToken: SENSITIVE_STRING }),
208
+ ...(obj.idToken && { idToken: SENSITIVE_STRING }),
209
+ });
210
+ export const RegisterClientResponseFilterSensitiveLog = (obj) => ({
211
+ ...obj,
212
+ ...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
213
+ });
214
+ export const StartDeviceAuthorizationRequestFilterSensitiveLog = (obj) => ({
215
+ ...obj,
216
+ ...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
217
+ });