@cdklabs/cdk-ssm-documents 0.0.74 → 0.0.75

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 (551) hide show
  1. package/.jsii +12 -12
  2. package/lib/construct/synth-utils.js +1 -1
  3. package/lib/document/automation-document.js +1 -1
  4. package/lib/document/command-document.js +1 -1
  5. package/lib/document/document-builder.js +2 -2
  6. package/lib/document/ssm-document.js +1 -1
  7. package/lib/domain/aws-service.js +1 -1
  8. package/lib/domain/choice.js +1 -1
  9. package/lib/domain/data-type.js +1 -1
  10. package/lib/domain/enum/install-action.js +2 -2
  11. package/lib/domain/enum/install-uninstall-repair.js +2 -2
  12. package/lib/domain/enum/installation-type.js +2 -2
  13. package/lib/domain/enum/package-name.js +2 -2
  14. package/lib/domain/input.js +1 -1
  15. package/lib/domain/operation.js +1 -1
  16. package/lib/domain/platform.js +1 -1
  17. package/lib/domain/precondition.js +1 -1
  18. package/lib/incident-response/incident-response.js +3 -3
  19. package/lib/interface/approve-hook.js +2 -2
  20. package/lib/interface/auth-method.js +3 -3
  21. package/lib/interface/aws-invoker.js +2 -2
  22. package/lib/interface/downloadable-content.js +8 -8
  23. package/lib/interface/environment.js +3 -3
  24. package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
  25. package/lib/interface/observer.js +1 -1
  26. package/lib/interface/on-failure.js +6 -6
  27. package/lib/interface/pause-hook.js +2 -2
  28. package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
  29. package/lib/interface/run-document-location.js +2 -2
  30. package/lib/interface/sleep-hook.js +2 -2
  31. package/lib/interface/step-ref.js +1 -1
  32. package/lib/interface/variables/boolean-variable.js +2 -2
  33. package/lib/interface/variables/map-list-variable.js +2 -2
  34. package/lib/interface/variables/number-variable.js +2 -2
  35. package/lib/interface/variables/secure-string-variable.js +4 -4
  36. package/lib/interface/variables/string-list-variable.js +2 -2
  37. package/lib/interface/variables/string-map-variable.js +2 -2
  38. package/lib/interface/variables/string-variable.js +4 -4
  39. package/lib/interface/variables/variable.js +2 -2
  40. package/lib/interface/webhook.js +1 -1
  41. package/lib/parent-steps/automation/approve-step.js +1 -1
  42. package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
  43. package/lib/parent-steps/automation/aws-api-step.js +1 -1
  44. package/lib/parent-steps/automation/branch-step.js +1 -1
  45. package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
  46. package/lib/parent-steps/automation/copy-image-step.js +1 -1
  47. package/lib/parent-steps/automation/create-image-step.js +1 -1
  48. package/lib/parent-steps/automation/create-stack-step.js +3 -3
  49. package/lib/parent-steps/automation/create-tags-step.js +3 -3
  50. package/lib/parent-steps/automation/delete-image-step.js +1 -1
  51. package/lib/parent-steps/automation/delete-stack-step.js +1 -1
  52. package/lib/parent-steps/automation/execute-automation-step.js +1 -1
  53. package/lib/parent-steps/automation/execute-script-step.js +5 -5
  54. package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
  55. package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
  56. package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
  57. package/lib/parent-steps/automation/pause-step.js +1 -1
  58. package/lib/parent-steps/automation/run-command-step.js +3 -3
  59. package/lib/parent-steps/automation/run-instance-step.js +1 -1
  60. package/lib/parent-steps/automation/sleep-step.js +1 -1
  61. package/lib/parent-steps/automation/update-variable.js +1 -1
  62. package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
  63. package/lib/parent-steps/automation-step.js +1 -1
  64. package/lib/parent-steps/command/applications-step.js +1 -1
  65. package/lib/parent-steps/command/configure-docker-step.js +1 -1
  66. package/lib/parent-steps/command/configure-package-step.js +1 -1
  67. package/lib/parent-steps/command/domain-join-step.js +1 -1
  68. package/lib/parent-steps/command/download-content-step.js +1 -1
  69. package/lib/parent-steps/command/ps-module-step.js +1 -1
  70. package/lib/parent-steps/command/run-docker-action-step.js +1 -1
  71. package/lib/parent-steps/command/run-document-step.js +1 -1
  72. package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
  73. package/lib/parent-steps/command/run-shell-script-step.js +1 -1
  74. package/lib/parent-steps/command/software-inventory-step.js +1 -1
  75. package/lib/parent-steps/command/update-agent-step.js +1 -1
  76. package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
  77. package/lib/parent-steps/command-step.js +1 -1
  78. package/lib/parent-steps/step.js +1 -1
  79. package/lib/patterns/automation/composite-step.js +2 -2
  80. package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
  81. package/lib/patterns/automation/string-step.js +1 -1
  82. package/lib/patterns/document/string-document.js +1 -1
  83. package/lib/patterns/document/timed-document.js +1 -1
  84. package/lib/samples/hello-world.js +1 -1
  85. package/lib/simulation/automation/approve-simulation.js +1 -1
  86. package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
  87. package/lib/simulation/automation/automation-simulation-base.js +1 -1
  88. package/lib/simulation/automation/aws-api-simulation.js +1 -1
  89. package/lib/simulation/automation/branch-simulation.js +1 -1
  90. package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
  91. package/lib/simulation/automation/copy-image-simulation.js +1 -1
  92. package/lib/simulation/automation/create-image-simulation.js +1 -1
  93. package/lib/simulation/automation/create-stack-simulation.js +1 -1
  94. package/lib/simulation/automation/create-tags-simulation.js +1 -1
  95. package/lib/simulation/automation/delete-image-simulation.js +1 -1
  96. package/lib/simulation/automation/delete-stack-simulation.js +1 -1
  97. package/lib/simulation/automation/execute-script-simulation.js +1 -1
  98. package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
  99. package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
  100. package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
  101. package/lib/simulation/automation/pause-simulation.js +1 -1
  102. package/lib/simulation/automation/run-command-simulation.js +1 -1
  103. package/lib/simulation/automation/run-instance-simulation.js +1 -1
  104. package/lib/simulation/automation/sleep-simulation.js +1 -1
  105. package/lib/simulation/automation/update-variable-simulation.js +1 -1
  106. package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
  107. package/lib/simulation/automation-step-simulation.js +1 -1
  108. package/lib/simulation/command/command-simulation-base.js +1 -1
  109. package/lib/simulation/command/ps-module-simulation.js +1 -1
  110. package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
  111. package/lib/simulation/command/run-shell-script-simulation.js +1 -1
  112. package/lib/simulation/command-step-simulation.js +1 -1
  113. package/lib/simulation/document/automation-simulation.js +1 -1
  114. package/lib/simulation/document/command-simulation.js +1 -1
  115. package/lib/simulation/simulation.js +1 -1
  116. package/node_modules/@aws-sdk/checksums/package.json +6 -6
  117. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  118. package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +1 -1
  119. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
  120. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +38 -38
  121. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +36 -36
  122. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +37 -37
  123. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +2 -2
  124. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/index.d.ts +1 -1
  125. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
  126. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
  127. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
  128. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  129. package/node_modules/@aws-sdk/client-cloudformation/package.json +10 -10
  130. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +18 -9
  131. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/index.js +1 -1
  132. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/schemas/schemas_0.js +16 -8
  133. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +19 -10
  134. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DescribeAlarmsCommand.d.ts +8 -0
  135. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +4 -0
  136. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +14 -7
  137. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/PutLogAlarmCommand.d.ts +4 -0
  138. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/PutMetricAlarmCommand.d.ts +4 -0
  139. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/index.d.ts +1 -1
  140. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +70 -4
  141. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.browser.d.ts +40 -40
  142. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.d.ts +36 -36
  143. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.native.d.ts +37 -37
  144. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.shared.d.ts +2 -2
  145. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/schemas/schemas_0.d.ts +1 -0
  146. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/index.d.ts +1 -1
  147. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/models_0.d.ts +8 -0
  148. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  149. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
  150. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
  151. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  152. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  153. package/node_modules/@aws-sdk/client-cloudwatch/package.json +12 -12
  154. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +12 -8
  155. package/node_modules/@aws-sdk/client-ec2/dist-es/index.js +1 -1
  156. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +11 -7
  157. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateApplicationStatusCheckCommand.d.ts +5 -5
  158. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateApplicationStatusCheckCommand.d.ts +6 -6
  159. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +6 -0
  160. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeApplicationStatusChecksCommand.d.ts +1 -1
  161. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeApplicationStatusCommand.d.ts +1 -1
  162. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
  163. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
  164. package/node_modules/@aws-sdk/client-ec2/dist-types/index.d.ts +1 -1
  165. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +2 -2
  166. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +13 -8
  167. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +1 -1
  168. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +3 -3
  169. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +1 -1
  170. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.browser.d.ts +40 -40
  171. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.d.ts +36 -36
  172. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.native.d.ts +38 -38
  173. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.shared.d.ts +2 -2
  174. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/index.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  176. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  177. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  178. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  179. package/node_modules/@aws-sdk/client-ec2/package.json +12 -12
  180. package/node_modules/@aws-sdk/client-iam/README.md +28 -0
  181. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +285 -27
  182. package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +8 -0
  183. package/node_modules/@aws-sdk/client-iam/dist-es/commands/AcquireRoleCommand.js +4 -0
  184. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccountPropertiesCommand.js +4 -0
  185. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetRoleTemplateVersionCommand.js +4 -0
  186. package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutAccountPropertiesCommand.js +4 -0
  187. package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +4 -0
  188. package/node_modules/@aws-sdk/client-iam/dist-es/index.js +1 -1
  189. package/node_modules/@aws-sdk/client-iam/dist-es/models/enums.js +14 -3
  190. package/node_modules/@aws-sdk/client-iam/dist-es/models/errors.js +52 -16
  191. package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +176 -8
  192. package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +29 -0
  193. package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +6 -2
  194. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AcquireRoleCommand.d.ts +154 -0
  195. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateInstanceProfileCommand.d.ts +4 -0
  196. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateRoleCommand.d.ts +4 -0
  197. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +4 -0
  198. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +4 -0
  199. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountPropertiesCommand.d.ts +84 -0
  200. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetInstanceProfileCommand.d.ts +4 -0
  201. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleCommand.d.ts +4 -0
  202. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleTemplateVersionCommand.d.ts +135 -0
  203. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesCommand.d.ts +4 -0
  204. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +4 -0
  205. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRolesCommand.d.ts +4 -0
  206. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutAccountPropertiesCommand.d.ts +88 -0
  207. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
  209. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagUserCommand.d.ts +1 -1
  210. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
  212. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  213. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagPolicyCommand.d.ts +1 -1
  214. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagRoleCommand.d.ts +1 -1
  215. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -1
  216. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -1
  217. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagUserCommand.d.ts +1 -1
  218. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
  219. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  220. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  221. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +4 -0
  222. package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +4 -0
  223. package/node_modules/@aws-sdk/client-iam/dist-types/index.d.ts +1 -1
  224. package/node_modules/@aws-sdk/client-iam/dist-types/models/enums.d.ts +38 -11
  225. package/node_modules/@aws-sdk/client-iam/dist-types/models/errors.d.ts +58 -18
  226. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +508 -511
  227. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +358 -0
  228. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.browser.d.ts +40 -40
  229. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +36 -36
  230. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.native.d.ts +38 -38
  231. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.shared.d.ts +2 -2
  232. package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +21 -0
  233. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +66 -0
  234. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +21 -0
  235. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AcquireRoleCommand.d.ts +38 -0
  236. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccountPropertiesCommand.d.ts +39 -0
  237. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetRoleTemplateVersionCommand.d.ts +39 -0
  238. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutAccountPropertiesCommand.d.ts +39 -0
  239. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
  240. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
  241. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
  242. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
  243. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
  244. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  245. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
  246. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
  247. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
  248. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
  249. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
  250. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
  251. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  252. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  253. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +4 -0
  254. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/index.d.ts +1 -1
  255. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/enums.d.ts +18 -5
  256. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +23 -8
  257. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +100 -89
  258. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +64 -0
  259. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  260. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  261. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  262. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  263. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  264. package/node_modules/@aws-sdk/client-iam/package.json +11 -11
  265. package/node_modules/@aws-sdk/client-lambda/README.md +21 -0
  266. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +67 -1
  267. package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +6 -0
  268. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
  269. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetResourcePolicyCommand.js +4 -0
  270. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutResourcePolicyCommand.js +4 -0
  271. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/index.js +3 -0
  272. package/node_modules/@aws-sdk/client-lambda/dist-es/index.js +1 -1
  273. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +43 -0
  274. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +21 -0
  275. package/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts +5 -2
  276. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts +1 -1
  277. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
  278. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  279. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetResourcePolicyCommand.d.ts +84 -0
  280. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutResourcePolicyCommand.d.ts +98 -0
  281. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  282. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/index.d.ts +3 -0
  283. package/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts +1 -1
  284. package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +1 -1
  285. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +76 -1
  286. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.browser.d.ts +41 -41
  287. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.d.ts +36 -36
  288. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.native.d.ts +39 -39
  289. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.shared.d.ts +2 -2
  290. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +8 -0
  291. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +51 -0
  292. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts +18 -0
  293. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
  294. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
  295. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
  296. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/index.d.ts +3 -0
  297. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/index.d.ts +1 -1
  298. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +20 -0
  299. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.browser.d.ts +57 -59
  300. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
  301. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.native.d.ts +61 -63
  302. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  303. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  304. package/node_modules/@aws-sdk/client-lambda/package.json +11 -11
  305. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
  306. package/node_modules/@aws-sdk/client-s3/dist-es/index.js +1 -1
  307. package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +1 -1
  308. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +58 -58
  309. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +61 -61
  310. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +57 -57
  311. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -2
  312. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +1 -1
  313. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -99
  314. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +103 -103
  315. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +101 -103
  316. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  317. package/node_modules/@aws-sdk/client-s3/package.json +15 -15
  318. package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +1 -1
  319. package/node_modules/@aws-sdk/client-sns/dist-es/index.js +1 -1
  320. package/node_modules/@aws-sdk/client-sns/dist-types/index.d.ts +1 -1
  321. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.browser.d.ts +40 -40
  322. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.d.ts +36 -36
  323. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.native.d.ts +38 -38
  324. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.shared.d.ts +2 -2
  325. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/index.d.ts +1 -1
  326. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  327. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  328. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  329. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  330. package/node_modules/@aws-sdk/client-sns/package.json +10 -10
  331. package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
  332. package/node_modules/@aws-sdk/client-sqs/dist-es/index.js +1 -1
  333. package/node_modules/@aws-sdk/client-sqs/dist-types/index.d.ts +1 -1
  334. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.browser.d.ts +39 -39
  335. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.d.ts +38 -38
  336. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.native.d.ts +38 -38
  337. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.shared.d.ts +2 -2
  338. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/index.d.ts +1 -1
  339. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.browser.d.ts +55 -57
  340. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  341. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.native.d.ts +59 -61
  342. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  343. package/node_modules/@aws-sdk/client-sqs/package.json +12 -12
  344. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
  345. package/node_modules/@aws-sdk/client-ssm/dist-es/index.js +1 -1
  346. package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +1 -1
  347. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +40 -40
  348. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +36 -36
  349. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +38 -38
  350. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts +2 -2
  351. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts +1 -1
  352. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  353. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  354. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  355. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  356. package/node_modules/@aws-sdk/client-ssm/package.json +10 -10
  357. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
  358. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
  359. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
  360. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
  361. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
  362. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -4
  363. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -4
  364. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -4
  365. package/node_modules/@aws-sdk/core/package.json +6 -6
  366. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  367. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
  368. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  369. package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
  370. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  371. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  372. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  373. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  374. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +6 -6
  375. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +7 -7
  376. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +5 -5
  377. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  378. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  379. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  380. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  381. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  382. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -42
  383. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
  384. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
  385. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
  386. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
  387. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
  388. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
  389. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
  390. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
  391. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
  392. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
  393. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
  394. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
  395. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
  396. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
  397. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
  398. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
  399. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
  400. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
  401. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
  402. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +64 -66
  403. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
  404. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +68 -70
  405. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
  406. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +67 -69
  407. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
  408. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +71 -73
  409. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
  410. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +64 -66
  411. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
  412. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +68 -70
  413. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
  414. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +64 -66
  415. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
  416. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +68 -70
  417. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
  418. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +68 -70
  419. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
  420. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +72 -74
  421. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
  422. package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
  423. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  424. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -4
  425. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
  426. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  427. package/node_modules/@aws-sdk/types/package.json +3 -3
  428. package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
  429. package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
  430. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +127 -41
  431. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
  432. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +3 -1
  433. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +3 -1
  434. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +33 -24
  435. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +33 -24
  436. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +33 -15
  437. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +4 -1
  438. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +4 -1
  439. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +0 -10
  440. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -1
  441. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +4 -1
  442. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -1
  443. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +7 -0
  444. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
  445. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -2
  446. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
  447. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
  448. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +9 -0
  449. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +7 -0
  450. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +44 -15
  451. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +22 -4
  452. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +5 -0
  453. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
  454. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
  455. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
  456. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
  457. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
  458. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +11 -4
  459. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +23 -20
  460. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
  461. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +5 -0
  462. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -4
  463. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -4
  464. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
  465. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
  466. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
  467. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
  468. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
  469. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
  470. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
  471. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  472. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  473. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  474. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
  475. package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
  476. package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
  477. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
  478. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
  479. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
  480. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  481. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  482. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  483. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  484. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  485. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  486. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +14 -2
  487. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
  488. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  489. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  490. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
  491. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  492. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
  493. package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
  494. package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +4 -0
  495. package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +1 -0
  496. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
  497. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
  498. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  499. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  500. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  501. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  502. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  503. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  504. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +14 -2
  505. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
  506. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  507. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
  508. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
  509. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  510. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
  511. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
  512. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +4 -0
  513. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +1 -0
  514. package/node_modules/@smithy/core/package.json +3 -11
  515. package/node_modules/@smithy/credential-provider-imds/package.json +4 -12
  516. package/node_modules/@smithy/fetch-http-handler/package.json +5 -13
  517. package/node_modules/@smithy/middleware-compression/package.json +5 -10
  518. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +16 -4
  519. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
  520. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -2
  521. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  522. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
  523. package/node_modules/@smithy/node-http-handler/package.json +5 -13
  524. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +28 -16
  525. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +13 -10
  526. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +4 -1
  527. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +4 -1
  528. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +10 -3
  529. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +4 -1
  530. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +4 -1
  531. package/node_modules/@smithy/signature-v4/package.json +4 -12
  532. package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
  533. package/node_modules/@smithy/types/package.json +29 -39
  534. package/node_modules/fflate/CHANGELOG.md +22 -0
  535. package/node_modules/fflate/LICENSE +1 -1
  536. package/node_modules/fflate/README.md +14 -17
  537. package/node_modules/fflate/esm/browser.d.ts +160 -28
  538. package/node_modules/fflate/esm/browser.js +182 -95
  539. package/node_modules/fflate/esm/index.d.mts +160 -28
  540. package/node_modules/fflate/esm/index.mjs +187 -96
  541. package/node_modules/fflate/lib/browser.cjs +206 -118
  542. package/node_modules/fflate/lib/browser.d.cts +160 -28
  543. package/node_modules/fflate/lib/index.cjs +206 -118
  544. package/node_modules/fflate/lib/index.d.ts +160 -28
  545. package/node_modules/fflate/lib/node-worker.cjs +5 -2
  546. package/node_modules/fflate/lib/node.cjs +211 -119
  547. package/node_modules/fflate/lib/node.d.cts +160 -28
  548. package/node_modules/fflate/lib/worker.cjs +0 -1
  549. package/node_modules/fflate/package.json +12 -12
  550. package/node_modules/fflate/umd/index.js +1 -1
  551. package/package.json +10 -10
