@jjrawlins/cdk-ami-builder 0.0.54 → 0.0.56

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 (398) hide show
  1. package/.jsii +12 -12
  2. package/cdk-ami-builder/go.mod +1 -1
  3. package/cdk-ami-builder/jsii/jsii.go +2 -2
  4. package/cdk-ami-builder/version +1 -1
  5. package/lib/ImagePipeline/ImagePipeline.js +1 -1
  6. package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
  7. package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
  8. package/node_modules/@aws-sdk/client-ec2/README.md +72 -0
  9. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +1541 -388
  10. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +18 -0
  11. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CreateCapacityManagerDataExportCommand.js +22 -0
  12. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DeleteCapacityManagerDataExportCommand.js +22 -0
  13. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeCapacityManagerDataExportsCommand.js +22 -0
  14. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DisableCapacityManagerCommand.js +22 -0
  15. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/EnableCapacityManagerCommand.js +22 -0
  16. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetCapacityManagerAttributesCommand.js +22 -0
  17. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetCapacityManagerMetricDataCommand.js +22 -0
  18. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetCapacityManagerMetricDimensionsCommand.js +22 -0
  19. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetLaunchTemplateDataCommand.js +1 -1
  20. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ModifyVpnConnectionCommand.js +1 -1
  21. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ModifyVpnConnectionOptionsCommand.js +1 -1
  22. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +1 -1
  23. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +1 -1
  24. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/UpdateCapacityManagerOrganizationsAccessCommand.js +22 -0
  25. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +9 -0
  26. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_0.js +1 -0
  27. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_1.js +7 -0
  28. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_2.js +0 -6
  29. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_3.js +6 -5
  30. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_4.js +18 -14
  31. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_5.js +14 -16
  32. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_6.js +124 -57
  33. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_7.js +57 -33
  34. package/node_modules/@aws-sdk/client-ec2/dist-es/models/models_8.js +33 -0
  35. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/DescribeCapacityManagerDataExportsPaginator.js +4 -0
  36. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/GetCapacityManagerMetricDataPaginator.js +4 -0
  37. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/GetCapacityManagerMetricDimensionsPaginator.js +4 -0
  38. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/index.js +4 -1
  39. package/node_modules/@aws-sdk/client-ec2/dist-es/protocols/Aws_ec2.js +939 -107
  40. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +67 -0
  41. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +11 -2
  42. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateAddressCommand.d.ts +21 -5
  44. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyImageCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +93 -0
  52. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
  53. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  54. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  55. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  56. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  63. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +1 -1
  66. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
  67. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  68. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  69. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  70. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  73. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPoolCommand.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/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  115. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  116. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  117. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  118. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  119. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  120. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  121. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  122. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +3 -2
  123. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  124. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  125. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  126. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  127. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  128. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  129. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteCapacityManagerDataExportCommand.d.ts +77 -0
  130. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityBlockStatusCommand.d.ts +1 -1
  131. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityBlocksCommand.d.ts +2 -1
  132. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityManagerDataExportsCommand.d.ts +109 -0
  133. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  134. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  135. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  136. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  137. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableCapacityManagerCommand.d.ts +79 -0
  138. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableCapacityManagerCommand.d.ts +80 -0
  139. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ExportImageCommand.d.ts +1 -1
  140. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerAttributesCommand.d.ts +82 -0
  141. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +129 -0
  142. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +119 -0
  143. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -1
  144. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -1
  145. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -1
  146. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
  147. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamPoolCidrsCommand.d.ts +1 -1
  148. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
  149. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +2 -2
  150. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
  151. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetManagedPrefixListEntriesCommand.d.ts +1 -2
  152. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportImageCommand.d.ts +1 -1
  153. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  154. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  155. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  156. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  157. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  158. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  159. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -1
  160. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
  161. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
  162. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  163. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
  164. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
  165. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
  166. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +1 -1
  167. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -2
  168. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  169. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  170. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  171. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  172. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  173. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  174. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  176. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  177. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/UpdateCapacityManagerOrganizationsAccessCommand.d.ts +80 -0
  178. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +9 -0
  179. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +4 -3
  180. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +106 -95
  181. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +84 -107
  182. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +140 -159
  183. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +331 -251
  184. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +244 -267
  185. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +1497 -1467
  186. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +4809 -4775
  187. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +968 -5
  188. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/DescribeCapacityManagerDataExportsPaginator.d.ts +7 -0
  189. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/GetCapacityManagerMetricDataPaginator.d.ts +7 -0
  190. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/GetCapacityManagerMetricDimensionsPaginator.d.ts +7 -0
  191. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/index.d.ts +4 -1
  192. package/node_modules/@aws-sdk/client-ec2/dist-types/protocols/Aws_ec2.d.ts +81 -0
  193. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +175 -0
  194. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +54 -0
  195. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCapacityManagerDataExportCommand.d.ts +51 -0
  196. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +2 -4
  197. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteCapacityManagerDataExportCommand.d.ts +51 -0
  198. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityBlockStatusCommand.d.ts +1 -1
  199. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityBlocksCommand.d.ts +2 -4
  200. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityManagerDataExportsCommand.d.ts +51 -0
  201. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableCapacityManagerCommand.d.ts +51 -0
  202. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableCapacityManagerCommand.d.ts +51 -0
  203. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +51 -0
  204. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +51 -0
  205. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +51 -0
  206. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +2 -4
  207. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -1
  209. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
  210. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPoolCidrsCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamResourceCidrsCommand.d.ts +1 -1
  212. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  213. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetManagedPrefixListAssociationsCommand.d.ts +1 -1
  214. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetManagedPrefixListEntriesCommand.d.ts +4 -2
  215. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  216. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  217. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  218. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  219. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +1 -1
  220. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
  221. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
  222. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  223. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -1
  224. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/MoveAddressToVpcCommand.d.ts +1 -1
  225. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
  226. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +1 -1
  227. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  228. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UpdateCapacityManagerOrganizationsAccessCommand.d.ts +51 -0
  229. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +9 -0
  230. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +1 -0
  231. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +21 -16
  232. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +18 -29
  233. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +35 -39
  234. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +79 -66
  235. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +65 -67
  236. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +284 -258
  237. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +257 -227
  238. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +232 -7
  239. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/DescribeCapacityManagerDataExportsPaginator.d.ts +11 -0
  240. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/GetCapacityManagerMetricDataPaginator.d.ts +11 -0
  241. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/GetCapacityManagerMetricDimensionsPaginator.d.ts +11 -0
  242. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/index.d.ts +4 -1
  243. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/protocols/Aws_ec2.d.ts +108 -0
  244. package/node_modules/@aws-sdk/client-ec2/package.json +5 -5
  245. package/node_modules/@aws-sdk/client-ecs/package.json +5 -5
  246. package/node_modules/@aws-sdk/client-kms/dist-cjs/endpoint/ruleset.js +1 -1
  247. package/node_modules/@aws-sdk/client-kms/dist-es/endpoint/ruleset.js +1 -1
  248. package/node_modules/@aws-sdk/client-kms/package.json +5 -5
  249. package/node_modules/@aws-sdk/client-s3/package.json +10 -10
  250. package/node_modules/@aws-sdk/client-secrets-manager/package.json +5 -5
  251. package/node_modules/@aws-sdk/client-sfn/package.json +5 -5
  252. package/node_modules/@aws-sdk/client-sns/package.json +5 -5
  253. package/node_modules/@aws-sdk/client-sqs/package.json +5 -5
  254. package/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/ruleset.js +1 -1
  255. package/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/ruleset.js +1 -1
  256. package/node_modules/@aws-sdk/client-ssm/package.json +5 -5
  257. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  258. package/node_modules/@aws-sdk/core/dist-cjs/index.js +1 -1
  259. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1 -1
  260. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -1
  261. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -2
  262. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -1
  263. package/node_modules/@aws-sdk/core/package.json +2 -2
  264. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  265. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  266. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  267. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  268. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  269. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  270. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  271. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  272. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
  273. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  274. package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  275. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  276. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  277. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  278. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +4 -1
  279. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  280. package/node_modules/@smithy/abort-controller/package.json +2 -2
  281. package/node_modules/@smithy/config-resolver/package.json +4 -4
  282. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +1 -2
  283. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +3 -3
  284. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +171 -169
  285. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +1 -2
  286. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -4
  287. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +1 -1
  288. package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +1 -0
  289. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +4 -6
  290. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +4 -6
  291. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +26 -35
  292. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js +7 -0
  293. package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +1 -0
  294. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +2 -0
  295. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +2 -0
  296. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +2 -0
  297. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +4 -21
  298. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +2 -0
  299. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +1 -0
  300. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +2 -0
  301. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +2 -0
  302. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/operation.d.ts +7 -0
  303. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +1 -0
  304. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +2 -0
  305. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +2 -0
  306. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +2 -0
  307. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +4 -21
  308. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +2 -0
  309. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +1 -0
  310. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +2 -0
  311. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +2 -0
  312. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +7 -0
  313. package/node_modules/@smithy/core/package.json +7 -7
  314. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  315. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  316. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  317. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  318. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  319. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  320. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  321. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  322. package/node_modules/@smithy/hash-node/package.json +2 -2
  323. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  324. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  325. package/node_modules/@smithy/md5-js/package.json +2 -2
  326. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  327. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  328. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  329. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  330. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  331. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  332. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  333. package/node_modules/@smithy/property-provider/package.json +2 -2
  334. package/node_modules/@smithy/protocol-http/package.json +2 -2
  335. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  336. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  337. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  338. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +2 -1
  339. package/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +1 -0
  340. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +1 -1
  341. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +1 -1
  342. package/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +1 -1
  343. package/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +4 -0
  344. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +1 -4
  345. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +4 -0
  346. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -4
  347. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  348. package/node_modules/@smithy/signature-v4/package.json +4 -4
  349. package/node_modules/@smithy/smithy-client/package.json +7 -7
  350. package/node_modules/@smithy/types/dist-es/index.js +1 -0
  351. package/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js +1 -0
  352. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  353. package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +136 -0
  354. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +26 -68
  355. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +8 -8
  356. package/node_modules/@smithy/types/dist-types/serde.d.ts +2 -2
  357. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
  358. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +142 -0
  359. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +27 -72
  360. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +9 -9
  361. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -2
  362. package/node_modules/@smithy/types/package.json +1 -1
  363. package/node_modules/@smithy/url-parser/package.json +3 -3
  364. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  365. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  366. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +31 -22
  367. package/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js +1 -11
  368. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +15 -2
  369. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +17 -2
  370. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js +1 -13
  371. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +25 -2
  372. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js +1 -21
  373. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +1 -2
  374. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +7 -2
  375. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +6 -1
  376. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +1 -3
  377. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +6 -0
  378. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +1 -3
  379. package/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts +1 -2
  380. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +7 -2
  381. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +6 -1
  382. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +1 -3
  383. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +6 -0
  384. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +1 -3
  385. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  386. package/node_modules/@smithy/util-middleware/package.json +2 -2
  387. package/node_modules/@smithy/util-retry/package.json +3 -3
  388. package/node_modules/@smithy/util-stream/dist-cjs/index.js +8 -15
  389. package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +10 -3
  390. package/node_modules/@smithy/util-stream/package.json +4 -4
  391. package/node_modules/@smithy/util-waiter/package.json +3 -3
  392. package/node_modules/@types/aws-lambda/README.md +1 -1
  393. package/node_modules/@types/aws-lambda/package.json +2 -2
  394. package/node_modules/@types/aws-lambda/trigger/dynamodb-stream.d.ts +20 -12
  395. package/package.json +12 -12
  396. package/node_modules/@smithy/util-stream/dist-es/blob/transforms.js +0 -15
  397. package/node_modules/@smithy/util-stream/dist-types/blob/transforms.d.ts +0 -9
  398. package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/transforms.d.ts +0 -9
