@cdklabs/cdk-ssm-documents 0.0.74 → 0.0.76

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 (628) hide show
  1. package/.jsii +13 -13
  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/README.md +7 -0
  155. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +151 -19
  156. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +2 -0
  157. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ReplaceImageInstanceTypeSpecificationCommand.js +4 -0
  158. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +1 -0
  159. package/node_modules/@aws-sdk/client-ec2/dist-es/index.js +1 -1
  160. package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +11 -0
  161. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +123 -18
  162. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +7 -0
  163. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +3 -2
  164. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateApplicationStatusCheckCommand.d.ts +5 -5
  165. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateApplicationStatusCheckCommand.d.ts +6 -6
  166. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -1
  167. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +17 -3
  168. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +6 -0
  169. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  170. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  171. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -2
  172. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  173. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  174. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeApplicationStatusChecksCommand.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeApplicationStatusCommand.d.ts +1 -1
  176. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFleetsCommand.d.ts +11 -4
  177. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFlowLogsCommand.d.ts +1 -2
  178. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImagesCommand.d.ts +12 -0
  179. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  180. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
  181. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -2
  182. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVpcsCommand.d.ts +1 -1
  183. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
  184. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
  185. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  186. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableFastLaunchCommand.d.ts +1 -2
  187. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  188. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  189. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  190. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +108 -0
  191. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +1 -1
  192. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  193. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  194. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  195. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  196. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +1 -0
  197. package/node_modules/@aws-sdk/client-ec2/dist-types/index.d.ts +1 -1
  198. package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +27 -0
  199. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +2 -2
  200. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +87 -67
  201. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +53 -30
  202. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +69 -118
  203. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +167 -241
  204. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +243 -111
  205. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +108 -190
  206. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +253 -304
  207. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +301 -3
  208. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.browser.d.ts +40 -40
  209. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.d.ts +36 -36
  210. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.native.d.ts +38 -38
  211. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.shared.d.ts +2 -2
  212. package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +9 -0
  213. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +17 -0
  214. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +6 -0
  215. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateNetworkInterfacePermissionCommand.d.ts +4 -2
  216. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  217. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +2 -1
  218. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFlowLogsCommand.d.ts +1 -2
  219. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
  220. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +4 -2
  221. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
  222. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +1 -2
  223. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportKeyPairCommand.d.ts +1 -1
  224. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +1 -1
  225. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceImageInstanceTypeSpecificationCommand.d.ts +42 -0
  226. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +1 -1
  227. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +1 -1
  228. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
  229. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  230. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +1 -0
  231. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/index.d.ts +1 -1
  232. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +15 -0
  233. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +12 -13
  234. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +12 -9
  235. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +15 -17
  236. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +26 -55
  237. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +49 -23
  238. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +22 -36
  239. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +52 -64
  240. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +63 -1
  241. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  242. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  243. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  244. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  245. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  246. package/node_modules/@aws-sdk/client-ec2/package.json +12 -12
  247. package/node_modules/@aws-sdk/client-iam/README.md +28 -0
  248. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +285 -27
  249. package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +8 -0
  250. package/node_modules/@aws-sdk/client-iam/dist-es/commands/AcquireRoleCommand.js +4 -0
  251. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccountPropertiesCommand.js +4 -0
  252. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetRoleTemplateVersionCommand.js +4 -0
  253. package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutAccountPropertiesCommand.js +4 -0
  254. package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +4 -0
  255. package/node_modules/@aws-sdk/client-iam/dist-es/index.js +1 -1
  256. package/node_modules/@aws-sdk/client-iam/dist-es/models/enums.js +14 -3
  257. package/node_modules/@aws-sdk/client-iam/dist-es/models/errors.js +52 -16
  258. package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +176 -8
  259. package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +29 -0
  260. package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +6 -2
  261. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AcquireRoleCommand.d.ts +154 -0
  262. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateInstanceProfileCommand.d.ts +4 -0
  263. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateRoleCommand.d.ts +4 -0
  264. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +4 -0
  265. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +4 -0
  266. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountPropertiesCommand.d.ts +84 -0
  267. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetInstanceProfileCommand.d.ts +4 -0
  268. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleCommand.d.ts +4 -0
  269. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleTemplateVersionCommand.d.ts +135 -0
  270. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesCommand.d.ts +4 -0
  271. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +4 -0
  272. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRolesCommand.d.ts +4 -0
  273. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutAccountPropertiesCommand.d.ts +88 -0
  274. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
  275. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
  276. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagUserCommand.d.ts +1 -1
  277. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -1
  278. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
  279. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  280. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagPolicyCommand.d.ts +1 -1
  281. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagRoleCommand.d.ts +1 -1
  282. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -1
  283. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -1
  284. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagUserCommand.d.ts +1 -1
  285. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
  286. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  287. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  288. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +4 -0
  289. package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +4 -0
  290. package/node_modules/@aws-sdk/client-iam/dist-types/index.d.ts +1 -1
  291. package/node_modules/@aws-sdk/client-iam/dist-types/models/enums.d.ts +38 -11
  292. package/node_modules/@aws-sdk/client-iam/dist-types/models/errors.d.ts +58 -18
  293. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +508 -511
  294. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +358 -0
  295. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.browser.d.ts +40 -40
  296. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +36 -36
  297. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.native.d.ts +38 -38
  298. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.shared.d.ts +2 -2
  299. package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +21 -0
  300. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +66 -0
  301. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +21 -0
  302. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AcquireRoleCommand.d.ts +38 -0
  303. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccountPropertiesCommand.d.ts +39 -0
  304. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetRoleTemplateVersionCommand.d.ts +39 -0
  305. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutAccountPropertiesCommand.d.ts +39 -0
  306. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
  307. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
  308. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
  309. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
  310. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
  311. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  312. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
  313. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
  314. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
  315. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
  316. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
  317. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
  318. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  319. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  320. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +4 -0
  321. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/index.d.ts +1 -1
  322. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/enums.d.ts +18 -5
  323. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +23 -8
  324. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +100 -89
  325. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +64 -0
  326. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  327. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  328. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  329. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  330. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  331. package/node_modules/@aws-sdk/client-iam/package.json +11 -11
  332. package/node_modules/@aws-sdk/client-lambda/README.md +21 -0
  333. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +67 -1
  334. package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +6 -0
  335. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
  336. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetResourcePolicyCommand.js +4 -0
  337. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutResourcePolicyCommand.js +4 -0
  338. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/index.js +3 -0
  339. package/node_modules/@aws-sdk/client-lambda/dist-es/index.js +1 -1
  340. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +43 -0
  341. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +21 -0
  342. package/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts +5 -2
  343. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts +1 -1
  344. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
  345. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  346. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetResourcePolicyCommand.d.ts +84 -0
  347. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutResourcePolicyCommand.d.ts +98 -0
  348. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  349. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/index.d.ts +3 -0
  350. package/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts +1 -1
  351. package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +1 -1
  352. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +76 -1
  353. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.browser.d.ts +41 -41
  354. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.d.ts +36 -36
  355. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.native.d.ts +39 -39
  356. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.shared.d.ts +2 -2
  357. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +8 -0
  358. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +51 -0
  359. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts +18 -0
  360. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
  361. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
  362. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
  363. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/index.d.ts +3 -0
  364. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/index.d.ts +1 -1
  365. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +20 -0
  366. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.browser.d.ts +57 -59
  367. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
  368. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.native.d.ts +61 -63
  369. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  370. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  371. package/node_modules/@aws-sdk/client-lambda/package.json +11 -11
  372. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
  373. package/node_modules/@aws-sdk/client-s3/dist-es/index.js +1 -1
  374. package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +1 -1
  375. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +58 -58
  376. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +61 -61
  377. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +57 -57
  378. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -2
  379. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +1 -1
  380. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -99
  381. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +103 -103
  382. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +101 -103
  383. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  384. package/node_modules/@aws-sdk/client-s3/package.json +15 -15
  385. package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +1 -1
  386. package/node_modules/@aws-sdk/client-sns/dist-es/index.js +1 -1
  387. package/node_modules/@aws-sdk/client-sns/dist-types/index.d.ts +1 -1
  388. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.browser.d.ts +40 -40
  389. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.d.ts +36 -36
  390. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.native.d.ts +38 -38
  391. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.shared.d.ts +2 -2
  392. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/index.d.ts +1 -1
  393. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  394. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  395. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  396. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  397. package/node_modules/@aws-sdk/client-sns/package.json +10 -10
  398. package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
  399. package/node_modules/@aws-sdk/client-sqs/dist-es/index.js +1 -1
  400. package/node_modules/@aws-sdk/client-sqs/dist-types/index.d.ts +1 -1
  401. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.browser.d.ts +39 -39
  402. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.d.ts +38 -38
  403. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.native.d.ts +38 -38
  404. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.shared.d.ts +2 -2
  405. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/index.d.ts +1 -1
  406. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.browser.d.ts +55 -57
  407. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  408. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.native.d.ts +59 -61
  409. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  410. package/node_modules/@aws-sdk/client-sqs/package.json +12 -12
  411. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
  412. package/node_modules/@aws-sdk/client-ssm/dist-es/index.js +1 -1
  413. package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +1 -1
  414. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +40 -40
  415. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +36 -36
  416. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +38 -38
  417. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts +2 -2
  418. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts +1 -1
  419. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  420. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  421. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  422. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  423. package/node_modules/@aws-sdk/client-ssm/package.json +10 -10
  424. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
  425. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
  426. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
  427. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
  428. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
  429. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -4
  430. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -4
  431. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -4
  432. package/node_modules/@aws-sdk/core/package.json +6 -6
  433. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  434. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
  435. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  436. package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
  437. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  438. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  439. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  440. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  441. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +6 -6
  442. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +7 -7
  443. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +5 -5
  444. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  445. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  446. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  447. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  448. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  449. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -42
  450. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
  451. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
  452. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
  453. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
  454. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
  455. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
  456. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
  457. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
  458. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
  459. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
  460. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
  461. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
  462. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
  463. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
  464. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
  465. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
  466. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
  467. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
  468. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
  469. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +64 -66
  470. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
  471. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +68 -70
  472. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
  473. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +67 -69
  474. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
  475. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +71 -73
  476. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
  477. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +64 -66
  478. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
  479. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +68 -70
  480. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
  481. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +64 -66
  482. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
  483. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +68 -70
  484. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
  485. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +68 -70
  486. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
  487. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +72 -74
  488. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
  489. package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
  490. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  491. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -4
  492. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
  493. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  494. package/node_modules/@aws-sdk/types/package.json +3 -3
  495. package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
  496. package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
  497. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +127 -41
  498. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
  499. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +3 -1
  500. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +3 -1
  501. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +33 -24
  502. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +33 -24
  503. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +33 -15
  504. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +4 -1
  505. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +4 -1
  506. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +0 -10
  507. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -1
  508. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +4 -1
  509. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -1
  510. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +7 -0
  511. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
  512. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -2
  513. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
  514. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
  515. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +9 -0
  516. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +7 -0
  517. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +44 -15
  518. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +22 -4
  519. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +5 -0
  520. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
  521. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
  522. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
  523. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
  524. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
  525. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +11 -4
  526. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +23 -20
  527. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
  528. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +5 -0
  529. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -4
  530. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -4
  531. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
  532. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
  533. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
  534. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
  535. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
  536. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
  537. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
  538. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  539. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  540. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  541. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
  542. package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
  543. package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
  544. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
  545. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
  546. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
  547. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  548. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  549. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  550. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  551. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  552. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  553. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +14 -2
  554. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
  555. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  556. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  557. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
  558. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  559. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
  560. package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
  561. package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +4 -0
  562. package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +1 -0
  563. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
  564. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
  565. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  566. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  567. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  568. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  569. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  570. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  571. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +14 -2
  572. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
  573. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  574. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
  575. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
  576. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  577. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
  578. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
  579. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +4 -0
  580. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +1 -0
  581. package/node_modules/@smithy/core/package.json +3 -11
  582. package/node_modules/@smithy/credential-provider-imds/package.json +4 -12
  583. package/node_modules/@smithy/fetch-http-handler/package.json +5 -13
  584. package/node_modules/@smithy/middleware-compression/package.json +5 -10
  585. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +26 -8
  586. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
  587. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -2
  588. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
  589. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +8 -1
  590. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  591. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
  592. package/node_modules/@smithy/node-http-handler/package.json +5 -13
  593. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +28 -16
  594. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +13 -10
  595. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +4 -1
  596. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +4 -1
  597. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +10 -3
  598. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +4 -1
  599. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +4 -1
  600. package/node_modules/@smithy/signature-v4/package.json +4 -12
  601. package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
  602. package/node_modules/@smithy/types/package.json +29 -39
  603. package/node_modules/fflate/CHANGELOG.md +22 -0
  604. package/node_modules/fflate/LICENSE +1 -1
  605. package/node_modules/fflate/README.md +14 -17
  606. package/node_modules/fflate/esm/browser.d.ts +160 -28
  607. package/node_modules/fflate/esm/browser.js +182 -95
  608. package/node_modules/fflate/esm/index.d.mts +160 -28
  609. package/node_modules/fflate/esm/index.mjs +187 -96
  610. package/node_modules/fflate/lib/browser.cjs +206 -118
  611. package/node_modules/fflate/lib/browser.d.cts +160 -28
  612. package/node_modules/fflate/lib/index.cjs +206 -118
  613. package/node_modules/fflate/lib/index.d.ts +160 -28
  614. package/node_modules/fflate/lib/node-worker.cjs +5 -2
  615. package/node_modules/fflate/lib/node.cjs +211 -119
  616. package/node_modules/fflate/lib/node.d.cts +160 -28
  617. package/node_modules/fflate/lib/worker.cjs +0 -1
  618. package/node_modules/fflate/package.json +12 -12
  619. package/node_modules/fflate/umd/index.js +1 -1
  620. package/node_modules/js-yaml/dist/js-yaml.js +11 -3
  621. package/node_modules/js-yaml/dist/js-yaml.js.map +1 -1
  622. package/node_modules/js-yaml/dist/js-yaml.min.js +1 -1
  623. package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -1
  624. package/node_modules/js-yaml/dist/js-yaml.mjs +11 -3
  625. package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
  626. package/node_modules/js-yaml/lib/loader.js +16 -3
  627. package/node_modules/js-yaml/package.json +1 -1
  628. package/package.json +11 -11
