@cdklabs/cdk-ssm-documents 0.0.52 → 0.0.53

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 (270) hide show
  1. package/.jsii +12 -12
  2. package/lib/construct/synth-utils.js +1 -1
  3. package/lib/document/automation-document.js +1 -1
  4. package/lib/document/command-document.js +1 -1
  5. package/lib/document/document-builder.js +2 -2
  6. package/lib/document/ssm-document.js +1 -1
  7. package/lib/domain/aws-service.js +1 -1
  8. package/lib/domain/choice.js +1 -1
  9. package/lib/domain/data-type.js +1 -1
  10. package/lib/domain/enum/install-action.js +2 -2
  11. package/lib/domain/enum/install-uninstall-repair.js +2 -2
  12. package/lib/domain/enum/installation-type.js +2 -2
  13. package/lib/domain/enum/package-name.js +2 -2
  14. package/lib/domain/input.js +1 -1
  15. package/lib/domain/operation.js +1 -1
  16. package/lib/domain/platform.js +1 -1
  17. package/lib/domain/precondition.js +1 -1
  18. package/lib/incident-response/incident-response.js +3 -3
  19. package/lib/interface/approve-hook.js +2 -2
  20. package/lib/interface/auth-method.js +3 -3
  21. package/lib/interface/aws-invoker.js +2 -2
  22. package/lib/interface/downloadable-content.js +8 -8
  23. package/lib/interface/environment.js +3 -3
  24. package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
  25. package/lib/interface/observer.js +1 -1
  26. package/lib/interface/on-failure.js +6 -6
  27. package/lib/interface/pause-hook.js +2 -2
  28. package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
  29. package/lib/interface/run-document-location.js +2 -2
  30. package/lib/interface/sleep-hook.js +2 -2
  31. package/lib/interface/step-ref.js +1 -1
  32. package/lib/interface/variables/boolean-variable.js +2 -2
  33. package/lib/interface/variables/map-list-variable.js +2 -2
  34. package/lib/interface/variables/number-variable.js +2 -2
  35. package/lib/interface/variables/secure-string-variable.js +4 -4
  36. package/lib/interface/variables/string-list-variable.js +2 -2
  37. package/lib/interface/variables/string-map-variable.js +2 -2
  38. package/lib/interface/variables/string-variable.js +4 -4
  39. package/lib/interface/variables/variable.js +2 -2
  40. package/lib/interface/webhook.js +1 -1
  41. package/lib/parent-steps/automation/approve-step.js +1 -1
  42. package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
  43. package/lib/parent-steps/automation/aws-api-step.js +1 -1
  44. package/lib/parent-steps/automation/branch-step.js +1 -1
  45. package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
  46. package/lib/parent-steps/automation/copy-image-step.js +1 -1
  47. package/lib/parent-steps/automation/create-image-step.js +1 -1
  48. package/lib/parent-steps/automation/create-stack-step.js +3 -3
  49. package/lib/parent-steps/automation/create-tags-step.js +3 -3
  50. package/lib/parent-steps/automation/delete-image-step.js +1 -1
  51. package/lib/parent-steps/automation/delete-stack-step.js +1 -1
  52. package/lib/parent-steps/automation/execute-automation-step.js +1 -1
  53. package/lib/parent-steps/automation/execute-script-step.js +5 -5
  54. package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
  55. package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
  56. package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
  57. package/lib/parent-steps/automation/pause-step.js +1 -1
  58. package/lib/parent-steps/automation/run-command-step.js +3 -3
  59. package/lib/parent-steps/automation/run-instance-step.js +1 -1
  60. package/lib/parent-steps/automation/sleep-step.js +1 -1
  61. package/lib/parent-steps/automation/update-variable.js +1 -1
  62. package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
  63. package/lib/parent-steps/automation-step.js +1 -1
  64. package/lib/parent-steps/command/applications-step.js +1 -1
  65. package/lib/parent-steps/command/configure-docker-step.js +1 -1
  66. package/lib/parent-steps/command/configure-package-step.js +1 -1
  67. package/lib/parent-steps/command/domain-join-step.js +1 -1
  68. package/lib/parent-steps/command/download-content-step.js +1 -1
  69. package/lib/parent-steps/command/ps-module-step.js +1 -1
  70. package/lib/parent-steps/command/run-docker-action-step.js +1 -1
  71. package/lib/parent-steps/command/run-document-step.js +1 -1
  72. package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
  73. package/lib/parent-steps/command/run-shell-script-step.js +1 -1
  74. package/lib/parent-steps/command/software-inventory-step.js +1 -1
  75. package/lib/parent-steps/command/update-agent-step.js +1 -1
  76. package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
  77. package/lib/parent-steps/command-step.js +1 -1
  78. package/lib/parent-steps/step.js +1 -1
  79. package/lib/patterns/automation/composite-step.js +2 -2
  80. package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
  81. package/lib/patterns/automation/string-step.js +1 -1
  82. package/lib/patterns/document/string-document.js +1 -1
  83. package/lib/patterns/document/timed-document.js +1 -1
  84. package/lib/samples/hello-world.js +1 -1
  85. package/lib/simulation/automation/approve-simulation.js +1 -1
  86. package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
  87. package/lib/simulation/automation/automation-simulation-base.js +1 -1
  88. package/lib/simulation/automation/aws-api-simulation.js +1 -1
  89. package/lib/simulation/automation/branch-simulation.js +1 -1
  90. package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
  91. package/lib/simulation/automation/copy-image-simulation.js +1 -1
  92. package/lib/simulation/automation/create-image-simulation.js +1 -1
  93. package/lib/simulation/automation/create-stack-simulation.js +1 -1
  94. package/lib/simulation/automation/create-tags-simulation.js +1 -1
  95. package/lib/simulation/automation/delete-image-simulation.js +1 -1
  96. package/lib/simulation/automation/delete-stack-simulation.js +1 -1
  97. package/lib/simulation/automation/execute-script-simulation.js +1 -1
  98. package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
  99. package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
  100. package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
  101. package/lib/simulation/automation/pause-simulation.js +1 -1
  102. package/lib/simulation/automation/run-command-simulation.js +1 -1
  103. package/lib/simulation/automation/run-instance-simulation.js +1 -1
  104. package/lib/simulation/automation/sleep-simulation.js +1 -1
  105. package/lib/simulation/automation/update-variable-simulation.js +1 -1
  106. package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
  107. package/lib/simulation/automation-step-simulation.js +1 -1
  108. package/lib/simulation/command/command-simulation-base.js +1 -1
  109. package/lib/simulation/command/ps-module-simulation.js +1 -1
  110. package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
  111. package/lib/simulation/command/run-shell-script-simulation.js +1 -1
  112. package/lib/simulation/command-step-simulation.js +1 -1
  113. package/lib/simulation/document/automation-simulation.js +1 -1
  114. package/lib/simulation/document/command-simulation.js +1 -1
  115. package/lib/simulation/simulation.js +1 -1
  116. package/node_modules/@aws-sdk/client-cloudformation/package.json +15 -15
  117. package/node_modules/@aws-sdk/client-cloudwatch/README.md +13 -2
  118. package/node_modules/@aws-sdk/client-cloudwatch/package.json +17 -17
  119. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +6 -0
  120. package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +105 -62
  121. package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +5 -0
  122. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +51 -8
  123. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +8 -3
  124. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -2
  125. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -1
  126. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFleetsCommand.d.ts +8 -3
  127. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -2
  128. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceTypesCommand.d.ts +5 -0
  129. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -1
  130. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
  131. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -1
  132. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -2
  133. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  134. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  135. package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +13 -0
  136. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +31 -43
  137. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +40 -10
  138. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +31 -166
  139. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +196 -88
  140. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +87 -118
  141. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +119 -160
  142. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +160 -3
  143. package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +3 -0
  144. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateSecondarySubnetCommand.d.ts +4 -2
  145. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -4
  146. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -2
  147. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -4
  148. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
  149. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -4
  150. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +4 -2
  151. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  152. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +7 -0
  153. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +5 -9
  154. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +9 -3
  155. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +8 -18
  156. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +27 -18
  157. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +17 -23
  158. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +23 -40
  159. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +38 -5
  160. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  161. package/node_modules/@aws-sdk/client-ec2/package.json +17 -17
  162. package/node_modules/@aws-sdk/client-iam/package.json +16 -16
  163. package/node_modules/@aws-sdk/client-lambda/package.json +16 -16
  164. package/node_modules/@aws-sdk/client-s3/package.json +21 -21
  165. package/node_modules/@aws-sdk/client-sns/package.json +15 -15
  166. package/node_modules/@aws-sdk/client-sqs/package.json +17 -17
  167. package/node_modules/@aws-sdk/client-ssm/package.json +15 -15
  168. package/node_modules/@aws-sdk/core/package.json +4 -4
  169. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  170. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  171. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  172. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  173. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  174. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  175. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  176. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  177. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +19 -7
  178. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsResponseMiddleware.js +10 -2
  179. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmListForResponse.js +10 -6
  180. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +4 -4
  181. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +3 -3
  182. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +5 -5
  183. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +2 -2
  184. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  185. package/node_modules/@aws-sdk/nested-clients/package.json +14 -14
  186. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  187. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  188. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  189. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  190. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +21 -11
  191. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +5 -1
  192. package/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js +8 -1
  193. package/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js +13 -10
  194. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +5 -1
  195. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +40 -4
  196. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +8 -7
  197. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  198. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  199. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  200. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +82 -20
  201. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  202. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  203. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  204. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  205. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
  206. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/pem.d.cts +148 -0
  207. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +4 -3
  208. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +75 -19
  209. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/pem.d.ts +135 -0
  210. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +18 -0
  211. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +37 -18
  212. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +76 -5
  213. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +298 -116
  214. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +2 -2
  215. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +65 -15
  216. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/CHANGELOG.md +9 -2
  217. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/package.json +1 -1
  218. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/strnum.js +12 -6
  219. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/tests/strnum_test.js +3 -0
  220. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/tests/temp.js +8 -0
  221. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  222. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +12 -0
  223. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +5 -0
  224. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +5 -0
  225. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
  226. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
  227. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
  228. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
  229. package/node_modules/@smithy/config-resolver/package.json +1 -1
  230. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +2 -2
  231. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +2 -2
  232. package/node_modules/@smithy/middleware-endpoint/package.json +1 -1
  233. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  234. package/node_modules/@smithy/smithy-client/package.json +2 -2
  235. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  236. package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -3
  237. package/node_modules/{@aws-sdk/xml-builder/node_modules/path-expression-matcher → path-expression-matcher}/README.md +98 -13
  238. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
  239. package/node_modules/{@aws-sdk/xml-builder/node_modules/path-expression-matcher → path-expression-matcher}/lib/pem.d.cts +188 -0
  240. package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
  241. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
  242. package/node_modules/{@aws-sdk/xml-builder/node_modules/path-expression-matcher → path-expression-matcher}/package.json +2 -2
  243. package/node_modules/{@aws-sdk/xml-builder/node_modules/path-expression-matcher → path-expression-matcher}/src/Matcher.js +84 -0
  244. package/node_modules/{@aws-sdk/xml-builder/node_modules/path-expression-matcher → path-expression-matcher}/src/index.d.ts +152 -0
  245. package/package.json +10 -10
  246. package/node_modules/@aws-sdk/xml-builder/node_modules/path-expression-matcher/lib/pem.cjs +0 -1
  247. package/node_modules/@aws-sdk/xml-builder/node_modules/path-expression-matcher/lib/pem.min.js +0 -2
  248. package/node_modules/@aws-sdk/xml-builder/node_modules/path-expression-matcher/lib/pem.min.js.map +0 -1
  249. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/.github/SECURITY.md +0 -0
  250. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/.vscode/launch.json +0 -0
  251. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/LICENSE +0 -0
  252. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/README.md +0 -0
  253. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/algo.stflow +0 -0
  254. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/tests/infinity_test.js +0 -0
  255. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/CHANGELOG.md +0 -0
  256. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/LICENSE +0 -0
  257. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/README.md +0 -0
  258. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/lib/fxb.cjs +0 -0
  259. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/lib/fxb.d.cts +0 -0
  260. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/lib/fxb.min.js +0 -0
  261. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/lib/fxb.min.js.map +0 -0
  262. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/package.json +0 -0
  263. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/src/fxb.d.ts +0 -0
  264. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/src/fxb.js +0 -0
  265. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/src/ignoreAttributes.js +0 -0
  266. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/src/orderedJs2Xml.js +0 -0
  267. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-builder → fast-xml-builder}/src/prettifyJs2Xml.js +0 -0
  268. /package/node_modules/{@aws-sdk/xml-builder/node_modules/path-expression-matcher → path-expression-matcher}/LICENSE +0 -0
  269. /package/node_modules/{@aws-sdk/xml-builder/node_modules/path-expression-matcher → path-expression-matcher}/src/Expression.js +0 -0
  270. /package/node_modules/{@aws-sdk/xml-builder/node_modules/path-expression-matcher → path-expression-matcher}/src/index.js +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sqs",
