@jjrawlins/cdk-ami-builder 0.0.76 → 0.0.78

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 (294) hide show
  1. package/.jsii +12 -12
  2. package/cdkamibuilder/jsii/jsii.go +2 -2
  3. package/cdkamibuilder/version +1 -1
  4. package/lib/ImagePipeline/ImagePipeline.js +1 -1
  5. package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
  6. package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
  7. package/node_modules/@aws/lambda-invoke-store/README.md +35 -27
  8. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +104 -46
  9. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +104 -46
  10. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts +1 -0
  11. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +40 -47
  12. package/node_modules/@aws/lambda-invoke-store/package.json +2 -2
  13. package/node_modules/@aws-sdk/client-ec2/README.md +56 -0
  14. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +715 -68
  15. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +14 -0
  16. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CreateVpnConcentratorCommand.js +16 -0
  17. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DeleteVpnConcentratorCommand.js +16 -0
  18. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeInstanceSqlHaHistoryStatesCommand.js +16 -0
  19. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeInstanceSqlHaStatesCommand.js +16 -0
  20. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeVpnConcentratorsCommand.js +16 -0
  21. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DisableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
  22. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/EnableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
  23. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +7 -0
  24. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_0.js +2 -0
  25. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_3.js +3 -12
  26. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_4.js +22 -13
  27. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_5.js +13 -0
  28. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_6.js +0 -12
  29. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_7.js +12 -14
  30. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_8.js +14 -0
  31. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/DescribeVpnConcentratorsPaginator.js +4 -0
  32. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/index.js +1 -0
  33. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +592 -64
  34. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +52 -0
  35. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +9 -2
  36. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateTransitGatewayRouteTableCommand.d.ts +1 -1
  44. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyImageCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  52. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  53. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  54. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  55. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  56. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  63. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  66. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  67. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  68. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  69. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  70. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
  73. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
  74. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  75. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  76. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  77. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  78. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  79. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  80. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  81. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  82. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  83. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  84. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  86. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  87. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  88. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  89. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  90. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  91. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  93. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  94. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  95. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  96. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  97. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  98. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  99. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  100. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  101. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  102. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  103. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  104. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  105. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  106. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  107. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  108. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  109. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  110. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  111. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  112. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  113. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  114. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  115. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
  116. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  117. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  118. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  119. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  120. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  121. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  122. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  123. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  124. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  125. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  126. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  127. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  128. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  129. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConcentratorCommand.d.ts +99 -0
  130. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConnectionCommand.d.ts +3 -1
  131. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  132. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  133. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  134. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteVpnConcentratorCommand.d.ts +75 -0
  135. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +2 -1
  136. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +1 -2
  137. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +106 -0
  138. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceSqlHaStatesCommand.d.ts +104 -0
  139. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
  140. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
  141. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  142. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  143. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  144. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  145. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
  146. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -1
  147. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  148. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -1
  149. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  150. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  151. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  152. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  153. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVpnConcentratorsCommand.d.ts +102 -0
  154. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +1 -0
  155. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +95 -0
  156. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  157. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  158. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  159. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  160. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +102 -0
  161. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  162. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ExportImageCommand.d.ts +1 -1
  163. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -1
  164. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  165. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +1 -1
  166. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  167. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  168. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  169. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetImageAncestryCommand.d.ts +1 -1
  170. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  171. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  172. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
  173. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  174. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
  176. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportImageCommand.d.ts +1 -1
  177. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  178. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  179. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  180. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
  181. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  182. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  183. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  184. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  185. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  186. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  187. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  188. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  189. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  190. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  191. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -0
  192. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  193. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  194. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  195. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  196. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  197. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  198. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  199. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  200. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  201. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
  202. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
  203. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  204. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  205. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  206. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +7 -0
  207. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +2 -0
  208. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +121 -167
  209. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +453 -441
  210. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +1606 -1612
  211. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +552 -387
  212. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +4608 -4809
  213. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +584 -3
  214. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/DescribeVpnConcentratorsPaginator.d.ts +7 -0
  215. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/index.d.ts +1 -0
  216. package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +27 -0
  217. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +140 -0
  218. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +42 -0
  219. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpnConcentratorCommand.d.ts +51 -0
  220. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpnConcentratorCommand.d.ts +51 -0
  221. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAvailabilityZonesCommand.d.ts +2 -4
  222. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +4 -2
  223. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +51 -0
  224. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceSqlHaStatesCommand.d.ts +51 -0
  225. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +2 -4
  226. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
  227. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  228. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -4
  229. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  230. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -1
  231. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  232. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  233. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  234. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  235. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpnConcentratorsCommand.d.ts +51 -0
  236. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
  237. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
  238. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +1 -1
  239. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  240. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +1 -1
  241. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  242. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
  243. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  244. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  245. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
  246. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  247. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  248. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  249. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  250. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  251. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  252. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +7 -0
  253. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +2 -0
  254. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +31 -42
  255. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +88 -85
  256. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +91 -81
  257. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +112 -99
  258. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +99 -152
  259. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +150 -1
  260. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/DescribeVpnConcentratorsPaginator.d.ts +11 -0
  261. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/index.d.ts +1 -0
  262. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +27 -0
  263. package/node_modules/@aws-sdk/client-ec2/package.json +6 -6
  264. package/node_modules/@aws-sdk/client-ecs/package.json +6 -6
  265. package/node_modules/@aws-sdk/client-kms/package.json +6 -6
  266. package/node_modules/@aws-sdk/client-s3/package.json +10 -10
  267. package/node_modules/@aws-sdk/client-secrets-manager/package.json +6 -6
  268. package/node_modules/@aws-sdk/client-sfn/package.json +6 -6
  269. package/node_modules/@aws-sdk/client-sns/package.json +6 -6
  270. package/node_modules/@aws-sdk/client-sqs/package.json +6 -6
  271. package/node_modules/@aws-sdk/client-ssm/package.json +6 -6
  272. package/node_modules/@aws-sdk/client-sso/package.json +5 -5
  273. package/node_modules/@aws-sdk/core/package.json +1 -1
  274. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  275. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  276. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  277. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  278. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  279. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  280. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  281. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  282. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +2 -1
  283. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +2 -1
  284. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  285. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
  286. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  287. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  288. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  289. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  290. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  291. package/node_modules/@types/aws-lambda/README.md +1 -1
  292. package/node_modules/@types/aws-lambda/package.json +2 -2
  293. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-email-sender.d.ts +5 -0
  294. package/package.json +11 -11
