@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.
- package/.jsii +12 -12
- package/cdkamibuilder/jsii/jsii.go +2 -2
- package/cdkamibuilder/version +1 -1
- package/lib/ImagePipeline/ImagePipeline.js +1 -1
- package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
- package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/README.md +35 -27
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +104 -46
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +104 -46
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts +1 -0
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +40 -47
- package/node_modules/@aws/lambda-invoke-store/package.json +2 -2
- package/node_modules/@aws-sdk/client-ec2/README.md +56 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +715 -68
- package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +14 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CreateVpnConcentratorCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DeleteVpnConcentratorCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeInstanceSqlHaHistoryStatesCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeInstanceSqlHaStatesCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeVpnConcentratorsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DisableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/EnableInstanceSqlHaStandbyDetectionsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_0.js +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_3.js +3 -12
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_4.js +22 -13
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_5.js +13 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_6.js +0 -12
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_7.js +12 -14
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_8.js +14 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/DescribeVpnConcentratorsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/index.js +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +592 -64
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +52 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +9 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConcentratorCommand.d.ts +99 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConnectionCommand.d.ts +3 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteVpnConcentratorCommand.d.ts +75 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +106 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceSqlHaStatesCommand.d.ts +104 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVpnConcentratorsCommand.d.ts +102 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +95 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +102 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetConsoleOutputCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetImageAncestryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RegisterImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +121 -167
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +453 -441
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +1606 -1612
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +552 -387
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +4608 -4809
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +584 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/DescribeVpnConcentratorsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +27 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +140 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +42 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpnConcentratorCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpnConcentratorCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAvailabilityZonesCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceSqlHaStatesCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceTopologyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpnConcentratorsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +31 -42
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +88 -85
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +91 -81
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +112 -99
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +99 -152
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +150 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/DescribeVpnConcentratorsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +27 -0
- package/node_modules/@aws-sdk/client-ec2/package.json +6 -6
- package/node_modules/@aws-sdk/client-ecs/package.json +6 -6
- package/node_modules/@aws-sdk/client-kms/package.json +6 -6
- package/node_modules/@aws-sdk/client-s3/package.json +10 -10
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +6 -6
- package/node_modules/@aws-sdk/client-sfn/package.json +6 -6
- package/node_modules/@aws-sdk/client-sns/package.json +6 -6
- package/node_modules/@aws-sdk/client-sqs/package.json +6 -6
- package/node_modules/@aws-sdk/client-ssm/package.json +6 -6
- package/node_modules/@aws-sdk/client-sso/package.json +5 -5
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +2 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +2 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/package.json +2 -2
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-email-sender.d.ts +5 -0
- 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
|
-
|
|
14
|
-
|
|
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
|
-
|
|
17
|
-
return
|
|
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
|
-
|
|
20
|
-
return this.
|
|
18
|
+
getXRayTraceId() {
|
|
19
|
+
return this.get(PROTECTED_KEYS.X_RAY_TRACE_ID);
|
|
21
20
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return context?.[key];
|
|
21
|
+
getTenantId() {
|
|
22
|
+
return this.get(PROTECTED_KEYS.TENANT_ID);
|
|
25
23
|
}
|
|
26
|
-
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
36
|
-
return this.
|
|
61
|
+
getContext() {
|
|
62
|
+
return this.als.getStore();
|
|
37
63
|
}
|
|
38
|
-
|
|
39
|
-
return this.
|
|
64
|
+
hasContext() {
|
|
65
|
+
return this.als.getStore() !== undefined;
|
|
40
66
|
}
|
|
41
|
-
|
|
42
|
-
return this.
|
|
67
|
+
get(key) {
|
|
68
|
+
return this.als.getStore()?.[key];
|
|
43
69
|
}
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
|
|
48
|
-
return
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
instance =
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
|
|
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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,57 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
*
|
|
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
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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.
|
|
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>
|