@cdklabs/cdk-ssm-documents 0.0.55 → 0.0.57

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 (379) 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 +34 -34
  117. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +2 -2
  118. package/node_modules/@aws-sdk/client-cloudwatch/package.json +36 -36
  119. package/node_modules/@aws-sdk/client-ec2/README.md +14 -0
  120. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +41 -0
  121. package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +156 -78
  122. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +6 -0
  123. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetCapacityManagerMonitoredTagKeysCommand.js +16 -0
  124. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/UpdateCapacityManagerMonitoredTagKeysCommand.js +16 -0
  125. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +2 -0
  126. package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +8 -0
  127. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/GetCapacityManagerMonitoredTagKeysPaginator.js +4 -0
  128. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/index.js +1 -0
  129. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +96 -18
  130. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +23 -0
  131. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +4 -2
  132. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +9 -2
  133. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +9 -2
  134. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +87 -0
  135. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  136. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +1 -2
  137. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  138. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  139. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/UpdateCapacityManagerMonitoredTagKeysCommand.d.ts +91 -0
  140. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +2 -0
  141. package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +16 -0
  142. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +126 -79
  143. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +81 -122
  144. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +168 -3
  145. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/GetCapacityManagerMonitoredTagKeysPaginator.d.ts +7 -0
  146. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/index.d.ts +1 -0
  147. package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +8 -0
  148. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +55 -0
  149. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +12 -0
  150. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +51 -0
  151. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  152. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +4 -2
  153. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  154. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  155. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UpdateCapacityManagerMonitoredTagKeysCommand.d.ts +51 -0
  156. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +2 -0
  157. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +10 -0
  158. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +23 -18
  159. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +19 -34
  160. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +43 -0
  161. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/GetCapacityManagerMonitoredTagKeysPaginator.d.ts +11 -0
  162. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/index.d.ts +1 -0
  163. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  164. package/node_modules/@aws-sdk/client-ec2/package.json +36 -36
  165. package/node_modules/@aws-sdk/client-iam/package.json +35 -35
  166. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +52 -1
  167. package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +29 -8
  168. package/node_modules/@aws-sdk/client-lambda/dist-es/models/errors.js +48 -0
  169. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +22 -1
  170. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeCommand.d.ts +9 -0
  171. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +9 -0
  172. package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +66 -0
  173. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +6 -6
  174. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +3 -0
  175. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/errors.d.ts +30 -0
  176. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  177. package/node_modules/@aws-sdk/client-lambda/package.json +38 -38
  178. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +5 -0
  179. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +5 -0
  180. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +1 -1
  181. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
  182. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +5 -0
  183. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +5 -0
  184. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  185. package/node_modules/@aws-sdk/client-sns/package.json +33 -33
  186. package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +2 -0
  187. package/node_modules/@aws-sdk/client-sqs/dist-es/commands/ReceiveMessageCommand.js +2 -0
  188. package/node_modules/@aws-sdk/client-sqs/package.json +36 -36
  189. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  190. package/node_modules/@aws-sdk/core/dist-cjs/index.js +69 -50
  191. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +17 -0
  192. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +52 -50
  193. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  194. package/node_modules/@aws-sdk/core/dist-es/submodules/client/longPollMiddleware.js +15 -0
  195. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +11 -10
  196. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js +4 -1
  197. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -5
  198. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -1
  199. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +9 -7
  200. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +17 -17
  201. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -8
  202. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +2 -1
  203. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  204. package/node_modules/@aws-sdk/core/dist-types/submodules/client/longPollMiddleware.d.ts +14 -0
  205. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +2 -2
  206. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  207. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +15 -0
  208. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
  209. package/node_modules/@aws-sdk/core/package.json +11 -11
  210. package/node_modules/@aws-sdk/crc64-nvme/package.json +2 -2
  211. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  212. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  213. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  214. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  215. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  216. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  217. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  218. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  219. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  220. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  221. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +10 -10
  222. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  223. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  224. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  225. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  226. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +8 -8
  227. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  228. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +4 -4
  229. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  230. package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
  231. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  232. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  233. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  234. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  235. package/node_modules/@aws-sdk/types/package.json +2 -2
  236. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  237. package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
  238. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  239. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  240. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  241. package/node_modules/@smithy/config-resolver/package.json +5 -5
  242. package/node_modules/@smithy/core/dist-cjs/index.js +2 -1
  243. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -14
  244. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +2 -2
  245. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +16 -8
  246. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +17 -10
  247. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +6 -1
  248. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +6 -3
  249. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  250. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +23 -11
  251. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +9 -3
  252. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +2 -2
  253. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +16 -8
  254. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -4
  255. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +8 -6
  256. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +6 -1
  257. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +6 -3
  258. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  259. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  260. package/node_modules/@smithy/core/package.json +7 -7
  261. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  262. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  263. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  264. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  265. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  266. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  267. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  268. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  269. package/node_modules/@smithy/hash-node/package.json +2 -2
  270. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  271. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  272. package/node_modules/@smithy/md5-js/package.json +2 -2
  273. package/node_modules/@smithy/middleware-compression/package.json +6 -6
  274. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  275. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  276. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  277. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  278. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  279. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  280. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +191 -96
  281. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +45 -0
  282. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +71 -35
  283. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -18
  284. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +44 -43
  285. package/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +42 -0
  286. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +34 -14
  287. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +32 -8
  288. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +14 -6
  289. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  290. package/node_modules/@smithy/property-provider/package.json +2 -2
  291. package/node_modules/@smithy/protocol-http/package.json +2 -2
  292. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  293. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  294. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +5 -0
  295. package/node_modules/@smithy/service-error-classification/dist-es/index.js +4 -0
  296. package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +6 -0
  297. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  298. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  299. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +11 -5
  300. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +11 -5
  301. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -3
  302. package/node_modules/@smithy/signature-v4/package.json +4 -4
  303. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +8 -1
  304. package/node_modules/@smithy/smithy-client/dist-es/command.js +8 -1
  305. package/node_modules/@smithy/smithy-client/package.json +7 -7
  306. package/node_modules/@smithy/types/dist-types/connection/config.d.ts +5 -0
  307. package/node_modules/@smithy/types/dist-types/signature.d.ts +20 -3
  308. package/node_modules/@smithy/types/package.json +1 -1
  309. package/node_modules/@smithy/url-parser/package.json +3 -3
  310. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  311. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  312. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +212 -111
  313. package/node_modules/@smithy/util-endpoints/dist-es/bdd/BinaryDecisionDiagram.js +15 -0
  314. package/node_modules/@smithy/util-endpoints/dist-es/decideEndpoint.js +42 -0
  315. package/node_modules/@smithy/util-endpoints/dist-es/index.js +2 -0
  316. package/node_modules/@smithy/util-endpoints/dist-es/lib/coalesce.js +8 -0
  317. package/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js +2 -1
  318. package/node_modules/@smithy/util-endpoints/dist-es/lib/index.js +3 -0
  319. package/node_modules/@smithy/util-endpoints/dist-es/lib/ite.js +3 -0
  320. package/node_modules/@smithy/util-endpoints/dist-es/lib/split.js +13 -0
  321. package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
  322. package/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js +8 -13
  323. package/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js +4 -1
  324. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +9 -7
  325. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +12 -8
  326. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +14 -13
  327. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js +7 -4
  328. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +22 -5
  329. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +4 -4
  330. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js +3 -6
  331. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js +5 -5
  332. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +4 -4
  333. package/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js +1 -5
  334. package/node_modules/@smithy/util-endpoints/dist-types/bdd/BinaryDecisionDiagram.d.ts +22 -0
  335. package/node_modules/@smithy/util-endpoints/dist-types/decideEndpoint.d.ts +7 -0
  336. package/node_modules/@smithy/util-endpoints/dist-types/index.d.ts +2 -0
  337. package/node_modules/@smithy/util-endpoints/dist-types/lib/coalesce.d.ts +7 -0
  338. package/node_modules/@smithy/util-endpoints/dist-types/lib/index.d.ts +3 -0
  339. package/node_modules/@smithy/util-endpoints/dist-types/lib/ite.d.ts +6 -0
  340. package/node_modules/@smithy/util-endpoints/dist-types/lib/split.d.ts +11 -0
  341. package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +3 -3
  342. package/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts +2 -11
  343. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +6 -3
  344. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts +3 -3
  345. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +1 -1
  346. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +2 -2
  347. package/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts +3 -1
  348. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  349. package/node_modules/@smithy/util-middleware/package.json +2 -2
  350. package/node_modules/@smithy/util-retry/dist-cjs/index.js +6 -0
  351. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +3 -0
  352. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +3 -0
  353. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +5 -0
  354. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +5 -0
  355. package/node_modules/@smithy/util-retry/package.json +3 -3
  356. package/node_modules/@smithy/util-stream/package.json +4 -4
  357. package/node_modules/@smithy/util-waiter/package.json +3 -3
  358. package/node_modules/fast-xml-builder/package.json +1 -1
  359. package/node_modules/fast-xml-builder/src/fxb.js +6 -2
  360. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +16 -2
  361. package/node_modules/path-expression-matcher/README.md +214 -62
  362. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
  363. package/node_modules/path-expression-matcher/lib/pem.d.cts +111 -0
  364. package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
  365. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
  366. package/node_modules/path-expression-matcher/package.json +1 -1
  367. package/node_modules/path-expression-matcher/src/Expression.js +2 -2
  368. package/node_modules/path-expression-matcher/src/ExpressionSet.js +209 -0
  369. package/node_modules/path-expression-matcher/src/Matcher.js +235 -177
  370. package/node_modules/path-expression-matcher/src/index.d.ts +199 -194
  371. package/node_modules/path-expression-matcher/src/index.js +3 -2
  372. package/node_modules/strnum/package.json +1 -1
  373. package/package.json +10 -10
  374. package/node_modules/strnum/.github/SECURITY.md +0 -5
  375. package/node_modules/strnum/.vscode/launch.json +0 -25
  376. package/node_modules/strnum/algo.stflow +0 -84
  377. package/node_modules/strnum/tests/infinity_test.js +0 -18
  378. package/node_modules/strnum/tests/strnum_test.js +0 -175
  379. package/node_modules/strnum/tests/temp.js +0 -8
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-builder",
3
- "version": "4.2.13",
3
+ "version": "4.2.14",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
6
  "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline querystring-builder",
