@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
@@ -0,0 +1,136 @@
1
+ import type { EndpointV2 } from "../endpoint";
2
+ import type { HandlerExecutionContext } from "../middleware";
3
+ import type { MetadataBearer } from "../response";
4
+ import type { EndpointBearer, SerdeFunctions } from "../serde";
5
+ import type { ConfigurableSerdeContext, NormalizedSchema, SchemaTraits, SimpleSchema, UnitSchema } from "./schema";
6
+ import type { StaticSchema } from "./static-schemas";
7
+ /**
8
+ * A schema is an object or value that describes how to serialize/deserialize data.
9
+ * @public
10
+ * @deprecated use $Schema
11
+ */
12
+ export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | MapSchema | StructureSchema | MemberSchema | OperationSchema | StaticSchema | NormalizedSchema;
13
+ /**
14
+ * A schema "reference" is either a schema or a function that
15
+ * provides a schema. This is useful for lazy loading, and to allow
16
+ * code generation to define schema out of dependency order.
17
+ * @public
18
+ * @deprecated use $SchemaRef
19
+ */
20
+ export type SchemaRef = Schema | (() => Schema);
21
+ /**
22
+ * A schema that has traits.
23
+ *
24
+ * @public
25
+ * @deprecated use static schema.
26
+ */
27
+ export interface TraitsSchema {
28
+ namespace: string;
29
+ name: string;
30
+ traits: SchemaTraits;
31
+ }
32
+ /**
33
+ * Indicates the schema is a member of a parent Structure schema.
34
+ * It may also have a set of member traits distinct from its target shape's traits.
35
+ * @public
36
+ * @deprecated use $MemberSchema
37
+ */
38
+ export type MemberSchema = [SchemaRef, SchemaTraits];
39
+ /**
40
+ * Schema for the structure aggregate type.
41
+ * @public
42
+ * @deprecated use static schema.
43
+ */
44
+ export interface StructureSchema extends TraitsSchema {
45
+ memberNames: string[];
46
+ memberList: SchemaRef[];
47
+ /**
48
+ * @deprecated structure member iteration will be linear on the memberNames and memberList arrays.
49
+ * It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such.
50
+ */
51
+ members?: Record<string, [SchemaRef, SchemaTraits]> | undefined;
52
+ }
53
+ /**
54
+ * Schema for the list aggregate type.
55
+ * @public
56
+ * @deprecated use static schema.
57
+ */
58
+ export interface ListSchema extends TraitsSchema {
59
+ valueSchema: SchemaRef;
60
+ }
61
+ /**
62
+ * Schema for the map aggregate type.
63
+ * @public
64
+ * @deprecated use static schema.
65
+ */
66
+ export interface MapSchema extends TraitsSchema {
67
+ keySchema: SchemaRef;
68
+ valueSchema: SchemaRef;
69
+ }
70
+ /**
71
+ * Schema for an operation.
72
+ * @public
73
+ * @deprecated use StaticOperationSchema or $OperationSchema
74
+ */
75
+ export interface OperationSchema {
76
+ namespace: string;
77
+ name: string;
78
+ traits: SchemaTraits;
79
+ input: SchemaRef;
80
+ output: SchemaRef;
81
+ }
82
+ /**
83
+ * Turns a serialization into a data object.
84
+ * @public
85
+ * @deprecated use $ShapeDeserializer
86
+ */
87
+ export interface ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
88
+ /**
89
+ * Optionally async.
90
+ */
91
+ read(schema: Schema, data: SerializationType): any | Promise<any>;
92
+ }
93
+ /**
94
+ * Turns a data object into a serialization.
95
+ * @public
96
+ * @deprecated use $ShapeSerializer
97
+ */
98
+ export interface ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
99
+ write(schema: Schema, value: unknown): void;
100
+ flush(): SerializationType;
101
+ }
102
+ /**
103
+ * A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
104
+ *
105
+ * @public
106
+ * @deprecated use $Codec
107
+ */
108
+ export interface Codec<S, D> extends ConfigurableSerdeContext {
109
+ createSerializer(): ShapeSerializer<S>;
110
+ createDeserializer(): ShapeDeserializer<D>;
111
+ }
112
+ /**
113
+ * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
114
+ * @public
115
+ * @deprecated use $ClientProtocol
116
+ */
117
+ export interface ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
118
+ /**
119
+ * @returns the Smithy qualified shape id.
120
+ */
121
+ getShapeId(): string;
122
+ getRequestType(): {
123
+ new (...args: any[]): Request;
124
+ };
125
+ getResponseType(): {
126
+ new (...args: any[]): Response;
127
+ };
128
+ /**
129
+ * @returns the payload codec if the requests/responses have a symmetric format.
130
+ * It otherwise may return null.
131
+ */
132
+ getPayloadCodec(): Codec<any, any>;
133
+ serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
134
+ updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
135
+ deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
136
+ }
@@ -7,9 +7,9 @@ import type { StaticSchema } from "./static-schemas";
7
7
  import type { 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
  /**
@@ -102,60 +92,28 @@ export type SchemaTraitsObject = {
102
92
  [traitName: string]: unknown;
103
93
  };
104
94
  /**
105
- * Schema for the structure aggregate type.
106
- * @public
107
- */
108
- export interface StructureSchema extends TraitsSchema {
109
- name: string;
110
- traits: SchemaTraits;
111
- memberNames: string[];
112
- memberList: SchemaRef[];
113
- /**
114
- * @deprecated structure member iteration will be linear on the memberNames and memberList arrays.
115
- * It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such.
116
- */
117
- members?: Record<string, [SchemaRef, SchemaTraits]> | undefined;
118
- }
119
- /**
120
- * Schema for the list aggregate type.
121
- * @public
95
+ * Indicates the schema is a member of a parent Structure schema.
96
+ * It may also have a set of member traits distinct from its target shape's traits.
97
+ * @alpha
122
98
  */
123
- export interface ListSchema extends TraitsSchema {
124
- name: string;
125
- traits: SchemaTraits;
126
- valueSchema: SchemaRef;
127
- }
128
- /**
129
- * Schema for the map aggregate type.
130
- * @public
131
- */
132
- export interface MapSchema extends TraitsSchema {
133
- name: string;
134
- traits: SchemaTraits;
135
- keySchema: SchemaRef;
136
- valueSchema: SchemaRef;
137
- }
138
- /**
139
- * @public
140
- */
141
- export type MemberSchema = [SchemaRef, SchemaTraits];
99
+ export type $MemberSchema = [$SchemaRef, SchemaTraits];
142
100
  /**
143
101
  * Schema for an operation.
144
- *
145
- * @public
102
+ * @alpha
146
103
  */
147
- export interface OperationSchema extends TraitsSchema {
104
+ export interface $OperationSchema {
105
+ namespace: string;
148
106
  name: string;
149
107
  traits: SchemaTraits;
150
- input: SchemaRef;
151
- output: SchemaRef;
108
+ input: $SchemaRef;
109
+ output: $SchemaRef;
152
110
  }
153
111
  /**
154
112
  * Normalization wrapper for various schema data objects.
155
113
  * @public
156
114
  */
157
115
  export interface NormalizedSchema {
158
- getSchema(): Schema;
116
+ getSchema(): $Schema;
159
117
  getName(): string | undefined;
160
118
  isMemberSchema(): boolean;
161
119
  isListSchema(): boolean;
@@ -186,17 +144,17 @@ export interface NormalizedSchema {
186
144
  * A schema "reference" is either a schema or a function that
187
145
  * provides a schema. This is useful for lazy loading, and to allow
188
146
  * code generation to define schema out of dependency order.
189
- * @public
147
+ * @alpha
190
148
  */
191
- export type SchemaRef = Schema | (() => Schema);
149
+ export type $SchemaRef = $Schema | (() => $Schema);
192
150
  /**
193
151
  * A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
194
152
  *
195
153
  * @public
196
154
  */
197
- export interface Codec<S, D> extends ConfigurableSerdeContext {
198
- createSerializer(): ShapeSerializer<S>;
199
- createDeserializer(): ShapeDeserializer<D>;
155
+ export interface $Codec<S, D> extends ConfigurableSerdeContext {
156
+ createSerializer(): $ShapeSerializer<S>;
157
+ createDeserializer(): $ShapeDeserializer<D>;
200
158
  }
201
159
  /**
202
160
  * Configuration for codecs. Different protocols may share codecs, but require different behaviors from them.
@@ -223,25 +181,25 @@ export type CodecSettings = {
223
181
  * Turns a serialization into a data object.
224
182
  * @public
225
183
  */
226
- export interface ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
184
+ export interface $ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
227
185
  /**
228
186
  * Optionally async.
229
187
  */
230
- read(schema: Schema, data: SerializationType): any | Promise<any>;
188
+ read(schema: $Schema, data: SerializationType): any | Promise<any>;
231
189
  }
232
190
  /**
233
191
  * Turns a data object into a serialization.
234
192
  * @public
235
193
  */
236
- export interface ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
237
- write(schema: Schema, value: unknown): void;
194
+ export interface $ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
195
+ write(schema: $Schema, value: unknown): void;
238
196
  flush(): SerializationType;
239
197
  }
240
198
  /**
241
199
  * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
242
200
  * @public
243
201
  */
244
- export interface ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
202
+ export interface $ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
245
203
  /**
246
204
  * @returns the Smithy qualified shape id.
247
205
  */
@@ -256,10 +214,10 @@ export interface ClientProtocol<Request, Response> extends ConfigurableSerdeCont
256
214
  * @returns the payload codec if the requests/responses have a symmetric format.
257
215
  * It otherwise may return null.
258
216
  */
259
- getPayloadCodec(): Codec<any, any>;
260
- serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
217
+ getPayloadCodec(): $Codec<any, any>;
218
+ serializeRequest<Input extends object>(operationSchema: $OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
261
219
  updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
262
- deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
220
+ deserializeResponse<Output extends MetadataBearer>(operationSchema: $OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
263
221
  }
264
222
  /**
265
223
  * Allows a protocol, codec, or serde utility to accept the serdeContext
@@ -1,4 +1,4 @@
1
- import type { SchemaRef, SchemaTraits } from "../schema/schema";
1
+ import type { $SchemaRef, SchemaTraits } from "../schema/schema";
2
2
  /**
3
3
  * @alpha
4
4
  */
@@ -38,15 +38,15 @@ export type ShapeNamespace = string;
38
38
  /**
39
39
  * @alpha
40
40
  */
41
- export type StaticSimpleSchema = [StaticSchemaIdSimple, ShapeNamespace, ShapeName, SchemaTraits, SchemaRef];
41
+ export type StaticSimpleSchema = [StaticSchemaIdSimple, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef];
42
42
  /**
43
43
  * @alpha
44
44
  */
45
- export type StaticListSchema = [StaticSchemaIdList, ShapeNamespace, ShapeName, SchemaTraits, SchemaRef];
45
+ export type StaticListSchema = [StaticSchemaIdList, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef];
46
46
  /**
47
47
  * @alpha
48
48
  */
49
- export type StaticMapSchema = [StaticSchemaIdMap, ShapeNamespace, ShapeName, SchemaTraits, SchemaRef, SchemaRef];
49
+ export type StaticMapSchema = [StaticSchemaIdMap, ShapeNamespace, ShapeName, SchemaTraits, $SchemaRef, $SchemaRef];
50
50
  /**
51
51
  * @alpha
52
52
  */
@@ -56,7 +56,7 @@ export type StaticStructureSchema = [
56
56
  ShapeName,
57
57
  SchemaTraits,
58
58
  string[],
59
- SchemaRef[]
59
+ $SchemaRef[]
60
60
  ];
61
61
  /**
62
62
  * @alpha
@@ -67,7 +67,7 @@ export type StaticErrorSchema = [
67
67
  ShapeName,
68
68
  SchemaTraits,
69
69
  string[],
70
- SchemaRef[]
70
+ $SchemaRef[]
71
71
  ];
72
72
  /**
73
73
  * @alpha
@@ -77,6 +77,6 @@ export type StaticOperationSchema = [
77
77
  ShapeNamespace,
78
78
  ShapeName,
79
79
  SchemaTraits,
80
- SchemaRef,
81
- SchemaRef
80
+ $SchemaRef,
81
+ $SchemaRef
82
82
  ];
@@ -1,5 +1,5 @@
1
1
  import type { Endpoint } from "./http";
2
- import type { ClientProtocol } from "./schema/schema";
2
+ import type { $ClientProtocol } from "./schema/schema";
3
3
  import type { RequestHandler } from "./transfer";
4
4
  import type { 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
@@ -22,6 +22,7 @@ export * from "./profile";
22
22
  export * from "./response";
23
23
  export * from "./retry";
24
24
  export * from "./schema/schema";
25
+ export * from "./schema/schema-deprecated";
25
26
  export * from "./schema/sentinels";
26
27
  export * from "./schema/static-schemas";
27
28
  export * from "./serde";
@@ -0,0 +1,142 @@
1
+ import { EndpointV2 } from "../endpoint";
2
+ import { HandlerExecutionContext } from "../middleware";
3
+ import { MetadataBearer } from "../response";
4
+ import { EndpointBearer, SerdeFunctions } from "../serde";
5
+ import { ConfigurableSerdeContext, NormalizedSchema, SchemaTraits, SimpleSchema, UnitSchema } from "./schema";
6
+ import { StaticSchema } from "./static-schemas";
7
+ /**
8
+ * A schema is an object or value that describes how to serialize/deserialize data.
9
+ * @public
10
+ * @deprecated use $Schema
11
+ */
12
+ export type Schema = UnitSchema | TraitsSchema | SimpleSchema | ListSchema | MapSchema | StructureSchema | MemberSchema | OperationSchema | StaticSchema | NormalizedSchema;
13
+ /**
14
+ * A schema "reference" is either a schema or a function that
15
+ * provides a schema. This is useful for lazy loading, and to allow
16
+ * code generation to define schema out of dependency order.
17
+ * @public
18
+ * @deprecated use $SchemaRef
19
+ */
20
+ export type SchemaRef = Schema | (() => Schema);
21
+ /**
22
+ * A schema that has traits.
23
+ *
24
+ * @public
25
+ * @deprecated use static schema.
26
+ */
27
+ export interface TraitsSchema {
28
+ namespace: string;
29
+ name: string;
30
+ traits: SchemaTraits;
31
+ }
32
+ /**
33
+ * Indicates the schema is a member of a parent Structure schema.
34
+ * It may also have a set of member traits distinct from its target shape's traits.
35
+ * @public
36
+ * @deprecated use $MemberSchema
37
+ */
38
+ export type MemberSchema = [
39
+ SchemaRef,
40
+ SchemaTraits
41
+ ];
42
+ /**
43
+ * Schema for the structure aggregate type.
44
+ * @public
45
+ * @deprecated use static schema.
46
+ */
47
+ export interface StructureSchema extends TraitsSchema {
48
+ memberNames: string[];
49
+ memberList: SchemaRef[];
50
+ /**
51
+ * @deprecated structure member iteration will be linear on the memberNames and memberList arrays.
52
+ * It can be collected into a hashmap form on an ad-hoc basis, but will not initialize as such.
53
+ */
54
+ members?: Record<string, [
55
+ SchemaRef,
56
+ SchemaTraits
57
+ ]> | undefined;
58
+ }
59
+ /**
60
+ * Schema for the list aggregate type.
61
+ * @public
62
+ * @deprecated use static schema.
63
+ */
64
+ export interface ListSchema extends TraitsSchema {
65
+ valueSchema: SchemaRef;
66
+ }
67
+ /**
68
+ * Schema for the map aggregate type.
69
+ * @public
70
+ * @deprecated use static schema.
71
+ */
72
+ export interface MapSchema extends TraitsSchema {
73
+ keySchema: SchemaRef;
74
+ valueSchema: SchemaRef;
75
+ }
76
+ /**
77
+ * Schema for an operation.
78
+ * @public
79
+ * @deprecated use StaticOperationSchema or $OperationSchema
80
+ */
81
+ export interface OperationSchema {
82
+ namespace: string;
83
+ name: string;
84
+ traits: SchemaTraits;
85
+ input: SchemaRef;
86
+ output: SchemaRef;
87
+ }
88
+ /**
89
+ * Turns a serialization into a data object.
90
+ * @public
91
+ * @deprecated use $ShapeDeserializer
92
+ */
93
+ export interface ShapeDeserializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
94
+ /**
95
+ * Optionally async.
96
+ */
97
+ read(schema: Schema, data: SerializationType): any | Promise<any>;
98
+ }
99
+ /**
100
+ * Turns a data object into a serialization.
101
+ * @public
102
+ * @deprecated use $ShapeSerializer
103
+ */
104
+ export interface ShapeSerializer<SerializationType = Uint8Array> extends ConfigurableSerdeContext {
105
+ write(schema: Schema, value: unknown): void;
106
+ flush(): SerializationType;
107
+ }
108
+ /**
109
+ * A codec creates serializers and deserializers for some format such as JSON, XML, or CBOR.
110
+ *
111
+ * @public
112
+ * @deprecated use $Codec
113
+ */
114
+ export interface Codec<S, D> extends ConfigurableSerdeContext {
115
+ createSerializer(): ShapeSerializer<S>;
116
+ createDeserializer(): ShapeDeserializer<D>;
117
+ }
118
+ /**
119
+ * A client protocol defines how to convert a message (e.g. HTTP request/response) to and from a data object.
120
+ * @public
121
+ * @deprecated use $ClientProtocol
122
+ */
123
+ export interface ClientProtocol<Request, Response> extends ConfigurableSerdeContext {
124
+ /**
125
+ * @returns the Smithy qualified shape id.
126
+ */
127
+ getShapeId(): string;
128
+ getRequestType(): {
129
+ new (...args: any[]): Request;
130
+ };
131
+ getResponseType(): {
132
+ new (...args: any[]): Response;
133
+ };
134
+ /**
135
+ * @returns the payload codec if the requests/responses have a symmetric format.
136
+ * It otherwise may return null.
137
+ */
138
+ getPayloadCodec(): Codec<any, any>;
139
+ serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<Request>;
140
+ updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
141
+ deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
142
+ }