@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
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { SerdeContext } from "@smithy/core/protocols";
2
3
  import { NormalizedSchema } from "@smithy/core/schema";
3
4
  import { NumericValue, _parseEpochTimestamp, fromBase64 } from "@smithy/core/serde";
@@ -59,6 +60,8 @@ export class CborShapeDeserializer extends SerdeContext {
59
60
  if (ns.isMapSchema()) {
60
61
  const targetSchema = ns.getValueSchema();
61
62
  for (const key in value) {
63
+ if (!hasOwn(value, key))
64
+ continue;
62
65
  const itemValue = this.readValue(targetSchema, value[key]);
63
66
  newObject[key] = itemValue;
64
67
  }
@@ -69,6 +72,8 @@ export class CborShapeDeserializer extends SerdeContext {
69
72
  if (isUnion) {
70
73
  keys = new Set();
71
74
  for (const k in value) {
75
+ if (!hasOwn(value, k))
76
+ continue;
72
77
  if (k !== "__type") {
73
78
  keys.add(k);
74
79
  }
@@ -85,6 +90,8 @@ export class CborShapeDeserializer extends SerdeContext {
85
90
  if (isUnion && keys?.size === 1) {
86
91
  let newObjectEmpty = true;
87
92
  for (const _ in newObject) {
93
+ if (!hasOwn(newObject, _))
94
+ continue;
88
95
  newObjectEmpty = false;
89
96
  break;
90
97
  }
@@ -95,6 +102,8 @@ export class CborShapeDeserializer extends SerdeContext {
95
102
  }
96
103
  else if (typeof value.__type === "string") {
97
104
  for (const k in value) {
105
+ if (!hasOwn(value, k))
106
+ continue;
98
107
  if (!(k in newObject)) {
99
108
  newObject[k] = value[k];
100
109
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { SerdeContext } from "@smithy/core/protocols";
2
3
  import { NormalizedSchema } from "@smithy/core/schema";
3
4
  import { fromBase64, generateIdempotencyToken } from "@smithy/core/serde";
@@ -49,6 +50,8 @@ export class CborShapeSerializer extends SerdeContext {
49
50
  if (ns.isMapSchema()) {
50
51
  const sparse = !!ns.getMergedTraits().sparse;
51
52
  for (const key in sourceObject) {
53
+ if (!hasOwn(sourceObject, key))
54
+ continue;
52
55
  const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
53
56
  if (value != null || sparse) {
54
57
  newObject[key] = value;
@@ -69,6 +72,8 @@ export class CborShapeSerializer extends SerdeContext {
69
72
  }
70
73
  else if (typeof sourceObject.__type === "string") {
71
74
  for (const k in sourceObject) {
75
+ if (!hasOwn(sourceObject, k))
76
+ continue;
72
77
  if (!(k in newObject)) {
73
78
  newObject[k] = this.serialize(15, sourceObject[k]);
74
79
  }
@@ -85,6 +90,8 @@ export class CborShapeSerializer extends SerdeContext {
85
90
  return newArray;
86
91
  }
87
92
  for (const key in sourceObject) {
93
+ if (!hasOwn(sourceObject, key))
94
+ continue;
88
95
  newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
89
96
  }
90
97
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { SerdeContext } from "@smithy/core/protocols";
2
3
  import { NormalizedSchema } from "@smithy/core/schema";
3
4
  import { NumericValue, _parseEpochTimestamp, nv } from "@smithy/core/serde";
@@ -120,6 +121,8 @@ function readStruct(ns, count, startPos) {
120
121
  if (isUnion) {
121
122
  let resultEmpty = true;
122
123
  for (const _ in result) {
124
+ if (!hasOwn(result, _))
125
+ continue;
123
126
  resultEmpty = false;
124
127
  break;
125
128
  }
@@ -159,23 +162,39 @@ function readTag(ns) {
159
162
  if (tagNumber === 4) {
160
163
  const docSchema = NormalizedSchema.of(15);
161
164
  const pair = readValue(docSchema);
162
- const [exponent, mantissa] = pair;
165
+ const [rawExponent, mantissa] = pair;
163
166
  const normalizer = mantissa < 0 ? -1 : 1;
164
- const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + String(BigInt(normalizer) * BigInt(mantissa));
165
- let numericString;
167
+ const absMantissa = BigInt(normalizer) * BigInt(mantissa);
168
+ const mantissaDigits = String(absMantissa);
166
169
  const sign = mantissa < 0 ? "-" : "";
167
- numericString =
168
- exponent === 0
169
- ? mantissaStr
170
- : mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
171
- numericString = numericString.replace(/^0+/g, "");
172
- if (numericString === "") {
173
- numericString = "0";
174
- }
175
- if (numericString[0] === ".") {
176
- numericString = "0" + numericString;
177
- }
178
- numericString = sign + numericString;
170
+ let numericString;
171
+ const isSmallExponent = typeof rawExponent === "number" && Math.abs(rawExponent) <= 2 ** 28;
172
+ if (isSmallExponent) {
173
+ const exponent = rawExponent;
174
+ const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + mantissaDigits;
175
+ numericString =
176
+ exponent === 0
177
+ ? mantissaStr
178
+ : mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
179
+ numericString = numericString.replace(/^0+/g, "");
180
+ if (numericString === "") {
181
+ numericString = "0";
182
+ }
183
+ if (numericString[0] === ".") {
184
+ numericString = "0" + numericString;
185
+ }
186
+ numericString = sign + numericString;
187
+ }
188
+ else {
189
+ const bigExponent = BigInt(rawExponent);
190
+ if (mantissaDigits.length === 1) {
191
+ numericString = sign + mantissaDigits + "e" + String(bigExponent);
192
+ }
193
+ else {
194
+ const adjustedExp = bigExponent + BigInt(mantissaDigits.length - 1);
195
+ numericString = sign + mantissaDigits[0] + "." + mantissaDigits.slice(1) + "e" + String(adjustedExp);
196
+ }
197
+ }
179
198
  return nv(numericString);
180
199
  }
181
200
  const docSchema = NormalizedSchema.of(15);
@@ -272,6 +291,8 @@ function readMapIndefinite(ns) {
272
291
  if (isUnion) {
273
292
  let resultEmpty = true;
274
293
  for (const _ in result) {
294
+ if (!hasOwn(result, _))
295
+ continue;
275
296
  resultEmpty = false;
276
297
  break;
277
298
  }
@@ -576,6 +597,8 @@ function transformObject(ns, value) {
576
597
  if (ns.isMapSchema()) {
577
598
  const targetSchema = ns.getValueSchema();
578
599
  for (const key in value) {
600
+ if (!hasOwn(value, key))
601
+ continue;
579
602
  newObject[key] = transformObject(targetSchema, value[key]);
580
603
  }
581
604
  }
@@ -585,6 +608,8 @@ function transformObject(ns, value) {
585
608
  if (isUnion) {
586
609
  keys = new Set();
587
610
  for (const k in value) {
611
+ if (!hasOwn(value, k))
612
+ continue;
588
613
  if (k !== "__type") {
589
614
  keys.add(k);
590
615
  }
@@ -601,6 +626,8 @@ function transformObject(ns, value) {
601
626
  if (isUnion && keys?.size === 1) {
602
627
  let newObjectEmpty = true;
603
628
  for (const _ in newObject) {
629
+ if (!hasOwn(newObject, _))
630
+ continue;
604
631
  newObjectEmpty = false;
605
632
  break;
606
633
  }
@@ -611,6 +638,8 @@ function transformObject(ns, value) {
611
638
  }
612
639
  else if (typeof value.__type === "string") {
613
640
  for (const k in value) {
641
+ if (!hasOwn(value, k))
642
+ continue;
614
643
  if (!(k in newObject)) {
615
644
  newObject[k] = value[k];
616
645
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { SerdeContext } from "@smithy/core/protocols";
2
3
  import { NormalizedSchema } from "@smithy/core/schema";
3
4
  import { NumericValue, fromBase64, generateIdempotencyToken } from "@smithy/core/serde";
@@ -253,6 +254,8 @@ function writeStruct(ns, value, serdeContext) {
253
254
  }
254
255
  if (typeof value.__type === "string") {
255
256
  for (const k in value) {
257
+ if (!hasOwn(value, k))
258
+ continue;
256
259
  if (!memberNames.includes(k)) {
257
260
  writeString(k);
258
261
  writeUntypedValue(value[k]);
@@ -318,6 +321,8 @@ function writeMap(ns, value, isDocument, serdeContext) {
318
321
  const valueSchema = ns.getValueSchema();
319
322
  const keys = [];
320
323
  for (const k in value) {
324
+ if (!hasOwn(value, k))
325
+ continue;
321
326
  const v = value[k];
322
327
  if (isDocument ? v !== undefined : v != null || sparse) {
323
328
  keys.push(k);
@@ -579,14 +584,27 @@ function writeTag(tagValue, innerValue) {
579
584
  writeUntypedValue(innerValue);
580
585
  }
581
586
  function writeNumericValue(nv) {
582
- const decimalIndex = nv.string.indexOf(".");
583
- const exponent = decimalIndex === -1 ? 0 : decimalIndex - nv.string.length + 1;
584
- const mantissa = BigInt(nv.string.replace(".", ""));
587
+ let str = nv.string;
588
+ let expOffset = BigInt(0);
589
+ const eIndex = str.search(/[eE]/);
590
+ if (eIndex !== -1) {
591
+ expOffset = BigInt(str.slice(eIndex + 1));
592
+ str = str.slice(0, eIndex);
593
+ }
594
+ const decimalIndex = str.indexOf(".");
595
+ const fractionDigits = decimalIndex === -1 ? 0 : str.length - decimalIndex - 1;
596
+ const exponent = expOffset - BigInt(fractionDigits);
597
+ const mantissa = BigInt(str.replace(".", ""));
585
598
  ensure(9);
586
599
  buf[cursor++] = 0b110_00100;
587
600
  encodeHeader(majorList, 2);
588
601
  ensure(9);
589
- writeInteger(exponent);
602
+ if (exponent >= -0x20000000000000n && exponent <= 0x1fffffffffffffn) {
603
+ writeInteger(Number(exponent));
604
+ }
605
+ else {
606
+ writeBigInt(exponent);
607
+ }
590
608
  writeBigInt(mantissa);
591
609
  }
592
610
  function writeTimestamp(date) {
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { HttpRequest as __HttpRequest, collectBody } from "@smithy/core/protocols";
2
3
  import { calculateBodyLength } from "@smithy/core/serde";
3
4
  import { cbor } from "./cbor";
@@ -51,6 +52,8 @@ export const loadSmithyRpcV2CborErrorCode = (output, data) => {
51
52
  }
52
53
  let codeKey;
53
54
  for (const key in data) {
55
+ if (!hasOwn(data, key))
56
+ continue;
54
57
  if (key.toLowerCase() === "code") {
55
58
  codeKey = key;
56
59
  break;
@@ -83,6 +86,8 @@ export const buildHttpRpcRequest = async (context, headers, path, resolvedHostna
83
86
  }
84
87
  if (endpoint.headers) {
85
88
  for (const name in endpoint.headers) {
89
+ if (!hasOwn(endpoint.headers, name))
90
+ continue;
86
91
  contents.headers[name] = endpoint.headers[name];
87
92
  }
88
93
  }
@@ -1,9 +1,12 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { AlgorithmId, } from "@smithy/types";
2
3
  export { AlgorithmId };
3
4
  const knownAlgorithms = Object.values(AlgorithmId);
4
5
  export const getChecksumConfiguration = (runtimeConfig) => {
5
6
  const checksumAlgorithms = [];
6
7
  for (const id in AlgorithmId) {
8
+ if (!hasOwn(AlgorithmId, id))
9
+ continue;
7
10
  const algorithmId = AlgorithmId[id];
8
11
  if (runtimeConfig[algorithmId] === undefined) {
9
12
  continue;
@@ -1,7 +1,10 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  export const getValueFromTextNode = (obj) => {
2
3
  const textNodeName = "#text";
3
4
  for (const key in obj) {
4
- if (Object.prototype.hasOwnProperty.call(obj, key) && obj[key][textNodeName] !== undefined) {
5
+ if (!hasOwn(obj, key))
6
+ continue;
7
+ if (obj[key][textNodeName] !== undefined) {
5
8
  obj[key] = obj[key][textNodeName];
6
9
  }
7
10
  else if (typeof obj[key] === "object" && obj[key] !== null) {
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  export function map(arg0, arg1, arg2) {
2
3
  let target;
3
4
  let filter;
@@ -17,7 +18,9 @@ export function map(arg0, arg1, arg2) {
17
18
  instructions = arg1;
18
19
  }
19
20
  }
20
- for (const key of Object.keys(instructions)) {
21
+ for (const key in instructions) {
22
+ if (!hasOwn(instructions, key))
23
+ continue;
21
24
  if (!Array.isArray(instructions[key])) {
22
25
  target[key] = instructions[key];
23
26
  continue;
@@ -36,6 +39,8 @@ export const convertMap = (target) => {
36
39
  export const take = (source, instructions) => {
37
40
  const out = {};
38
41
  for (const key in instructions) {
42
+ if (!hasOwn(instructions, key))
43
+ continue;
39
44
  applyInstruction(out, source, instructions, key);
40
45
  }
41
46
  return out;
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  export const _json = (obj) => {
2
3
  if (obj == null) {
3
4
  return {};
@@ -7,7 +8,9 @@ export const _json = (obj) => {
7
8
  }
8
9
  if (typeof obj === "object") {
9
10
  const target = {};
10
- for (const key of Object.keys(obj)) {
11
+ for (const key in obj) {
12
+ if (!hasOwn(obj, key))
13
+ continue;
11
14
  if (obj[key] == null) {
12
15
  continue;
13
16
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { debugId, toDebugString } from "./debug";
2
3
  import { EndpointError } from "./types";
3
4
  import { evaluateRules } from "./utils";
@@ -6,6 +7,8 @@ export const resolveEndpoint = (ruleSetObject, options) => {
6
7
  const { parameters, rules } = ruleSetObject;
7
8
  options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
8
9
  for (const paramKey in parameters) {
10
+ if (!hasOwn(parameters, paramKey))
11
+ continue;
9
12
  const parameter = parameters[paramKey];
10
13
  const endpointParam = endpointParams[paramKey];
11
14
  if (endpointParam == null && parameter.default != null) {
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { TypeRegistry } from "@smithy/core/schema";
2
3
  import { fromUtf8, toUtf8 } from "@smithy/core/serde";
3
4
  export class EventStreamSerde {
@@ -15,7 +16,7 @@ export class EventStreamSerde {
15
16
  this.defaultContentType = defaultContentType;
16
17
  this.compositeErrorRegistry = compositeErrorRegistry;
17
18
  }
18
- async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {
19
+ async serializeEventStream({ eventStream, requestSchema, initialRequest, initialMessageType, }) {
19
20
  const marshaller = this.marshaller;
20
21
  const eventStreamMember = requestSchema.getEventStreamMember();
21
22
  const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
@@ -26,7 +27,7 @@ export class EventStreamSerde {
26
27
  async *[Symbol.asyncIterator]() {
27
28
  if (initialRequest) {
28
29
  const headers = {
29
- ":event-type": { type: "string", value: "initial-request" },
30
+ ":event-type": { type: "string", value: initialMessageType ?? "initial-request" },
30
31
  ":message-type": { type: "string", value: "event" },
31
32
  ":content-type": { type: "string", value: defaultContentType },
32
33
  };
@@ -52,6 +53,8 @@ export class EventStreamSerde {
52
53
  }
53
54
  let unionMember = "";
54
55
  for (const key in event) {
56
+ if (!hasOwn(event, key))
57
+ continue;
55
58
  if (key !== "__type") {
56
59
  unionMember = key;
57
60
  break;
@@ -70,7 +73,7 @@ export class EventStreamSerde {
70
73
  };
71
74
  });
72
75
  }
73
- async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) {
76
+ async deserializeEventStream({ response, responseSchema, initialResponseContainer, initialMessageType, }) {
74
77
  const marshaller = this.marshaller;
75
78
  const eventStreamMember = responseSchema.getEventStreamMember();
76
79
  const unionSchema = responseSchema.getMemberSchema(eventStreamMember);
@@ -79,13 +82,15 @@ export class EventStreamSerde {
79
82
  const asyncIterable = marshaller.deserialize(response.body, async (event) => {
80
83
  let unionMember = "";
81
84
  for (const key in event) {
85
+ if (!hasOwn(event, key))
86
+ continue;
82
87
  if (key !== "__type") {
83
88
  unionMember = key;
84
89
  break;
85
90
  }
86
91
  }
87
92
  const body = event[unionMember].body;
88
- if (unionMember === "initial-response") {
93
+ if (unionMember === (initialMessageType ?? "initial-response")) {
89
94
  const dataObject = await this.deserializer.read(responseSchema, body);
90
95
  delete dataObject[eventStreamMember];
91
96
  return {
@@ -153,6 +158,8 @@ export class EventStreamSerde {
153
158
  throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
154
159
  }
155
160
  for (const key in firstEvent.value) {
161
+ if (!hasOwn(firstEvent.value, key))
162
+ continue;
156
163
  initialResponseContainer[key] = firstEvent.value[key];
157
164
  }
158
165
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { fromHex, toHex } from "@smithy/core/serde";
2
3
  import { Int64 } from "./Int64";
3
4
  export class HeaderMarshaller {
@@ -9,7 +10,9 @@ export class HeaderMarshaller {
9
10
  }
10
11
  format(headers) {
11
12
  const chunks = [];
12
- for (const headerName of Object.keys(headers)) {
13
+ for (const headerName in headers) {
14
+ if (!hasOwn(headers, headerName))
15
+ continue;
13
16
  const bytes = this.fromUtf8(headerName);
14
17
  chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
15
18
  }
@@ -24,27 +27,27 @@ export class HeaderMarshaller {
24
27
  formatHeaderValue(header) {
25
28
  switch (header.type) {
26
29
  case "boolean":
27
- return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
30
+ return Uint8Array.from([header.value ? 0 : 1]);
28
31
  case "byte":
29
- return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
32
+ return Uint8Array.from([2, header.value]);
30
33
  case "short":
31
34
  const shortView = new DataView(new ArrayBuffer(3));
32
- shortView.setUint8(0, HEADER_VALUE_TYPE.short);
35
+ shortView.setUint8(0, 3);
33
36
  shortView.setInt16(1, header.value, false);
34
37
  return new Uint8Array(shortView.buffer);
35
38
  case "integer":
36
39
  const intView = new DataView(new ArrayBuffer(5));
37
- intView.setUint8(0, HEADER_VALUE_TYPE.integer);
40
+ intView.setUint8(0, 4);
38
41
  intView.setInt32(1, header.value, false);
39
42
  return new Uint8Array(intView.buffer);
40
43
  case "long":
41
44
  const longBytes = new Uint8Array(9);
42
- longBytes[0] = HEADER_VALUE_TYPE.long;
45
+ longBytes[0] = 5;
43
46
  longBytes.set(header.value.bytes, 1);
44
47
  return longBytes;
45
48
  case "binary":
46
49
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
47
- binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
50
+ binView.setUint8(0, 6);
48
51
  binView.setUint16(1, header.value.byteLength, false);
49
52
  const binBytes = new Uint8Array(binView.buffer);
50
53
  binBytes.set(header.value, 3);
@@ -52,14 +55,14 @@ export class HeaderMarshaller {
52
55
  case "string":
53
56
  const utf8Bytes = this.fromUtf8(header.value);
54
57
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
55
- strView.setUint8(0, HEADER_VALUE_TYPE.string);
58
+ strView.setUint8(0, 7);
56
59
  strView.setUint16(1, utf8Bytes.byteLength, false);
57
60
  const strBytes = new Uint8Array(strView.buffer);
58
61
  strBytes.set(utf8Bytes, 3);
59
62
  return strBytes;
60
63
  case "timestamp":
61
64
  const tsBytes = new Uint8Array(9);
62
- tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
65
+ tsBytes[0] = 8;
63
66
  tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
64
67
  return tsBytes;
65
68
  case "uuid":
@@ -67,7 +70,7 @@ export class HeaderMarshaller {
67
70
  throw new Error(`Invalid UUID received: ${header.value}`);
68
71
  }
69
72
  const uuidBytes = new Uint8Array(17);
70
- uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
73
+ uuidBytes[0] = 9;
71
74
  uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
72
75
  return uuidBytes;
73
76
  }
@@ -80,46 +83,46 @@ export class HeaderMarshaller {
80
83
  const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
81
84
  position += nameLength;
82
85
  switch (headers.getUint8(position++)) {
83
- case HEADER_VALUE_TYPE.boolTrue:
86
+ case 0:
84
87
  out[name] = {
85
88
  type: BOOLEAN_TAG,
86
89
  value: true,
87
90
  };
88
91
  break;
89
- case HEADER_VALUE_TYPE.boolFalse:
92
+ case 1:
90
93
  out[name] = {
91
94
  type: BOOLEAN_TAG,
92
95
  value: false,
93
96
  };
94
97
  break;
95
- case HEADER_VALUE_TYPE.byte:
98
+ case 2:
96
99
  out[name] = {
97
100
  type: BYTE_TAG,
98
101
  value: headers.getInt8(position++),
99
102
  };
100
103
  break;
101
- case HEADER_VALUE_TYPE.short:
104
+ case 3:
102
105
  out[name] = {
103
106
  type: SHORT_TAG,
104
107
  value: headers.getInt16(position, false),
105
108
  };
106
109
  position += 2;
107
110
  break;
108
- case HEADER_VALUE_TYPE.integer:
111
+ case 4:
109
112
  out[name] = {
110
113
  type: INT_TAG,
111
114
  value: headers.getInt32(position, false),
112
115
  };
113
116
  position += 4;
114
117
  break;
115
- case HEADER_VALUE_TYPE.long:
118
+ case 5:
116
119
  out[name] = {
117
120
  type: LONG_TAG,
118
121
  value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)),
119
122
  };
120
123
  position += 8;
121
124
  break;
122
- case HEADER_VALUE_TYPE.byteArray:
125
+ case 6:
123
126
  const binaryLength = headers.getUint16(position, false);
124
127
  position += 2;
125
128
  out[name] = {
@@ -128,7 +131,7 @@ export class HeaderMarshaller {
128
131
  };
129
132
  position += binaryLength;
130
133
  break;
131
- case HEADER_VALUE_TYPE.string:
134
+ case 7:
132
135
  const stringLength = headers.getUint16(position, false);
133
136
  position += 2;
134
137
  out[name] = {
@@ -137,14 +140,14 @@ export class HeaderMarshaller {
137
140
  };
138
141
  position += stringLength;
139
142
  break;
140
- case HEADER_VALUE_TYPE.timestamp:
143
+ case 8:
141
144
  out[name] = {
142
145
  type: TIMESTAMP_TAG,
143
146
  value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()),
144
147
  };
145
148
  position += 8;
146
149
  break;
147
- case HEADER_VALUE_TYPE.uuid:
150
+ case 9:
148
151
  const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
149
152
  position += 16;
150
153
  out[name] = {
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { NormalizedSchema, translateTraits } from "@smithy/core/schema";
2
3
  import { sdkStreamMixin, splitEvery, splitHeader } from "@smithy/core/serde";
3
4
  import { HttpRequest } from "@smithy/core/transport";
@@ -93,6 +94,8 @@ export class HttpBindingProtocol extends HttpProtocol {
93
94
  }
94
95
  else if (typeof memberTraits.httpPrefixHeaders === "string") {
95
96
  for (const key in inputMemberValue) {
97
+ if (!hasOwn(inputMemberValue, key))
98
+ continue;
96
99
  const val = inputMemberValue[key];
97
100
  const amalgam = memberTraits.httpPrefixHeaders + key;
98
101
  serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
@@ -139,6 +142,8 @@ export class HttpBindingProtocol extends HttpProtocol {
139
142
  const traits = ns.getMergedTraits();
140
143
  if (traits.httpQueryParams) {
141
144
  for (const key in data) {
145
+ if (!hasOwn(data, key))
146
+ continue;
142
147
  if (!(key in query)) {
143
148
  const val = data[key];
144
149
  const valueSchema = ns.getValueSchema();
@@ -182,6 +187,8 @@ export class HttpBindingProtocol extends HttpProtocol {
182
187
  throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
183
188
  }
184
189
  for (const header in response.headers) {
190
+ if (!hasOwn(response.headers, header))
191
+ continue;
185
192
  const value = response.headers[header];
186
193
  delete response.headers[header];
187
194
  response.headers[header.toLowerCase()] = value;
@@ -269,6 +276,8 @@ export class HttpBindingProtocol extends HttpProtocol {
269
276
  else if (memberTraits.httpPrefixHeaders !== undefined) {
270
277
  dataObject[memberName] = {};
271
278
  for (const header in response.headers) {
279
+ if (!hasOwn(response.headers, header))
280
+ continue;
272
281
  if (header.startsWith(memberTraits.httpPrefixHeaders)) {
273
282
  const value = response.headers[header];
274
283
  const valueSchema = memberSchema.getValueSchema();
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { NormalizedSchema, TypeRegistry, translateTraits } from "@smithy/core/schema";
2
3
  import { HttpRequest, HttpResponse, isValidHostname } from "@smithy/core/transport";
3
4
  import { SerdeContext } from "./SerdeContext";
@@ -43,6 +44,8 @@ export class HttpProtocol extends SerdeContext {
43
44
  }
44
45
  if (endpoint.headers) {
45
46
  for (const name in endpoint.headers) {
47
+ if (!hasOwn(endpoint.headers, name))
48
+ continue;
46
49
  request.headers[name] = endpoint.headers[name].join(", ");
47
50
  }
48
51
  }
@@ -58,6 +61,8 @@ export class HttpProtocol extends SerdeContext {
58
61
  };
59
62
  if (endpoint.headers) {
60
63
  for (const name in endpoint.headers) {
64
+ if (!hasOwn(endpoint.headers, name))
65
+ continue;
61
66
  request.headers[name] = endpoint.headers[name];
62
67
  }
63
68
  }
@@ -1,3 +1,4 @@
1
+ import { hasOwn } from "@smithy/core/transport";
1
2
  import { NormalizedSchema } from "@smithy/core/schema";
2
3
  import { HttpRequest } from "@smithy/core/transport";
3
4
  import { HttpProtocol } from "./HttpProtocol";
@@ -31,10 +32,9 @@ export class RpcProtocol extends HttpProtocol {
31
32
  if (eventStreamMember) {
32
33
  if (input[eventStreamMember]) {
33
34
  const initialRequest = {};
34
- for (const [memberName, memberSchema] of ns.structIterator()) {
35
- if (memberName !== eventStreamMember && input[memberName]) {
36
- serializer.write(memberSchema, input[memberName]);
37
- initialRequest[memberName] = serializer.flush();
35
+ for (const [memberName] of ns.structIterator()) {
36
+ if (memberName !== eventStreamMember && input[memberName] != null) {
37
+ initialRequest[memberName] = input[memberName];
38
38
  }
39
39
  }
40
40
  payload = await this.serializeEventStream({
@@ -68,6 +68,8 @@ export class RpcProtocol extends HttpProtocol {
68
68
  throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
69
69
  }
70
70
  for (const header in response.headers) {
71
+ if (!hasOwn(response.headers, header))
72
+ continue;
71
73
  const value = response.headers[header];
72
74
  delete response.headers[header];
73
75
  response.headers[header.toLowerCase()] = value;