@@ -22,7 +22,7 @@
22
22
  "license": "Apache-2.0",
23
23
  "sideEffects": false,
24
24
  "dependencies": {
25
- "@smithy/types": "^4.14.0",
25
+ "@smithy/types": "^4.14.1",
26
26
  "@smithy/util-uri-escape": "^4.2.2",
27
27
  "tslib": "^2.6.2"
28
28
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-parser",
3
- "version": "4.2.13",
3
+ "version": "4.2.14",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
6
  "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline querystring-parser",
@@ -23,7 +23,7 @@
23
23
  "license": "Apache-2.0",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@smithy/types": "^4.14.0",
26
+ "@smithy/types": "^4.14.1",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
@@ -56,6 +56,7 @@ const isTransientError = (error, depth = 0) => isRetryableByTrait(error) ||
56
56
  NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") ||
57
57
  TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) ||
58
58
  isBrowserNetworkError(error) ||
59
+ isNodeJsHttp2TransientError(error) ||
59
60
  (error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1));
60
61
  const isServerError = (error) => {
61
62
  if (error.$metadata?.httpStatusCode !== undefined) {
@@ -67,10 +68,14 @@ const isServerError = (error) => {
67
68
  }
68
69
  return false;
69
70
  };
71
+ function isNodeJsHttp2TransientError(error) {
72
+ return error.code === "ERR_HTTP2_STREAM_ERROR" && error.message.includes("NGHTTP2_REFUSED_STREAM");
73
+ }
70
74
 
71
75
  exports.isBrowserNetworkError = isBrowserNetworkError;
72
76
  exports.isClockSkewCorrectedError = isClockSkewCorrectedError;
73
77
  exports.isClockSkewError = isClockSkewError;
78
+ exports.isNodeJsHttp2TransientError = isNodeJsHttp2TransientError;
74
79
  exports.isRetryableByTrait = isRetryableByTrait;
75
80
  exports.isServerError = isServerError;
76
81
  exports.isThrottlingError = isThrottlingError;
@@ -26,6 +26,7 @@ export const isTransientError = (error, depth = 0) => isRetryableByTrait(error)
26
26
  NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") ||
27
27
  TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) ||