@@ -51,7 +51,7 @@ export declare const expectLong: (value: any) => number | undefined;
51
51
  *
52
52
  * @deprecated Use expectLong
53
53
  */
54
- export declare const expectInt: (value: any) => number | undefined;
54
+ export declare const expectInt: typeof expectLong;
55
55
  /**
56
56
  * Asserts a value is a 32-bit integer and returns it.
57
57
  * otherwise an error is thrown.
@@ -136,7 +136,7 @@ export declare const strictParseDouble: (value: string | number) => number | und
136
136
  *
137
137
  * @deprecated Use strictParseDouble
138
138
  */
139
- export declare const strictParseFloat: (value: string | number) => number | undefined;
139
+ export declare const strictParseFloat: typeof strictParseDouble;
140
140
  /**
141
141
  * Parses a value into a float. If the value is null or undefined, undefined
142
142
  * will be returned. If the value is a string, it will be parsed by the standard
@@ -166,13 +166,13 @@ export declare const limitedParseDouble: (value: string | number) => number | un
166
166
  *
167
167
  * @deprecated Use limitedParseDouble
168
168
  */
169
- export declare const handleFloat: (value: string | number) => number | undefined;
169
+ export declare const handleFloat: typeof limitedParseDouble;
170
170
  /**
171
171
  * @internal
172
172
  *
173
173
  * @deprecated Use limitedParseDouble
174
174
  */