3
3
  "description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
4
- "version": "3.1009.0",
4
+ "version": "3.1014.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sqs",
@@ -29,40 +29,40 @@
29
29
  "dependencies": {
30
30
  "@aws-crypto/sha256-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "^3.973.20",
33
- "@aws-sdk/credential-provider-node": "^3.972.21",
32
+ "@aws-sdk/core": "^3.973.23",
33
+ "@aws-sdk/credential-provider-node": "^3.972.24",
34
34
  "@aws-sdk/middleware-host-header": "^3.972.8",
35
35
  "@aws-sdk/middleware-logger": "^3.972.8",
36
36
  "@aws-sdk/middleware-recursion-detection": "^3.972.8",
37
- "@aws-sdk/middleware-sdk-sqs": "^3.972.15",
38
- "@aws-sdk/middleware-user-agent": "^3.972.21",
39
- "@aws-sdk/region-config-resolver": "^3.972.8",
37
+ "@aws-sdk/middleware-sdk-sqs": "^3.972.17",
38
+ "@aws-sdk/middleware-user-agent": "^3.972.24",
39
+ "@aws-sdk/region-config-resolver": "^3.972.9",
40
40
  "@aws-sdk/types": "^3.973.6",
41
41
  "@aws-sdk/util-endpoints": "^3.996.5",
42
42
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
43
- "@aws-sdk/util-user-agent-node": "^3.973.7",
44
- "@smithy/config-resolver": "^4.4.11",
45
- "@smithy/core": "^3.23.11",
43
+ "@aws-sdk/util-user-agent-node": "^3.973.10",
44
+ "@smithy/config-resolver": "^4.4.13",
45
+ "@smithy/core": "^3.23.12",
46
46
  "@smithy/fetch-http-handler": "^5.3.15",
47
47
  "@smithy/hash-node": "^4.2.12",
48
48
  "@smithy/invalid-dependency": "^4.2.12",
49
49
  "@smithy/md5-js": "^4.2.12",
50
50
  "@smithy/middleware-content-length": "^4.2.12",
51
- "@smithy/middleware-endpoint": "^4.4.25",
52
- "@smithy/middleware-retry": "^4.4.42",
53
- "@smithy/middleware-serde": "^4.2.14",
51
+ "@smithy/middleware-endpoint": "^4.4.27",
52
+ "@smithy/middleware-retry": "^4.4.44",
53
+ "@smithy/middleware-serde": "^4.2.15",
54
54
  "@smithy/middleware-stack": "^4.2.12",
55
55
  "@smithy/node-config-provider": "^4.3.12",
56
- "@smithy/node-http-handler": "^4.4.16",
56
+ "@smithy/node-http-handler": "^4.5.0",
57
57
  "@smithy/protocol-http": "^5.3.12",
58
- "@smithy/smithy-client": "^4.12.5",
58
+ "@smithy/smithy-client": "^4.12.7",
59
59
  "@smithy/types": "^4.13.1",
60
60
  "@smithy/url-parser": "^4.2.12",
61
61
  "@smithy/util-base64": "^4.3.2",
62
62
  "@smithy/util-body-length-browser": "^4.2.2",
63
63
  "@smithy/util-body-length-node": "^4.2.3",
64
- "@smithy/util-defaults-mode-browser": "^4.3.41",
65
- "@smithy/util-defaults-mode-node": "^4.2.44",
64
+ "@smithy/util-defaults-mode-browser": "^4.3.43",
65
+ "@smithy/util-defaults-mode-node": "^4.2.47",
66
66
  "@smithy/util-endpoints": "^3.3.3",
67
67
  "@smithy/util-middleware": "^4.2.12",
68
68
  "@smithy/util-retry": "^4.2.12",
@@ -70,7 +70,7 @@
70
70
  "tslib": "^2.6.2"
71
71
  },