@@ -1,64 +1,122 @@
1
- import { AsyncLocalStorage } from 'async_hooks';
2
-
3
- const noGlobalAwsLambda = process.env["AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA"] === "1" ||
4
- process.env["AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA"] === "true";
5
- if (!noGlobalAwsLambda) {
6
- globalThis.awslambda = globalThis.awslambda || {};
7
- }
8
1
  const PROTECTED_KEYS = {
9
- REQUEST_ID: Symbol("_AWS_LAMBDA_REQUEST_ID"),
10
- X_RAY_TRACE_ID: Symbol("_AWS_LAMBDA_X_RAY_TRACE_ID"),
11
- TENANT_ID: Symbol("_AWS_LAMBDA_TENANT_ID"),
2
+ REQUEST_ID: Symbol.for("_AWS_LAMBDA_REQUEST_ID"),
3
+ X_RAY_TRACE_ID: Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),
4
+ TENANT_ID: Symbol.for("_AWS_LAMBDA_TENANT_ID"),
12
5
  };
13
- class InvokeStoreImpl {
14
- static storage = new AsyncLocalStorage();
6
+ const NO_GLOBAL_AWS_LAMBDA = ["true", "1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA ?? "");
7
+ if (!NO_GLOBAL_AWS_LAMBDA) {
8
+ globalThis.awslambda = globalThis.awslambda || {};
9
+ }
10
+ class InvokeStoreBase {
15
11
  static PROTECTED_KEYS = PROTECTED_KEYS;
16
- static run(context, fn) {
17
- return this.storage.run({ ...context }, fn);
12
+ isProtectedKey(key) {
13
+ return Object.values(PROTECTED_KEYS).includes(key);
14
+ }
15
+ getRequestId() {
16
+ return this.get(PROTECTED_KEYS.REQUEST_ID) ?? "-";
18
17
  }
19
- static getContext() {
20
- return this.storage.getStore();
18
+ getXRayTraceId() {
19
+ return this.get(PROTECTED_KEYS.X_RAY_TRACE_ID);
21
20
  }
22
- static get(key) {
23
- const context = this.storage.getStore();
24
- return context?.[key];
21
+ getTenantId() {
22
+ return this.get(PROTECTED_KEYS.TENANT_ID);
25
23
  }
26
- static set(key, value) {
24
+ }
25
+ class InvokeStoreSingle extends InvokeStoreBase {
26
+ currentContext;
27
+ getContext() {
28
+ return this.currentContext;
29
+ }
30
+ hasContext() {
31
+ return this.currentContext !== undefined;
32
+ }
33
+ get(key) {
34
+ return this.currentContext?.[key];
35
+ }
36
+ set(key, value) {
27
37
  if (this.isProtectedKey(key)) {
28
- throw new Error(`Cannot modify protected Lambda context field`);
38
+ throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`);
29
39
  }
30
- const context = this.storage.getStore();
31
- if (context) {
32
- context[key] = value;
40
+ this.currentContext = this.currentContext || {};
41
+ this.currentContext[key] = value;
42
+ }
43
+ run(context, fn) {
44
+ this.currentContext = context;
45
+ try {
46
+ return fn();
33
47
  }
48
+ finally {
49
+ this.currentContext = undefined;
50
+ }
51
+ }
52
+ }
53
+ class InvokeStoreMulti extends InvokeStoreBase {
54
+ als;
55
+ static async create() {
56
+ const instance = new InvokeStoreMulti();
57
+ const asyncHooks = await import('node:async_hooks');
58
+ instance.als = new asyncHooks.AsyncLocalStorage();
59
+ return instance;
34
60
  }
35
- static getRequestId() {
36
- return this.get(this.PROTECTED_KEYS.REQUEST_ID) ?? "-";
61
+ getContext() {
62
+ return this.als.getStore();
37
63
  }
38
- static getXRayTraceId() {
39
- return this.get(this.PROTECTED_KEYS.X_RAY_TRACE_ID);
64
+ hasContext() {
65
+ return this.als.getStore() !== undefined;
40
66
  }
41
- static getTenantId() {
42
- return this.get(this.PROTECTED_KEYS.TENANT_ID);
67
+ get(key) {
68
+ return this.als.getStore()?.[key];
43
69
  }
44
- static hasContext() {
45
- return this.storage.getStore() !== undefined;
70
+ set(key, value) {
71
+ if (this.isProtectedKey(key)) {
72
+ throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`);
73
+ }
74
+ const store = this.als.getStore();
75
+ if (!store) {
76
+ throw new Error("No context available");
77
+ }
78
+ store[key] = value;
46
79
  }
47
- static isProtectedKey(key) {
48
- return (key === this.PROTECTED_KEYS.REQUEST_ID ||
49
- key === this.PROTECTED_KEYS.X_RAY_TRACE_ID);
80
+ run(context, fn) {
81
+ return this.als.run(context, fn);
50
82
  }
51
83
  }
52
- let instance;
53
- if (!noGlobalAwsLambda && globalThis.awslambda?.InvokeStore) {
54
- instance = globalThis.awslambda.InvokeStore;
55
- }
56
- else {
57
- instance = InvokeStoreImpl;
58
- if (!noGlobalAwsLambda && globalThis.awslambda) {
59
- globalThis.awslambda.InvokeStore = instance;
84
+ var InvokeStore;
85
+ (function (InvokeStore) {
86
+ let instance = null;
87
+ async function getInstanceAsync() {
88
+ if (!instance) {
89
+ instance = (async () => {
90
+ const isMulti = "AWS_LAMBDA_MAX_CONCURRENCY" in process.env;
91
+ const newInstance = isMulti
92
+ ? await InvokeStoreMulti.create()
93
+ : new InvokeStoreSingle();
94
+ if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda?.InvokeStore) {
95
+ return globalThis.awslambda.InvokeStore;
96
+ }
97
+ else if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda) {
98
+ globalThis.awslambda.InvokeStore = newInstance;
99
+ return newInstance;
100
+ }
101
+ else {
102
+ return newInstance;
103
+ }
104
+ })();
105
+ }
106
+ return instance;
60
107
  }
61
- }
62
- const InvokeStore = instance;
108
+ InvokeStore.getInstanceAsync = getInstanceAsync;
109
+ InvokeStore._testing = process.env.AWS_LAMBDA_BENCHMARK_MODE === "1"
110
+ ? {
111
+ reset: () => {
112
+ instance = null;
113
+ if (globalThis.awslambda?.InvokeStore) {
114
+ delete globalThis.awslambda.InvokeStore;
115
+ }
116
+ globalThis.awslambda = {};
117
+ },
118
+ }
119
+ : undefined;
120
+ })(InvokeStore || (InvokeStore = {}));
63
121
 
64
- export { InvokeStore };
122
+ export { InvokeStore, InvokeStoreBase };
@@ -1,57 +1,50 @@
1
- /**
2
- * Generic store context that uses protected keys for Lambda fields
3
- * and allows custom user properties
4
- */
5
- export interface InvokeStoreContext {
6
- [key: string | symbol]: unknown;
1
+ interface Context {
2
+ [key: string]: unknown;
3
+ [key: symbol]: unknown;
4
+ }
5
+ declare global {
6
+ var awslambda: {
7
+ InvokeStore?: InvokeStoreBase;
8
+ [key: string]: unknown;
9
+ };
7
10
  }
8
11
  /**
9
- * InvokeStore implementation class
12
+ * Base class for AWS Lambda context storage implementations.
13
+ * Provides core functionality for managing Lambda execution context.
14
+ *
15
+ * Implementations handle either single-context (InvokeStoreSingle) or
16
+ * multi-context (InvokeStoreMulti) scenarios based on Lambda's execution environment.
17
+ *
18
+ * @public
10
19
  */
11
- declare class InvokeStoreImpl {
12
- private static storage;
20
+ export declare abstract class InvokeStoreBase {
13
21
  static readonly PROTECTED_KEYS: {
14
22
  readonly REQUEST_ID: symbol;
15
23
  readonly X_RAY_TRACE_ID: symbol;
16
24
  readonly TENANT_ID: symbol;
17
25
  };
18
- /**
19
- * Initialize and run code within an invoke context
20
- */
21
- static run<T>(context: InvokeStoreContext, fn: () => T | Promise<T>): T | Promise<T>;
22
- /**
23
- * Get the complete current context
24
- */
25
- static getContext(): InvokeStoreContext | undefined;
26
- /**
27
- * Get a specific value from the context by key
28
- */
29
- static get<T = unknown>(key: string | symbol): T | undefined;
30
- /**
31
- * Set a custom value in the current context
32
- * Protected Lambda context fields cannot be overwritten
33
- */
34
- static set(key: string | symbol, value: unknown): void;
35
- /**
36
- * Get the current request ID
37
- */
38
- static getRequestId(): string;
39
- /**
40
- * Get the current X-ray trace ID
41
- */
42
- static getXRayTraceId(): string | undefined;
43
- /**
44
- * Get the current tenant ID
45
- */
46
- static getTenantId(): string | undefined;
47
- /**
48
- * Check if we're currently within an invoke context
49
- */
50
- static hasContext(): boolean;
51
- /**
52
- * Check if a key is protected (readonly Lambda context field)
53
- */
54
- private static isProtectedKey;
26
+ abstract getContext(): Context | undefined;
27
+ abstract hasContext(): boolean;
28
+ abstract get<T = unknown>(key: string | symbol): T | undefined;
29
+ abstract set<T = unknown>(key: string | symbol, value: T): void;
30
+ abstract run<T>(context: Context, fn: () => T): T;
31
+ protected isProtectedKey(key: string | symbol): boolean;
32
+ getRequestId(): string;
33
+ getXRayTraceId(): string | undefined;
34
+ getTenantId(): string | undefined;
35
+ }
36
+ /**
37
+ * Provides access to AWS Lambda execution context storage.
38
+ * Supports both single-context and multi-context environments through different implementations.
39
+ *
40
+ * The store manages protected Lambda context fields and allows storing/retrieving custom values
41
+ * within the execution context.
42
+ * @public
43
+ */
44
+ export declare namespace InvokeStore {
45
+ function getInstanceAsync(): Promise<InvokeStoreBase>;
46
+ const _testing: {
47
+ reset: () => void;
48
+ } | undefined;
55
49
  }
56
- export declare const InvokeStore: typeof InvokeStoreImpl;
57
50
  export {};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/lambda-invoke-store",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Invoke scoped data storage for AWS Lambda Node.js Runtime Environment",
5
5
  "homepage": "https://github.com/awslabs/aws-lambda-invoke-store",
6
6
  "main": "./dist-cjs/invoke-store.js",
@@ -32,7 +32,7 @@
32
32
  "build": "yarn clean && yarn build:types && node ./scripts/build-rollup.js",
33
33
  "build:types": "tsc -p tsconfig.types.json",
34
34
  "clean": "rm -rf dist-types dist-cjs dist-es",
35
- "test": "vitest run",
35
+ "test": "vitest run --reporter verbose",
36
36
  "test:watch": "vitest watch",
37
37
  "release": "yarn build && changeset publish"
38
38
  },
@@ -1437,6 +1437,14 @@ CreateVpcPeeringConnection
1437
1437
 
1438
1438
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateVpcPeeringConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateVpcPeeringConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateVpcPeeringConnectionCommandOutput/)
1439
1439
 
1440
+ </details>
1441
+ <details>
1442
+ <summary>
1443
+ CreateVpnConcentrator
1444
+ </summary>
1445
+
1446
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateVpnConcentratorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateVpnConcentratorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateVpnConcentratorCommandOutput/)
1447
+
1440
1448
  </details>
1441
1449
  <details>
1442
1450
  <summary>
@@ -2117,6 +2125,14 @@ DeleteVpcPeeringConnection
2117
2125
 
2118
2126
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DeleteVpcPeeringConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteVpcPeeringConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteVpcPeeringConnectionCommandOutput/)
2119
2127
 
2128
+ </details>
2129
+ <details>
2130
+ <summary>
2131
+ DeleteVpnConcentrator
2132
+ </summary>
2133
+
2134
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DeleteVpnConcentratorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteVpnConcentratorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteVpnConcentratorCommandOutput/)
2135
+
2120
2136
  </details>
2121
2137
  <details>
2122
2138
  <summary>
@@ -2709,6 +2725,22 @@ DescribeInstances
2709
2725
 
2710
2726
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeInstancesCommandOutput/)
2711
2727
 
2728
+ </details>
2729
+ <details>
2730
+ <summary>
2731
+ DescribeInstanceSqlHaHistoryStates
2732
+ </summary>
2733
+
2734
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeInstanceSqlHaHistoryStatesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeInstanceSqlHaHistoryStatesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeInstanceSqlHaHistoryStatesCommandOutput/)
2735
+
2736
+ </details>
2737
+ <details>
2738
+ <summary>
2739
+ DescribeInstanceSqlHaStates
2740
+ </summary>
2741
+
2742
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeInstanceSqlHaStatesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeInstanceSqlHaStatesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeInstanceSqlHaStatesCommandOutput/)
2743
+
2712
2744
  </details>
