@cdk8s/awscdk-resolver 0.0.409 → 0.0.411

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 (279) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/README.md +8 -0
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +736 -533
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +2 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeEventsCommand.js +16 -0
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +1 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +2 -1
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/enums.js +520 -0
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/errors.js +407 -0
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +1 -805
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/DescribeChangeSetPaginator.js +4 -0
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/DescribeEventsPaginator.js +4 -0
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/index.js +2 -0
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +162 -29
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +8 -0
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +3 -2
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateChangeSetCommand.d.ts +1 -0
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackCommand.d.ts +1 -0
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +20 -3
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +1 -1
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeEventsCommand.d.ts +143 -0
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +1 -0
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceCommand.d.ts +1 -1
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +2 -2
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourcesCommand.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStacksCommand.d.ts +6 -0
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackResourceDriftCommand.d.ts +1 -1
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetHookResultCommand.d.ts +5 -0
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstanceResourceDriftsCommand.d.ts +2 -2
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackResourcesCommand.d.ts +1 -1
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -1
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStacksCommand.d.ts +6 -0
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeRegistrationsCommand.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeVersionsCommand.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypesCommand.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/PublishTypeCommand.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RecordHandlerProgressCommand.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterPublisherCommand.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterTypeCommand.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RollbackStackCommand.d.ts +2 -1
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetStackPolicyCommand.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeConfigurationCommand.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeDefaultVersionCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SignalResourceCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StartResourceScanCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/TestTypeCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +1 -1
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackCommand.d.ts +2 -1
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +1 -1
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +1 -1
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ValidateTemplateCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +1 -0
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +3 -1
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/enums.d.ts +1200 -0
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/errors.d.ts +413 -0
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +2950 -1454
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeChangeSetPaginator.d.ts +7 -0
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeEventsPaginator.d.ts +7 -0
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/index.d.ts +2 -0
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-types/schemas/schemas_0.d.ts +11 -0
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +18 -0
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +6 -0
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +47 -0
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetsCommand.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeRegistrationsCommand.d.ts +1 -1
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeVersionsCommand.d.ts +1 -1
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypesCommand.d.ts +1 -1
  75. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/PublishTypeCommand.d.ts +1 -1
  76. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RecordHandlerProgressCommand.d.ts +1 -1
  77. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterPublisherCommand.d.ts +1 -1
  78. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterTypeCommand.d.ts +1 -1
  79. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RollbackStackCommand.d.ts +1 -1
  80. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetStackPolicyCommand.d.ts +1 -1
  81. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetTypeConfigurationCommand.d.ts +1 -1
  82. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetTypeDefaultVersionCommand.d.ts +1 -1
  83. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SignalResourceCommand.d.ts +1 -1
  84. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StopStackSetOperationCommand.d.ts +1 -1
  86. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/TestTypeCommand.d.ts +1 -1
  87. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateGeneratedTemplateCommand.d.ts +1 -1
  88. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +1 -1
  89. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackInstancesCommand.d.ts +1 -1
  90. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackSetCommand.d.ts +1 -1
  91. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ValidateTemplateCommand.d.ts +1 -1
  93. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +1 -0
  94. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/index.d.ts +3 -1
  95. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/enums.d.ts +669 -0
  96. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/errors.d.ts +264 -0
  97. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +479 -798
  98. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/DescribeChangeSetPaginator.d.ts +11 -0
  99. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +11 -0
  100. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/index.d.ts +2 -0
  101. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  102. package/node_modules/@aws-sdk/client-cloudformation/package.json +19 -19
  103. package/node_modules/@aws-sdk/client-sso/dist-es/index.js +1 -1
  104. package/node_modules/@aws-sdk/client-sso/dist-es/models/errors.js +49 -0
  105. package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +1 -49
  106. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +1 -1
  107. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +2 -1
  108. package/node_modules/@aws-sdk/client-sso/dist-types/models/errors.d.ts +53 -0
  109. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -53
  110. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +2 -1
  111. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/errors.d.ts +30 -0
  112. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -30
  113. package/node_modules/@aws-sdk/client-sso/package.json +18 -18
  114. package/node_modules/@aws-sdk/core/package.json +4 -4
  115. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  116. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  117. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +15 -0
  118. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +12 -0
  119. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +4 -0
  120. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +4 -3
  121. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts +10 -0
  122. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +3 -1
  123. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +7 -0
  124. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -9
  125. package/node_modules/@aws-sdk/credential-provider-login/README.md +7 -0
  126. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
  127. package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +262 -0
  128. package/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js +21 -0
  129. package/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js +2 -0
  130. package/node_modules/@aws-sdk/credential-provider-login/dist-es/types.js +1 -0
  131. package/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts +42 -0
  132. package/node_modules/@aws-sdk/credential-provider-login/dist-types/fromLoginCredentials.d.ts +7 -0
  133. package/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts +8 -0
  134. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +24 -0
  135. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts +5 -0
  136. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +2 -0
  137. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +39 -0
  138. package/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts +59 -0
  139. package/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
  140. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  141. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  142. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  143. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  144. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  145. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  146. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  147. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  148. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
  149. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
  150. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +7 -0
  151. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +439 -0
  152. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +39 -0
  153. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +54 -0
  154. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +15 -0
  155. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +42 -0
  156. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +10 -9
  157. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +9 -0
  158. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +50 -0
  159. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js +38 -0
  160. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +50 -0
  161. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +16 -0
  162. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +1 -0
  163. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js +13 -0
  164. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +14 -0
  165. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +4 -0
  166. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/extensionConfiguration.js +1 -0
  167. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +6 -0
  168. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +8 -0
  169. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +8 -0
  170. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js +57 -0
  171. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js +1 -0
  172. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +34 -0
  173. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +49 -0
  174. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +11 -0
  175. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +38 -0
  176. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js +9 -0
  177. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +221 -0
  178. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +2 -1
  179. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js +9 -0
  180. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js +181 -0
  181. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +1 -190
  182. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +1 -1
  183. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +1 -1
  184. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +85 -0
  185. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +1 -85
  186. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +1 -1
  187. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +18 -0
  188. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +198 -0
  189. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  190. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +75 -0
  191. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +157 -0
  192. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +1 -0
  193. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +38 -0
  194. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/endpointResolver.d.ts +5 -0
  195. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +2 -0
  196. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts +9 -0
  197. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +16 -0
  198. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +14 -0
  199. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +34 -0
  200. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +102 -0
  201. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +142 -0
  202. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +59 -0
  203. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +59 -0
  204. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +58 -0
  205. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +33 -0
  206. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeExtensions.d.ts +17 -0
  207. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +14 -0
  208. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +3 -1
  209. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/enums.d.ts +25 -0
  210. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +279 -0
  211. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +0 -303
  212. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +2 -1
  213. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +108 -0
  214. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -108
  215. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +22 -0
  216. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +127 -0
  217. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  218. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +47 -0
  219. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +47 -0
  220. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
  221. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +51 -0
  222. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +8 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +2 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +9 -0
  225. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +10 -0
  226. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +9 -0
  227. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +10 -0
  228. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +35 -0
  229. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +26 -0
  230. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +121 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +114 -0
  232. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +125 -0
  233. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +53 -0
  234. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +11 -0
  235. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +19 -0
  236. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +3 -1
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts +13 -0
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +105 -0
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -114
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +2 -1
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +54 -0
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -54
  243. package/node_modules/@aws-sdk/nested-clients/package.json +29 -18
  244. package/node_modules/@aws-sdk/nested-clients/signin.d.ts +7 -0
  245. package/node_modules/@aws-sdk/nested-clients/signin.js +5 -0
  246. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  247. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  248. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +2 -0
  249. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +2 -0
  250. package/node_modules/@aws-sdk/types/package.json +1 -1
  251. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  252. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
  253. package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
  254. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +6 -0
  255. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +6 -0
  256. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +6 -2
  257. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +6 -2
  258. package/node_modules/@smithy/core/package.json +1 -1
  259. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  260. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  261. package/node_modules/@smithy/smithy-client/package.json +3 -3
  262. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  263. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  264. package/package.json +5 -5
  265. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/index.js +0 -2
  266. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +0 -81
  267. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/index.d.ts +0 -2
  268. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +0 -2571
  269. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/index.d.ts +0 -2
  270. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +0 -433
  271. package/node_modules/@aws-sdk/client-sso/dist-es/models/index.js +0 -1
  272. package/node_modules/@aws-sdk/client-sso/dist-types/models/index.d.ts +0 -1
  273. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/index.d.ts +0 -1
  274. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js +0 -1
  275. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/index.js +0 -1
  276. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/index.d.ts +0 -1
  277. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/index.d.ts +0 -1
  278. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/index.d.ts +0 -1
  279. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/index.d.ts +0 -1