175
- export declare const limitedParseFloat: (value: string | number) => number | undefined;
175
+ export declare const limitedParseFloat: typeof limitedParseDouble;
176
176
  /**
177
177
  * Asserts a value is a 32-bit float and returns it. If the value is a string
178
178
  * representation of a non-numeric number type (NaN, Infinity, -Infinity),
@@ -202,7 +202,7 @@ export declare const strictParseLong: (value: string | number) => number | undef
202
202
  *
203
203
  * @deprecated Use strictParseLong
204
204
  */
205
- export declare const strictParseInt: (value: string | number) => number | undefined;
205
+ export declare const strictParseInt: typeof strictParseLong;
206
206
  /**
207
207
  * Parses a value into a 32-bit integer. If the value is null or undefined, undefined
208
208
  * will be returned. If the value is a string, it will be parsed by parseFloat
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare function hasOwn(o: object, k: string): boolean;
@@ -1,4 +1,5 @@
1
1
  export { getSmithyContext } from "./getSmithyContext";
2
+ export { hasOwn } from "./hasOwn";
2
3
  export { HttpRequest } from "./httpRequest";
3
4
  export { IHttpRequest } from "./httpRequest";
4
5
  export { HttpResponse } from "./httpResponse";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.31.1",
3
+ "version": "3.33.3",
4
4
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -214,9 +214,6 @@
214
214
  "require": "./dist-cjs/submodules/transport/index.js"
215
215
  }
216
216
  },
217
- "publishConfig": {
218
- "directory": ".release/package"
219
- },
220
217
  "scripts": {
221
218
  "benchmark:cbor": "node ./scripts/cbor-perf.mjs",
222
219
  "benchmark:checksum": "node ./scripts/checksum-perf.mjs",
@@ -229,14 +226,13 @@
229
226
  "extract:docs": "api-extractor run --local",
230
227
  "lint": "node ../../scripts/validation/submodules-linter.js",
231
228
  "prebuild": "yarn lint",
232
- "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
233
229
  "test": "yarn g:vitest run",
234
230
  "test:watch": "yarn g:vitest watch",
235
231
  "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
236
232
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
237
233
  },
238
234
  "dependencies": {
239
- "@smithy/types": "^4.16.1",
235
+ "@smithy/types": "^4.17.2",
240
236
  "tslib": "^2.6.2"
241
237
  },
242
238
  "devDependencies": {
@@ -245,11 +241,7 @@
245
241
  "downlevel-dts": "0.10.1",
246
242
  "hash-test-vectors": "^1.3.2",
247
243
  "json-bigint": "^1.0.0",
248
- "premove": "4.0.0",
249
- "typedoc": "0.23.23"
250
- },
251
- "typedoc": {
252
- "entryPoint": "src/index.ts"
244
+ "premove": "4.0.0"
253
245
  },
254
246
  "engines": {
255
247
  "node": ">=18.0.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/credential-provider-imds",
3
- "version": "4.4.16",
3
+ "version": "4.5.2",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
5
5
  "keywords": [
6
6
  "aws",
@@ -31,33 +31,25 @@
31
31
  ]
32
32
  }
33
33
  },
34
- "publishConfig": {
35
- "directory": ".release/package"
36
- },
37
34
  "scripts": {
38
35
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
39
36
  "build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
40
37
  "build:types": "premove dist-types && yarn g:tsc -p tsconfig.types.json",
41
38
  "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
42
39
  "clean": "premove dist-cjs dist-es dist-types",
43
- "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
44
40
  "test": "yarn g:vitest run",
45
41
  "test:watch": "yarn g:vitest watch"
46
42
  },
47
43
  "dependencies": {
48
- "@smithy/core": "^3.31.1",
49
- "@smithy/types": "^4.16.1",
44
+ "@smithy/core": "^3.33.2",
45
+ "@smithy/types": "^4.17.2",
50
46
  "tslib": "^2.6.2"
51
47
  },
52
48
  "devDependencies": {
53
49
  "@types/node": "^18.11.9",
54
50
  "concurrently": "7.0.0",
55
51
  "downlevel-dts": "0.10.1",
56
- "premove": "4.0.0",
57
- "typedoc": "0.23.23"
58
- },
59
- "typedoc": {
60
- "entryPoint": "src/index.ts"
52
+ "premove": "4.0.0"
61
53
  },
62
54
  "engines": {
63
55
  "node": ">=18.0.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/fetch-http-handler",
3
- "version": "5.6.13",
3
+ "version": "5.7.2",
4
4
  "description": "Provides a way to make requests",
5
5
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/fetch-http-handler",
6
6
  "license": "Apache-2.0",
@@ -27,9 +27,6 @@
27
27
  ]
28
28
  }
29
29
  },
30
- "publishConfig": {
31
- "directory": ".release/package"
32
- },
33
30
  "scripts": {
34
31
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
35
32
  "build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
@@ -37,26 +34,21 @@
37
34
  "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
38
35
  "clean": "premove dist-cjs dist-es dist-types",
39
36
  "extract:docs": "api-extractor run --local",
40
- "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
41
37
  "test": "yarn g:vitest run && yarn test:browser",
42
38
  "test:watch": "yarn g:vitest watch",
43
39
  "test:browser": "yarn g:vitest run -c vitest.config.browser.mts",
44
40
  "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts"
45
41
  },
46
42
  "dependencies": {
47
- "@smithy/core": "^3.31.1",
48
- "@smithy/types": "^4.16.1",
43
+ "@smithy/core": "^3.33.2",
44
+ "@smithy/types": "^4.17.2",
49
45
  "tslib": "^2.6.2"
50
46
  },
51
47
  "devDependencies": {
52
- "@smithy/abort-controller": "^4.3.3",
48
+ "@smithy/abort-controller": "^4.4.2",
53
49
  "concurrently": "7.0.0",
54
50
  "downlevel-dts": "0.10.1",
55
- "premove": "4.0.0",
56
- "typedoc": "0.23.23"
57
- },
58
- "typedoc": {
59
- "entryPoint": "src/index.ts"
51
+ "premove": "4.0.0"
60
52
  },
61
53
  "engines": {
62
54
  "node": ">=18.0.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-compression",
3
- "version": "4.5.16",
3
+ "version": "4.6.2",
4
4
  "description": "Middleware and Plugin for request compression.",
5
5
  "keywords": [
6
6
  "compression",
@@ -38,30 +38,25 @@
38
38
  "./dist-es/compressString": "./dist-es/compressString.browser",
39
39
  "./dist-cjs/compressString": "./dist-cjs/compressString.browser"
40
40
  },
41
- "publishConfig": {
42
- "directory": ".release/package"
43
- },
44
41
  "scripts": {
45
42
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
46
43
  "build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
47
44
  "build:types": "premove dist-types && yarn g:tsc -p tsconfig.types.json",
48
45
  "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
49
46
  "clean": "premove dist-cjs dist-es dist-types",
50
- "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
51
47
  "test": "yarn g:vitest run",
52
48
  "test:watch": "yarn g:vitest watch"
53
49
  },
54
50
  "dependencies": {
55
- "@smithy/core": "^3.31.1",
56
- "@smithy/types": "^4.16.1",
57
- "fflate": "0.8.1",
51
+ "@smithy/core": "^3.33.2",
52
+ "@smithy/types": "^4.17.2",
53
+ "fflate": "0.8.3",
58
54
  "tslib": "^2.6.2"
59
55
  },
60
56
  "devDependencies": {
61
57
  "concurrently": "7.0.0",
62
58
  "downlevel-dts": "0.10.1",
63
- "premove": "4.0.0",
64
- "web-streams-polyfill": "3.2.1"
59
+ "premove": "4.0.0"
65
60
  },
66
61
  "engines": {
67
62
  "node": ">=18.0.0"
@@ -1,9 +1,10 @@
1
+ const { hasOwn } = require("@smithy/core/serde");
2
+ const { streamCollector } = require("@smithy/core/serde");
3
+ exports.streamCollector = streamCollector;
1
4
  const { buildQueryString, HttpResponse } = require("@smithy/core/protocols");
2
5
  const node_https = require("node:https");
3
6
  const { Readable } = require("node:stream");
4
7
  const http2 = require("node:http2");
5
- const { streamCollector } = require("@smithy/core/serde");
6
- exports.streamCollector = streamCollector;
7
8
 
8
9
  function buildAbortError(abortSignal) {
9
10
  const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal
@@ -30,6 +31,8 @@ const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"];
30
31
  const getTransformedHeaders = (headers) => {
31
32
  const transformedHeaders = {};
32
33
  for (const name in headers) {
34
+ if (!hasOwn(headers, name))
35
+ continue;
33
36
  const headerValues = headers[name];
34
37
  transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues;
35
38
  }
@@ -231,6 +234,8 @@ class NodeHttpHandler {
231
234
  }
232
235
  if (sockets && requests) {
233
236
  for (const origin in sockets) {
237
+ if (!hasOwn(sockets, origin))
238
+ continue;
234
239
  const socketsInUse = sockets[origin]?.length ?? 0;
235
240
  const requestsEnqueued = requests[origin]?.length ?? 0;
236
241
  if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
@@ -266,6 +271,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
266
271
  this.config = await this.configProvider;
267
272
  }
268
273
  const config = this.config;
274
+ const logger = config.logger;
269
275
  const isSSL = request.protocol === "https:";
270
276
  if (!isSSL && !this.config.httpAgent) {
271
277
  this.config.httpAgent = await this.config.httpAgentProvider();
@@ -309,7 +315,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
309
315
  });
310
316
  }
311
317
  socketWarningTimeoutId = timing.setTimeout(() => {
312
- this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger);
318
+ this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);
313
319
  }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
314
320
  const queryString = request.query ? buildQueryString(request.query) : "";
315
321
  let auth = undefined;
@@ -376,7 +382,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
376
382
  }
377
383
  const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
378
384
  connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);
379
- requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console);
385
+ requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);
380
386
  socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);
381
387
  const httpAgent = nodeHttpsOptions.agent;
382
388
  if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
@@ -394,6 +400,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
394
400
  updateHttpClientConfig(key, value) {
395
401
  this.config = undefined;
396
402
  this.configProvider = this.configProvider.then((config) => {
403
+ if (key === Symbol.for("logger")) {
404
+ return {
405
+ ...config,
406
+ logger: config.logger ?? value,
407
+ };
408
+ }
397
409
  return {
398
410
  ...config,
399
411
  [key]: value,
@@ -1,6 +1,9 @@
1
+ import { hasOwn } from "@smithy/core/serde";
1
2
  const getTransformedHeaders = (headers) => {
2
3
  const transformedHeaders = {};
3
4
  for (const name in headers) {
5
+ if (!hasOwn(headers, name))
6
+ continue;
4
7
  const headerValues = headers[name];
5
8
  transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues;
6
9
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/serde";
1
2
  import { HttpResponse, buildQueryString } from "@smithy/core/protocols";
2
3
  import { buildAbortError } from "./build-abort-error";
3
4
  import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants";
@@ -35,6 +36,8 @@ export class NodeHttpHandler {
35
36
  }
36
37
  if (sockets && requests) {
37
38
  for (const origin in sockets) {
39
+ if (!hasOwn(sockets, origin))
40
+ continue;
38
41
  const socketsInUse = sockets[origin]?.length ?? 0;
39
42
  const requestsEnqueued = requests[origin]?.length ?? 0;
40
43
  if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
@@ -70,6 +73,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
70
73
  this.config = await this.configProvider;
71
74
  }
72
75
  const config = this.config;
76
+ const logger = config.logger;
73
77
  const isSSL = request.protocol === "https:";
74
78
  if (!isSSL && !this.config.httpAgent) {
75
79
  this.config.httpAgent = await this.config.httpAgentProvider();
@@ -113,7 +117,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
113
117
  });
114
118
  }
115
119
  socketWarningTimeoutId = timing.setTimeout(() => {
116
- this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger);
120
+ this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);
117
121
  }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
118
122
  const queryString = request.query ? buildQueryString(request.query) : "";
119
123
  let auth = undefined;
@@ -180,7 +184,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
180
184
  }
181
185
  const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
182
186
  connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);
183
- requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console);
187
+ requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);
184
188
  socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);
185
189
  const httpAgent = nodeHttpsOptions.agent;
186
190
  if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
@@ -198,6 +202,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
198
202
  updateHttpClientConfig(key, value) {
199
203
  this.config = undefined;
200
204
  this.configProvider = this.configProvider.then((config) => {
205
+ if (key === Symbol.for("logger")) {
206
+ return {
207
+ ...config,
208
+ logger: config.logger ?? value,
209
+ };
210
+ }
201
211
  return {
202
212
  ...config,
203
213
  [key]: value,
@@ -64,7 +64,7 @@ export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOpt
64
64
  * @returns the input if it is an HttpHandler of any class,
65
65
  * or instantiates a new instance of this handler.
66
66
  */