@@ -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,
@@ -596,9 +608,8 @@ class NodeHttp2ConnectionManager {
596
608
  session.on("error", ensureDestroyed);
597
609
  session.on("frameError", ensureDestroyed);
598
610
  session.on("close", ensureDestroyed);
599
- if (connectionConfiguration.requestTimeout) {
600
- session.setTimeout(connectionConfiguration.requestTimeout, ensureDestroyed);
601
- }
611
+ const timeout = connectionConfiguration.requestTimeout ?? 300_000;
612
+ session.setTimeout(timeout, ensureDestroyed);
602
613
  ref.retain();
603
614
  return ref;
604
615
  }
@@ -805,6 +816,9 @@ class NodeHttp2Handler {
805
816
  resolve({ response: httpResponse });
806
817
  if (useIsolatedSession) {
807
818
  session.close();
819
+ clientHttp2Stream.on("end", () => {
820
+ ref.destroy();
821
+ });
808
822
  }
809
823
  });
810
824
  clientHttp2Stream.on("close", () => {
@@ -815,7 +829,11 @@ class NodeHttp2Handler {
815
829
  this.connectionManager.release(requestContext, ref);
816
830
  }
817
831
  if (!fulfilled) {
818
- rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response"));
832
+ const error = new Error("Unexpected error: http2 request did not get a response");
833
+ if (session.destroyed) {
834
+ error.name = "TimeoutError";
835
+ }
836
+ rejectWithDestroy(error);
819
837
  }
820
838
  });
