@cdklabs/cdk-ecs-codedeploy 0.0.207 → 0.0.208

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 (718) hide show
  1. package/.jsii +108 -49
  2. package/.jsii.tabl.json +1 -1
  3. package/.projenrc.ts +3 -5
  4. package/API.md +4 -4
  5. package/API.md.md +4 -9
  6. package/lib/api-canary/index.d.ts +1 -1
  7. package/lib/api-canary/index.js +7 -7
  8. package/lib/ecs-appspec/index.js +1 -1
  9. package/lib/ecs-deployment/index.js +1 -1
  10. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +4 -4
  11. package/node_modules/@aws-sdk/client-codedeploy/README.md +7 -7
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeployClient.js +6 -4
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +5 -0
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +5 -0
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationsCommand.js +5 -0
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +5 -0
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +5 -0
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +5 -0
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentsCommand.js +5 -0
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +5 -0
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ContinueDeploymentCommand.js +5 -0
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateApplicationCommand.js +5 -0
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentCommand.js +5 -0
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentConfigCommand.js +5 -0
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentGroupCommand.js +5 -0
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteApplicationCommand.js +5 -0
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentConfigCommand.js +5 -0
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentGroupCommand.js +5 -0
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +5 -0
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +5 -0
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +5 -0
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationCommand.js +5 -0
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationRevisionCommand.js +5 -0
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentCommand.js +5 -0
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentConfigCommand.js +5 -0
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentGroupCommand.js +5 -0
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentInstanceCommand.js +5 -0
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentTargetCommand.js +5 -0
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetOnPremisesInstanceCommand.js +5 -0
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationRevisionsCommand.js +5 -0
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationsCommand.js +5 -0
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentConfigsCommand.js +5 -0
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentGroupsCommand.js +5 -0
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentInstancesCommand.js +5 -0
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentTargetsCommand.js +5 -0
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentsCommand.js +5 -0
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +5 -0
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListOnPremisesInstancesCommand.js +5 -0
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +5 -0
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterApplicationRevisionCommand.js +5 -0
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +5 -0
  53. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +5 -0
  54. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +5 -0
  55. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/StopDeploymentCommand.js +5 -0
  56. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/TagResourceCommand.js +5 -0
  57. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UntagResourceCommand.js +5 -0
  58. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateApplicationCommand.js +5 -0
  59. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateDeploymentGroupCommand.js +5 -0
  60. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/ruleset.js +3 -3
  61. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +1 -0
  62. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeExtensions.js +22 -0
  63. package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeployClient.js +6 -4
  64. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +5 -0
  65. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +5 -0
  66. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +5 -0
  67. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +5 -0
  68. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +5 -0
  69. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +5 -0
  70. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +5 -0
  71. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +5 -0
  72. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +5 -0
  73. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +5 -0
  74. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +5 -0
  75. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +5 -0
  76. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +5 -0
  77. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +5 -0
  78. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +5 -0
  79. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +5 -0
  80. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +5 -0
  81. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +5 -0
  82. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +5 -0
  83. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +5 -0
  84. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +5 -0
  85. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +5 -0
  86. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +5 -0
  87. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +5 -0
  88. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +5 -0
  89. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +5 -0
  90. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +5 -0
  91. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +5 -0
  92. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +5 -0
  93. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +5 -0
  94. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +5 -0
  95. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +5 -0
  96. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +5 -0
  97. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +5 -0
  98. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +5 -0
  99. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +5 -0
  100. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  101. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +5 -0
  102. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +5 -0
  103. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +5 -0
  104. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +5 -0
  105. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +5 -0
  106. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +5 -0
  107. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +5 -0
  108. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +5 -0
  109. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +5 -0
  110. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +5 -0
  111. package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/ruleset.js +3 -3
  112. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +1 -0
  113. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeExtensions.js +18 -0
  114. package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +25 -25
  115. package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +33 -28
  116. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +1 -1
  117. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +1 -1
  118. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +2 -3
  119. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +3 -4
  120. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +10 -11
  121. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +1 -2
  122. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +2 -1
  123. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +16 -16
  124. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +1 -2
  125. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +10 -10
  126. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +2 -2
  127. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +8 -1
  128. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +1 -1
  129. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +2 -2
  130. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +3 -4
  131. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +1 -2
  132. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +4 -4
  133. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +1 -2
  134. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +1 -2
  135. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +1 -1
  136. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
  137. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +1 -1
  138. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +2 -2
  139. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +3 -5
  140. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +1 -2
  141. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +4 -3
  142. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +1 -1
  143. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +1 -2
  144. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +1 -1
  145. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +8 -9
  146. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +1 -2
  147. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +3 -3
  148. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +4 -4
  149. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +4 -4
  150. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +3 -2
  151. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +12 -11
  152. package/node_modules/@aws-sdk/client-codedeploy/dist-types/endpoint/EndpointParameters.d.ts +3 -0
  153. package/node_modules/@aws-sdk/client-codedeploy/dist-types/extensionConfiguration.d.ts +8 -0
  154. package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +26 -25
  155. package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/models_0.d.ts +701 -273
  156. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +8 -2
  157. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +5 -1
  158. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +5 -1
  159. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +1 -0
  160. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeExtensions.d.ts +17 -0
  161. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeployClient.d.ts +7 -1
  162. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  163. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +1 -0
  164. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  165. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  166. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  167. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  168. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  169. package/node_modules/@aws-sdk/client-codedeploy/package.json +37 -37
  170. package/node_modules/@aws-sdk/client-sso/README.md +7 -10
  171. package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +6 -4
  172. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +5 -0
  173. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +5 -0
  174. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +5 -0
  175. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +5 -0
  176. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +3 -3
  177. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +1 -0
  178. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +22 -0
  179. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +6 -4
  180. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +5 -0
  181. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +5 -0
  182. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +5 -0
  183. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +5 -0
  184. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +3 -3
  185. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +1 -0
  186. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +18 -0
  187. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -3
  188. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +8 -6
  189. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -2
  190. package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +3 -0
  191. package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +8 -0
  192. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +1 -3
  193. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +25 -0
  194. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +5 -1
  195. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +5 -1
  196. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +5 -1
  197. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +1 -0
  198. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeExtensions.d.ts +17 -0
  199. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +5 -1
  200. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  201. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +1 -0
  202. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  203. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  204. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  205. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  206. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  207. package/node_modules/@aws-sdk/client-sso/package.json +33 -33
  208. package/node_modules/@aws-sdk/client-sts/README.md +7 -7
  209. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +6 -4
  210. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +5 -0
  211. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +5 -0
  212. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
  213. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +5 -0
  214. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +5 -0
  215. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +5 -0
  216. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +5 -0
  217. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +5 -0
  218. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +1 -1
  219. package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +35 -0
  220. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +1 -0
  221. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +22 -0
  222. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +6 -4
  223. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +5 -0
  224. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +5 -0
  225. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
  226. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +5 -0
  227. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +5 -0
  228. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +5 -0
  229. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +5 -0
  230. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +5 -0
  231. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +1 -1
  232. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +35 -0
  233. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +1 -0
  234. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +18 -0
  235. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +8 -3
  236. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +8 -2
  237. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -2
  238. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +6 -7
  239. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +6 -4
  240. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +21 -16
  241. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +20 -18
  242. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/EndpointParameters.d.ts +3 -0
  243. package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +8 -0
  244. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +1 -0
  245. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +121 -28
  246. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +5 -1
  247. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +5 -1
  248. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +5 -1
  249. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +1 -0
  250. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +17 -0
  251. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +5 -1
  252. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  253. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +1 -0
  254. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +5 -0
  255. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  256. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  257. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  258. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  259. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  260. package/node_modules/@aws-sdk/client-sts/package.json +36 -36
  261. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  262. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -0
  263. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -0
  264. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +4 -0
  265. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +1 -0
  266. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  267. package/node_modules/@aws-sdk/credential-provider-node/README.md +6 -3
  268. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  269. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  270. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -2
  271. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -2
  272. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  273. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  274. package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +3 -0
  275. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  276. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  277. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  278. package/node_modules/@aws-sdk/middleware-sdk-sts/dist-types/index.d.ts +3 -0
  279. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +4 -4
  280. package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthConfiguration.d.ts +8 -1
  281. package/node_modules/@aws-sdk/middleware-signing/package.json +9 -8
  282. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +3 -0
  283. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -6
  284. package/node_modules/@aws-sdk/{client-sso-oidc → region-config-resolver}/LICENSE +2 -2
  285. package/node_modules/@aws-sdk/region-config-resolver/README.md +12 -0
  286. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +30 -0
  287. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +5 -0
  288. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +15 -0
  289. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +10 -0
  290. package/node_modules/@aws-sdk/{types/dist-cjs/connection → region-config-resolver/dist-cjs/regionConfig}/index.js +1 -2
  291. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +5 -0
  292. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +29 -0
  293. package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +25 -0
  294. package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +2 -0
  295. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/config.js +12 -0
  296. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/getRealRegion.js +6 -0
  297. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/index.js +2 -0
  298. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/isFipsRegion.js +1 -0
  299. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +25 -0
  300. package/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts +16 -0
  301. package/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts +2 -0
  302. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/config.d.ts +17 -0
  303. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/getRealRegion.d.ts +4 -0
  304. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/index.d.ts +8 -0
  305. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/isFipsRegion.d.ts +4 -0
  306. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +37 -0
  307. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts +14 -0
  308. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts +2 -0
  309. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +8 -0
  310. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +1 -0
  311. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +2 -0
  312. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +1 -0
  313. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +14 -0
  314. package/node_modules/@aws-sdk/region-config-resolver/package.json +61 -0
  315. package/node_modules/@aws-sdk/token-providers/README.md +20 -6
  316. package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-browser.js +895 -0
  317. package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +901 -0
  318. package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +2 -2
  319. package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +2 -2
  320. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +1 -0
  321. package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-browser.js +872 -0
  322. package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-node.js +878 -0
  323. package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +1 -1
  324. package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +1 -1
  325. package/node_modules/@aws-sdk/token-providers/dist-es/index.js +1 -0
  326. package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-browser.d.ts +187 -0
  327. package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-node.d.ts +187 -0
  328. package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +1 -1
  329. package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -2
  330. package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +1 -0
  331. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-browser.d.ts +235 -0
  332. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/bundle/client-sso-oidc-node.d.ts +235 -0
  333. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +1 -1
  334. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -2
  335. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +1 -0
  336. package/node_modules/@aws-sdk/token-providers/package.json +42 -6
  337. package/node_modules/@aws-sdk/types/dist-cjs/auth.js +2 -5
  338. package/node_modules/@aws-sdk/types/dist-cjs/connection.js +2 -0
  339. package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +2 -5
  340. package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +2 -0
  341. package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -0
  342. package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +2 -6
  343. package/node_modules/@aws-sdk/types/dist-es/auth.js +1 -5
  344. package/node_modules/@aws-sdk/types/dist-es/connection.js +1 -0
  345. package/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -5
  346. package/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
  347. package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  348. package/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -6
  349. package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -49
  350. package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -55
  351. package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -22
  352. package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -63
  353. package/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -25
  354. package/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -10
  355. package/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -0
  356. package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -60
  357. package/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -19
  358. package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +1 -77
  359. package/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -108
  360. package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
  361. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +2 -87
  362. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -23
  363. package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -15
  364. package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  365. package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +2 -13
  366. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +1 -475
  367. package/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -26
  368. package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -22
  369. package/node_modules/@aws-sdk/types/dist-types/response.d.ts +1 -40
  370. package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -128
  371. package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +1 -104
  372. package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -72
  373. package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -150
  374. package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -22
  375. package/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +1 -33
  376. package/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +1 -11
  377. package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +5 -17
  378. package/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +2 -7
  379. package/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +1 -12
  380. package/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +1 -52
  381. package/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +1 -17
  382. package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +6 -0
  383. package/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +7 -14
  384. package/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +6 -19
  385. package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +9 -43
  386. package/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +24 -77
  387. package/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
  388. package/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +10 -26
  389. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +4 -8
  390. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +1 -6
  391. package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  392. package/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +2 -7
  393. package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +40 -211
  394. package/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +1 -8
  395. package/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +6 -7
  396. package/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +1 -11
  397. package/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +12 -43
  398. package/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +12 -46
  399. package/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +6 -24
  400. package/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +15 -59
  401. package/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +4 -16
  402. package/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +7 -26
  403. package/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +1 -11
  404. package/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +14 -50
  405. package/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +1 -9
  406. package/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -17
  407. package/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -155
  408. package/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -35
  409. package/node_modules/@aws-sdk/types/package.json +2 -1
  410. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +1 -0
  411. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +11 -1
  412. package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
  413. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +11 -1
  414. package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
  415. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
  416. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  417. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  418. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  419. package/node_modules/@smithy/abort-controller/package.json +7 -9
  420. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +1 -1
  421. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
  422. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +1 -1
  423. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +1 -1
  424. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
  425. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +1 -1
  426. package/node_modules/@smithy/config-resolver/package.json +11 -12
  427. package/node_modules/@smithy/credential-provider-imds/package.json +10 -12
  428. package/node_modules/@smithy/eventstream-codec/package.json +9 -11
  429. package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +23 -9
  430. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +18 -5
  431. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +22 -2
  432. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +22 -2
  433. package/node_modules/@smithy/fetch-http-handler/package.json +11 -13
  434. package/node_modules/@smithy/hash-node/package.json +9 -11
  435. package/node_modules/@smithy/invalid-dependency/package.json +7 -9
  436. package/node_modules/@smithy/is-array-buffer/package.json +1 -1
  437. package/node_modules/@smithy/middleware-content-length/package.json +10 -10
  438. package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +0 -3
  439. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +1 -1
  440. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +0 -3
  441. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +1 -1
  442. package/node_modules/@smithy/middleware-endpoint/package.json +11 -12
  443. package/node_modules/@smithy/middleware-retry/README.md +7 -0
  444. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +3 -0
  445. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +3 -0
  446. package/node_modules/@smithy/middleware-retry/package.json +14 -14
  447. package/node_modules/@smithy/middleware-serde/package.json +9 -9
  448. package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +97 -35
  449. package/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js +95 -35
  450. package/node_modules/@smithy/middleware-stack/package.json +7 -9
  451. package/node_modules/@smithy/node-config-provider/package.json +9 -11
  452. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +13 -0
  453. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +13 -0
  454. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -0
  455. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +12 -0
  456. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
  457. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +4 -2
  458. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
  459. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +4 -2
  460. package/node_modules/@smithy/node-http-handler/package.json +10 -12
  461. package/node_modules/@smithy/property-provider/dist-cjs/chain.js +19 -13
  462. package/node_modules/@smithy/property-provider/dist-es/chain.js +19 -13
  463. package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +1 -1
  464. package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +1 -1
  465. package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +1 -1
  466. package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
  467. package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +1 -1
  468. package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +1 -1
  469. package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +1 -1
  470. package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
  471. package/node_modules/@smithy/property-provider/package.json +7 -9
  472. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +27 -0
  473. package/node_modules/{@aws-sdk/client-sso-oidc/dist-cjs/models → @smithy/protocol-http/dist-cjs/extensions}/index.js +1 -1
  474. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +1 -0
  475. package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +22 -0
  476. package/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +1 -0
  477. package/node_modules/@smithy/protocol-http/dist-es/index.js +1 -0
  478. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +37 -0
  479. package/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +1 -0
  480. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +15 -1
  481. package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +1 -0
  482. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +37 -0
  483. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +1 -0
  484. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +15 -1
  485. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +1 -0
  486. package/node_modules/@smithy/protocol-http/package.json +7 -9
  487. package/node_modules/@smithy/querystring-builder/package.json +7 -9
  488. package/node_modules/@smithy/querystring-parser/package.json +7 -9
  489. package/node_modules/@smithy/service-error-classification/package.json +9 -9
  490. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +11 -1
  491. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +11 -1
  492. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -9
  493. package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +1 -1
  494. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +1 -1
  495. package/node_modules/@smithy/signature-v4/package.json +14 -16
  496. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +36 -0
  497. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +20 -0
  498. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +4 -0
  499. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +21 -0
  500. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
  501. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +31 -0
  502. package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +15 -0
  503. package/node_modules/@smithy/smithy-client/dist-es/extensions/index.js +1 -0
  504. package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +16 -0
  505. package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -0
  506. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +1 -1
  507. package/node_modules/@smithy/smithy-client/dist-types/defaults-mode.d.ts +1 -1
  508. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +25 -0
  509. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +38 -0
  510. package/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts +1 -0
  511. package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +15 -0
  512. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -0
  513. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +1 -1
  514. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts +1 -1
  515. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +25 -0
  516. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +38 -0
  517. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +1 -0
  518. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +15 -0
  519. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -0
  520. package/node_modules/@smithy/smithy-client/package.json +9 -11
  521. package/node_modules/@smithy/types/README.md +37 -0
  522. package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +2 -0
  523. package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +2 -0
  524. package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +44 -0
  525. package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +16 -0
  526. package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +2 -0
  527. package/node_modules/@smithy/types/dist-cjs/extensions/index.js +8 -0
  528. package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +2 -0
  529. package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +2 -0
  530. package/node_modules/@smithy/types/dist-cjs/index.js +7 -0
  531. package/node_modules/@smithy/types/dist-cjs/middleware.js +2 -0
  532. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +2 -0
  533. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +2 -0
  534. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +2 -0
  535. package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +2 -0
  536. package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +2 -0
  537. package/node_modules/@smithy/types/dist-cjs/transform/exact.js +2 -0
  538. package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +2 -0
  539. package/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
  540. package/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
  541. package/node_modules/@smithy/types/dist-es/extensions/checksum.js +39 -0
  542. package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +11 -0
  543. package/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
  544. package/node_modules/@smithy/types/dist-es/extensions/index.js +3 -0
  545. package/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
  546. package/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
  547. package/node_modules/@smithy/types/dist-es/index.js +7 -0
  548. package/node_modules/@smithy/types/dist-es/middleware.js +1 -1
  549. package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
  550. package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
  551. package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
  552. package/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
  553. package/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
  554. package/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
  555. package/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
  556. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +41 -0
  557. package/node_modules/@smithy/types/dist-types/client.d.ts +21 -2
  558. package/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +25 -0
  559. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +55 -0
  560. package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +33 -0
  561. package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
  562. package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -0
  563. package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
  564. package/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
  565. package/node_modules/@smithy/types/dist-types/index.d.ts +7 -0
  566. package/node_modules/@smithy/types/dist-types/middleware.d.ts +35 -0
  567. package/node_modules/@smithy/types/dist-types/pagination.d.ts +1 -1
  568. package/node_modules/@smithy/types/dist-types/response.d.ts +1 -1
  569. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +33 -0
  570. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +62 -0
  571. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +53 -0
  572. package/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
  573. package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +59 -0
  574. package/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
  575. package/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +34 -0
  576. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +40 -0
  577. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +26 -2
  578. package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +41 -0
  579. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +55 -0
  580. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +33 -0
  581. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
  582. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +4 -0
  583. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
  584. package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
  585. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +7 -0
  586. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +35 -0
  587. package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +1 -1
  588. package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +1 -1
  589. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +33 -0
  590. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +61 -0
  591. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +52 -0
  592. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
  593. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +64 -0
  594. package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
  595. package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +41 -0
  596. package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +14 -0
  597. package/node_modules/@smithy/types/dist-types/util.d.ts +6 -0
  598. package/node_modules/@smithy/types/package.json +9 -10
  599. package/node_modules/@smithy/url-parser/package.json +8 -10
  600. package/node_modules/@smithy/util-base64/package.json +2 -2
  601. package/node_modules/@smithy/util-body-length-browser/package.json +1 -1
  602. package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +3 -0
  603. package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +3 -0
  604. package/node_modules/@smithy/util-body-length-node/package.json +1 -1
  605. package/node_modules/@smithy/util-buffer-from/package.json +2 -2
  606. package/node_modules/@smithy/util-config-provider/package.json +1 -1
  607. package/node_modules/@smithy/util-defaults-mode-browser/package.json +9 -11
  608. package/node_modules/@smithy/util-defaults-mode-node/package.json +12 -14
  609. package/node_modules/@smithy/util-hex-encoding/package.json +1 -1
  610. package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +6 -0
  611. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +1 -0
  612. package/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js +2 -0
  613. package/node_modules/@smithy/util-middleware/dist-es/index.js +1 -0
  614. package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +5 -0
  615. package/node_modules/@smithy/util-middleware/dist-types/index.d.ts +4 -0
  616. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +5 -0
  617. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +4 -0
  618. package/node_modules/@smithy/util-middleware/package.json +7 -9
  619. package/node_modules/@smithy/util-retry/README.md +2 -1
  620. package/node_modules/@smithy/util-retry/package.json +8 -10
  621. package/node_modules/@smithy/util-stream/README.md +0 -6
  622. package/node_modules/@smithy/util-stream/package.json +16 -15
  623. package/node_modules/@smithy/util-uri-escape/package.json +1 -1
  624. package/node_modules/@smithy/util-utf8/package.json +2 -2
  625. package/node_modules/@smithy/util-waiter/package.json +8 -10
  626. package/node_modules/tslib/package.json +2 -2
  627. package/node_modules/tslib/tslib.es6.js +28 -28
  628. package/node_modules/tslib/tslib.es6.mjs +1 -1
  629. package/node_modules/tslib/tslib.js +1 -1
  630. package/package.json +17 -19
  631. package/node_modules/@aws-sdk/client-sso-oidc/README.md +0 -268
  632. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDC.js +0 -17
  633. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/SSOOIDCClient.js +0 -38
  634. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenCommand.js +0 -46
  635. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/RegisterClientCommand.js +0 -46
  636. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/StartDeviceAuthorizationCommand.js +0 -46
  637. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/index.js +0 -6
  638. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/EndpointParameters.js +0 -12
  639. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +0 -12
  640. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js +0 -7
  641. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +0 -10
  642. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/SSOOIDCServiceException.js +0 -12
  643. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/models/models_0.js +0 -184
  644. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/protocols/Aws_restJson1.js +0 -469
  645. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +0 -38
  646. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +0 -45
  647. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.native.js +0 -15
  648. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +0 -21
  649. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js +0 -13
  650. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +0 -34
  651. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +0 -42
  652. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +0 -42
  653. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +0 -42
  654. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js +0 -3
  655. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js +0 -8
  656. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +0 -8
  657. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js +0 -4
  658. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -5
  659. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js +0 -8
  660. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js +0 -1
  661. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +0 -169
  662. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +0 -460
  663. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +0 -33
  664. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +0 -40
  665. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.native.js +0 -11
  666. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +0 -17
  667. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +0 -70
  668. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +0 -197
  669. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +0 -129
  670. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +0 -98
  671. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +0 -102
  672. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/index.d.ts +0 -3
  673. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/EndpointParameters.d.ts +0 -19
  674. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/endpointResolver.d.ts +0 -5
  675. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/endpoint/ruleset.d.ts +0 -2
  676. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -49
  677. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +0 -13
  678. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/index.d.ts +0 -1
  679. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +0 -377
  680. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +0 -29
  681. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +0 -35
  682. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +0 -35
  683. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +0 -34
  684. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +0 -18
  685. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDC.d.ts +0 -56
  686. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +0 -122
  687. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +0 -35
  688. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +0 -38
  689. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +0 -42
  690. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/index.d.ts +0 -3
  691. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +0 -33
  692. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/endpointResolver.d.ts +0 -8
  693. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  694. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -5
  695. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +0 -8
  696. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/index.d.ts +0 -1
  697. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +0 -151
  698. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -41
  699. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -65
  700. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +0 -65
  701. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -56
  702. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -18
  703. package/node_modules/@aws-sdk/client-sso-oidc/package.json +0 -97
  704. package/node_modules/@aws-sdk/types/dist-es/connection/index.js +0 -3
  705. package/node_modules/@aws-sdk/types/dist-types/connection/config.d.ts +0 -7
  706. package/node_modules/@aws-sdk/types/dist-types/connection/index.d.ts +0 -3
  707. package/node_modules/@aws-sdk/types/dist-types/connection/manager.d.ts +0 -28
  708. package/node_modules/@aws-sdk/types/dist-types/connection/pool.d.ts +0 -24
  709. package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/config.d.ts +0 -3
  710. package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/index.d.ts +0 -3
  711. package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/manager.d.ts +0 -14
  712. package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection/pool.d.ts +0 -9
  713. /package/node_modules/@aws-sdk/{types/dist-cjs/connection/config.js → client-codedeploy/dist-cjs/extensionConfiguration.js} +0 -0
  714. /package/node_modules/@aws-sdk/{types/dist-es/connection/config.js → client-codedeploy/dist-es/extensionConfiguration.js} +0 -0
  715. /package/node_modules/@aws-sdk/{types/dist-cjs/connection/manager.js → client-sso/dist-cjs/extensionConfiguration.js} +0 -0
  716. /package/node_modules/@aws-sdk/{types/dist-es/connection/manager.js → client-sso/dist-es/extensionConfiguration.js} +0 -0
  717. /package/node_modules/@aws-sdk/{types/dist-cjs/connection/pool.js → client-sts/dist-cjs/extensionConfiguration.js} +0 -0
  718. /package/node_modules/@aws-sdk/{types/dist-es/connection/pool.js → client-sts/dist-es/extensionConfiguration.js} +0 -0