72
72
  "devDependencies": {
73
- "@smithy/snapshot-testing": "^2.0.2",
73
+ "@smithy/snapshot-testing": "^2.0.3",
74
74
  "@tsconfig/node20": "20.1.8",
75
75
  "@types/node": "^20.14.8",
76
76
  "concurrently": "7.0.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm",
3
3
  "description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
4
- "version": "3.1009.0",
4
+ "version": "3.1014.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ssm",
@@ -23,38 +23,38 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.20",
27
- "@aws-sdk/credential-provider-node": "^3.972.21",
26
+ "@aws-sdk/core": "^3.973.23",
27
+ "@aws-sdk/credential-provider-node": "^3.972.24",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.8",
29
29
  "@aws-sdk/middleware-logger": "^3.972.8",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.8",
31
- "@aws-sdk/middleware-user-agent": "^3.972.21",
32
- "@aws-sdk/region-config-resolver": "^3.972.8",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.24",
32
+ "@aws-sdk/region-config-resolver": "^3.972.9",
33
33
  "@aws-sdk/types": "^3.973.6",
34
34
  "@aws-sdk/util-endpoints": "^3.996.5",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
36
- "@aws-sdk/util-user-agent-node": "^3.973.7",
37
- "@smithy/config-resolver": "^4.4.11",
38
- "@smithy/core": "^3.23.11",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.10",
37
+ "@smithy/config-resolver": "^4.4.13",
38
+ "@smithy/core": "^3.23.12",
39
39
  "@smithy/fetch-http-handler": "^5.3.15",
40
40
  "@smithy/hash-node": "^4.2.12",
41
41
  "@smithy/invalid-dependency": "^4.2.12",
42
42
  "@smithy/middleware-content-length": "^4.2.12",
43
- "@smithy/middleware-endpoint": "^4.4.25",
44
- "@smithy/middleware-retry": "^4.4.42",
45
- "@smithy/middleware-serde": "^4.2.14",
43
+ "@smithy/middleware-endpoint": "^4.4.27",
44
+ "@smithy/middleware-retry": "^4.4.44",
45
+ "@smithy/middleware-serde": "^4.2.15",
46
46
  "@smithy/middleware-stack": "^4.2.12",
47
47
  "@smithy/node-config-provider": "^4.3.12",
48
- "@smithy/node-http-handler": "^4.4.16",
48
+ "@smithy/node-http-handler": "^4.5.0",
49
49
  "@smithy/protocol-http": "^5.3.12",
50
- "@smithy/smithy-client": "^4.12.5",
50
+ "@smithy/smithy-client": "^4.12.7",
51
51
  "@smithy/types": "^4.13.1",
52
52
  "@smithy/url-parser": "^4.2.12",
53
53
  "@smithy/util-base64": "^4.3.2",
54
54
  "@smithy/util-body-length-browser": "^4.2.2",
55
55
  "@smithy/util-body-length-node": "^4.2.3",
56
- "@smithy/util-defaults-mode-browser": "^4.3.41",
57
- "@smithy/util-defaults-mode-node": "^4.2.44",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.43",
57
+ "@smithy/util-defaults-mode-node": "^4.2.47",
58
58
  "@smithy/util-endpoints": "^3.3.3",
59
59
  "@smithy/util-middleware": "^4.2.12",
60
60
  "@smithy/util-retry": "^4.2.12",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.973.20",
3
+ "version": "3.973.23",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
@@ -82,13 +82,13 @@
82
82
  "license": "Apache-2.0",
83
83
  "dependencies": {
84
84
  "@aws-sdk/types": "^3.973.6",
85
- "@aws-sdk/xml-builder": "^3.972.11",
86
- "@smithy/core": "^3.23.11",
85
+ "@aws-sdk/xml-builder": "^3.972.15",
86
+ "@smithy/core": "^3.23.12",
87
87
  "@smithy/node-config-provider": "^4.3.12",
88
88
  "@smithy/property-provider": "^4.2.12",
89
89
  "@smithy/protocol-http": "^5.3.12",
90
90
  "@smithy/signature-v4": "^5.3.12",
91
- "@smithy/smithy-client": "^4.12.5",
91
+ "@smithy/smithy-client": "^4.12.7",
92
92
  "@smithy/types": "^4.13.1",
93
93
  "@smithy/util-base64": "^4.3.2",
94
94
  "@smithy/util-middleware": "^4.2.12",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.18",
3
+ "version": "3.972.21",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.973.20",
29
+ "@aws-sdk/core": "^3.973.23",
30
30
  "@aws-sdk/types": "^3.973.6",
31
31
  "@smithy/property-provider": "^4.2.12",
32
32
  "@smithy/types": "^4.13.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.20",
3
+ "version": "3.972.23",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,15 +28,15 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.973.20",
31
+ "@aws-sdk/core": "^3.973.23",
32
32
  "@aws-sdk/types": "^3.973.6",
33
33
  "@smithy/fetch-http-handler": "^5.3.15",
34
- "@smithy/node-http-handler": "^4.4.16",
34
+ "@smithy/node-http-handler": "^4.5.0",
35
35
  "@smithy/property-provider": "^4.2.12",
36
36
  "@smithy/protocol-http": "^5.3.12",
37
- "@smithy/smithy-client": "^4.12.5",
37
+ "@smithy/smithy-client": "^4.12.7",
38
38
  "@smithy/types": "^4.13.1",
39
- "@smithy/util-stream": "^4.5.19",
39
+ "@smithy/util-stream": "^4.5.20",
40
40
  "tslib": "^2.6.2"
41
41
  },
42
42
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.972.20",
3
+ "version": "3.972.23",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,14 +28,14 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.973.20",
32
- "@aws-sdk/credential-provider-env": "^3.972.18",
33
- "@aws-sdk/credential-provider-http": "^3.972.20",
34
- "@aws-sdk/credential-provider-login": "^3.972.20",
35
- "@aws-sdk/credential-provider-process": "^3.972.18",
36
- "@aws-sdk/credential-provider-sso": "^3.972.20",
37
- "@aws-sdk/credential-provider-web-identity": "^3.972.20",
38
- "@aws-sdk/nested-clients": "^3.996.10",
31
+ "@aws-sdk/core": "^3.973.23",
32
+ "@aws-sdk/credential-provider-env": "^3.972.21",
33
+ "@aws-sdk/credential-provider-http": "^3.972.23",
34
+ "@aws-sdk/credential-provider-login": "^3.972.23",
35
+ "@aws-sdk/credential-provider-process": "^3.972.21",
36
+ "@aws-sdk/credential-provider-sso": "^3.972.23",
37
+ "@aws-sdk/credential-provider-web-identity": "^3.972.23",
38
+ "@aws-sdk/nested-clients": "^3.996.13",
39
39
  "@aws-sdk/types": "^3.973.6",
40
40
  "@smithy/credential-provider-imds": "^4.2.12",
41
41
  "@smithy/property-provider": "^4.2.12",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.20",
3
+ "version": "3.972.23",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.973.20",
32
- "@aws-sdk/nested-clients": "^3.996.10",
31
+ "@aws-sdk/core": "^3.973.23",
32
+ "@aws-sdk/nested-clients": "^3.996.13",
33
33
  "@aws-sdk/types": "^3.973.6",
34
34
  "@smithy/property-provider": "^4.2.12",
35
35
  "@smithy/protocol-http": "^5.3.12",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.21",
3
+ "version": "3.972.24",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=20.0.0"
@@ -31,12 +31,12 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "@aws-sdk/credential-provider-env": "^3.972.18",
35
- "@aws-sdk/credential-provider-http": "^3.972.20",
36
- "@aws-sdk/credential-provider-ini": "^3.972.20",
37
- "@aws-sdk/credential-provider-process": "^3.972.18",
38
- "@aws-sdk/credential-provider-sso": "^3.972.20",
39
- "@aws-sdk/credential-provider-web-identity": "^3.972.20",
34
+ "@aws-sdk/credential-provider-env": "^3.972.21",
35
+ "@aws-sdk/credential-provider-http": "^3.972.23",
36
+ "@aws-sdk/credential-provider-ini": "^3.972.23",
37
+ "@aws-sdk/credential-provider-process": "^3.972.21",
38
+ "@aws-sdk/credential-provider-sso": "^3.972.23",
39
+ "@aws-sdk/credential-provider-web-identity": "^3.972.23",
40
40
  "@aws-sdk/types": "^3.973.6",
41
41
  "@smithy/credential-provider-imds": "^4.2.12",
42
42
  "@smithy/property-provider": "^4.2.12",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.18",
3
+ "version": "3.972.21",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.973.20",
29
+ "@aws-sdk/core": "^3.973.23",
30
30
  "@aws-sdk/types": "^3.973.6",
31
31
  "@smithy/property-provider": "^4.2.12",
32
32
  "@smithy/shared-ini-file-loader": "^4.4.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.972.20",
3
+ "version": "3.972.23",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.973.20",
30
- "@aws-sdk/nested-clients": "^3.996.10",
31
- "@aws-sdk/token-providers": "3.1009.0",
29
+ "@aws-sdk/core": "^3.973.23",
30
+ "@aws-sdk/nested-clients": "^3.996.13",
31
+ "@aws-sdk/token-providers": "3.1014.0",
32
32
  "@aws-sdk/types": "^3.973.6",
33
33
  "@smithy/property-provider": "^4.2.12",
34
34
  "@smithy/shared-ini-file-loader": "^4.4.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.20",
3
+ "version": "3.972.23",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "license": "Apache-2.0",
36
36
  "dependencies": {
37
- "@aws-sdk/core": "^3.973.20",
38
- "@aws-sdk/nested-clients": "^3.996.10",
37
+ "@aws-sdk/core": "^3.973.23",
38
+ "@aws-sdk/nested-clients": "^3.996.13",
39
39
  "@aws-sdk/types": "^3.973.6",
40
40
  "@smithy/property-provider": "^4.2.12",
41
41
  "@smithy/shared-ini-file-loader": "^4.4.7",
@@ -304,13 +304,17 @@ const flexibleChecksumsInputMiddleware = (config, middlewareConfig) => (next, co
304
304
 
305
305
  const getChecksumAlgorithmListForResponse = (responseAlgorithms = []) => {
306
306
  const validChecksumAlgorithms = [];
307
- for (const algorithm of PRIORITY_ORDER_ALGORITHMS) {
308
- if (!responseAlgorithms.includes(algorithm) || !CLIENT_SUPPORTED_ALGORITHMS.includes(algorithm)) {
309
- continue;
307
+ let i = PRIORITY_ORDER_ALGORITHMS.length;
308
+ for (const algorithm of responseAlgorithms) {
309
+ const priority = PRIORITY_ORDER_ALGORITHMS.indexOf(algorithm);
310
+ if (priority !== -1) {
311
+ validChecksumAlgorithms[priority] = algorithm;
312
+ }
313
+ else {
314
+ validChecksumAlgorithms[i++] = algorithm;
310
315
  }
311
- validChecksumAlgorithms.push(algorithm);
312
316
  }
313
- return validChecksumAlgorithms;
317
+ return validChecksumAlgorithms.filter(Boolean);
314
318
  };
315
319
 
316
320
  const isChecksumWithPartNumber = (checksum) => {
@@ -385,9 +389,17 @@ const flexibleChecksumsResponseMiddleware = (config, middlewareConfig) => (next,
385
389
  const { requestValidationModeMember, responseAlgorithms } = middlewareConfig;
386
390
  if (requestValidationModeMember && input[requestValidationModeMember] === "ENABLED") {
387
391
  const { clientName, commandName } = context;
392
+ const customChecksumAlgorithms = Object.keys(config.checksumAlgorithms ?? {}).filter((algorithm) => {
393
+ const responseHeader = getChecksumLocationName(algorithm);
394
+ return response.headers[responseHeader] !== undefined;
395
+ });
396
+ const algoList = getChecksumAlgorithmListForResponse([
397
+ ...(responseAlgorithms ?? []),
398
+ ...customChecksumAlgorithms,
399
+ ]);
388
400
  const isS3WholeObjectMultipartGetResponseChecksum = clientName === "S3Client" &&
389
401
  commandName === "GetObjectCommand" &&
390
- getChecksumAlgorithmListForResponse(responseAlgorithms).every((algorithm) => {
402
+ algoList.every((algorithm) => {
391
403
  const responseHeader = getChecksumLocationName(algorithm);
392
404
  const checksumFromResponse = response.headers[responseHeader];
393
405
  return !checksumFromResponse || isChecksumWithPartNumber(checksumFromResponse);
@@ -397,7 +409,7 @@ const flexibleChecksumsResponseMiddleware = (config, middlewareConfig) => (next,
397
409
  }
398
410
  await validateChecksumFromResponse(response, {
399
411
  config,
400
- responseAlgorithms,
412
+ responseAlgorithms: algoList,
401
413
  logger: context.logger,
402
414
  });
403
415
  }
@@ -20,9 +20,17 @@ export const flexibleChecksumsResponseMiddleware = (config, middlewareConfig) =>
20
20
  const { requestValidationModeMember, responseAlgorithms } = middlewareConfig;
21
21
  if (requestValidationModeMember && input[requestValidationModeMember] === "ENABLED") {
22
22
  const { clientName, commandName } = context;
23
+ const customChecksumAlgorithms = Object.keys(config.checksumAlgorithms ?? {}).filter((algorithm) => {
24
+ const responseHeader = getChecksumLocationName(algorithm);
25
+ return response.headers[responseHeader] !== undefined;
26
+ });
27
+ const algoList = getChecksumAlgorithmListForResponse([
28
+ ...(responseAlgorithms ?? []),
29
+ ...customChecksumAlgorithms,
30
+ ]);
23
31
  const isS3WholeObjectMultipartGetResponseChecksum = clientName === "S3Client" &&
24
32
  commandName === "GetObjectCommand" &&
25
- getChecksumAlgorithmListForResponse(responseAlgorithms).every((algorithm) => {
33
+ algoList.every((algorithm) => {
26
34
  const responseHeader = getChecksumLocationName(algorithm);
27
35
  const checksumFromResponse = response.headers[responseHeader];
28
36
  return !checksumFromResponse || isChecksumWithPartNumber(checksumFromResponse);
@@ -32,7 +40,7 @@ export const flexibleChecksumsResponseMiddleware = (config, middlewareConfig) =>
32
40
  }
33
41
  await validateChecksumFromResponse(response, {
34
42
  config,
35
- responseAlgorithms,
43
+ responseAlgorithms: algoList,
36
44
  logger: context.logger,
37
45
  });
38
46
  }
@@ -1,11 +1,15 @@
1
- import { CLIENT_SUPPORTED_ALGORITHMS, PRIORITY_ORDER_ALGORITHMS } from "./types";
1
+ import { PRIORITY_ORDER_ALGORITHMS } from "./types";
2
2
  export const getChecksumAlgorithmListForResponse = (responseAlgorithms = []) => {
3
3
  const validChecksumAlgorithms = [];
4
- for (const algorithm of PRIORITY_ORDER_ALGORITHMS) {
5
- if (!responseAlgorithms.includes(algorithm) || !CLIENT_SUPPORTED_ALGORITHMS.includes(algorithm)) {
6
- continue;
4
+ let i = PRIORITY_ORDER_ALGORITHMS.length;
5
+ for (const algorithm of responseAlgorithms) {
6
+ const priority = PRIORITY_ORDER_ALGORITHMS.indexOf(algorithm);
7
+ if (priority !== -1) {
8
+ validChecksumAlgorithms[priority] = algorithm;
9
+ }
10
+ else {
11
+ validChecksumAlgorithms[i++] = algorithm;
7
12
  }
8
- validChecksumAlgorithms.push(algorithm);
9
13
  }
10
- return validChecksumAlgorithms;
14
+ return validChecksumAlgorithms.filter(Boolean);
11
15
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-flexible-checksums",
3
- "version": "3.973.6",
3
+ "version": "3.974.3",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-flexible-checksums",
@@ -37,7 +37,7 @@
37
37
  "@aws-crypto/crc32": "5.2.0",
38
38
  "@aws-crypto/crc32c": "5.2.0",
39
39
  "@aws-crypto/util": "5.2.0",
40
- "@aws-sdk/core": "^3.973.20",
40
+ "@aws-sdk/core": "^3.973.23",
41
41
  "@aws-sdk/crc64-nvme": "^3.972.5",
42
42
  "@aws-sdk/types": "^3.973.6",
43
43
  "@smithy/is-array-buffer": "^4.2.2",
@@ -45,12 +45,12 @@
45
45
  "@smithy/protocol-http": "^5.3.12",
46
46
  "@smithy/types": "^4.13.1",
47
47
  "@smithy/util-middleware": "^4.2.12",
48
- "@smithy/util-stream": "^4.5.19",
48
+ "@smithy/util-stream": "^4.5.20",
49
49
  "@smithy/util-utf8": "^4.2.2",
50
50
  "tslib": "^2.6.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@smithy/node-http-handler": "^4.4.16",
53
+ "@smithy/node-http-handler": "^4.5.0",
54
54
  "concurrently": "7.0.0",
55
55
  "downlevel-dts": "0.10.1",
56
56
  "premove": "4.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-ec2",
3
- "version": "3.972.15",
3
+ "version": "3.972.17",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-sdk-ec2",
@@ -28,10 +28,10 @@
28
28
  "dependencies": {
29
29
  "@aws-sdk/types": "^3.973.6",
30
30
  "@aws-sdk/util-format-url": "^3.972.8",
31
- "@smithy/middleware-endpoint": "^4.4.25",
31
+ "@smithy/middleware-endpoint": "^4.4.27",
32
32
  "@smithy/protocol-http": "^5.3.12",
33
33
  "@smithy/signature-v4": "^5.3.12",
34
- "@smithy/smithy-client": "^4.12.5",
34
+ "@smithy/smithy-client": "^4.12.7",
35
35
  "@smithy/types": "^4.13.1",
36
36
  "tslib": "^2.6.2"
37
37
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3",
3
- "version": "3.972.20",
3
+ "version": "3.972.23",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3",
@@ -28,18 +28,18 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.973.20",
31
+ "@aws-sdk/core": "^3.973.23",
32
32
  "@aws-sdk/types": "^3.973.6",
33
33
  "@aws-sdk/util-arn-parser": "^3.972.3",
34
- "@smithy/core": "^3.23.11",
34
+ "@smithy/core": "^3.23.12",
35
35
  "@smithy/node-config-provider": "^4.3.12",
36
36
  "@smithy/protocol-http": "^5.3.12",
37
37
  "@smithy/signature-v4": "^5.3.12",
38
- "@smithy/smithy-client": "^4.12.5",
38
+ "@smithy/smithy-client": "^4.12.7",
39
39
  "@smithy/types": "^4.13.1",
40
40
  "@smithy/util-config-provider": "^4.2.2",
41
41
  "@smithy/util-middleware": "^4.2.12",
42
- "@smithy/util-stream": "^4.5.19",
42
+ "@smithy/util-stream": "^4.5.20",
43
43
  "@smithy/util-utf8": "^4.2.2",
44
44
  "tslib": "^2.6.2"
45
45
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-sqs",
3
- "version": "3.972.15",
3
+ "version": "3.972.17",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-sdk-sqs",
@@ -25,7 +25,7 @@
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
27
  "@aws-sdk/types": "^3.973.6",
28
- "@smithy/smithy-client": "^4.12.5",
28
+ "@smithy/smithy-client": "^4.12.7",
29
29
  "@smithy/types": "^4.13.1",
30
30
  "@smithy/util-hex-encoding": "^4.2.2",
31
31
  "@smithy/util-utf8": "^4.2.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.972.21",
3
+ "version": "3.972.24",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "^3.973.20",
28
+ "@aws-sdk/core": "^3.973.23",
29
29
  "@aws-sdk/types": "^3.973.6",
30
30
  "@aws-sdk/util-endpoints": "^3.996.5",
31
- "@smithy/core": "^3.23.11",
31
+ "@smithy/core": "^3.23.12",
32
32
  "@smithy/protocol-http": "^5.3.12",
33
33
  "@smithy/types": "^4.13.1",
34
34
  "@smithy/util-retry": "^4.2.12",