@@ -7,9 +7,9 @@ import { StaticSchema } from "./static-schemas";
7
7
  import { TraitBitVector } from "./traits";
8
8
  /**
9
9
  * A schema is an object or value that describes how to serialize/deserialize data.
10
- * @public
10
+ * @alpha
11
11
  */
12
- export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | MapSchema | StructureSchema | MemberSchema | OperationSchema | StaticSchema | NormalizedSchema;
12
+ export type $Schema = UnitSchema | SimpleSchema | $MemberSchema | StaticSchema | NormalizedSchema;
13
13
  /**
14
14
  * Traits attached to schema objects.
15
15
  *
@@ -20,16 +20,6 @@ export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | Map
20
20
  * @public
21
21
  */
22
22
  export type SchemaTraits = TraitBitVector | SchemaTraitsObject;
23
- /**
24
- * A schema that has traits.
25
- *
26
- * @public
27
- */
28
- export interface TraitsSchema {
29
- namespace: string;
30
- name: string;
31
- traits: SchemaTraits;
32
- }
33
23
  /**
34
24
  * Simple schemas are those corresponding to simple Smithy types.
35
25
  * @see https://smithy.io/2.0/spec/simple-types.html
@@ -52,7 +42,7 @@ export type BlobSchemas = BlobSchema | StreamingBlobSchema;
52
42
  * Signal value for the Smithy void value. Typically used for
53
43
  * operation input and outputs.
54
44
  *
55
- * @internal
45
+ * @alpha
56
46
  */