@@ -0,0 +1,85 @@
1
+ import { STSServiceException as __BaseException } from "./STSServiceException";
2
+ export class ExpiredTokenException extends __BaseException {
3
+ name = "ExpiredTokenException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "ExpiredTokenException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, ExpiredTokenException.prototype);
12
+ }
13
+ }
14
+ export class MalformedPolicyDocumentException extends __BaseException {
15
+ name = "MalformedPolicyDocumentException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "MalformedPolicyDocumentException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
24
+ }
25
+ }
26
+ export class PackedPolicyTooLargeException extends __BaseException {
27
+ name = "PackedPolicyTooLargeException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "PackedPolicyTooLargeException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
36
+ }
37
+ }
38
+ export class RegionDisabledException extends __BaseException {
39
+ name = "RegionDisabledException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "RegionDisabledException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, RegionDisabledException.prototype);
48
+ }
49
+ }
50
+ export class IDPRejectedClaimException extends __BaseException {
51
+ name = "IDPRejectedClaimException";
52
+ $fault = "client";
53
+ constructor(opts) {
54
+ super({
55
+ name: "IDPRejectedClaimException",
56
+ $fault: "client",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
60
+ }
61
+ }
62
+ export class InvalidIdentityTokenException extends __BaseException {
63
+ name = "InvalidIdentityTokenException";
64
+ $fault = "client";
65
+ constructor(opts) {
66
+ super({
67
+ name: "InvalidIdentityTokenException",
68
+ $fault: "client",
69
+ ...opts,
70
+ });
71
+ Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
72
+ }
73
+ }
74
+ export class IDPCommunicationErrorException extends __BaseException {
75
+ name = "IDPCommunicationErrorException";
76
+ $fault = "client";
77
+ constructor(opts) {
78
+ super({
79
+ name: "IDPCommunicationErrorException",
80
+ $fault: "client",
81
+ ...opts,
82
+ });
83
+ Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
84
+ }
85
+ }
@@ -1,85 +1 @@
1
- import { STSServiceException as __BaseException } from "./STSServiceException";
2
- export class ExpiredTokenException extends __BaseException {
3
- name = "ExpiredTokenException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "ExpiredTokenException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, ExpiredTokenException.prototype);
12
- }
13
- }
14
- export class MalformedPolicyDocumentException extends __BaseException {
15
- name = "MalformedPolicyDocumentException";
16
- $fault = "client";
17
- constructor(opts) {
18
- super({
19
- name: "MalformedPolicyDocumentException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
24
- }
25
- }
26
- export class PackedPolicyTooLargeException extends __BaseException {
27
- name = "PackedPolicyTooLargeException";
28
- $fault = "client";
29
- constructor(opts) {
30
- super({
31
- name: "PackedPolicyTooLargeException",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
36
- }
37
- }
38
- export class RegionDisabledException extends __BaseException {
39
- name = "RegionDisabledException";
40
- $fault = "client";
41
- constructor(opts) {
42
- super({
43
- name: "RegionDisabledException",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- Object.setPrototypeOf(this, RegionDisabledException.prototype);
48
- }
49
- }
50
- export class IDPRejectedClaimException extends __BaseException {
51
- name = "IDPRejectedClaimException";
52
- $fault = "client";
53
- constructor(opts) {
54
- super({
55
- name: "IDPRejectedClaimException",
56
- $fault: "client",
57
- ...opts,
58
- });
59
- Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
60
- }
61
- }
62
- export class InvalidIdentityTokenException extends __BaseException {
63
- name = "InvalidIdentityTokenException";
64
- $fault = "client";
65
- constructor(opts) {
66
- super({
67
- name: "InvalidIdentityTokenException",
68
- $fault: "client",
69
- ...opts,
70
- });
71
- Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
72
- }
73
- }
74
- export class IDPCommunicationErrorException extends __BaseException {
75
- name = "IDPCommunicationErrorException";
76
- $fault = "client";
77
- constructor(opts) {
78
- super({
79
- name: "IDPCommunicationErrorException",
80
- $fault: "client",
81
- ...opts,
82
- });
83
- Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
84
- }
85
- }
1
+ export {};
@@ -58,7 +58,7 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
58
58
  const _tLT = "tagListType";
59
59
  const n0 = "com.amazonaws.sts";
60
60
  import { TypeRegistry } from "@smithy/core/schema";
61
- import { ExpiredTokenException as __ExpiredTokenException, IDPCommunicationErrorException as __IDPCommunicationErrorException, IDPRejectedClaimException as __IDPRejectedClaimException, InvalidIdentityTokenException as __InvalidIdentityTokenException, MalformedPolicyDocumentException as __MalformedPolicyDocumentException, PackedPolicyTooLargeException as __PackedPolicyTooLargeException, RegionDisabledException as __RegionDisabledException, } from "../models/index";
61
+ import { ExpiredTokenException as __ExpiredTokenException, IDPCommunicationErrorException as __IDPCommunicationErrorException, IDPRejectedClaimException as __IDPRejectedClaimException, InvalidIdentityTokenException as __InvalidIdentityTokenException, MalformedPolicyDocumentException as __MalformedPolicyDocumentException, PackedPolicyTooLargeException as __PackedPolicyTooLargeException, RegionDisabledException as __RegionDisabledException, } from "../models/errors";
62
62
  import { STSServiceException as __STSServiceException } from "../models/STSServiceException";
63
63
  export var accessKeySecretType = [0, n0, _aKST, 8, 0];
64
64
  export var clientTokenType = [0, n0, _cTT, 8, 0];
@@ -0,0 +1,18 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput } from "./commands/CreateOAuth2TokenCommand";
3
+ import { SigninClient } from "./SigninClient";
4
+ export interface Signin {
5
+ /**
6
+ * @see {@link CreateOAuth2TokenCommand}
7
+ */
8
+ createOAuth2Token(args: CreateOAuth2TokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateOAuth2TokenCommandOutput>;
9
+ createOAuth2Token(args: CreateOAuth2TokenCommandInput, cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void): void;
10
+ createOAuth2Token(args: CreateOAuth2TokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void): void;
11
+ }
12
+ /**
13
+ * AWS Sign-In manages authentication for AWS services. This service provides
14
+ * secure authentication flows for accessing AWS resources from the console and developer tools.
15
+ * @public
16
+ */
17
+ export declare class Signin extends SigninClient implements Signin {
18
+ }
@@ -0,0 +1,198 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput } from "./commands/CreateOAuth2TokenCommand";
11
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
12
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
13
+ export { __Client };
14
+ /**
15
+ * @public
16
+ */
17
+ export type ServiceInputTypes = CreateOAuth2TokenCommandInput;
18
+ /**
19
+ * @public
20
+ */
21
+ export type ServiceOutputTypes = CreateOAuth2TokenCommandOutput;
22
+ /**
23
+ * @public
24
+ */
25
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
26
+ /**
27
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
28
+ */
29
+ requestHandler?: __HttpHandlerUserInput;
30
+ /**
31
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
32
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
33
+ * @internal
34
+ */
35
+ sha256?: __ChecksumConstructor | __HashConstructor;
36
+ /**
37
+ * The function that will be used to convert strings into HTTP endpoints.
38
+ * @internal
39
+ */
40
+ urlParser?: __UrlParser;
41
+ /**
42
+ * A function that can calculate the length of a request body.
43
+ * @internal
44
+ */
45
+ bodyLengthChecker?: __BodyLengthCalculator;
46
+ /**
47
+ * A function that converts a stream into an array of bytes.
48
+ * @internal
49
+ */
50
+ streamCollector?: __StreamCollector;
51
+ /**
52
+ * The function that will be used to convert a base64-encoded string to a byte array.
53
+ * @internal
54
+ */
55
+ base64Decoder?: __Decoder;
56
+ /**
57
+ * The function that will be used to convert binary data to a base64-encoded string.
58
+ * @internal
59
+ */
60
+ base64Encoder?: __Encoder;
61
+ /**
62
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
63
+ * @internal
64
+ */
65
+ utf8Decoder?: __Decoder;
66
+ /**
67
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
68
+ * @internal
69
+ */
70
+ utf8Encoder?: __Encoder;
71
+ /**
72
+ * The runtime environment.
73
+ * @internal
74
+ */
75
+ runtime?: string;
76
+ /**
77
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
78
+ * trait of an operation.
79
+ */
80
+ disableHostPrefix?: boolean;
81
+ /**
82
+ * Unique service identifier.
83
+ * @internal
84
+ */
85
+ serviceId?: string;
86
+ /**
87
+ * Enables IPv6/IPv4 dualstack endpoint.
88
+ */
89
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
90
+ /**
91
+ * Enables FIPS compatible endpoints.
92
+ */
93
+ useFipsEndpoint?: boolean | __Provider<boolean>;
94
+ /**
95
+ * The AWS region to which this client will send requests
96
+ */
97
+ region?: string | __Provider<string>;
98
+ /**
99
+ * Setting a client profile is similar to setting a value for the
100
+ * AWS_PROFILE environment variable. Setting a profile on a client
101
+ * in code only affects the single client instance, unlike AWS_PROFILE.
102
+ *
103
+ * When set, and only for environments where an AWS configuration
104
+ * file exists, fields configurable by this file will be retrieved
105
+ * from the specified profile within that file.
106
+ * Conflicting code configuration and environment variables will
107
+ * still have higher priority.
108
+ *
109
+ * For client credential resolution that involves checking the AWS
110
+ * configuration file, the client's profile (this value) will be
111
+ * used unless a different profile is set in the credential
112
+ * provider options.
113
+ *
114
+ */
115
+ profile?: string;
116
+ /**
117
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
118
+ * @internal
119
+ */
120
+ defaultUserAgentProvider?: Provider<__UserAgent>;
121
+ /**
122
+ * Default credentials provider; Not available in browser runtime.
123
+ * @deprecated
124
+ * @internal
125
+ */
126
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
127
+ /**
128
+ * Value for how many times a request will be made at most in case of retry.
129
+ */
130
+ maxAttempts?: number | __Provider<number>;
131
+ /**
132
+ * Specifies which retry algorithm to use.
133
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
134
+ *
135
+ */
136
+ retryMode?: string | __Provider<string>;
137
+ /**
138
+ * Optional logger for logging debug/info/warn/error.
139
+ */
140
+ logger?: __Logger;
141
+ /**
142
+ * Optional extensions
143
+ */
144
+ extensions?: RuntimeExtension[];
145
+ /**
146
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
147
+ * may be overridden. A default will always be set by the client.
148
+ * Available options depend on the service's supported protocols and will not be validated by
149
+ * the client.
150
+ * @alpha
151
+ *
152
+ */
153
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
154
+ /**
155
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
156
+ */
157
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
158
+ }
159
+ /**
160
+ * @public
161
+ */
162
+ export type SigninClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
163
+ /**
164
+ * @public
165
+ *
166
+ * The configuration interface of SigninClient class constructor that set the region, credentials and other options.
167
+ */
168
+ export interface SigninClientConfig extends SigninClientConfigType {
169
+ }
170
+ /**
171
+ * @public
172
+ */
173
+ export type SigninClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
174
+ /**
175
+ * @public
176
+ *
177
+ * The resolved configuration interface of SigninClient class. This is resolved and normalized from the {@link SigninClientConfig | constructor configuration interface}.
178
+ */
179
+ export interface SigninClientResolvedConfig extends SigninClientResolvedConfigType {
180
+ }
181
+ /**
182
+ * AWS Sign-In manages authentication for AWS services. This service provides
183
+ * secure authentication flows for accessing AWS resources from the console and developer tools.
184
+ * @public
185
+ */
186
+ export declare class SigninClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SigninClientResolvedConfig> {
187
+ /**
188
+ * The resolved configuration of SigninClient class. This is resolved and normalized from the {@link SigninClientConfig | constructor configuration interface}.
189
+ */
190
+ readonly config: SigninClientResolvedConfig;
191
+ constructor(...[configuration]: __CheckOptionalClientConfig<SigninClientConfig>);
192
+ /**
193
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
194
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
195
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
196
+ */
197
+ destroy(): void;
198
+ }
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { SigninHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: SigninHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): SigninHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: SigninHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,75 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { SigninClientResolvedConfig } from "../SigninClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface SigninHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface SigninHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<SigninClientResolvedConfig, HandlerExecutionContext, SigninHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultSigninHttpAuthSchemeParametersProvider: (config: SigninClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<SigninHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface SigninHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SigninHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultSigninHttpAuthSchemeProvider: SigninHttpAuthSchemeProvider;
28
+ /**
29
+ * @public
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * A comma-separated list of case-sensitive auth scheme names.
34
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
35
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
36
+ * @public
37
+ */
38
+ authSchemePreference?: string[] | Provider<string[]>;
39
+ /**
40
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
41
+ * @internal
42
+ */
43
+ httpAuthSchemes?: HttpAuthScheme[];
44
+ /**
45
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
46
+ * @internal
47
+ */
48
+ httpAuthSchemeProvider?: SigninHttpAuthSchemeProvider;
49
+ }
50
+ /**
51
+ * @internal
52
+ */
53
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * A comma-separated list of case-sensitive auth scheme names.
56
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
57
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
58
+ * @public
59
+ */
60
+ readonly authSchemePreference: Provider<string[]>;
61
+ /**
62
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
63
+ * @internal
64
+ */
65
+ readonly httpAuthSchemes: HttpAuthScheme[];
66
+ /**
67
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
68
+ * @internal
69
+ */
70
+ readonly httpAuthSchemeProvider: SigninHttpAuthSchemeProvider;
71
+ }
72
+ /**
73
+ * @internal
74
+ */
75
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,157 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateOAuth2TokenRequest, CreateOAuth2TokenResponse } from "../models/models_0";
4
+ import { SigninClientResolvedConfig } from "../SigninClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateOAuth2TokenCommand}.
14
+ */
15
+ export interface CreateOAuth2TokenCommandInput extends CreateOAuth2TokenRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateOAuth2TokenCommand}.
21
+ */
22
+ export interface CreateOAuth2TokenCommandOutput extends CreateOAuth2TokenResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateOAuth2TokenCommand_base: {
25
+ new (input: CreateOAuth2TokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput, SigninClientResolvedConfig, CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput>;
26
+ new (input: CreateOAuth2TokenCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput, SigninClientResolvedConfig, CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * CreateOAuth2Token API
31
+ *
32
+ * Path: /v1/token
33
+ * Request Method: POST
34
+ * Content-Type: application/json or application/x-www-form-urlencoded
35
+ *
36
+ * This API implements OAuth 2.0 flows for AWS Sign-In CLI clients, supporting both:
37
+ * 1. Authorization code redemption (grant_type=authorization_code) - NOT idempotent
38
+ * 2. Token refresh (grant_type=refresh_token) - Idempotent within token validity window
39
+ *
40
+ * The operation behavior is determined by the grant_type parameter in the request body:
41
+ *
42
+ * **Authorization Code Flow (NOT Idempotent):**
43
+ * - JSON or form-encoded body with client_id, grant_type=authorization_code, code, redirect_uri, code_verifier
44
+ * - Returns access_token, token_type, expires_in, refresh_token, and id_token
45
+ * - Each authorization code can only be used ONCE for security (prevents replay attacks)
46
+ *
47
+ * **Token Refresh Flow (Idempotent):**
48
+ * - JSON or form-encoded body with client_id, grant_type=refresh_token, refresh_token
49
+ * - Returns access_token, token_type, expires_in, and refresh_token (no id_token)
50
+ * - Multiple calls with same refresh_token return consistent results within validity window
51
+ *
52
+ * Authentication and authorization:
53
+ * - Confidential clients: sigv4 signing required with signin:ExchangeToken permissions
54
+ * - CLI clients (public): authn/authz skipped based on client_id & grant_type
55
+ *
56
+ * Note: This operation cannot be marked as @idempotent because it handles both idempotent
57
+ * (token refresh) and non-idempotent (auth code redemption) flows in a single endpoint.
58
+ * @example
59
+ * Use a bare-bones client and the command you need to make an API call.
60
+ * ```javascript
61
+ * import { SigninClient, CreateOAuth2TokenCommand } from "@aws-sdk/client-signin"; // ES Modules import
62
+ * // const { SigninClient, CreateOAuth2TokenCommand } = require("@aws-sdk/client-signin"); // CommonJS import
63
+ * // import type { SigninClientConfig } from "@aws-sdk/client-signin";
64
+ * const config = {}; // type is SigninClientConfig
65
+ * const client = new SigninClient(config);
66
+ * const input = { // CreateOAuth2TokenRequest
67
+ * tokenInput: { // CreateOAuth2TokenRequestBody
68
+ * clientId: "STRING_VALUE", // required
69
+ * grantType: "STRING_VALUE", // required
70
+ * code: "STRING_VALUE",
71
+ * redirectUri: "STRING_VALUE",
72
+ * codeVerifier: "STRING_VALUE",
73
+ * refreshToken: "STRING_VALUE",
74
+ * },
75
+ * };
76
+ * const command = new CreateOAuth2TokenCommand(input);
77
+ * const response = await client.send(command);
78
+ * // { // CreateOAuth2TokenResponse
79
+ * // tokenOutput: { // CreateOAuth2TokenResponseBody
80
+ * // accessToken: { // AccessToken
81
+ * // accessKeyId: "STRING_VALUE", // required
82
+ * // secretAccessKey: "STRING_VALUE", // required
83
+ * // sessionToken: "STRING_VALUE", // required
84
+ * // },
85
+ * // tokenType: "STRING_VALUE", // required
86
+ * // expiresIn: Number("int"), // required
87
+ * // refreshToken: "STRING_VALUE", // required
88
+ * // idToken: "STRING_VALUE",
89
+ * // },
90
+ * // };
91
+ *
92
+ * ```
93
+ *
94
+ * @param CreateOAuth2TokenCommandInput - {@link CreateOAuth2TokenCommandInput}
95
+ * @returns {@link CreateOAuth2TokenCommandOutput}
96
+ * @see {@link CreateOAuth2TokenCommandInput} for command's `input` shape.
97
+ * @see {@link CreateOAuth2TokenCommandOutput} for command's `response` shape.
98
+ * @see {@link SigninClientResolvedConfig | config} for SigninClient's `config` shape.
99
+ *
100
+ * @throws {@link AccessDeniedException} (client fault)
101
+ * Error thrown for access denied scenarios with flexible HTTP status mapping
102
+ *
103
+ * Runtime HTTP Status Code Mapping:
104
+ * - HTTP 401 (Unauthorized): TOKEN_EXPIRED, AUTHCODE_EXPIRED
105
+ * - HTTP 403 (Forbidden): USER_CREDENTIALS_CHANGED, INSUFFICIENT_PERMISSIONS
106
+ *
107
+ * The specific HTTP status code is determined at runtime based on the error enum value.
108
+ * Consumers should use the error field to determine the specific access denial reason.
109
+ *
110
+ * @throws {@link InternalServerException} (server fault)
111
+ * Error thrown when an internal server error occurs
112
+ *
113
+ * HTTP Status Code: 500 Internal Server Error
114
+ *
115
+ * Used for unexpected server-side errors that prevent request processing.
116
+ *
117
+ * @throws {@link TooManyRequestsError} (client fault)
118
+ * Error thrown when rate limit is exceeded
119
+ *
120
+ * HTTP Status Code: 429 Too Many Requests
121
+ *
122
+ * Possible OAuth2ErrorCode values:
123
+ * - INVALID_REQUEST: Rate limiting, too many requests, abuse prevention
124
+ *
125
+ * Possible causes:
126
+ * - Too many token requests from the same client
127
+ * - Rate limiting based on client_id or IP address
128
+ * - Abuse prevention mechanisms triggered
129
+ * - Service protection against excessive token generation
130
+ *
131
+ * @throws {@link ValidationException} (client fault)
132
+ * Error thrown when request validation fails
133
+ *
134
+ * HTTP Status Code: 400 Bad Request
135
+ *
136
+ * Used for request validation errors such as malformed parameters,
137
+ * missing required fields, or invalid parameter values.
138
+ *
139
+ * @throws {@link SigninServiceException}
140
+ * <p>Base exception class for all service exceptions from Signin service.</p>
141
+ *
142
+ *
143
+ * @public
144
+ */
145
+ export declare class CreateOAuth2TokenCommand extends CreateOAuth2TokenCommand_base {
146
+ /** @internal type navigation helper, not in runtime. */
147
+ protected static __types: {
148
+ api: {
149
+ input: CreateOAuth2TokenRequest;
150
+ output: CreateOAuth2TokenResponse;
151
+ };
152
+ sdk: {
153
+ input: CreateOAuth2TokenCommandInput;
154
+ output: CreateOAuth2TokenCommandOutput;
155
+ };
156
+ };
157
+ }
@@ -0,0 +1 @@
1
+ export * from "./CreateOAuth2TokenCommand";