28
28
  isBrowserNetworkError(error) ||
29
+ isNodeJsHttp2TransientError(error) ||
29
30
  (error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1));
30
31
  export const isServerError = (error) => {
31
32
  if (error.$metadata?.httpStatusCode !== undefined) {
@@ -37,3 +38,6 @@ export const isServerError = (error) => {
37
38
  }
38
39
  return false;
39
40
  };
41
+ export function isNodeJsHttp2TransientError(error) {
42
+ return error.code === "ERR_HTTP2_STREAM_ERROR" && error.message.includes("NGHTTP2_REFUSED_STREAM");
43
+ }
@@ -22,3 +22,9 @@ export declare const isThrottlingError: (error: SdkError) => boolean;
22
22
  */
23
23
  export declare const isTransientError: (error: SdkError, depth?: number) => boolean;
24
24
  export declare const isServerError: (error: SdkError) => boolean;
25
+ /**
26
+ * @internal
27
+ */
28
+ export declare function isNodeJsHttp2TransientError(error: Error & {
29
+ code?: string;
30
+ }): boolean;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/service-error-classification",
3
- "version": "4.2.13",
3
+ "version": "4.3.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
6
  "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline service-error-classification",
@@ -54,6 +54,6 @@
54
54
  "directory": ".release/package"
55
55
  },