821
839
  writeRequestBodyPromise = writeRequestBody(clientHttp2Stream, request, effectiveRequestTimeout);
@@ -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,9 +64,8 @@ export class NodeHttp2ConnectionManager {
64
64
  session.on("error", ensureDestroyed);
65
65
  session.on("frameError", ensureDestroyed);
66
66
  session.on("close", ensureDestroyed);
67
- if (connectionConfiguration.requestTimeout) {
68
- session.setTimeout(connectionConfiguration.requestTimeout, ensureDestroyed);
69
- }
67
+ const timeout = connectionConfiguration.requestTimeout ?? 300_000;
68
+ session.setTimeout(timeout, ensureDestroyed);
70
69
  ref.retain();
71
70
  return ref;
72
71
  }
@@ -142,6 +142,9 @@ export class NodeHttp2Handler {
142
142
  resolve({ response: httpResponse });
143
143
  if (useIsolatedSession) {
144
144
  session.close();
145
+ clientHttp2Stream.on("end", () => {
146
+ ref.destroy();
147
+ });
145
148
  }
146
149
  });
147
150
  clientHttp2Stream.on("close", () => {
@@ -152,7 +155,11 @@ export class NodeHttp2Handler {
152
155
  this.connectionManager.release(requestContext, ref);
153
156
  }
154
157
  if (!fulfilled) {
155
- rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response"));
158
+ const error = new Error("Unexpected error: http2 request did not get a response");
159
+ if (session.destroyed) {
160
+ error.name = "TimeoutError";
161
+ }
162
+ rejectWithDestroy(error);
156
163
  }
157
164
  });
158
165
  writeRequestBodyPromise = writeRequestBody(clientHttp2Stream, request, effectiveRequestTimeout);
@@ -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.12.0",
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
  }