57
47
  export type UnitSchema = "unit";
58
48
  /**
@@ -111,66 +101,31 @@ export type SchemaTraitsObject = {
111
101
  [traitName: string]: unknown;
112
102
  };
113
103
  /**
114
- * Schema for the structure aggregate type.
115
- * @public
116
- */
117
- export interface StructureSchema extends TraitsSchema {
118
- name: string;
119
- traits: SchemaTraits;
120
- memberNames: string[];
121
- memberList: SchemaRef[];
122
- /**
123
- * @deprecated structure member iteration will be linear on the memberNames and memberList arrays.
124
- * It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such.
125
- */
126
- members?: Record<string, [
127
- SchemaRef,
128
- SchemaTraits
129
- ]> | undefined;
130
- }
131
- /**
132
- * Schema for the list aggregate type.
133
- * @public
104
+ * Indicates the schema is a member of a parent Structure schema.
105
+ * It may also have a set of member traits distinct from its target shape's traits.
106
+ * @alpha
134
107
  */
135
- export interface ListSchema extends TraitsSchema {
136
- name: string;
137
- traits: SchemaTraits;
138
- valueSchema: SchemaRef;
139
- }
140
- /**
141
- * Schema for the map aggregate type.
142
- * @public
143
- */
144
- export interface MapSchema extends TraitsSchema {
145
- name: string;
146
- traits: SchemaTraits;
147
- keySchema: SchemaRef;
148
- valueSchema: SchemaRef;
149
- }
150
- /**
151
- * @public
152
- */
153
- export type MemberSchema = [
154
- SchemaRef,
108
+ export type $MemberSchema = [
109
+ $SchemaRef,
155
110
  SchemaTraits
156
111
  ];
157
112
  /**
158
113
  * Schema for an operation.
159
- *
160
- * @public
114
+ * @alpha
161
115
  */
162
- export interface OperationSchema extends TraitsSchema {
116
+ export interface $OperationSchema {
117
+ namespace: string;
163
118
  name: string;
164
119
  traits: SchemaTraits;
165
- input: SchemaRef;
166
- output: SchemaRef;
120
+ input: $SchemaRef;
121
+ output: $SchemaRef;
167
122
  }
168
123
  /**
169
124
  * Normalization wrapper for various schema data objects.
170
125
  * @public
171
126
  */
172
127
  export interface NormalizedSchema {
173
- getSchema(): Schema;
128
+ getSchema(): $Schema;
174
129
  getName(): string | undefined;
175
130
  isMemberSchema(): boolean;
176
131
  isListSchema(): boolean;
@@ -204,17 +159,17 @@ export interface NormalizedSchema {
204
159
  * A schema "reference" is either a schema or a function that
205
160
  * provides a schema. This is useful for lazy loading, and to allow
206
161
  * code generation to define schema out of dependency order.
207
- * @public
162
+ * @alpha
208
163
  */
209
- export type SchemaRef = Schema | (() => Schema);
164
+ export type $SchemaRef = $Schema | (() => $Schema);
210
165
  /**
211
166
  * A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
212
167
  *
213
168
  * @public
214
169
  */
215
- export interface Codec<S, D> extends ConfigurableSerdeContext {
216
- createSerializer(): ShapeSerializer<S>;
217
- createDeserializer(): ShapeDeserializer<D>;
170
+ export interface $Codec<S, D> extends ConfigurableSerdeContext {
171
+ createSerializer(): $ShapeSerializer<S>;
172
+ createDeserializer(): $ShapeDeserializer<D>;
218
173
  }
219
174
  /**
220
175
  * Configuration for codecs. Different protocols may share codecs, but require different behaviors from them.
@@ -241,25 +196,25 @@ export type CodecSettings = {
241
196
  * Turns a serialization into a data object.
242
197
  * @public
243
198
  */
244
- export interface ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
199
+ export interface $ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
245
200
  /**
246
201
  * Optionally async.
247
202
  */
248
- read(schema: Schema, data: SerializationType): any | Promise<any>;
203
+ read(schema: $Schema, data: SerializationType): any | Promise<any>;
249
204
  }
250
205
  /**
251
206
  * Turns a data object into a serialization.
252
207
  * @public
253
208
  */
254
- export interface ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
255
- write(schema: Schema, value: unknown): void;
209
+ export interface $ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
210
+ write(schema: $Schema, value: unknown): void;
256
211
  flush(): SerializationType;
257
212
  }
258
213
  /**
259
214
  * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
260
215
  * @public
261
216
  */
262
- export interface ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
217
+ export interface $ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
263
218
  /**
264
219
  * @returns the Smithy qualified shape id.
265
220
  */
@@ -274,10 +229,10 @@ export interface ClientProtocol<Request, Response> extends ConfigurableSerdeCont
274
229
  * @returns the payload codec if the requests/responses have a symmetric format.
275
230
  * It otherwise may return null.
276
231
  */
277
- getPayloadCodec(): Codec<any, any>;
278
- serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
232
+ getPayloadCodec(): $Codec<any, any>;
233
+ serializeRequest<Input extends object>(operationSchema: $OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
279
234
  updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
280
- deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
235
+ deserializeResponse<Output extends MetadataBearer>(operationSchema: $OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
281
236
  }
282
237
  /**
283
238
  * Allows a protocol, codec, or serde utility to accept the serdeContext
@@ -1,4 +1,4 @@
1
- import { SchemaRef, SchemaTraits } from "../schema/schema";
1
+ import { $SchemaRef, SchemaTraits } from "../schema/schema";
2
2
  /**
3
3
  * @alpha
4
4
  */
@@ -43,7 +43,7 @@ export type StaticSimpleSchema = [
43
43
  ShapeNamespace,
44
44
  ShapeName,
45
45
  SchemaTraits,
46
- SchemaRef
46
+ $SchemaRef
47
47
  ];
48
48
  /**
49
49
  * @alpha
@@ -53,7 +53,7 @@ export type StaticListSchema = [
53
53
  ShapeNamespace,
54
54
  ShapeName,
55
55
  SchemaTraits,
56
- SchemaRef
56
+ $SchemaRef
57
57
  ];
58
58
  /**
59
59
  * @alpha
@@ -63,8 +63,8 @@ export type StaticMapSchema = [
63
63
  ShapeNamespace,
64
64
  ShapeName,
65
65
  SchemaTraits,
66
- SchemaRef,
67
- SchemaRef
66
+ $SchemaRef,
67
+ $SchemaRef
68
68
  ];
69
69
  /**
70
70
  * @alpha
@@ -75,7 +75,7 @@ export type StaticStructureSchema = [
75
75
  ShapeName,
76
76
  SchemaTraits,
77
77
  string[],
78
- SchemaRef[]
78
+ $SchemaRef[]
79
79
  ];
80
80
  /**
81
81
  * @alpha
@@ -86,7 +86,7 @@ export type StaticErrorSchema = [
86
86
  ShapeName,
87
87
  SchemaTraits,
88
88
  string[],
89
- SchemaRef[]
89
+ $SchemaRef[]
90
90
  ];
91
91
  /**
92
92
  * @alpha
@@ -96,6 +96,6 @@ export type StaticOperationSchema = [
96
96
  ShapeNamespace,
97
97
  ShapeName,
98
98
  SchemaTraits,
99
- SchemaRef,
100
- SchemaRef
99
+ $SchemaRef,
100
+ $SchemaRef
101
101
  ];
@@ -1,5 +1,5 @@
1
1
  import { Endpoint } from "./http";
2
- import { ClientProtocol } from "./schema/schema";
2
+ import { $ClientProtocol } from "./schema/schema";
3
3
  import { RequestHandler } from "./transfer";
4
4
  import { Decoder, Encoder, Provider } from "./util";
5
5
  /**
@@ -29,7 +29,7 @@ export interface StreamCollector {
29
29
  export interface SerdeContext extends SerdeFunctions, EndpointBearer {
30
30
  requestHandler: RequestHandler<any, any>;
31
31
  disableHostPrefix: boolean;
32
- protocol?: ClientProtocol<any, any>;
32
+ protocol?: $ClientProtocol<any, any>;
33
33
  }
34
34
  /**
35
35
  * @public
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/types",
3
- "version": "4.7.1",
3
+ "version": "4.8.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline types",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/url-parser",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline url-parser",
@@ -24,8 +24,8 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/querystring-parser": "^4.2.2",
28
- "@smithy/types": "^4.7.1",
27
+ "@smithy/querystring-parser": "^4.2.3",
28
+ "@smithy/types": "^4.8.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "typesVersions": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "4.3.2",
3
+ "version": "4.3.3",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
@@ -24,9 +24,9 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/property-provider": "^4.2.2",
28
- "@smithy/smithy-client": "^4.8.1",
29
- "@smithy/types": "^4.7.1",
27
+ "@smithy/property-provider": "^4.2.3",
28
+ "@smithy/smithy-client": "^4.9.0",
29
+ "@smithy/types": "^4.8.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -24,12 +24,12 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/config-resolver": "^4.3.2",
28
- "@smithy/credential-provider-imds": "^4.2.2",
29
- "@smithy/node-config-provider": "^4.3.2",
30
- "@smithy/property-provider": "^4.2.2",
31
- "@smithy/smithy-client": "^4.8.1",
32
- "@smithy/types": "^4.7.1",
27
+ "@smithy/config-resolver": "^4.3.3",
28
+ "@smithy/credential-provider-imds": "^4.2.3",
29
+ "@smithy/node-config-provider": "^4.3.3",
30
+ "@smithy/property-provider": "^4.2.3",
31
+ "@smithy/smithy-client": "^4.9.0",
32
+ "@smithy/types": "^4.8.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -260,22 +260,25 @@ const evaluateExpression = (obj, keyName, options) => {
260
260
  return evaluateTemplate(obj, options);
261
261
  }
262
262
  else if (obj["fn"]) {
263
- return callFunction(obj, options);
263
+ return group$2.callFunction(obj, options);
264
264
  }
265
265
  else if (obj["ref"]) {
266
266
  return getReferenceValue(obj, options);
267
267
  }
268
268
  throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`);
269
269
  };
270
-
271
270
  const callFunction = ({ fn, argv }, options) => {
272
- const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : evaluateExpression(arg, "arg", options));
271
+ const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : group$2.evaluateExpression(arg, "arg", options));
273
272
  const fnSegments = fn.split(".");
274
273
  if (fnSegments[0] in customEndpointFunctions && fnSegments[1] != null) {
275
274
  return customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs);
276
275
  }
277
276
  return endpointFunctions[fn](...evaluatedArgs);
278
277
  };
278
+ const group$2 = {
279
+ evaluateExpression,
280
+ callFunction,
281
+ };
279
282
 
280
283
  const evaluateCondition = ({ assign, ...fnArgs }, options) => {
281
284
  if (assign && assign in options.referenceRecord) {
@@ -321,6 +324,10 @@ const getEndpointHeaders = (headers, options) => Object.entries(headers).reduce(
321
324
  }),
322
325
  }), {});
323
326
 
327
+ const getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
328
+ ...acc,
329
+ [propertyKey]: group$1.getEndpointProperty(propertyVal, options),
330
+ }), {});
324
331
  const getEndpointProperty = (property, options) => {
325
332
  if (Array.isArray(property)) {
326
333
  return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options));
@@ -332,18 +339,17 @@ const getEndpointProperty = (property, options) => {
332
339
  if (property === null) {
333
340
  throw new EndpointError(`Unexpected endpoint property: ${property}`);
334
341
  }
335
- return getEndpointProperties(property, options);
342
+ return group$1.getEndpointProperties(property, options);
336
343
  case "boolean":
337
344
  return property;
338
345
  default:
339
346
  throw new EndpointError(`Unexpected endpoint property type: ${typeof property}`);
340
347
  }
341
348
  };
342
-
343
- const getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
344
- ...acc,
345
- [propertyKey]: getEndpointProperty(propertyVal, options),
346
- }), {});
349
+ const group$1 = {
350
+ getEndpointProperty,
351
+ getEndpointProperties,
352
+ };
347
353
 
348
354
  const getEndpointUrl = (endpointUrl, options) => {
349
355
  const expression = evaluateExpression(endpointUrl, "Endpoint URL", options);
@@ -394,18 +400,6 @@ const evaluateErrorRule = (errorRule, options) => {
394
400
  }));
395
401
  };
396
402
 
397
- const evaluateTreeRule = (treeRule, options) => {
398
- const { conditions, rules } = treeRule;
399
- const { result, referenceRecord } = evaluateConditions(conditions, options);
400
- if (!result) {
401
- return;
402
- }
403
- return evaluateRules(rules, {
404
- ...options,
405
- referenceRecord: { ...options.referenceRecord, ...referenceRecord },
406
- });
407
- };
408
-
409
403
  const evaluateRules = (rules, options) => {
410
404
  for (const rule of rules) {
411
405
  if (rule.type === "endpoint") {
@@ -418,7 +412,7 @@ const evaluateRules = (rules, options) => {
418
412
  evaluateErrorRule(rule, options);
419
413
  }
420
414
  else if (rule.type === "tree") {
421
- const endpointOrUndefined = evaluateTreeRule(rule, options);
415
+ const endpointOrUndefined = group.evaluateTreeRule(rule, options);
422
416
  if (endpointOrUndefined) {
423
417
  return endpointOrUndefined;
424
418
  }
@@ -429,6 +423,21 @@ const evaluateRules = (rules, options) => {
429
423
  }
430
424
  throw new EndpointError(`Rules evaluation failed`);
431
425
  };
426
+ const evaluateTreeRule = (treeRule, options) => {
427
+ const { conditions, rules } = treeRule;
428
+ const { result, referenceRecord } = evaluateConditions(conditions, options);
429
+ if (!result) {
430
+ return;
431
+ }
432
+ return group.evaluateRules(rules, {
433
+ ...options,
434
+ referenceRecord: { ...options.referenceRecord, ...referenceRecord },
435
+ });
436
+ };
437
+ const group = {
438
+ evaluateRules,
439
+ evaluateTreeRule,
440
+ };
432
441
 
433
442
  const resolveEndpoint = (ruleSetObject, options) => {
434
443
  const { endpointParams, logger } = options;
@@ -1,11 +1 @@
1
- import { customEndpointFunctions } from "./customEndpointFunctions";
2
- import { endpointFunctions } from "./endpointFunctions";
3
- import { evaluateExpression } from "./evaluateExpression";
4
- export const callFunction = ({ fn, argv }, options) => {
5
- const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : evaluateExpression(arg, "arg", options));
6
- const fnSegments = fn.split(".");
7
- if (fnSegments[0] in customEndpointFunctions && fnSegments[1] != null) {
8
- return customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs);
9
- }
10
- return endpointFunctions[fn](...evaluatedArgs);
11
- };
1
+ export { callFunction } from "./evaluateExpression";
@@ -1,5 +1,6 @@
1
1
  import { EndpointError } from "../types";
2
- import { callFunction } from "./callFunction";
2
+ import { customEndpointFunctions } from "./customEndpointFunctions";
3
+ import { endpointFunctions } from "./endpointFunctions";
3
4
  import { evaluateTemplate } from "./evaluateTemplate";
4
5
  import { getReferenceValue } from "./getReferenceValue";
5
6
  export const evaluateExpression = (obj, keyName, options) => {
@@ -7,10 +8,22 @@ export const evaluateExpression = (obj, keyName, options) => {
7
8
  return evaluateTemplate(obj, options);
8
9
  }
9
10
  else if (obj["fn"]) {
10
- return callFunction(obj, options);
11
+ return group.callFunction(obj, options);
11
12
  }
12
13
  else if (obj["ref"]) {
13
14
  return getReferenceValue(obj, options);
14
15
  }
15
16
  throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`);
16
17
  };
18
+ export const callFunction = ({ fn, argv }, options) => {
19
+ const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : group.evaluateExpression(arg, "arg", options));
20
+ const fnSegments = fn.split(".");
21
+ if (fnSegments[0] in customEndpointFunctions && fnSegments[1] != null) {
22
+ return customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs);
23
+ }
24
+ return endpointFunctions[fn](...evaluatedArgs);
25
+ };
26
+ export const group = {
27
+ evaluateExpression,
28
+ callFunction,
29
+ };
@@ -1,7 +1,7 @@
1
1
  import { EndpointError } from "../types";
2
+ import { evaluateConditions } from "./evaluateConditions";
2
3
  import { evaluateEndpointRule } from "./evaluateEndpointRule";
3
4
  import { evaluateErrorRule } from "./evaluateErrorRule";
4
- import { evaluateTreeRule } from "./evaluateTreeRule";
5
5
  export const evaluateRules = (rules, options) => {
6
6
  for (const rule of rules) {
7
7
  if (rule.type === "endpoint") {
@@ -14,7 +14,7 @@ export const evaluateRules = (rules, options) => {
14
14
  evaluateErrorRule(rule, options);
15
15
  }
16
16
  else if (rule.type === "tree") {
17
- const endpointOrUndefined = evaluateTreeRule(rule, options);
17
+ const endpointOrUndefined = group.evaluateTreeRule(rule, options);
18
18
  if (endpointOrUndefined) {
19
19
  return endpointOrUndefined;
20
20
  }
@@ -25,3 +25,18 @@ export const evaluateRules = (rules, options) => {
25
25
  }
26
26
  throw new EndpointError(`Rules evaluation failed`);
27
27
  };
28
+ export const evaluateTreeRule = (treeRule, options) => {
29
+ const { conditions, rules } = treeRule;
30
+ const { result, referenceRecord } = evaluateConditions(conditions, options);
31
+ if (!result) {
32
+ return;
33
+ }
34
+ return group.evaluateRules(rules, {
35
+ ...options,
36
+ referenceRecord: { ...options.referenceRecord, ...referenceRecord },
37
+ });
38
+ };
39
+ export const group = {
40
+ evaluateRules,
41
+ evaluateTreeRule,
42
+ };
@@ -1,13 +1 @@
1
- import { evaluateConditions } from "./evaluateConditions";
2
- import { evaluateRules } from "./evaluateRules";
3
- export const evaluateTreeRule = (treeRule, options) => {
4
- const { conditions, rules } = treeRule;
5
- const { result, referenceRecord } = evaluateConditions(conditions, options);
6
- if (!result) {
7
- return;
8
- }
9
- return evaluateRules(rules, {
10
- ...options,
11
- referenceRecord: { ...options.referenceRecord, ...referenceRecord },
12
- });
13
- };
1
+ export { evaluateTreeRule } from "./evaluateRules";
@@ -1,5 +1,28 @@
1
- import { getEndpointProperty } from "./getEndpointProperty";
1
+ import { EndpointError } from "../types";
2
+ import { evaluateTemplate } from "./evaluateTemplate";
2
3
  export const getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
3
4
  ...acc,
4
- [propertyKey]: getEndpointProperty(propertyVal, options),
5
+ [propertyKey]: group.getEndpointProperty(propertyVal, options),
5
6
  }), {});
7
+ export const getEndpointProperty = (property, options) => {
8
+ if (Array.isArray(property)) {
9
+ return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options));
10
+ }
11
+ switch (typeof property) {
12
+ case "string":
13
+ return evaluateTemplate(property, options);
14
+ case "object":
15
+ if (property === null) {
16
+ throw new EndpointError(`Unexpected endpoint property: ${property}`);
17
+ }
18
+ return group.getEndpointProperties(property, options);
19
+ case "boolean":
20
+ return property;
21
+ default:
22
+ throw new EndpointError(`Unexpected endpoint property type: ${typeof property}`);
23
+ }
24
+ };
25
+ export const group = {
26
+ getEndpointProperty,
27
+ getEndpointProperties,
28
+ };
@@ -1,21 +1 @@
1
- import { EndpointError } from "../types";
2
- import { evaluateTemplate } from "./evaluateTemplate";
3
- import { getEndpointProperties } from "./getEndpointProperties";
4
- export const getEndpointProperty = (property, options) => {
5
- if (Array.isArray(property)) {
6
- return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options));
7
- }
8
- switch (typeof property) {
9
- case "string":
10
- return evaluateTemplate(property, options);
11
- case "object":
12
- if (property === null) {
13
- throw new EndpointError(`Unexpected endpoint property: ${property}`);
14
- }
15
- return getEndpointProperties(property, options);
16
- case "boolean":
17
- return property;
18
- default:
19
- throw new EndpointError(`Unexpected endpoint property type: ${typeof property}`);
20
- }
21
- };
1
+ export { getEndpointProperty } from "./getEndpointProperties";
@@ -1,2 +1 @@
1
- import { EvaluateOptions, FunctionObject, FunctionReturn } from "../types";
2
- export declare const callFunction: ({ fn, argv }: FunctionObject, options: EvaluateOptions) => FunctionReturn;
1
+ export { callFunction } from "./evaluateExpression";
@@ -1,2 +1,7 @@
1
- import { EvaluateOptions, Expression } from "../types";
2
- export declare const evaluateExpression: (obj: Expression, keyName: string, options: EvaluateOptions) => import("../types").FunctionReturn;
1
+ import { EvaluateOptions, Expression, FunctionObject, FunctionReturn } from "../types";
2
+ export declare const evaluateExpression: (obj: Expression, keyName: string, options: EvaluateOptions) => FunctionReturn;
3
+ export declare const callFunction: ({ fn, argv }: FunctionObject, options: EvaluateOptions) => FunctionReturn;
4
+ export declare const group: {
5
+ evaluateExpression: (obj: Expression, keyName: string, options: EvaluateOptions) => FunctionReturn;
6
+ callFunction: ({ fn, argv }: FunctionObject, options: EvaluateOptions) => FunctionReturn;
7
+ };
@@ -1,3 +1,8 @@
1
1
  import { EndpointV2 } from "@smithy/types";
2
- import { EvaluateOptions, RuleSetRules } from "../types";
2
+ import { EvaluateOptions, RuleSetRules, TreeRuleObject } from "../types";
3
3
  export declare const evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => EndpointV2;
4
+ export declare const evaluateTreeRule: (treeRule: TreeRuleObject, options: EvaluateOptions) => EndpointV2 | undefined;
5
+ export declare const group: {
6
+ evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => EndpointV2;
7
+ evaluateTreeRule: (treeRule: TreeRuleObject, options: EvaluateOptions) => EndpointV2 | undefined;
8
+ };
@@ -1,3 +1 @@
1
- import { EndpointV2 } from "@smithy/types";
2
- import { EvaluateOptions, TreeRuleObject } from "../types";
3
- export declare const evaluateTreeRule: (treeRule: TreeRuleObject, options: EvaluateOptions) => EndpointV2 | undefined;
1
+ export { evaluateTreeRule } from "./evaluateRules";
@@ -1,2 +1,8 @@
1
+ import { EndpointObjectProperty } from "@smithy/types";
1
2
  import { EndpointObjectProperties, EvaluateOptions } from "../types";
2
3
  export declare const getEndpointProperties: (properties: EndpointObjectProperties, options: EvaluateOptions) => {};
4
+ export declare const getEndpointProperty: (property: EndpointObjectProperty, options: EvaluateOptions) => EndpointObjectProperty;
5
+ export declare const group: {
6
+ getEndpointProperty: (property: EndpointObjectProperty, options: EvaluateOptions) => EndpointObjectProperty;
7
+ getEndpointProperties: (properties: EndpointObjectProperties, options: EvaluateOptions) => {};
8
+ };
@@ -1,3 +1 @@
1
- import { EndpointObjectProperty } from "@smithy/types";
2
- import { EvaluateOptions } from "../types";
3
- export declare const getEndpointProperty: (property: EndpointObjectProperty, options: EvaluateOptions) => EndpointObjectProperty;
1
+ export { getEndpointProperty } from "./getEndpointProperties";
@@ -1,2 +1 @@
1
- import type { EvaluateOptions, FunctionObject, FunctionReturn } from "../types";
2
- export declare const callFunction: ({ fn, argv }: FunctionObject, options: EvaluateOptions) => FunctionReturn;
1
+ export { callFunction } from "./evaluateExpression";