2713
2745
  <details>
2714
2746
  <summary>
@@ -3597,6 +3629,14 @@ DescribeVpcs
3597
3629
 
3598
3630
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeVpcsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeVpcsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeVpcsCommandOutput/)
3599
3631
 
3632
+ </details>
3633
+ <details>
3634
+ <summary>
3635
+ DescribeVpnConcentrators
3636
+ </summary>
3637
+
3638
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeVpnConcentratorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeVpnConcentratorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeVpnConcentratorsCommandOutput/)
3639
+
3600
3640
  </details>
3601
3641
  <details>
3602
3642
  <summary>
@@ -3749,6 +3789,14 @@ DisableImageDeregistrationProtection
3749
3789
 
3750
3790
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DisableImageDeregistrationProtectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DisableImageDeregistrationProtectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DisableImageDeregistrationProtectionCommandOutput/)
3751
3791
 
3792
+ </details>
3793
+ <details>
3794
+ <summary>
3795
+ DisableInstanceSqlHaStandbyDetections
3796
+ </summary>
3797
+
3798
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DisableInstanceSqlHaStandbyDetectionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DisableInstanceSqlHaStandbyDetectionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DisableInstanceSqlHaStandbyDetectionsCommandOutput/)
3799
+
3752
3800
  </details>
3753
3801
  <details>
3754
3802
  <summary>
@@ -4045,6 +4093,14 @@ EnableImageDeregistrationProtection
4045
4093
 
4046
4094
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/EnableImageDeregistrationProtectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/EnableImageDeregistrationProtectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/EnableImageDeregistrationProtectionCommandOutput/)
4047
4095
 
4096
+ </details>
4097
+ <details>
4098
+ <summary>
4099
+ EnableInstanceSqlHaStandbyDetections
4100
+ </summary>
4101
+
4102
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/EnableInstanceSqlHaStandbyDetectionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/EnableInstanceSqlHaStandbyDetectionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/EnableInstanceSqlHaStandbyDetectionsCommandOutput/)
4103
+
4048
4104
  </details>
4049
4105
  <details>
4050
4106
  <summary>