67
- static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): HttpHandler<any> | NodeHttp2Handler;
67
+ static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): NodeHttp2Handler | HttpHandler<any>;
68
68
  constructor(options?: NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>);
69
69
  destroy(): void;
70
70
  handle(request: HttpRequest, { abortSignal, requestTimeout, isEventStream }?: HttpHandlerOptions & EventStreamSignal): Promise<{
@@ -64,7 +64,7 @@ export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOpt
64
64
  * @returns the input if it is an HttpHandler of any class,
65
65
  * or instantiates a new instance of this handler.
66
66
  */
67
- static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): HttpHandler<any> | NodeHttp2Handler;
67
+ static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): NodeHttp2Handler | HttpHandler<any>;
68
68
  constructor(options?: NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>);
69
69
  destroy(): void;
70
70
  handle(request: HttpRequest, { abortSignal, requestTimeout, isEventStream }?: HttpHandlerOptions & EventStreamSignal): Promise<{
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.9.13",
3
+ "version": "4.11.3",
4
4
  "description": "Provides a way to make requests",
5
5
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler",
6
6
  "license": "Apache-2.0",
@@ -28,9 +28,6 @@
28
28
  ]
29
29
  }
30
30
  },
31
- "publishConfig": {
32
- "directory": ".release/package"
33
- },
34
31
  "scripts": {
35
32
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
36
33
  "build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
@@ -38,25 +35,20 @@
38
35
  "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
39
36
  "clean": "premove dist-cjs dist-es dist-types",
40
37
  "extract:docs": "api-extractor run --local",
41
- "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
42
38
  "test": "yarn g:vitest run",
43
39
  "test:watch": "yarn g:vitest watch"
44
40
  },