@@ -0,0 +1,901 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.SSOOIDCClient = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.CreateTokenCommand = exports.AuthorizationPendingException = exports.AccessDeniedException = void 0;
4
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const middleware_content_length_1 = require("@smithy/middleware-content-length");
10
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
11
+ const middleware_retry_1 = require("@smithy/middleware-retry");
12
+ const smithy_client_1 = require("@smithy/smithy-client");
13
+ var resolveClientEndpointParameters = (options) => {
14
+ var _a, _b;
15
+ return {
16
+ ...options,
17
+ useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
18
+ useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
19
+ defaultSigningName: "awsssooidc"
20
+ };
21
+ };
22
+ var package_default = { version: "3.387.0" };
23
+ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
24
+ const config_resolver_2 = require("@smithy/config-resolver");
25
+ const hash_node_1 = require("@smithy/hash-node");
26
+ const middleware_retry_2 = require("@smithy/middleware-retry");
27
+ const node_config_provider_1 = require("@smithy/node-config-provider");
28
+ const node_http_handler_1 = require("@smithy/node-http-handler");
29
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
30
+ const util_retry_1 = require("@smithy/util-retry");
31
+ const smithy_client_2 = require("@smithy/smithy-client");
32
+ const url_parser_1 = require("@smithy/url-parser");
33
+ const util_base64_1 = require("@smithy/util-base64");
34
+ const util_utf8_1 = require("@smithy/util-utf8");
35
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
36
+ var p = "required";
37
+ var q = "fn";
38
+ var r = "argv";
39
+ var s = "ref";
40
+ var a = "PartitionResult";
41
+ var b = "tree";
42
+ var c = "error";
43
+ var d = "endpoint";
44
+ var e = { [p]: false, "type": "String" };
45
+ var f = { [p]: true, "default": false, "type": "Boolean" };
46
+ var g = { [s]: "Endpoint" };
47
+ var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] };
48
+ var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] };
49
+ var j = {};
50
+ var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] };
51
+ var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] };
52
+ var m = [g];
53
+ var n = [h];
54
+ var o = [i];
55
+ var _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
56
+ var ruleSet = _data;
57
+ var defaultEndpointResolver = (endpointParams, context = {}) => {
58
+ return (0, util_endpoints_1.resolveEndpoint)(ruleSet, {
59
+ endpointParams,
60
+ logger: context.logger
61
+ });
62
+ };
63
+ var getRuntimeConfig = (config) => {
64
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
65
+ return ({
66
+ apiVersion: "2019-06-10",
67
+ base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_1.fromBase64,
68
+ base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_1.toBase64,
69
+ disableHostPrefix: (_c = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _c !== void 0 ? _c : false,
70
+ endpointProvider: (_d = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _d !== void 0 ? _d : defaultEndpointResolver,
71
+ logger: (_e = config === null || config === void 0 ? void 0 : config.logger) !== null && _e !== void 0 ? _e : new smithy_client_2.NoOpLogger(),
72
+ serviceId: (_f = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _f !== void 0 ? _f : "SSO OIDC",
73
+ urlParser: (_g = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _g !== void 0 ? _g : url_parser_1.parseUrl,
74
+ utf8Decoder: (_h = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _h !== void 0 ? _h : util_utf8_1.fromUtf8,
75
+ utf8Encoder: (_j = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _j !== void 0 ? _j : util_utf8_1.toUtf8
76
+ });
77
+ };
78
+ const smithy_client_3 = require("@smithy/smithy-client");
79
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
80
+ const smithy_client_4 = require("@smithy/smithy-client");
81
+ var getRuntimeConfig2 = (config) => {
82
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
83
+ (0, smithy_client_4.emitWarningIfUnsupportedVersion)(process.version);
84
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
85
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_3.loadConfigsForDefaultMode);
86
+ const clientSharedValues = getRuntimeConfig(config);
87
+ return {
88
+ ...clientSharedValues,
89
+ ...config,
90
+ runtime: "node",
91
+ defaultsMode,
92
+ bodyLengthChecker: (_a = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _a !== void 0 ? _a : util_body_length_node_1.calculateBodyLength,
93
+ defaultUserAgentProvider: (_b = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _b !== void 0 ? _b : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
94
+ maxAttempts: (_c = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _c !== void 0 ? _c : (0, node_config_provider_1.loadConfig)(middleware_retry_2.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
95
+ region: (_d = config === null || config === void 0 ? void 0 : config.region) !== null && _d !== void 0 ? _d : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_REGION_CONFIG_OPTIONS, config_resolver_2.NODE_REGION_CONFIG_FILE_OPTIONS),
96
+ requestHandler: (_e = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _e !== void 0 ? _e : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
97
+ retryMode: (_f = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)({
98
+ ...middleware_retry_2.NODE_RETRY_MODE_CONFIG_OPTIONS,
99
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE
100
+ }),
101
+ sha256: (_g = config === null || config === void 0 ? void 0 : config.sha256) !== null && _g !== void 0 ? _g : hash_node_1.Hash.bind(null, "sha256"),
102
+ streamCollector: (_h = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _h !== void 0 ? _h : node_http_handler_1.streamCollector,
103
+ useDualstackEndpoint: (_j = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
104
+ useFipsEndpoint: (_k = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _k !== void 0 ? _k : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)
105
+ };
106
+ };
107
+ var SSOOIDCClient = class extends smithy_client_1.Client {
108
+ constructor(...[configuration]) {
109
+ const _config_0 = getRuntimeConfig2(configuration || {});
110
+ const _config_1 = resolveClientEndpointParameters(_config_0);
111
+ const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
112
+ const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
113
+ const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
114
+ const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
115
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
116
+ super(_config_6);
117
+ this.config = _config_6;
118
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
119
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
120
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
121
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
122
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
123
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
124
+ }
125
+ destroy() {
126
+ super.destroy();
127
+ }
128
+ };
129
+ exports.SSOOIDCClient = SSOOIDCClient;
130
+ const smithy_client_5 = require("@smithy/smithy-client");
131
+ const middleware_endpoint_2 = require("@smithy/middleware-endpoint");
132
+ const middleware_serde_1 = require("@smithy/middleware-serde");
133
+ const smithy_client_6 = require("@smithy/smithy-client");
134
+ const protocol_http_1 = require("@smithy/protocol-http");
135
+ const smithy_client_7 = require("@smithy/smithy-client");
136
+ const smithy_client_8 = require("@smithy/smithy-client");
137
+ var SSOOIDCServiceException = class _SSOOIDCServiceException extends smithy_client_8.ServiceException {
138
+ constructor(options) {
139
+ super(options);
140
+ Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
141
+ }
142
+ };
143
+ var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
144
+ constructor(opts) {
145
+ super({
146
+ name: "AccessDeniedException",
147
+ $fault: "client",
148
+ ...opts
149
+ });
150
+ this.name = "AccessDeniedException";
151
+ this.$fault = "client";
152
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
153
+ this.error = opts.error;
154
+ this.error_description = opts.error_description;
155
+ }
156
+ };
157
+ exports.AccessDeniedException = AccessDeniedException;
158
+ var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {
159
+ constructor(opts) {
160
+ super({
161
+ name: "AuthorizationPendingException",
162
+ $fault: "client",
163
+ ...opts
164
+ });
165
+ this.name = "AuthorizationPendingException";
166
+ this.$fault = "client";
167
+ Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);
168
+ this.error = opts.error;
169
+ this.error_description = opts.error_description;
170
+ }
171
+ };
172
+ exports.AuthorizationPendingException = AuthorizationPendingException;
173
+ var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {
174
+ constructor(opts) {
175
+ super({
176
+ name: "ExpiredTokenException",
177
+ $fault: "client",
178
+ ...opts
179
+ });
180
+ this.name = "ExpiredTokenException";
181
+ this.$fault = "client";
182
+ Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
183
+ this.error = opts.error;
184
+ this.error_description = opts.error_description;
185
+ }
186
+ };
187
+ exports.ExpiredTokenException = ExpiredTokenException;
188
+ var InternalServerException = class _InternalServerException extends SSOOIDCServiceException {
189
+ constructor(opts) {
190
+ super({
191
+ name: "InternalServerException",
192
+ $fault: "server",
193
+ ...opts
194
+ });
195
+ this.name = "InternalServerException";
196
+ this.$fault = "server";
197
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
198
+ this.error = opts.error;
199
+ this.error_description = opts.error_description;
200
+ }
201
+ };
202
+ exports.InternalServerException = InternalServerException;
203
+ var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {
204
+ constructor(opts) {
205
+ super({
206
+ name: "InvalidClientException",
207
+ $fault: "client",
208
+ ...opts
209
+ });
210
+ this.name = "InvalidClientException";
211
+ this.$fault = "client";
212
+ Object.setPrototypeOf(this, _InvalidClientException.prototype);
213
+ this.error = opts.error;
214
+ this.error_description = opts.error_description;
215
+ }
216
+ };
217
+ exports.InvalidClientException = InvalidClientException;
218
+ var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {
219
+ constructor(opts) {
220
+ super({
221
+ name: "InvalidGrantException",
222
+ $fault: "client",
223
+ ...opts
224
+ });
225
+ this.name = "InvalidGrantException";
226
+ this.$fault = "client";
227
+ Object.setPrototypeOf(this, _InvalidGrantException.prototype);
228
+ this.error = opts.error;
229
+ this.error_description = opts.error_description;
230
+ }
231
+ };
232
+ var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {
233
+ constructor(opts) {
234
+ super({
235
+ name: "InvalidRequestException",
236
+ $fault: "client",
237
+ ...opts
238
+ });
239
+ this.name = "InvalidRequestException";
240
+ this.$fault = "client";
241
+ Object.setPrototypeOf(this, _InvalidRequestException.prototype);
242
+ this.error = opts.error;
243
+ this.error_description = opts.error_description;
244
+ }
245
+ };
246
+ exports.InvalidRequestException = InvalidRequestException;
247
+ var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {
248
+ constructor(opts) {
249
+ super({
250
+ name: "InvalidScopeException",
251
+ $fault: "client",
252
+ ...opts
253
+ });
254
+ this.name = "InvalidScopeException";
255
+ this.$fault = "client";
256
+ Object.setPrototypeOf(this, _InvalidScopeException.prototype);
257
+ this.error = opts.error;
258
+ this.error_description = opts.error_description;
259
+ }
260
+ };
261
+ exports.InvalidScopeException = InvalidScopeException;
262
+ var SlowDownException = class _SlowDownException extends SSOOIDCServiceException {
263
+ constructor(opts) {
264
+ super({
265
+ name: "SlowDownException",
266
+ $fault: "client",
267
+ ...opts
268
+ });
269
+ this.name = "SlowDownException";
270
+ this.$fault = "client";
271
+ Object.setPrototypeOf(this, _SlowDownException.prototype);
272
+ this.error = opts.error;
273
+ this.error_description = opts.error_description;
274
+ }
275
+ };
276
+ exports.SlowDownException = SlowDownException;
277
+ var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {
278
+ constructor(opts) {
279
+ super({
280
+ name: "UnauthorizedClientException",
281
+ $fault: "client",
282
+ ...opts
283
+ });
284
+ this.name = "UnauthorizedClientException";
285
+ this.$fault = "client";
286
+ Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);
287
+ this.error = opts.error;
288
+ this.error_description = opts.error_description;
289
+ }
290
+ };
291
+ exports.UnauthorizedClientException = UnauthorizedClientException;
292
+ var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {
293
+ constructor(opts) {
294
+ super({
295
+ name: "UnsupportedGrantTypeException",
296
+ $fault: "client",
297
+ ...opts
298
+ });
299
+ this.name = "UnsupportedGrantTypeException";
300
+ this.$fault = "client";
301
+ Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);
302
+ this.error = opts.error;
303
+ this.error_description = opts.error_description;
304
+ }
305
+ };
306
+ exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
307
+ var InvalidClientMetadataException = class _InvalidClientMetadataException extends SSOOIDCServiceException {
308
+ constructor(opts) {
309
+ super({
310
+ name: "InvalidClientMetadataException",
311
+ $fault: "client",
312
+ ...opts
313
+ });
314
+ this.name = "InvalidClientMetadataException";
315
+ this.$fault = "client";
316
+ Object.setPrototypeOf(this, _InvalidClientMetadataException.prototype);
317
+ this.error = opts.error;
318
+ this.error_description = opts.error_description;
319
+ }
320
+ };
321
+ var se_CreateTokenCommand = async (input, context) => {
322
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
323
+ const headers = {
324
+ "content-type": "application/json"
325
+ };
326
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/token`;
327
+ let body;
328
+ body = JSON.stringify((0, smithy_client_7.take)(input, {
329
+ clientId: [],
330
+ clientSecret: [],
331
+ code: [],
332
+ deviceCode: [],
333
+ grantType: [],
334
+ redirectUri: [],
335
+ refreshToken: [],
336
+ scope: (_) => (0, smithy_client_7._json)(_)
337
+ }));
338
+ return new protocol_http_1.HttpRequest({
339
+ protocol,
340
+ hostname,
341
+ port,
342
+ method: "POST",
343
+ headers,
344
+ path: resolvedPath,
345
+ body
346
+ });
347
+ };
348
+ var se_RegisterClientCommand = async (input, context) => {
349
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
350
+ const headers = {
351
+ "content-type": "application/json"
352
+ };
353
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/client/register`;
354
+ let body;
355
+ body = JSON.stringify((0, smithy_client_7.take)(input, {
356
+ clientName: [],
357
+ clientType: [],
358
+ scopes: (_) => (0, smithy_client_7._json)(_)
359
+ }));
360
+ return new protocol_http_1.HttpRequest({
361
+ protocol,
362
+ hostname,
363
+ port,
364
+ method: "POST",
365
+ headers,
366
+ path: resolvedPath,
367
+ body
368
+ });
369
+ };
370
+ var se_StartDeviceAuthorizationCommand = async (input, context) => {
371
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
372
+ const headers = {
373
+ "content-type": "application/json"
374
+ };
375
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/device_authorization`;
376
+ let body;
377
+ body = JSON.stringify((0, smithy_client_7.take)(input, {
378
+ clientId: [],
379
+ clientSecret: [],
380
+ startUrl: []
381
+ }));
382
+ return new protocol_http_1.HttpRequest({
383
+ protocol,
384
+ hostname,
385
+ port,
386
+ method: "POST",
387
+ headers,
388
+ path: resolvedPath,
389
+ body
390
+ });
391
+ };
392
+ var de_CreateTokenCommand = async (output, context) => {
393
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
394
+ return de_CreateTokenCommandError(output, context);
395
+ }
396
+ const contents = (0, smithy_client_7.map)({
397
+ $metadata: deserializeMetadata(output)
398
+ });
399
+ const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body");
400
+ const doc = (0, smithy_client_7.take)(data, {
401
+ accessToken: smithy_client_7.expectString,
402
+ expiresIn: smithy_client_7.expectInt32,
403
+ idToken: smithy_client_7.expectString,
404
+ refreshToken: smithy_client_7.expectString,
405
+ tokenType: smithy_client_7.expectString
406
+ });
407
+ Object.assign(contents, doc);
408
+ return contents;
409
+ };
410
+ var de_CreateTokenCommandError = async (output, context) => {
411
+ const parsedOutput = {
412
+ ...output,
413
+ body: await parseErrorBody(output.body, context)
414
+ };
415
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
416
+ switch (errorCode) {
417
+ case "AccessDeniedException":
418
+ case "com.amazonaws.ssooidc#AccessDeniedException":
419
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
420
+ case "AuthorizationPendingException":
421
+ case "com.amazonaws.ssooidc#AuthorizationPendingException":
422
+ throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);
423
+ case "ExpiredTokenException":
424
+ case "com.amazonaws.ssooidc#ExpiredTokenException":
425
+ throw await de_ExpiredTokenExceptionRes(parsedOutput, context);
426
+ case "InternalServerException":
427
+ case "com.amazonaws.ssooidc#InternalServerException":
428
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
429
+ case "InvalidClientException":
430
+ case "com.amazonaws.ssooidc#InvalidClientException":
431
+ throw await de_InvalidClientExceptionRes(parsedOutput, context);
432
+ case "InvalidGrantException":
433
+ case "com.amazonaws.ssooidc#InvalidGrantException":
434
+ throw await de_InvalidGrantExceptionRes(parsedOutput, context);
435
+ case "InvalidRequestException":
436
+ case "com.amazonaws.ssooidc#InvalidRequestException":
437
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
438
+ case "InvalidScopeException":
439
+ case "com.amazonaws.ssooidc#InvalidScopeException":
440
+ throw await de_InvalidScopeExceptionRes(parsedOutput, context);
441
+ case "SlowDownException":
442
+ case "com.amazonaws.ssooidc#SlowDownException":
443
+ throw await de_SlowDownExceptionRes(parsedOutput, context);
444
+ case "UnauthorizedClientException":
445
+ case "com.amazonaws.ssooidc#UnauthorizedClientException":
446
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
447
+ case "UnsupportedGrantTypeException":
448
+ case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
449
+ throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
450
+ default:
451
+ const parsedBody = parsedOutput.body;
452
+ return throwDefaultError({
453
+ output,
454
+ parsedBody,
455
+ errorCode
456
+ });
457
+ }
458
+ };
459
+ var de_RegisterClientCommand = async (output, context) => {
460
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
461
+ return de_RegisterClientCommandError(output, context);
462
+ }
463
+ const contents = (0, smithy_client_7.map)({
464
+ $metadata: deserializeMetadata(output)
465
+ });
466
+ const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body");
467
+ const doc = (0, smithy_client_7.take)(data, {
468
+ authorizationEndpoint: smithy_client_7.expectString,
469
+ clientId: smithy_client_7.expectString,
470
+ clientIdIssuedAt: smithy_client_7.expectLong,
471
+ clientSecret: smithy_client_7.expectString,
472
+ clientSecretExpiresAt: smithy_client_7.expectLong,
473
+ tokenEndpoint: smithy_client_7.expectString
474
+ });
475
+ Object.assign(contents, doc);
476
+ return contents;
477
+ };
478
+ var de_RegisterClientCommandError = async (output, context) => {
479
+ const parsedOutput = {
480
+ ...output,
481
+ body: await parseErrorBody(output.body, context)
482
+ };
483
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
484
+ switch (errorCode) {
485
+ case "InternalServerException":
486
+ case "com.amazonaws.ssooidc#InternalServerException":
487
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
488
+ case "InvalidClientMetadataException":
489
+ case "com.amazonaws.ssooidc#InvalidClientMetadataException":
490
+ throw await de_InvalidClientMetadataExceptionRes(parsedOutput, context);
491
+ case "InvalidRequestException":
492
+ case "com.amazonaws.ssooidc#InvalidRequestException":
493
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
494
+ case "InvalidScopeException":
495
+ case "com.amazonaws.ssooidc#InvalidScopeException":
496
+ throw await de_InvalidScopeExceptionRes(parsedOutput, context);
497
+ default:
498
+ const parsedBody = parsedOutput.body;
499
+ return throwDefaultError({
500
+ output,
501
+ parsedBody,
502
+ errorCode
503
+ });
504
+ }
505
+ };
506
+ var de_StartDeviceAuthorizationCommand = async (output, context) => {
507
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
508
+ return de_StartDeviceAuthorizationCommandError(output, context);
509
+ }
510
+ const contents = (0, smithy_client_7.map)({
511
+ $metadata: deserializeMetadata(output)
512
+ });
513
+ const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body");
514
+ const doc = (0, smithy_client_7.take)(data, {
515
+ deviceCode: smithy_client_7.expectString,
516
+ expiresIn: smithy_client_7.expectInt32,
517
+ interval: smithy_client_7.expectInt32,
518
+ userCode: smithy_client_7.expectString,
519
+ verificationUri: smithy_client_7.expectString,
520
+ verificationUriComplete: smithy_client_7.expectString
521
+ });
522
+ Object.assign(contents, doc);
523
+ return contents;
524
+ };
525
+ var de_StartDeviceAuthorizationCommandError = async (output, context) => {
526
+ const parsedOutput = {
527
+ ...output,
528
+ body: await parseErrorBody(output.body, context)
529
+ };
530
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
531
+ switch (errorCode) {
532
+ case "InternalServerException":
533
+ case "com.amazonaws.ssooidc#InternalServerException":
534
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
535
+ case "InvalidClientException":
536
+ case "com.amazonaws.ssooidc#InvalidClientException":
537
+ throw await de_InvalidClientExceptionRes(parsedOutput, context);
538
+ case "InvalidRequestException":
539
+ case "com.amazonaws.ssooidc#InvalidRequestException":
540
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
541
+ case "SlowDownException":
542
+ case "com.amazonaws.ssooidc#SlowDownException":
543
+ throw await de_SlowDownExceptionRes(parsedOutput, context);
544
+ case "UnauthorizedClientException":
545
+ case "com.amazonaws.ssooidc#UnauthorizedClientException":
546
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
547
+ default:
548
+ const parsedBody = parsedOutput.body;
549
+ return throwDefaultError({
550
+ output,
551
+ parsedBody,
552
+ errorCode
553
+ });
554
+ }
555
+ };
556
+ var throwDefaultError = (0, smithy_client_7.withBaseException)(SSOOIDCServiceException);
557
+ var de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
558
+ const contents = (0, smithy_client_7.map)({});
559
+ const data = parsedOutput.body;
560
+ const doc = (0, smithy_client_7.take)(data, {
561
+ error: smithy_client_7.expectString,
562
+ error_description: smithy_client_7.expectString
563
+ });
564
+ Object.assign(contents, doc);
565
+ const exception = new AccessDeniedException({
566
+ $metadata: deserializeMetadata(parsedOutput),
567
+ ...contents
568
+ });
569
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
570
+ };
571
+ var de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
572
+ const contents = (0, smithy_client_7.map)({});
573
+ const data = parsedOutput.body;
574
+ const doc = (0, smithy_client_7.take)(data, {
575
+ error: smithy_client_7.expectString,
576
+ error_description: smithy_client_7.expectString
577
+ });
578
+ Object.assign(contents, doc);
579
+ const exception = new AuthorizationPendingException({
580
+ $metadata: deserializeMetadata(parsedOutput),
581
+ ...contents
582
+ });
583
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
584
+ };
585
+ var de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
586
+ const contents = (0, smithy_client_7.map)({});
587
+ const data = parsedOutput.body;
588
+ const doc = (0, smithy_client_7.take)(data, {
589
+ error: smithy_client_7.expectString,
590
+ error_description: smithy_client_7.expectString
591
+ });
592
+ Object.assign(contents, doc);
593
+ const exception = new ExpiredTokenException({
594
+ $metadata: deserializeMetadata(parsedOutput),
595
+ ...contents
596
+ });
597
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
598
+ };
599
+ var de_InternalServerExceptionRes = async (parsedOutput, context) => {
600
+ const contents = (0, smithy_client_7.map)({});
601
+ const data = parsedOutput.body;
602
+ const doc = (0, smithy_client_7.take)(data, {
603
+ error: smithy_client_7.expectString,
604
+ error_description: smithy_client_7.expectString
605
+ });
606
+ Object.assign(contents, doc);
607
+ const exception = new InternalServerException({
608
+ $metadata: deserializeMetadata(parsedOutput),
609
+ ...contents
610
+ });
611
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
612
+ };
613
+ var de_InvalidClientExceptionRes = async (parsedOutput, context) => {
614
+ const contents = (0, smithy_client_7.map)({});
615
+ const data = parsedOutput.body;
616
+ const doc = (0, smithy_client_7.take)(data, {
617
+ error: smithy_client_7.expectString,
618
+ error_description: smithy_client_7.expectString
619
+ });
620
+ Object.assign(contents, doc);
621
+ const exception = new InvalidClientException({
622
+ $metadata: deserializeMetadata(parsedOutput),
623
+ ...contents
624
+ });
625
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
626
+ };
627
+ var de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => {
628
+ const contents = (0, smithy_client_7.map)({});
629
+ const data = parsedOutput.body;
630
+ const doc = (0, smithy_client_7.take)(data, {
631
+ error: smithy_client_7.expectString,
632
+ error_description: smithy_client_7.expectString
633
+ });
634
+ Object.assign(contents, doc);
635
+ const exception = new InvalidClientMetadataException({
636
+ $metadata: deserializeMetadata(parsedOutput),
637
+ ...contents
638
+ });
639
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
640
+ };
641
+ var de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
642
+ const contents = (0, smithy_client_7.map)({});
643
+ const data = parsedOutput.body;
644
+ const doc = (0, smithy_client_7.take)(data, {
645
+ error: smithy_client_7.expectString,
646
+ error_description: smithy_client_7.expectString
647
+ });
648
+ Object.assign(contents, doc);
649
+ const exception = new InvalidGrantException({
650
+ $metadata: deserializeMetadata(parsedOutput),
651
+ ...contents
652
+ });
653
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
654
+ };
655
+ var de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
656
+ const contents = (0, smithy_client_7.map)({});
657
+ const data = parsedOutput.body;
658
+ const doc = (0, smithy_client_7.take)(data, {
659
+ error: smithy_client_7.expectString,
660
+ error_description: smithy_client_7.expectString
661
+ });
662
+ Object.assign(contents, doc);
663
+ const exception = new InvalidRequestException({
664
+ $metadata: deserializeMetadata(parsedOutput),
665
+ ...contents
666
+ });
667
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
668
+ };
669
+ var de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
670
+ const contents = (0, smithy_client_7.map)({});
671
+ const data = parsedOutput.body;
672
+ const doc = (0, smithy_client_7.take)(data, {
673
+ error: smithy_client_7.expectString,
674
+ error_description: smithy_client_7.expectString
675
+ });
676
+ Object.assign(contents, doc);
677
+ const exception = new InvalidScopeException({
678
+ $metadata: deserializeMetadata(parsedOutput),
679
+ ...contents
680
+ });
681
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
682
+ };
683
+ var de_SlowDownExceptionRes = async (parsedOutput, context) => {
684
+ const contents = (0, smithy_client_7.map)({});
685
+ const data = parsedOutput.body;
686
+ const doc = (0, smithy_client_7.take)(data, {
687
+ error: smithy_client_7.expectString,
688
+ error_description: smithy_client_7.expectString
689
+ });
690
+ Object.assign(contents, doc);
691
+ const exception = new SlowDownException({
692
+ $metadata: deserializeMetadata(parsedOutput),
693
+ ...contents
694
+ });
695
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
696
+ };
697
+ var de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
698
+ const contents = (0, smithy_client_7.map)({});
699
+ const data = parsedOutput.body;
700
+ const doc = (0, smithy_client_7.take)(data, {
701
+ error: smithy_client_7.expectString,
702
+ error_description: smithy_client_7.expectString
703
+ });
704
+ Object.assign(contents, doc);
705
+ const exception = new UnauthorizedClientException({
706
+ $metadata: deserializeMetadata(parsedOutput),
707
+ ...contents
708
+ });
709
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
710
+ };
711
+ var de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => {
712
+ const contents = (0, smithy_client_7.map)({});
713
+ const data = parsedOutput.body;
714
+ const doc = (0, smithy_client_7.take)(data, {
715
+ error: smithy_client_7.expectString,
716
+ error_description: smithy_client_7.expectString
717
+ });
718
+ Object.assign(contents, doc);
719
+ const exception = new UnsupportedGrantTypeException({
720
+ $metadata: deserializeMetadata(parsedOutput),
721
+ ...contents
722
+ });
723
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
724
+ };
725
+ var deserializeMetadata = (output) => {
726
+ var _a, _b;
727
+ return ({
728
+ httpStatusCode: output.statusCode,
729
+ requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
730
+ extendedRequestId: output.headers["x-amz-id-2"],
731
+ cfId: output.headers["x-amz-cf-id"]
732
+ });
733
+ };
734
+ var collectBodyString = (streamBody, context) => (0, smithy_client_7.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
735
+ var parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
736
+ if (encoded.length) {
737
+ return JSON.parse(encoded);
738
+ }
739
+ return {};
740
+ });
741
+ var parseErrorBody = async (errorBody, context) => {
742
+ var _a;
743
+ const value = await parseBody(errorBody, context);
744
+ value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
745
+ return value;
746
+ };
747
+ var loadRestJsonErrorCode = (output, data) => {
748
+ const findKey = (object, key) => Object.keys(object).find((k2) => k2.toLowerCase() === key.toLowerCase());
749
+ const sanitizeErrorCode = (rawValue) => {
750
+ let cleanValue = rawValue;
751
+ if (typeof cleanValue === "number") {
752
+ cleanValue = cleanValue.toString();
753
+ }
754
+ if (cleanValue.indexOf(",") >= 0) {
755
+ cleanValue = cleanValue.split(",")[0];
756
+ }
757
+ if (cleanValue.indexOf(":") >= 0) {
758
+ cleanValue = cleanValue.split(":")[0];
759
+ }
760
+ if (cleanValue.indexOf("#") >= 0) {
761
+ cleanValue = cleanValue.split("#")[1];
762
+ }
763
+ return cleanValue;
764
+ };
765
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
766
+ if (headerKey !== void 0) {
767
+ return sanitizeErrorCode(output.headers[headerKey]);
768
+ }
769
+ if (data.code !== void 0) {
770
+ return sanitizeErrorCode(data.code);
771
+ }
772
+ if (data["__type"] !== void 0) {
773
+ return sanitizeErrorCode(data["__type"]);
774
+ }
775
+ };
776
+ var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_6.Command {
777
+ constructor(input) {
778
+ super();
779
+ this.input = input;
780
+ }
781
+ static getEndpointParameterInstructions() {
782
+ return {
783
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
784
+ Endpoint: { type: "builtInParams", name: "endpoint" },
785
+ Region: { type: "builtInParams", name: "region" },
786
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
787
+ };
788
+ }
789
+ resolveMiddleware(clientStack, configuration, options) {
790
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
791
+ this.middlewareStack.use((0, middleware_endpoint_2.getEndpointPlugin)(configuration, _CreateTokenCommand.getEndpointParameterInstructions()));
792
+ const stack = clientStack.concat(this.middlewareStack);
793
+ const { logger } = configuration;
794
+ const clientName = "SSOOIDCClient";
795
+ const commandName = "CreateTokenCommand";
796
+ const handlerExecutionContext = {
797
+ logger,
798
+ clientName,
799
+ commandName,
800
+ inputFilterSensitiveLog: (_) => _,
801
+ outputFilterSensitiveLog: (_) => _
802
+ };
803
+ const { requestHandler } = configuration;
804
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
805
+ }
806
+ serialize(input, context) {
807
+ return se_CreateTokenCommand(input, context);
808
+ }
809
+ deserialize(output, context) {
810
+ return de_CreateTokenCommand(output, context);
811
+ }
812
+ };
813
+ exports.CreateTokenCommand = CreateTokenCommand;
814
+ const middleware_endpoint_3 = require("@smithy/middleware-endpoint");
815
+ const middleware_serde_2 = require("@smithy/middleware-serde");
816
+ const smithy_client_9 = require("@smithy/smithy-client");
817
+ var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_9.Command {
818
+ constructor(input) {
819
+ super();
820
+ this.input = input;
821
+ }
822
+ static getEndpointParameterInstructions() {
823
+ return {
824
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
825
+ Endpoint: { type: "builtInParams", name: "endpoint" },
826
+ Region: { type: "builtInParams", name: "region" },
827
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
828
+ };
829
+ }
830
+ resolveMiddleware(clientStack, configuration, options) {
831
+ this.middlewareStack.use((0, middleware_serde_2.getSerdePlugin)(configuration, this.serialize, this.deserialize));
832
+ this.middlewareStack.use((0, middleware_endpoint_3.getEndpointPlugin)(configuration, _RegisterClientCommand.getEndpointParameterInstructions()));
833
+ const stack = clientStack.concat(this.middlewareStack);
834
+ const { logger } = configuration;
835
+ const clientName = "SSOOIDCClient";
836
+ const commandName = "RegisterClientCommand";
837
+ const handlerExecutionContext = {
838
+ logger,
839
+ clientName,
840
+ commandName,
841
+ inputFilterSensitiveLog: (_) => _,
842
+ outputFilterSensitiveLog: (_) => _
843
+ };
844
+ const { requestHandler } = configuration;
845
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
846
+ }
847
+ serialize(input, context) {
848
+ return se_RegisterClientCommand(input, context);
849
+ }
850
+ deserialize(output, context) {
851
+ return de_RegisterClientCommand(output, context);
852
+ }
853
+ };
854
+ const middleware_endpoint_4 = require("@smithy/middleware-endpoint");
855
+ const middleware_serde_3 = require("@smithy/middleware-serde");
856
+ const smithy_client_10 = require("@smithy/smithy-client");
857
+ var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends smithy_client_10.Command {
858
+ constructor(input) {
859
+ super();
860
+ this.input = input;
861
+ }
862
+ static getEndpointParameterInstructions() {
863
+ return {
864
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
865
+ Endpoint: { type: "builtInParams", name: "endpoint" },
866
+ Region: { type: "builtInParams", name: "region" },
867
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
868
+ };
869
+ }
870
+ resolveMiddleware(clientStack, configuration, options) {
871
+ this.middlewareStack.use((0, middleware_serde_3.getSerdePlugin)(configuration, this.serialize, this.deserialize));
872
+ this.middlewareStack.use((0, middleware_endpoint_4.getEndpointPlugin)(configuration, _StartDeviceAuthorizationCommand.getEndpointParameterInstructions()));
873
+ const stack = clientStack.concat(this.middlewareStack);
874
+ const { logger } = configuration;
875
+ const clientName = "SSOOIDCClient";
876
+ const commandName = "StartDeviceAuthorizationCommand";
877
+ const handlerExecutionContext = {
878
+ logger,
879
+ clientName,
880
+ commandName,
881
+ inputFilterSensitiveLog: (_) => _,
882
+ outputFilterSensitiveLog: (_) => _
883
+ };
884
+ const { requestHandler } = configuration;
885
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
886
+ }
887
+ serialize(input, context) {
888
+ return se_StartDeviceAuthorizationCommand(input, context);
889
+ }
890
+ deserialize(output, context) {
891
+ return de_StartDeviceAuthorizationCommand(output, context);
892
+ }
893
+ };
894
+ var commands = {
895
+ CreateTokenCommand,
896
+ RegisterClientCommand,
897
+ StartDeviceAuthorizationCommand
898
+ };
899
+ var SSOOIDC = class extends SSOOIDCClient {
900
+ };
901
+ (0, smithy_client_5.createAggregatedClient)(commands, SSOOIDC);