56
56
  "dependencies": {
57
- "@smithy/types": "^4.14.0"
57
+ "@smithy/types": "^4.14.1"
58
58
  }
59
59
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@smithy/shared-ini-file-loader",
3
- "version": "4.4.8",
3
+ "version": "4.4.9",
4
4
  "dependencies": {
5
- "@smithy/types": "^4.14.0",
5
+ "@smithy/types": "^4.14.1",
6
6
  "tslib": "^2.6.2"
7
7
  },
8
8
  "devDependencies": {
@@ -448,7 +448,7 @@ class SignatureV4 extends SignatureV4Base {
448
448
  return this.signRequest(toSign, options);
449
449
  }
450
450
  }
451
- async signEvent({ headers, payload }, { signingDate = new Date(), priorSignature, signingRegion, signingService }) {
451
+ async signEvent({ headers, payload }, { signingDate = new Date(), priorSignature, signingRegion, signingService, eventStreamCredentials, }) {
452
452
  const region = signingRegion ?? (await this.regionProvider());
453
453
  const { shortDate, longDate } = this.formatDate(signingDate);
454
454
  const scope = createScope(shortDate, region, signingService ?? this.service);
@@ -464,9 +464,14 @@ class SignatureV4 extends SignatureV4Base {
464
464
  hashedHeaders,
465
465
  hashedPayload,
466
466
  ].join("\n");
467
- return this.signString(stringToSign, { signingDate, signingRegion: region, signingService });
467
+ return this.signString(stringToSign, {
468
+ signingDate,
469
+ signingRegion: region,
470
+ signingService,
471
+ eventStreamCredentials,
472
+ });
468
473
  }
469
- async signMessage(signableMessage, { signingDate = new Date(), signingRegion, signingService }) {
474
+ async signMessage(signableMessage, { signingDate = new Date(), signingRegion, signingService, eventStreamCredentials }) {
470
475
  const promise = this.signEvent({
471
476
  headers: this.headerFormatter.format(signableMessage.message.headers),
472
477
  payload: signableMessage.message.body,
@@ -475,13 +480,14 @@ class SignatureV4 extends SignatureV4Base {
475
480
  signingRegion,
476
481
  signingService,
477
482
  priorSignature: signableMessage.priorSignature,
483
+ eventStreamCredentials,
478
484
  });
479
485
  return promise.then((signature) => {
480
486
  return { message: signableMessage.message, signature };
481
487
  });
482
488
  }
483
- async signString(stringToSign, { signingDate = new Date(), signingRegion, signingService } = {}) {
484
- const credentials = await this.credentialProvider();
489
+ async signString(stringToSign, { signingDate = new Date(), signingRegion, signingService, eventStreamCredentials, } = {}) {
490
+ const credentials = eventStreamCredentials ?? (await this.credentialProvider());
485
491
  this.validateResolvedCredentials(credentials);
486
492
  const region = signingRegion ?? (await this.regionProvider());
487
493
  const { shortDate } = this.formatDate(signingDate);
@@ -58,7 +58,7 @@ export class SignatureV4 extends SignatureV4Base {
58
58
  return this.signRequest(toSign, options);
59
59
  }
60
60
  }
61
- async signEvent({ headers, payload }, { signingDate = new Date(), priorSignature, signingRegion, signingService }) {
61
+ async signEvent({ headers, payload }, { signingDate = new Date(), priorSignature, signingRegion, signingService, eventStreamCredentials, }) {
62
62
  const region = signingRegion ?? (await this.regionProvider());
63
63
  const { shortDate, longDate } = this.formatDate(signingDate);
64
64
  const scope = createScope(shortDate, region, signingService ?? this.service);
@@ -74,9 +74,14 @@ export class SignatureV4 extends SignatureV4Base {
74
74
  hashedHeaders,
75
75
  hashedPayload,
76
76
  ].join("\n");
77
- return this.signString(stringToSign, { signingDate, signingRegion: region, signingService });
77
+ return this.signString(stringToSign, {
78
+ signingDate,
79
+ signingRegion: region,
80
+ signingService,
81
+ eventStreamCredentials,
82
+ });
78
83
  }
79
- async signMessage(signableMessage, { signingDate = new Date(), signingRegion, signingService }) {
84
+ async signMessage(signableMessage, { signingDate = new Date(), signingRegion, signingService, eventStreamCredentials }) {
80
85
  const promise = this.signEvent({
81
86
  headers: this.headerFormatter.format(signableMessage.message.headers),
82
87
  payload: signableMessage.message.body,
@@ -85,13 +90,14 @@ export class SignatureV4 extends SignatureV4Base {
85
90
  signingRegion,
86
91
  signingService,
87
92
  priorSignature: signableMessage.priorSignature,
93
+ eventStreamCredentials,
88
94
  });
89
95
  return promise.then((signature) => {
90
96
  return { message: signableMessage.message, signature };
91
97
  });
92
98
  }
93
- async signString(stringToSign, { signingDate = new Date(), signingRegion, signingService } = {}) {
94
- const credentials = await this.credentialProvider();
99
+ async signString(stringToSign, { signingDate = new Date(), signingRegion, signingService, eventStreamCredentials, } = {}) {
100
+ const credentials = eventStreamCredentials ?? (await this.credentialProvider());
95
101
  this.validateResolvedCredentials(credentials);
96
102
  const region = signingRegion ?? (await this.regionProvider());
97
103
  const { shortDate } = this.formatDate(signingDate);
@@ -1,4 +1,4 @@
1
- import type { EventSigner, EventSigningArguments, FormattedEvent, HttpRequest, MessageSigner, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
1
+ import type { EventSigner, EventSigningArguments, FormattedEvent, HttpRequest, MessageSigner, MessageSigningArguments, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
2
2
  import type { SignatureV4CryptoInit, SignatureV4Init } from "./SignatureV4Base";
3
3
  import { SignatureV4Base } from "./SignatureV4Base";
4
4
  /**
@@ -10,10 +10,10 @@ export declare class SignatureV4 extends SignatureV4Base implements RequestPresi
10
10
  presign(originalRequest: HttpRequest, options?: RequestPresigningArguments): Promise<HttpRequest>;
11
11
  sign(stringToSign: string, options?: SigningArguments): Promise<string>;
12
12
  sign(event: FormattedEvent, options: EventSigningArguments): Promise<string>;
13
- sign(event: SignableMessage, options: SigningArguments): Promise<SignedMessage>;
13
+ sign(event: SignableMessage, options: MessageSigningArguments): Promise<SignedMessage>;
14
14
  sign(requestToSign: HttpRequest, options?: RequestSigningArguments): Promise<HttpRequest>;
15
15
  private signEvent;
16
- signMessage(signableMessage: SignableMessage, { signingDate, signingRegion, signingService }: SigningArguments): Promise<SignedMessage>;
16
+ signMessage(signableMessage: SignableMessage, { signingDate, signingRegion, signingService, eventStreamCredentials }: MessageSigningArguments): Promise<SignedMessage>;
17
17
  private signString;
18
18
  private signRequest;
19
19
  private getSignature;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "5.3.13",
3
+ "version": "5.3.14",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,10 +26,10 @@
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
28
  "@smithy/is-array-buffer": "^4.2.2",
29
- "@smithy/protocol-http": "^5.3.13",
30
- "@smithy/types": "^4.14.0",
29
+ "@smithy/protocol-http": "^5.3.14",
30
+ "@smithy/types": "^4.14.1",
31
31
  "@smithy/util-hex-encoding": "^4.2.2",
32
- "@smithy/util-middleware": "^4.2.13",
32
+ "@smithy/util-middleware": "^4.2.14",
33
33
  "@smithy/util-uri-escape": "^4.2.2",
34
34
  "@smithy/util-utf8": "^4.2.2",
35
35
  "tslib": "^2.6.2"
@@ -116,7 +116,14 @@ class Command {
116
116
  ...additionalContext,
117
117
  };
118
118
  const { requestHandler } = configuration;
119
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
119
+ let requestOptions = options ?? {};
120
+ if (smithyContext.eventStream) {
121
+ requestOptions = {
122
+ isEventStream: true,
123
+ ...requestOptions,
124
+ };
125
+ }
126
+ return stack.resolve((request) => requestHandler.handle(request.request, requestOptions), handlerExecutionContext);
120
127
  }
121
128
  }
122
129
  class ClassBuilder {
@@ -26,7 +26,14 @@ export class Command {
26
26
  ...additionalContext,
27
27
  };
28
28
  const { requestHandler } = configuration;
29
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
29
+ let requestOptions = options ?? {};
30
+ if (smithyContext.eventStream) {
31
+ requestOptions = {
32
+ isEventStream: true,
33
+ ...requestOptions,
34
+ };
35
+ }
36
+ return stack.resolve((request) => requestHandler.handle(request.request, requestOptions), handlerExecutionContext);
30
37
  }
31
38
  }
32
39
  class ClassBuilder {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "4.12.9",
3
+ "version": "4.12.12",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
6
  "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline smithy-client",
@@ -26,12 +26,12 @@
26
26
  "license": "Apache-2.0",
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@smithy/core": "^3.23.14",
30
- "@smithy/middleware-endpoint": "^4.4.29",
31
- "@smithy/middleware-stack": "^4.2.13",
32
- "@smithy/protocol-http": "^5.3.13",
33
- "@smithy/types": "^4.14.0",
34
- "@smithy/util-stream": "^4.5.22",
29
+ "@smithy/core": "^3.23.16",
30
+ "@smithy/middleware-endpoint": "^4.4.31",
31
+ "@smithy/middleware-stack": "^4.2.14",
32
+ "@smithy/protocol-http": "^5.3.14",
33
+ "@smithy/types": "^4.14.1",
34
+ "@smithy/util-stream": "^4.5.24",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "engines": {
@@ -7,4 +7,9 @@ export interface ConnectConfiguration {
7
7
  * may take before the connection attempt is abandoned.
8
8
  */
9
9
  requestTimeout?: number;
10
+ /**
11
+ * Signal from the Command class object context,
12
+ * tells the connection manager to use a new connection.
13
+ */
14
+ isEventStream?: boolean;
10
15
  }
@@ -1,5 +1,6 @@
1
1
  import type { Message } from "./eventStream";
2
2
  import type { HttpRequest } from "./http";
3
+ import type { AwsCredentialIdentity } from "./identity/awsCredentialIdentity";
3
4
  /**
4
5
  * @public
5
6
  *
@@ -76,9 +77,25 @@ export interface RequestPresigningArguments extends RequestSigningArguments {
76
77
  /**
77
78
  * @public
78
79
  */
79
- export interface EventSigningArguments extends SigningArguments {
80
+ export interface EventSigningArguments extends SigningArguments, EventStreamRequestScopedCredentials {
80
81
  priorSignature: string;
81
82
  }
83
+ /**
84
+ * @public
85
+ */
86
+ export interface MessageSigningArguments extends SigningArguments, EventStreamRequestScopedCredentials {
87
+ }
88
+ /**
89
+ * @internal
90
+ */
91
+ export interface EventStreamRequestScopedCredentials {
92
+ /**
93
+ * Optional, static credentials used for the duration of the event-stream request.
94
+ * If not provided, the signer's internal credential provider would be used, if
95
+ * the signer is SignatureV4.
96
+ */
97
+ eventStreamCredentials?: AwsCredentialIdentity;
98
+ }
82
99
  /**
83
100
  * @public
84
101
  */
@@ -150,6 +167,6 @@ export interface SignedMessage {
150
167
  * @public
151
168
  */
152
169
  export interface MessageSigner {
153
- signMessage(message: SignableMessage, args: SigningArguments): Promise<SignedMessage>;
154
- sign(event: SignableMessage, options: SigningArguments): Promise<SignedMessage>;
170
+ signMessage(message: SignableMessage, args: MessageSigningArguments): Promise<SignedMessage>;
171
+ sign(event: SignableMessage, options: MessageSigningArguments): Promise<SignedMessage>;
155
172
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/types",
3
- "version": "4.14.0",
3
+ "version": "4.14.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
6
  "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline types",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/url-parser",
3
- "version": "4.2.13",
3
+ "version": "4.2.14",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
6
  "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline url-parser",
@@ -23,8 +23,8 @@
23
23
  "license": "Apache-2.0",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@smithy/querystring-parser": "^4.2.13",
27
- "@smithy/types": "^4.14.0",
26
+ "@smithy/querystring-parser": "^4.2.14",
27
+ "@smithy/types": "^4.14.1",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "typesVersions": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "4.3.45",
3
+ "version": "4.3.48",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
6
  "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline util-defaults-mode-browser",
@@ -23,9 +23,9 @@
23
23
  "license": "Apache-2.0",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@smithy/property-provider": "^4.2.13",
27
- "@smithy/smithy-client": "^4.12.9",
28
- "@smithy/types": "^4.14.0",
26
+ "@smithy/property-provider": "^4.2.14",
27
+ "@smithy/smithy-client": "^4.12.12",
28
+ "@smithy/types": "^4.14.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.2.49",
3
+ "version": "4.2.53",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
6
  "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline util-defaults-mode-node",
@@ -23,12 +23,12 @@
23
23
  "license": "Apache-2.0",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@smithy/config-resolver": "^4.4.14",
27
- "@smithy/credential-provider-imds": "^4.2.13",
28
- "@smithy/node-config-provider": "^4.3.13",
29
- "@smithy/property-provider": "^4.2.13",
30
- "@smithy/smithy-client": "^4.12.9",
31
- "@smithy/types": "^4.14.0",
26
+ "@smithy/config-resolver": "^4.4.17",
27
+ "@smithy/credential-provider-imds": "^4.2.14",
28
+ "@smithy/node-config-provider": "^4.3.14",
29
+ "@smithy/property-provider": "^4.2.14",
30
+ "@smithy/smithy-client": "^4.12.12",
31
+ "@smithy/types": "^4.14.1",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {