@cdklabs/cdk-ssm-documents 0.0.61 → 0.0.63

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 (600) hide show
  1. package/.jsii +13 -13
  2. package/lib/construct/synth-utils.js +1 -1
  3. package/lib/document/automation-document.js +1 -1
  4. package/lib/document/command-document.js +1 -1
  5. package/lib/document/document-builder.js +2 -2
  6. package/lib/document/ssm-document.js +1 -1
  7. package/lib/domain/aws-service.js +1 -1
  8. package/lib/domain/choice.js +1 -1
  9. package/lib/domain/data-type.js +1 -1
  10. package/lib/domain/enum/install-action.js +2 -2
  11. package/lib/domain/enum/install-uninstall-repair.js +2 -2
  12. package/lib/domain/enum/installation-type.js +2 -2
  13. package/lib/domain/enum/package-name.js +2 -2
  14. package/lib/domain/input.js +1 -1
  15. package/lib/domain/operation.js +1 -1
  16. package/lib/domain/platform.js +1 -1
  17. package/lib/domain/precondition.js +1 -1
  18. package/lib/incident-response/incident-response.js +3 -3
  19. package/lib/interface/approve-hook.js +2 -2
  20. package/lib/interface/auth-method.js +3 -3
  21. package/lib/interface/aws-invoker.js +2 -2
  22. package/lib/interface/downloadable-content.js +8 -8
  23. package/lib/interface/environment.js +3 -3
  24. package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
  25. package/lib/interface/observer.js +1 -1
  26. package/lib/interface/on-failure.js +6 -6
  27. package/lib/interface/pause-hook.js +2 -2
  28. package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
  29. package/lib/interface/run-document-location.js +2 -2
  30. package/lib/interface/sleep-hook.js +2 -2
  31. package/lib/interface/step-ref.js +1 -1
  32. package/lib/interface/variables/boolean-variable.js +2 -2
  33. package/lib/interface/variables/map-list-variable.js +2 -2
  34. package/lib/interface/variables/number-variable.js +2 -2
  35. package/lib/interface/variables/secure-string-variable.js +4 -4
  36. package/lib/interface/variables/string-list-variable.js +2 -2
  37. package/lib/interface/variables/string-map-variable.js +2 -2
  38. package/lib/interface/variables/string-variable.js +4 -4
  39. package/lib/interface/variables/variable.js +2 -2
  40. package/lib/interface/webhook.js +1 -1
  41. package/lib/parent-steps/automation/approve-step.js +1 -1
  42. package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
  43. package/lib/parent-steps/automation/aws-api-step.js +1 -1
  44. package/lib/parent-steps/automation/branch-step.js +1 -1
  45. package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
  46. package/lib/parent-steps/automation/copy-image-step.js +1 -1
  47. package/lib/parent-steps/automation/create-image-step.js +1 -1
  48. package/lib/parent-steps/automation/create-stack-step.js +3 -3
  49. package/lib/parent-steps/automation/create-tags-step.js +3 -3
  50. package/lib/parent-steps/automation/delete-image-step.js +1 -1
  51. package/lib/parent-steps/automation/delete-stack-step.js +1 -1
  52. package/lib/parent-steps/automation/execute-automation-step.js +1 -1
  53. package/lib/parent-steps/automation/execute-script-step.js +5 -5
  54. package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
  55. package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
  56. package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
  57. package/lib/parent-steps/automation/pause-step.js +1 -1
  58. package/lib/parent-steps/automation/run-command-step.js +3 -3
  59. package/lib/parent-steps/automation/run-instance-step.js +1 -1
  60. package/lib/parent-steps/automation/sleep-step.js +1 -1
  61. package/lib/parent-steps/automation/update-variable.js +1 -1
  62. package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
  63. package/lib/parent-steps/automation-step.js +1 -1
  64. package/lib/parent-steps/command/applications-step.js +1 -1
  65. package/lib/parent-steps/command/configure-docker-step.js +1 -1
  66. package/lib/parent-steps/command/configure-package-step.js +1 -1
  67. package/lib/parent-steps/command/domain-join-step.js +1 -1
  68. package/lib/parent-steps/command/download-content-step.js +1 -1
  69. package/lib/parent-steps/command/ps-module-step.js +1 -1
  70. package/lib/parent-steps/command/run-docker-action-step.js +1 -1
  71. package/lib/parent-steps/command/run-document-step.js +1 -1
  72. package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
  73. package/lib/parent-steps/command/run-shell-script-step.js +1 -1
  74. package/lib/parent-steps/command/software-inventory-step.js +1 -1
  75. package/lib/parent-steps/command/update-agent-step.js +1 -1
  76. package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
  77. package/lib/parent-steps/command-step.js +1 -1
  78. package/lib/parent-steps/step.js +1 -1
  79. package/lib/patterns/automation/composite-step.js +2 -2
  80. package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
  81. package/lib/patterns/automation/string-step.js +1 -1
  82. package/lib/patterns/document/string-document.js +1 -1
  83. package/lib/patterns/document/timed-document.js +1 -1
  84. package/lib/samples/hello-world.js +1 -1
  85. package/lib/simulation/automation/approve-simulation.js +1 -1
  86. package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
  87. package/lib/simulation/automation/automation-simulation-base.js +1 -1
  88. package/lib/simulation/automation/aws-api-simulation.js +1 -1
  89. package/lib/simulation/automation/branch-simulation.js +1 -1
  90. package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
  91. package/lib/simulation/automation/copy-image-simulation.js +1 -1
  92. package/lib/simulation/automation/create-image-simulation.js +1 -1
  93. package/lib/simulation/automation/create-stack-simulation.js +1 -1
  94. package/lib/simulation/automation/create-tags-simulation.js +1 -1
  95. package/lib/simulation/automation/delete-image-simulation.js +1 -1
  96. package/lib/simulation/automation/delete-stack-simulation.js +1 -1
  97. package/lib/simulation/automation/execute-script-simulation.js +1 -1
  98. package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
  99. package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
  100. package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
  101. package/lib/simulation/automation/pause-simulation.js +1 -1
  102. package/lib/simulation/automation/run-command-simulation.js +1 -1
  103. package/lib/simulation/automation/run-instance-simulation.js +1 -1
  104. package/lib/simulation/automation/sleep-simulation.js +1 -1
  105. package/lib/simulation/automation/update-variable-simulation.js +1 -1
  106. package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
  107. package/lib/simulation/automation-step-simulation.js +1 -1
  108. package/lib/simulation/command/command-simulation-base.js +1 -1
  109. package/lib/simulation/command/ps-module-simulation.js +1 -1
  110. package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
  111. package/lib/simulation/command/run-shell-script-simulation.js +1 -1
  112. package/lib/simulation/command-step-simulation.js +1 -1
  113. package/lib/simulation/document/automation-simulation.js +1 -1
  114. package/lib/simulation/document/command-simulation.js +1 -1
  115. package/lib/simulation/simulation.js +1 -1
  116. package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
  117. package/node_modules/@aws-sdk/client-cloudwatch/package.json +10 -10
  118. package/node_modules/@aws-sdk/client-ec2/README.md +66 -2
  119. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +33 -0
  120. package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +98 -60
  121. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +6 -0
  122. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeIpamPoolAllocationsCommand.js +16 -0
  123. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ModifyIpamPoolAllocationCommand.js +16 -0
  124. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +2 -0
  125. package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +1 -0
  126. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/DescribeIpamPoolAllocationsPaginator.js +4 -0
  127. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/index.js +1 -0
  128. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +51 -13
  129. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +74 -2
  130. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +56 -4
  131. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  132. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  133. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  134. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +17 -0
  135. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  136. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  137. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  138. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyImageCommand.d.ts +1 -1
  139. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  140. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
  141. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
  142. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
  143. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  144. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  145. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  146. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  147. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  148. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  149. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  150. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  151. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  152. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  153. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  154. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  155. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +1 -1
  156. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
  157. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  158. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  159. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  160. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  161. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -1
  162. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  163. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  164. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
  165. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  166. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
  167. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
  168. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  169. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  170. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  171. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  172. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  173. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  174. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  176. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  177. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  178. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  179. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  180. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  181. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  182. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  183. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  184. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  185. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  186. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  187. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  188. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  189. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  190. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  191. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  192. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  193. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
  194. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -1
  195. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  196. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  197. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  198. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  199. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  200. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  201. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  202. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  203. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  204. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  205. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  206. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  207. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  209. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  210. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  212. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  213. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  214. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  215. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  216. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  217. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  218. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  219. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  220. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  221. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +1 -1
  222. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  223. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  224. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  225. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConcentratorCommand.d.ts +1 -1
  226. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  227. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  228. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeIpamPoolAllocationsCommand.d.ts +110 -0
  229. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  230. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  231. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -1
  232. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTagsCommand.d.ts +2 -3
  233. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +5 -0
  234. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ExportImageCommand.d.ts +1 -1
  235. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +2 -1
  236. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -2
  237. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +6 -0
  238. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  239. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportImageCommand.d.ts +1 -1
  240. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  241. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  242. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +3 -0
  243. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyIpamPoolAllocationCommand.d.ts +92 -0
  244. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +1 -1
  245. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  246. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyRouteServerCommand.d.ts +1 -2
  247. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVolumeCommand.d.ts +5 -0
  248. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  249. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  250. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  251. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  252. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  253. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  254. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  255. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  256. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  257. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  258. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +2 -0
  259. package/node_modules/@aws-sdk/client-ec2/dist-types/index.d.ts +52 -2
  260. package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +1 -0
  261. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +12 -0
  262. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +51 -74
  263. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +77 -46
  264. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +104 -129
  265. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +127 -18
  266. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/DescribeIpamPoolAllocationsPaginator.d.ts +7 -0
  267. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/index.d.ts +1 -0
  268. package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +6 -0
  269. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +42 -0
  270. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +12 -0
  271. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamPoolAllocationsCommand.d.ts +53 -0
  272. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +2 -4
  273. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +1 -2
  274. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +2 -4
  275. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +4 -2
  276. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamPoolAllocationCommand.d.ts +53 -0
  277. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +1 -1
  278. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  279. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyRouteServerCommand.d.ts +4 -2
  280. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +2 -0
  281. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +1 -0
  282. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +2 -0
  283. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +12 -11
  284. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +12 -10
  285. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +26 -27
  286. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +31 -4
  287. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/DescribeIpamPoolAllocationsPaginator.d.ts +11 -0
  288. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/index.d.ts +1 -0
  289. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  290. package/node_modules/@aws-sdk/client-ec2/package.json +10 -10
  291. package/node_modules/@aws-sdk/client-iam/package.json +9 -9
  292. package/node_modules/@aws-sdk/client-lambda/package.json +9 -9
  293. package/node_modules/@aws-sdk/client-s3/package.json +17 -17
  294. package/node_modules/@aws-sdk/client-sns/package.json +8 -8
  295. package/node_modules/@aws-sdk/client-sqs/package.json +10 -10
  296. package/node_modules/@aws-sdk/client-ssm/package.json +8 -8
  297. package/node_modules/@aws-sdk/core/dist-cjs/index.js +10 -10
  298. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +10 -10
  299. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -1
  300. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +9 -9
  301. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +1 -1
  302. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +0 -1
  303. package/node_modules/@aws-sdk/core/package.json +6 -6
  304. package/node_modules/@aws-sdk/crc64-nvme/package.json +2 -2
  305. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  306. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +12 -6
  307. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +12 -6
  308. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -7
  309. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  310. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  311. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +12 -1
  312. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +12 -1
  313. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  314. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  315. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  316. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  317. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  318. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  319. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +7 -7
  320. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  321. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +6 -6
  322. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +6 -7
  323. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +4 -4
  324. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  325. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  326. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  327. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  328. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  329. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  330. package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  331. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -5
  332. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  333. package/node_modules/@aws-sdk/types/package.json +2 -2
  334. package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
  335. package/node_modules/@nodable/entities/package.json +1 -1
  336. package/node_modules/@nodable/entities/src/EntityDecoder.js +1 -1
  337. package/node_modules/@nodable/entities/src/entities.js +0 -18
  338. package/node_modules/@smithy/core/cbor.d.ts +1 -3
  339. package/node_modules/@smithy/core/cbor.js +0 -1
  340. package/node_modules/@smithy/core/checksum.d.ts +2 -2
  341. package/node_modules/@smithy/core/checksum.js +1 -1
  342. package/node_modules/@smithy/core/client.d.ts +1 -3
  343. package/node_modules/@smithy/core/client.js +0 -1
  344. package/node_modules/@smithy/core/config.d.ts +2 -2
  345. package/node_modules/@smithy/core/config.js +1 -1
  346. package/node_modules/@smithy/core/dist-cjs/index.js +3 -4
  347. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +3 -11
  348. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
  349. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +2 -2
  350. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +2 -2
  351. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +9 -40
  352. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +9 -40
  353. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +12 -142
  354. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +39 -22
  355. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +39 -22
  356. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +7 -9
  357. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -2
  358. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +2 -2
  359. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -2
  360. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +184 -0
  361. package/node_modules/@smithy/core/dist-es/index.js +6 -6
  362. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +2 -2
  363. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js +1 -1
  364. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +2 -2
  365. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +2 -2
  366. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js +1 -1
  367. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -1
  368. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +1 -1
  369. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
  370. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -2
  371. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
  372. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +5 -5
  373. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
  374. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
  375. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +19 -6
  376. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +4 -5
  377. package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -1
  378. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/ConfiguredRetryStrategy.js +4 -5
  379. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryToken.js +3 -0
  380. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +9 -5
  381. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +3 -4
  382. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +1 -2
  383. package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +1 -1
  384. package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +9 -0
  385. package/node_modules/@smithy/core/dist-es/submodules/{protocols/url-parser → transport}/parseUrl.js +1 -1
  386. package/node_modules/@smithy/core/dist-es/submodules/{endpoints → transport}/toEndpointV1.js +1 -1
  387. package/node_modules/@smithy/core/dist-types/index.d.ts +10 -6
  388. package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +2 -2
  389. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +2 -2
  390. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +2 -2
  391. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +2 -2
  392. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/lib/index.d.ts +1 -1
  393. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  394. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +5 -5
  395. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/httpHandler.d.ts +1 -2
  396. package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +1 -1
  397. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/configurations.d.ts +4 -1
  398. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/ConfiguredRetryStrategy.d.ts +1 -2
  399. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/DefaultRetryToken.d.ts +3 -0
  400. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/StandardRetryStrategy.d.ts +1 -1
  401. package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +9 -0
  402. package/node_modules/@smithy/core/endpoints.d.ts +1 -3
  403. package/node_modules/@smithy/core/endpoints.js +0 -1
  404. package/node_modules/@smithy/core/event-streams.d.ts +1 -3
  405. package/node_modules/@smithy/core/event-streams.js +0 -1
  406. package/node_modules/@smithy/core/package.json +20 -11
  407. package/node_modules/@smithy/core/protocols.d.ts +1 -3
  408. package/node_modules/@smithy/core/protocols.js +0 -1
  409. package/node_modules/@smithy/core/retry.d.ts +2 -2
  410. package/node_modules/@smithy/core/retry.js +1 -1
  411. package/node_modules/@smithy/core/schema.d.ts +1 -3
  412. package/node_modules/@smithy/core/schema.js +0 -1
  413. package/node_modules/@smithy/core/serde.d.ts +1 -3
  414. package/node_modules/@smithy/core/serde.js +0 -1
  415. package/node_modules/@smithy/core/transport.d.ts +5 -0
  416. package/node_modules/@smithy/core/transport.js +5 -0
  417. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +14 -13
  418. package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +14 -13
  419. package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
  420. package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
  421. package/node_modules/@smithy/middleware-compression/package.json +3 -3
  422. package/node_modules/@smithy/node-http-handler/package.json +4 -4
  423. package/node_modules/@smithy/signature-v4/package.json +3 -3
  424. package/node_modules/@smithy/types/dist-types/retry.d.ts +25 -0
  425. package/node_modules/@smithy/types/package.json +1 -1
  426. package/node_modules/js-yaml/README.md +4 -20
  427. package/node_modules/js-yaml/bin/js-yaml.js +53 -62
  428. package/node_modules/js-yaml/dist/js-yaml.js +2404 -3880
  429. package/node_modules/js-yaml/dist/js-yaml.js.map +1 -0
  430. package/node_modules/js-yaml/dist/js-yaml.min.js +33 -2
  431. package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -0
  432. package/node_modules/js-yaml/dist/js-yaml.mjs +2381 -3855
  433. package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -0
  434. package/node_modules/js-yaml/index.js +32 -35
  435. package/node_modules/js-yaml/lib/common.js +28 -37
  436. package/node_modules/js-yaml/lib/dumper.js +450 -478
  437. package/node_modules/js-yaml/lib/exception.js +23 -27
  438. package/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +37 -0
  439. package/node_modules/js-yaml/lib/loader.js +927 -866
  440. package/node_modules/js-yaml/lib/schema/core.js +2 -4
  441. package/node_modules/js-yaml/lib/schema/default.js +2 -4
  442. package/node_modules/js-yaml/lib/schema/failsafe.js +3 -6
  443. package/node_modules/js-yaml/lib/schema/json.js +2 -4
  444. package/node_modules/js-yaml/lib/schema.js +56 -68
  445. package/node_modules/js-yaml/lib/snippet.js +47 -52
  446. package/node_modules/js-yaml/lib/type/binary.js +61 -64
  447. package/node_modules/js-yaml/lib/type/bool.js +14 -14
  448. package/node_modules/js-yaml/lib/type/float.js +47 -45
  449. package/node_modules/js-yaml/lib/type/int.js +65 -79
  450. package/node_modules/js-yaml/lib/type/map.js +4 -4
  451. package/node_modules/js-yaml/lib/type/merge.js +5 -5
  452. package/node_modules/js-yaml/lib/type/null.js +16 -16
  453. package/node_modules/js-yaml/lib/type/omap.js +22 -21
  454. package/node_modules/js-yaml/lib/type/pairs.js +24 -27
  455. package/node_modules/js-yaml/lib/type/seq.js +4 -4
  456. package/node_modules/js-yaml/lib/type/set.js +12 -12
  457. package/node_modules/js-yaml/lib/type/str.js +4 -4
  458. package/node_modules/js-yaml/lib/type/timestamp.js +53 -53
  459. package/node_modules/js-yaml/lib/type.js +30 -30
  460. package/node_modules/js-yaml/package.json +32 -21
  461. package/package.json +11 -11
  462. package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +0 -6
  463. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -21
  464. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +0 -21
  465. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -46
  466. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +0 -6
  467. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +0 -24
  468. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +0 -19
  469. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +0 -27
  470. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +0 -5
  471. package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +0 -10
  472. package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +0 -44
  473. package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +0 -5
  474. package/node_modules/@smithy/core/dist-cjs/setFeature.js +0 -14
  475. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -18
  476. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +0 -38
  477. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +0 -15
  478. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +0 -6
  479. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +0 -9
  480. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +0 -6
  481. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +0 -61
  482. package/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js +0 -1
  483. package/node_modules/@smithy/core/dist-es/submodules/client/util-middleware/getSmithyContext.js +0 -2
  484. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/TestVectors.fixture.js +0 -146
  485. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/vectorTypes.fixture.js +0 -1
  486. package/node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts +0 -6
  487. package/node_modules/@smithy/core/dist-types/submodules/client/util-middleware/getSmithyContext.d.ts +0 -5
  488. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/TestVectors.fixture.d.ts +0 -2
  489. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/vectorTypes.fixture.d.ts +0 -12
  490. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
  491. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +0 -8
  492. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
  493. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
  494. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
  495. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -12
  496. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +0 -12
  497. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -12
  498. package/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js +0 -399
  499. package/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts +0 -14
  500. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/CHANGELOG.md +0 -0
  501. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/LICENSE +0 -0
  502. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/README.md +0 -0
  503. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js +0 -0
  504. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js.map +0 -0
  505. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.cjs +0 -0
  506. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.d.cts +0 -0
  507. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js +0 -0
  508. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js.map +0 -0
  509. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js +0 -0
  510. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js.map +0 -0
  511. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js +0 -0
  512. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
  513. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/package.json +0 -0
  514. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/cli.js +0 -0
  515. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/man.js +0 -0
  516. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/read.js +0 -0
  517. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.d.ts +0 -0
  518. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.js +0 -0
  519. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/ignoreAttributes.js +0 -0
  520. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/util.js +0 -0
  521. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
  522. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
  523. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
  524. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
  525. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
  526. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
  527. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
  528. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
  529. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Report.js +0 -0
  530. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPath.js +0 -0
  531. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
  532. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XMLParser.js +0 -0
  533. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
  534. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
  535. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
  536. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
  537. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
  538. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
  539. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
  540. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
  541. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
  542. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
  543. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
  544. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
  545. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/validator.js +0 -0
  546. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
  547. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/DocTypeReader.js +0 -0
  548. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OptionsBuilder.js +0 -0
  549. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OrderedObjParser.js +0 -0
  550. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/XMLParser.js +0 -0
  551. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/node2json.js +0 -0
  552. /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
  553. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -0
  554. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.js +0 -0
  555. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.js +0 -0
  556. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.js +0 -0
  557. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.js +0 -0
  558. /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.js +0 -0
  559. /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.js +0 -0
  560. /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.js +0 -0
  561. /package/node_modules/@smithy/core/dist-es/{pagination → legacy-root-exports/pagination}/createPaginator.js +0 -0
  562. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.js +0 -0
  563. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.js +0 -0
  564. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.js +0 -0
  565. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.js +0 -0
  566. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.js +0 -0
  567. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.js +0 -0
  568. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.js +0 -0
  569. /package/node_modules/@smithy/core/dist-es/{getSmithyContext.js → submodules/transport/getSmithyContext.js} +0 -0
  570. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpRequest.js +0 -0
  571. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpResponse.js +0 -0
  572. /package/node_modules/@smithy/core/dist-es/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.js +0 -0
  573. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/isValidHostname.js +0 -0
  574. /package/node_modules/@smithy/core/dist-es/submodules/{client/util-middleware → transport}/normalizeProvider.js +0 -0
  575. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/querystring-parser → transport}/parseQueryString.js +0 -0
  576. /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -0
  577. /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.d.ts +0 -0
  578. /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.d.ts +0 -0
  579. /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.d.ts +0 -0
  580. /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.d.ts +0 -0
  581. /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.d.ts +0 -0
  582. /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.d.ts +0 -0
  583. /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.d.ts +0 -0
  584. /package/node_modules/@smithy/core/dist-types/{pagination → legacy-root-exports/pagination}/createPaginator.d.ts +0 -0
  585. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.d.ts +0 -0
  586. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -0
  587. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.d.ts +0 -0
  588. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.d.ts +0 -0
  589. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.d.ts +0 -0
  590. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.d.ts +0 -0
  591. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.d.ts +0 -0
  592. /package/node_modules/@smithy/core/dist-types/{getSmithyContext.d.ts → submodules/transport/getSmithyContext.d.ts} +0 -0
  593. /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/httpRequest.d.ts +0 -0
  594. /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/httpResponse.d.ts +0 -0
  595. /package/node_modules/@smithy/core/dist-types/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.d.ts +0 -0
  596. /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/isValidHostname.d.ts +0 -0
  597. /package/node_modules/@smithy/core/dist-types/submodules/{client/util-middleware → transport}/normalizeProvider.d.ts +0 -0
  598. /package/node_modules/@smithy/core/dist-types/submodules/{protocols/querystring-parser → transport}/parseQueryString.d.ts +0 -0
  599. /package/node_modules/@smithy/core/dist-types/submodules/{protocols/url-parser → transport}/parseUrl.d.ts +0 -0
  600. /package/node_modules/@smithy/core/dist-types/submodules/{endpoints → transport}/toEndpointV1.d.ts +0 -0
@@ -1,38 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HttpApiKeyAuthSigner = void 0;
4
- const protocols_1 = require("@smithy/core/protocols");
5
- const types_1 = require("@smithy/types");
6
- class HttpApiKeyAuthSigner {
7
- async sign(httpRequest, identity, signingProperties) {
8
- if (!signingProperties) {
9
- throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");
10
- }
11
- if (!signingProperties.name) {
12
- throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing");
13
- }
14
- if (!signingProperties.in) {
15
- throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing");
16
- }
17
- if (!identity.apiKey) {
18
- throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");
19
- }
20
- const clonedRequest = protocols_1.HttpRequest.clone(httpRequest);
21
- if (signingProperties.in === types_1.HttpApiKeyAuthLocation.QUERY) {
22
- clonedRequest.query[signingProperties.name] = identity.apiKey;
23
- }
24
- else if (signingProperties.in === types_1.HttpApiKeyAuthLocation.HEADER) {
25
- clonedRequest.headers[signingProperties.name] = signingProperties.scheme
26
- ? `${signingProperties.scheme} ${identity.apiKey}`
27
- : identity.apiKey;
28
- }
29
- else {
30
- throw new Error("request can only be signed with `apiKey` locations `query` or `header`, " +
31
- "but found: `" +
32
- signingProperties.in +
33
- "`");
34
- }
35
- return clonedRequest;
36
- }
37
- }
38
- exports.HttpApiKeyAuthSigner = HttpApiKeyAuthSigner;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HttpBearerAuthSigner = void 0;
4
- const protocols_1 = require("@smithy/core/protocols");
5
- class HttpBearerAuthSigner {
6
- async sign(httpRequest, identity, signingProperties) {
7
- const clonedRequest = protocols_1.HttpRequest.clone(httpRequest);
8
- if (!identity.token) {
9
- throw new Error("request could not be signed with `token` since the `token` is not defined");
10
- }
11
- clonedRequest.headers["Authorization"] = `Bearer ${identity.token}`;
12
- return clonedRequest;
13
- }
14
- }
15
- exports.HttpBearerAuthSigner = HttpBearerAuthSigner;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./httpApiKeyAuth"), exports);
5
- tslib_1.__exportStar(require("./httpBearerAuth"), exports);
6
- tslib_1.__exportStar(require("./noAuth"), exports);
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NoAuthSigner = void 0;
4
- class NoAuthSigner {
5
- async sign(httpRequest, identity, signingProperties) {
6
- return httpRequest;
7
- }
8
- }
9
- exports.NoAuthSigner = NoAuthSigner;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DefaultIdentityProviderConfig"), exports);
5
- tslib_1.__exportStar(require("./httpAuthSchemes"), exports);
6
- tslib_1.__exportStar(require("./memoizeIdentityProvider"), exports);
@@ -1,61 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.memoizeIdentityProvider = exports.doesIdentityRequireRefresh = exports.isIdentityExpired = exports.EXPIRATION_MS = exports.createIsIdentityExpiredFunction = void 0;
4
- const createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired(identity) {
5
- return (0, exports.doesIdentityRequireRefresh)(identity) && identity.expiration.getTime() - Date.now() < expirationMs;
6
- };
7
- exports.createIsIdentityExpiredFunction = createIsIdentityExpiredFunction;
8
- exports.EXPIRATION_MS = 300_000;
9
- exports.isIdentityExpired = (0, exports.createIsIdentityExpiredFunction)(exports.EXPIRATION_MS);
10
- const doesIdentityRequireRefresh = (identity) => identity.expiration !== undefined;
11
- exports.doesIdentityRequireRefresh = doesIdentityRequireRefresh;
12
- const memoizeIdentityProvider = (provider, isExpired, requiresRefresh) => {
13
- if (provider === undefined) {
14
- return undefined;
15
- }
16
- const normalizedProvider = typeof provider !== "function" ? async () => Promise.resolve(provider) : provider;
17
- let resolved;
18
- let pending;
19
- let hasResult;
20
- let isConstant = false;
21
- const coalesceProvider = async (options) => {
22
- if (!pending) {
23
- pending = normalizedProvider(options);
24
- }
25
- try {
26
- resolved = await pending;
27
- hasResult = true;
28
- isConstant = false;
29
- }
30
- finally {
31
- pending = undefined;
32
- }
33
- return resolved;
34
- };
35
- if (isExpired === undefined) {
36
- return async (options) => {
37
- if (!hasResult || options?.forceRefresh) {
38
- resolved = await coalesceProvider(options);
39
- }
40
- return resolved;
41
- };
42
- }
43
- return async (options) => {
44
- if (!hasResult || options?.forceRefresh) {
45
- resolved = await coalesceProvider(options);
46
- }
47
- if (isConstant) {
48
- return resolved;
49
- }
50
- if (!requiresRefresh(resolved)) {
51
- isConstant = true;
52
- return resolved;
53
- }
54
- if (isExpired(resolved)) {
55
- await coalesceProvider(options);
56
- return resolved;
57
- }
58
- return resolved;
59
- };
60
- };
61
- exports.memoizeIdentityProvider = memoizeIdentityProvider;
@@ -1 +0,0 @@
1
- export { requestBuilder } from "@smithy/core/protocols";
@@ -1,2 +0,0 @@
1
- import { SMITHY_CONTEXT_KEY } from "@smithy/types";
2
- export const getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
@@ -1,146 +0,0 @@
1
- import { Int64 } from "./Int64";
2
- export const vectors = {
3
- all_headers: {
4
- expectation: "success",
5
- encoded: Uint8Array.from([
6
- 0, 0, 0, 204, 0, 0, 0, 175, 15, 174, 100, 202, 10, 101, 118, 101, 110, 116, 45, 116, 121, 112, 101, 4, 0, 0, 160,
7
- 12, 12, 99, 111, 110, 116, 101, 110, 116, 45, 116, 121, 112, 101, 7, 0, 16, 97, 112, 112, 108, 105, 99, 97, 116,
8
- 105, 111, 110, 47, 106, 115, 111, 110, 10, 98, 111, 111, 108, 32, 102, 97, 108, 115, 101, 1, 9, 98, 111, 111, 108,
9
- 32, 116, 114, 117, 101, 0, 4, 98, 121, 116, 101, 2, 207, 8, 98, 121, 116, 101, 32, 98, 117, 102, 6, 0, 20, 73, 39,
10
- 109, 32, 97, 32, 108, 105, 116, 116, 108, 101, 32, 116, 101, 97, 112, 111, 116, 33, 9, 116, 105, 109, 101, 115,
11
- 116, 97, 109, 112, 8, 0, 0, 0, 0, 0, 132, 95, 237, 5, 105, 110, 116, 49, 54, 3, 0, 42, 5, 105, 110, 116, 54, 52,
12
- 5, 0, 0, 0, 0, 2, 135, 87, 178, 4, 117, 117, 105, 100, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
13
- 123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125, 171, 165, 241, 12,
14
- ]),
15
- decoded: {
16
- headers: {
17
- "event-type": {
18
- type: "integer",
19
- value: 40972,
20
- },
21
- "content-type": {
22
- type: "string",
23
- value: "application/json",
24
- },
25
- "bool false": {
26
- type: "boolean",
27
- value: false,
28
- },
29
- "bool true": {
30
- type: "boolean",
31
- value: true,
32
- },
33
- byte: {
34
- type: "byte",
35
- value: -49,
36
- },
37
- "byte buf": {
38
- type: "binary",
39
- value: Uint8Array.from([
40
- 73, 39, 109, 32, 97, 32, 108, 105, 116, 116, 108, 101, 32, 116, 101, 97, 112, 111, 116, 33,
41
- ]),
42
- },
43
- timestamp: {
44
- type: "timestamp",
45
- value: new Date(8675309),
46
- },
47
- int16: {
48
- type: "short",
49
- value: 42,
50
- },
51
- int64: {
52
- type: "long",
53
- value: Int64.fromNumber(42424242),
54
- },
55
- uuid: {
56
- type: "uuid",
57
- value: "01020304-0506-0708-090a-0b0c0d0e0f10",
58
- },
59
- },
60
- body: Uint8Array.from([123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125]),
61
- },
62
- },
63
- empty_message: {
64
- expectation: "success",
65
- encoded: Uint8Array.from([0, 0, 0, 16, 0, 0, 0, 0, 5, 194, 72, 235, 125, 152, 200, 255]),
66
- decoded: {
67
- headers: {},
68
- body: Uint8Array.from([]),
69
- },
70
- },
71
- int32_header: {
72
- expectation: "success",
73
- encoded: Uint8Array.from([
74
- 0, 0, 0, 45, 0, 0, 0, 16, 65, 196, 36, 184, 10, 101, 118, 101, 110, 116, 45, 116, 121, 112, 101, 4, 0, 0, 160, 12,
75
- 123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125, 54, 244, 128, 160,
76
- ]),
77
- decoded: {
78
- headers: {
79
- "event-type": {
80
- type: "integer",
81
- value: 40972,
82
- },
83
- },
84
- body: Uint8Array.from([123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125]),
85
- },
86
- },
87
- payload_no_headers: {
88
- expectation: "success",
89
- encoded: Uint8Array.from([
90
- 0, 0, 0, 29, 0, 0, 0, 0, 253, 82, 140, 90, 123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125, 195, 101, 57,
91
- 54,
92
- ]),
93
- decoded: {
94
- headers: {},
95
- body: Uint8Array.from([123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125]),
96
- },
97
- },
98
- payload_one_str_header: {
99
- expectation: "success",
100
- encoded: Uint8Array.from([
101
- 0, 0, 0, 61, 0, 0, 0, 32, 7, 253, 131, 150, 12, 99, 111, 110, 116, 101, 110, 116, 45, 116, 121, 112, 101, 7, 0,
102
- 16, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 123, 39, 102, 111, 111, 39, 58,
103
- 39, 98, 97, 114, 39, 125, 141, 156, 8, 177,
104
- ]),
105
- decoded: {
106
- headers: {
107
- "content-type": {
108
- type: "string",
109
- value: "application/json",
110
- },
111
- },
112
- body: Uint8Array.from([123, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125]),
113
- },
114
- },
115
- corrupted_headers: {
116
- expectation: "failure",
117
- encoded: Uint8Array.from([
118
- 0, 0, 0, 61, 0, 0, 0, 32, 7, 253, 131, 150, 12, 99, 111, 110, 116, 101, 110, 116, 45, 116, 121, 112, 101, 7, 0,
119
- 16, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 123, 97, 102, 111, 111, 39, 58,
120
- 39, 98, 97, 114, 39, 125, 141, 156, 8, 177,
121
- ]),
122
- },
123
- corrupted_header_len: {
124
- expectation: "failure",
125
- encoded: Uint8Array.from([
126
- 0, 0, 0, 61, 0, 0, 0, 33, 7, 253, 131, 150, 12, 99, 111, 110, 116, 101, 110, 116, 45, 116, 121, 112, 101, 7, 0,
127
- 16, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 123, 39, 102, 111, 111, 39, 58,
128
- 39, 98, 97, 114, 39, 125, 141, 156, 8, 177,
129
- ]),
130
- },
131
- corrupted_length: {
132
- expectation: "failure",
133
- encoded: Uint8Array.from([
134
- 0, 0, 0, 62, 0, 0, 0, 32, 7, 253, 131, 150, 12, 99, 111, 110, 116, 101, 110, 116, 45, 116, 121, 112, 101, 7, 0,
135
- 16, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 123, 39, 102, 111, 111, 39, 58,
136
- 39, 98, 97, 114, 39, 125, 141, 156, 8, 177,
137
- ]),
138
- },
139
- corrupted_payload: {
140
- expectation: "failure",
141
- encoded: Uint8Array.from([
142
- 0, 0, 0, 29, 0, 0, 0, 0, 253, 82, 140, 90, 91, 39, 102, 111, 111, 39, 58, 39, 98, 97, 114, 39, 125, 195, 101, 57,
143
- 54,
144
- ]),
145
- },
146
- };
@@ -1,6 +0,0 @@
1
- /**
2
- * Backwards compatibility re-export.
3
- *
4
- * @internal
5
- */
6
- export { requestBuilder } from "@smithy/core/protocols";
@@ -1,5 +0,0 @@
1
- import { type HandlerExecutionContext } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export declare const getSmithyContext: (context: HandlerExecutionContext) => Record<string, unknown>;
@@ -1,2 +0,0 @@
1
- import type { TestVectors } from "./vectorTypes.fixture";
2
- export declare const vectors: TestVectors;
@@ -1,12 +0,0 @@
1
- import type { Message } from "./Message";
2
- export interface NegativeTestVector {
3
- expectation: "failure";
4
- encoded: Uint8Array;
5
- }
6
- export interface PositiveTestVector {
7
- expectation: "success";
8
- encoded: Uint8Array;
9
- decoded: Message;
10
- }
11
- export type TestVector = NegativeTestVector | PositiveTestVector;
12
- export type TestVectors = Record<string, TestVector>;
@@ -1,2 +0,0 @@
1
- export * from "./ImdsCredentials";
2
- export * from "./RemoteProviderInit";
@@ -1,8 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export * from "./ImdsCredentials";
5
- /**
6
- * @internal
7
- */
8
- export * from "./RemoteProviderInit";
@@ -1,21 +0,0 @@
1
- import { Readable } from "node:stream";
2
- export class ReadFromBuffers extends Readable {
3
- buffersToRead;
4
- numBuffersRead = 0;
5
- errorAfter;
6
- constructor(options) {
7
- super(options);
8
- this.buffersToRead = options.buffers;
9
- this.errorAfter = typeof options.errorAfter === "number" ? options.errorAfter : -1;
10
- }
11
- _read() {
12
- if (this.errorAfter !== -1 && this.errorAfter === this.numBuffersRead) {
13
- this.emit("error", new Error("Mock Error"));
14
- return;
15
- }
16
- if (this.numBuffersRead >= this.buffersToRead.length) {
17
- return this.push(null);
18
- }
19
- return this.push(this.buffersToRead[this.numBuffersRead++]);
20
- }
21
- }
@@ -1,88 +0,0 @@
1
- import { readFileSync } from "node:fs";
2
- import { createServer as createHttp2Server } from "node:http2";
3
- import { createServer as createHttpServer, } from "node:http";
4
- import { createServer as createHttpsServer } from "node:https";
5
- import { join } from "node:path";
6
- import { Readable } from "node:stream";
7
- import { timing } from "./timing";
8
- const fixturesDir = join(__dirname, "..", "fixtures");
9
- const setResponseHeaders = (response, headers) => {
10
- for (const [key, value] of Object.entries(headers)) {
11
- response.setHeader(key, value);
12
- }
13
- };
14
- const setResponseBody = (response, body) => {
15
- if (body instanceof Readable) {
16
- body.pipe(response);
17
- }
18
- else {
19
- response.end(body);
20
- }
21
- };
22
- export const createResponseFunction = (httpResp) => (request, response) => {
23
- response.statusCode = httpResp.statusCode;
24
- if (httpResp.reason) {
25
- response.statusMessage = httpResp.reason;
26
- }
27
- setResponseHeaders(response, httpResp.headers);
28
- setResponseBody(response, httpResp.body);
29
- };
30
- export const createResponseFunctionWithDelay = (httpResp, delay) => (request, response) => {
31
- response.statusCode = httpResp.statusCode;
32
- if (httpResp.reason) {
33
- response.statusMessage = httpResp.reason;
34
- }
35
- setResponseHeaders(response, httpResp.headers);
36
- timing.setTimeout(() => setResponseBody(response, httpResp.body), delay);
37
- };
38
- export const createContinueResponseFunction = (httpResp) => (request, response) => {
39
- response.writeContinue();
40
- timing.setTimeout(() => {
41
- createResponseFunction(httpResp)(request, response);
42
- }, 100);
43
- };
44
- export const createMockHttpsServer = () => {
45
- const server = createHttpsServer({
46
- key: readFileSync(join(fixturesDir, "test-server-key.pem")),
47
- cert: readFileSync(join(fixturesDir, "test-server-cert.pem")),
48
- });
49
- return server;
50
- };
51
- export const createMockHttpServer = () => {
52
- const server = createHttpServer();
53
- return server;
54
- };
55
- export const createMockHttp2Server = () => {
56
- const server = createHttp2Server();
57
- return server;
58
- };
59
- export const createMirrorResponseFunction = (httpResp) => (request, response) => {
60
- const bufs = [];
61
- request.on("data", (chunk) => {
62
- bufs.push(chunk);
63
- });
64
- request.on("end", () => {
65
- response.statusCode = httpResp.statusCode;
66
- setResponseHeaders(response, httpResp.headers);
67
- setResponseBody(response, Buffer.concat(bufs));
68
- });
69
- request.on("error", (err) => {
70
- response.statusCode = 500;
71
- setResponseHeaders(response, httpResp.headers);
72
- setResponseBody(response, err.message);
73
- });
74
- };
75
- export const getResponseBody = (response) => {
76
- return new Promise((resolve, reject) => {
77
- const bufs = [];
78
- response.body.on("data", function (d) {
79
- bufs.push(d);
80
- });
81
- response.body.on("end", function () {
82
- resolve(Buffer.concat(bufs).toString());
83
- });
84
- response.body.on("error", (err) => {
85
- reject(err);
86
- });
87
- });
88
- };
@@ -1,21 +0,0 @@
1
- import { Readable } from "node:stream";
2
- export class ReadFromBuffers extends Readable {
3
- buffersToRead;
4
- numBuffersRead = 0;
5
- errorAfter;
6
- constructor(options) {
7
- super(options);
8
- this.buffersToRead = options.buffers;
9
- this.errorAfter = typeof options.errorAfter === "number" ? options.errorAfter : -1;
10
- }
11
- _read(size) {
12
- if (this.errorAfter !== -1 && this.errorAfter === this.numBuffersRead) {
13
- this.emit("error", new Error("Mock Error"));
14
- return;
15
- }
16
- if (this.numBuffersRead >= this.buffersToRead.length) {
17
- return this.push(null);
18
- }
19
- return this.push(this.buffersToRead[this.numBuffersRead++]);
20
- }
21
- }
@@ -1,12 +0,0 @@
1
- import { Readable, type ReadableOptions } from "node:stream";
2
- export interface ReadFromBuffersOptions extends ReadableOptions {
3
- buffers: Buffer[];
4
- errorAfter?: number;
5
- }
6
- export declare class ReadFromBuffers extends Readable {
7
- private buffersToRead;
8
- private numBuffersRead;
9
- private errorAfter;
10
- constructor(options: ReadFromBuffersOptions);
11
- _read(): boolean | undefined;
12
- }
@@ -1,12 +0,0 @@
1
- import { type Http2Server } from "node:http2";
2
- import { type Server as HttpServer, type IncomingMessage, type ServerResponse } from "node:http";
3
- import { type Server as HttpsServer } from "node:https";
4
- import type { HttpResponse } from "@smithy/types";
5
- export declare const createResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void;
6
- export declare const createResponseFunctionWithDelay: (httpResp: HttpResponse, delay: number) => (request: IncomingMessage, response: ServerResponse) => void;
7
- export declare const createContinueResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void;
8
- export declare const createMockHttpsServer: () => HttpsServer;
9
- export declare const createMockHttpServer: () => HttpServer;
10
- export declare const createMockHttp2Server: () => Http2Server;
11
- export declare const createMirrorResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void;
12
- export declare const getResponseBody: (response: HttpResponse) => Promise<string>;
@@ -1,12 +0,0 @@
1
- import { Readable, type ReadableOptions } from "node:stream";
2
- export interface ReadFromBuffersOptions extends ReadableOptions {
3
- buffers: Buffer[];
4
- errorAfter?: number;
5
- }
6
- export declare class ReadFromBuffers extends Readable {
7
- private buffersToRead;
8
- private numBuffersRead;
9
- private errorAfter;
10
- constructor(options: ReadFromBuffersOptions);
11
- _read(size: number): boolean | undefined;
12
- }