45
41
  "dependencies": {
46
- "@smithy/core": "^3.31.1",
47
- "@smithy/types": "^4.16.1",
42
+ "@smithy/core": "^3.33.3",
43
+ "@smithy/types": "^4.17.2",
48
44
  "tslib": "^2.6.2"
49
45
  },
50
46
  "devDependencies": {
51
- "@smithy/abort-controller": "^4.3.3",
47
+ "@smithy/abort-controller": "^4.4.2",
52
48
  "@types/node": "^18.11.9",
53
49
  "concurrently": "7.0.0",
54
50
  "downlevel-dts": "0.10.1",
55
- "premove": "4.0.0",
56
- "typedoc": "0.23.23"
57
- },
58
- "typedoc": {
59
- "entryPoint": "src/index.ts"
51
+ "premove": "4.0.0"
60
52
  },
61
53
  "engines": {
62
54
  "node": ">=18.0.0"
@@ -1,11 +1,13 @@
1
- const { fromUtf8, fromHex, toHex, toUint8Array, isArrayBuffer } = require("@smithy/core/serde");
1
+ const { hasOwn, fromUtf8, fromHex, toHex, toUint8Array, isArrayBuffer } = require("@smithy/core/serde");
2
2
  const { normalizeProvider } = require("@smithy/core/client");
3
3
  const { escapeUri, HttpRequest } = require("@smithy/core/protocols");
4
4
 
5
5
  class HeaderFormatter {
6
6
  format(headers) {
7
7
  const chunks = [];
8
- for (const headerName of Object.keys(headers)) {
8
+ for (const headerName in headers) {
9
+ if (!hasOwn(headers, headerName))
10
+ continue;
9
11
  const bytes = fromUtf8(headerName);
10
12
  chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
11
13
  }
@@ -20,27 +22,27 @@ class HeaderFormatter {
20
22
  formatHeaderValue(header) {
21
23
  switch (header.type) {
22
24
  case "boolean":
23
- return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
25
+ return Uint8Array.from([header.value ? 0 : 1]);
24
26
  case "byte":
25
- return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
27
+ return Uint8Array.from([2, header.value]);
26
28
  case "short":
27
29
  const shortView = new DataView(new ArrayBuffer(3));
28
- shortView.setUint8(0, HEADER_VALUE_TYPE.short);
30
+ shortView.setUint8(0, 3);
29
31
  shortView.setInt16(1, header.value, false);
30
32
  return new Uint8Array(shortView.buffer);
31
33
  case "integer":
32
34
  const intView = new DataView(new ArrayBuffer(5));
33
- intView.setUint8(0, HEADER_VALUE_TYPE.integer);
35
+ intView.setUint8(0, 4);
34
36
  intView.setInt32(1, header.value, false);
35
37
  return new Uint8Array(intView.buffer);
36
38
  case "long":
37
39
  const longBytes = new Uint8Array(9);
38
- longBytes[0] = HEADER_VALUE_TYPE.long;
40
+ longBytes[0] = 5;
39
41
  longBytes.set(header.value.bytes, 1);
40
42
  return longBytes;
41
43
  case "binary":
42
44
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
43
- binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
45
+ binView.setUint8(0, 6);
44
46
  binView.setUint16(1, header.value.byteLength, false);
45
47
  const binBytes = new Uint8Array(binView.buffer);
46
48
  binBytes.set(header.value, 3);
@@ -48,14 +50,14 @@ class HeaderFormatter {
48
50
  case "string":
49
51
  const utf8Bytes = fromUtf8(header.value);
50
52
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
51
- strView.setUint8(0, HEADER_VALUE_TYPE.string);
53
+ strView.setUint8(0, 7);
52
54
  strView.setUint16(1, utf8Bytes.byteLength, false);
53
55
  const strBytes = new Uint8Array(strView.buffer);
54
56
  strBytes.set(utf8Bytes, 3);
55
57
  return strBytes;
56
58
  case "timestamp":
57
59
  const tsBytes = new Uint8Array(9);
58
- tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
60
+ tsBytes[0] = 8;
59
61
  tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
60
62
  return tsBytes;
61
63
  case "uuid":
@@ -63,7 +65,7 @@ class HeaderFormatter {
63
65
  throw new Error(`Invalid UUID received: ${header.value}`);
64
66
  }
65
67
  const uuidBytes = new Uint8Array(17);
66
- uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
68
+ uuidBytes[0] = 9;
67
69
  uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
68
70
  return uuidBytes;
69
71
  }
@@ -174,7 +176,9 @@ const MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;
174
176
  const getCanonicalQuery = ({ query = {} }) => {
175
177
  const keys = [];
176
178
  const serialized = {};
177
- for (const key of Object.keys(query)) {
179
+ for (const key in query) {
180
+ if (!hasOwn(query, key))
181
+ continue;
178
182
  if (key.toLowerCase() === SIGNATURE_HEADER) {
179
183
  continue;
180
184
  }
@@ -341,7 +345,9 @@ const getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) =>
341
345
  };
342
346
 
343
347
  const getPayloadHash = async ({ headers, body }, hashConstructor) => {
344
- for (const headerName of Object.keys(headers)) {
348
+ for (const headerName in headers) {
349
+ if (!hasOwn(headers, headerName))
350
+ continue;
345
351
  if (headerName.toLowerCase() === SHA256_HEADER) {
346
352
  return headers[headerName];
347
353
  }
@@ -359,7 +365,9 @@ const getPayloadHash = async ({ headers, body }, hashConstructor) => {
359
365
 
360
366
  const hasHeader = (soughtHeader, headers) => {
361
367
  soughtHeader = soughtHeader.toLowerCase();
362
- for (const headerName of Object.keys(headers)) {
368
+ for (const headerName in headers) {
369
+ if (!hasOwn(headers, headerName))
370
+ continue;
363
371
  if (soughtHeader === headerName.toLowerCase()) {
364
372
  return true;
365
373
  }
@@ -369,7 +377,9 @@ const hasHeader = (soughtHeader, headers) => {
369
377
 
370
378
  const moveHeadersToQuery = (request, options = {}) => {
371
379
  const { headers, query = {} } = HttpRequest.clone(request);
372
- for (const name of Object.keys(headers)) {
380
+ for (const name in headers) {
381
+ if (!hasOwn(headers, name))
382
+ continue;
373
383
  const lname = name.toLowerCase();
374
384
  if ((lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname)) ||
375
385
  options.hoistableHeaders?.has(lname)) {
@@ -386,7 +396,9 @@ const moveHeadersToQuery = (request, options = {}) => {
386
396
 
387
397
  const prepareRequest = (request) => {
388
398
  request = HttpRequest.clone(request);
389
- for (const headerName of Object.keys(request.headers)) {
399
+ for (const headerName in request.headers) {
400
+ if (!hasOwn(request.headers, headerName))
401
+ continue;
390
402
  if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
391
403
  delete request.headers[headerName];
392
404
  }
@@ -1,8 +1,11 @@
1
+ import { hasOwn } from "@smithy/core/serde";
1
2
  import { fromHex, fromUtf8, toHex } from "@smithy/core/serde";
2
3
  export class HeaderFormatter {
3
4
  format(headers) {
4
5
  const chunks = [];
5
- for (const headerName of Object.keys(headers)) {
6
+ for (const headerName in headers) {
7
+ if (!hasOwn(headers, headerName))
8
+ continue;
6
9
  const bytes = fromUtf8(headerName);
7
10
  chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
8
11
  }
@@ -17,27 +20,27 @@ export class HeaderFormatter {
17
20
  formatHeaderValue(header) {
18
21
  switch (header.type) {
19
22
  case "boolean":
20
- return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
23
+ return Uint8Array.from([header.value ? 0 : 1]);
21
24
  case "byte":
22
- return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
25
+ return Uint8Array.from([2, header.value]);
23
26
  case "short":
24
27
  const shortView = new DataView(new ArrayBuffer(3));
25
- shortView.setUint8(0, HEADER_VALUE_TYPE.short);
28
+ shortView.setUint8(0, 3);
26
29
  shortView.setInt16(1, header.value, false);
27
30
  return new Uint8Array(shortView.buffer);
28
31
  case "integer":
29
32
  const intView = new DataView(new ArrayBuffer(5));
30
- intView.setUint8(0, HEADER_VALUE_TYPE.integer);
33
+ intView.setUint8(0, 4);
31
34
  intView.setInt32(1, header.value, false);
32
35
  return new Uint8Array(intView.buffer);
33
36
  case "long":
34
37
  const longBytes = new Uint8Array(9);
35
- longBytes[0] = HEADER_VALUE_TYPE.long;
38
+ longBytes[0] = 5;
36
39
  longBytes.set(header.value.bytes, 1);
37
40
  return longBytes;
38
41
  case "binary":
39
42
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
40
- binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
43
+ binView.setUint8(0, 6);
41
44
  binView.setUint16(1, header.value.byteLength, false);
42
45
  const binBytes = new Uint8Array(binView.buffer);
43
46
  binBytes.set(header.value, 3);
@@ -45,14 +48,14 @@ export class HeaderFormatter {
45
48
  case "string":
46
49
  const utf8Bytes = fromUtf8(header.value);
47
50
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
48
- strView.setUint8(0, HEADER_VALUE_TYPE.string);
51
+ strView.setUint8(0, 7);
49
52
  strView.setUint16(1, utf8Bytes.byteLength, false);
50
53
  const strBytes = new Uint8Array(strView.buffer);
51
54
  strBytes.set(utf8Bytes, 3);
52
55
  return strBytes;
53
56
  case "timestamp":
54
57
  const tsBytes = new Uint8Array(9);
55
- tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
58
+ tsBytes[0] = 8;
56
59
  tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
57
60
  return tsBytes;
58
61
  case "uuid":
@@ -60,7 +63,7 @@ export class HeaderFormatter {
60
63
  throw new Error(`Invalid UUID received: ${header.value}`);
61
64
  }
62
65
  const uuidBytes = new Uint8Array(17);
63
- uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
66
+ uuidBytes[0] = 9;
64
67
  uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
65
68
  return uuidBytes;
66
69
  }