@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.910.0",
3
+ "version": "3.911.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline signature-v4-multi-region",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/middleware-sdk-s3": "3.910.0",
28
+ "@aws-sdk/middleware-sdk-s3": "3.911.0",
29
29
  "@aws-sdk/types": "3.910.0",
30
30
  "@smithy/protocol-http": "^5.3.2",
31
31
  "@smithy/signature-v4": "^5.3.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.910.0",
3
+ "version": "3.911.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "3.910.0",
33
- "@aws-sdk/nested-clients": "3.910.0",
32
+ "@aws-sdk/core": "3.911.0",
33
+ "@aws-sdk/nested-clients": "3.911.0",
34
34
  "@aws-sdk/types": "3.910.0",
35
35
  "@smithy/property-provider": "^4.2.2",
36
36
  "@smithy/shared-ini-file-loader": "^4.3.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.910.0",
3
+ "version": "3.911.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/middleware-user-agent": "3.910.0",
25
+ "@aws-sdk/middleware-user-agent": "3.911.0",
26
26
  "@aws-sdk/types": "3.910.0",
27
27
  "@smithy/node-config-provider": "^4.3.2",
28
28
  "@smithy/types": "^4.7.1",
@@ -1,5 +1,8 @@
1
- const parser = new DOMParser();
1
+ let parser;
2
2
  export function parseXML(xmlString) {
3
+ if (!parser) {
4
+ parser = new DOMParser();
5
+ }
3
6
  const xmlDocument = parser.parseFromString(xmlString, "application/xml");
4
7
  if (xmlDocument.getElementsByTagName("parsererror").length > 0) {
5
8
  throw new Error("DOMParser XML parsing error.");
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.910.0",
3
+ "version": "3.911.0",
4
4
  "description": "XML builder for the AWS SDK",
5
5
  "dependencies": {
6
6
  "@smithy/types": "^4.7.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/abort-controller",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "A simple abort controller library",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  "license": "Apache-2.0",
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@smithy/types": "^4.7.1",
29
+ "@smithy/types": "^4.8.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
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 config-resolver",
@@ -25,10 +25,10 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/node-config-provider": "^4.3.2",
29
- "@smithy/types": "^4.7.1",
28
+ "@smithy/node-config-provider": "^4.3.3",
29
+ "@smithy/types": "^4.8.0",
30
30
  "@smithy/util-config-provider": "^4.2.0",
31
- "@smithy/util-middleware": "^4.2.2",
31
+ "@smithy/util-middleware": "^4.2.3",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
@@ -19,7 +19,6 @@ class EventStreamSerde {
19
19
  const marshaller = this.marshaller;
20
20
  const eventStreamMember = requestSchema.getEventStreamMember();
21
21
  const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
22
- unionSchema.getMemberSchemas();
23
22
  const serializer = this.serializer;
24
23
  const defaultContentType = this.defaultContentType;
25
24
  const initialRequestMarker = Symbol("initialRequestMarker");
@@ -132,7 +131,7 @@ class EventStreamSerde {
132
131
  let explicitPayloadContentType;
133
132
  const isKnownSchema = (() => {
134
133
  const struct = unionSchema.getSchema();
135
- return struct.memberNames.includes(unionMember);
134
+ return struct[4].includes(unionMember);
136
135
  })();
137
136
  const additionalHeaders = {};
138
137
  if (!isKnownSchema) {
@@ -80,10 +80,10 @@ class HttpProtocol extends SerdeContext {
80
80
  }
81
81
  }
82
82
  setHostPrefix(request, operationSchema, input) {
83
- const operationNs = schema.NormalizedSchema.of(operationSchema);
84
83
  const inputNs = schema.NormalizedSchema.of(operationSchema.input);
85
- if (operationNs.getMergedTraits().endpoint) {
86
- let hostPrefix = operationNs.getMergedTraits().endpoint?.[0];
84
+ const opTraits = schema.translateTraits(operationSchema.traits ?? {});
85
+ if (opTraits.endpoint) {
86
+ let hostPrefix = opTraits.endpoint?.[0];
87
87
  if (typeof hostPrefix === "string") {
88
88
  const hostLabelInputs = [...inputNs.structIterator()].filter(([, member]) => member.getMergedTraits().hostLabel);
89
89
  for (const [name] of hostLabelInputs) {
@@ -10,6 +10,113 @@ const deref = (schemaRef) => {
10
10
  return schemaRef;
11
11
  };
12
12
 
13
+ const operation = (namespace, name, traits, input, output) => ({
14
+ name,
15
+ namespace,
16
+ traits,
17
+ input,
18
+ output,
19
+ });
20
+
21
+ const schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {
22
+ const { response } = await next(args);
23
+ const { operationSchema } = utilMiddleware.getSmithyContext(context);
24
+ const [, ns, n, t, i, o] = operationSchema ?? [];
25
+ try {
26
+ const parsed = await config.protocol.deserializeResponse(operation(ns, n, t, i, o), {
27
+ ...config,
28
+ ...context,
29
+ }, response);
30
+ return {
31
+ response,
32
+ output: parsed,
33
+ };
34
+ }
35
+ catch (error) {
36
+ Object.defineProperty(error, "$response", {
37
+ value: response,
38
+ });
39
+ if (!("$metadata" in error)) {
40
+ const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;
41
+ try {
42
+ error.message += "\n " + hint;
43
+ }
44
+ catch (e) {
45
+ if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
46
+ console.warn(hint);
47
+ }
48
+ else {
49
+ context.logger?.warn?.(hint);
50
+ }
51
+ }
52
+ if (typeof error.$responseBodyText !== "undefined") {
53
+ if (error.$response) {
54
+ error.$response.body = error.$responseBodyText;
55
+ }
56
+ }
57
+ try {
58
+ if (protocolHttp.HttpResponse.isInstance(response)) {
59
+ const { headers = {} } = response;
60
+ const headerEntries = Object.entries(headers);
61
+ error.$metadata = {
62
+ httpStatusCode: response.statusCode,
63
+ requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries),
64
+ extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries),
65
+ cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries),
66
+ };
67
+ }
68
+ }
69
+ catch (e) {
70
+ }
71
+ }
72
+ throw error;
73
+ }
74
+ };
75
+ const findHeader = (pattern, headers) => {
76
+ return (headers.find(([k]) => {
77
+ return k.match(pattern);
78
+ }) || [void 0, void 0])[1];
79
+ };
80
+
81
+ const schemaSerializationMiddleware = (config) => (next, context) => async (args) => {
82
+ const { operationSchema } = utilMiddleware.getSmithyContext(context);
83
+ const [, ns, n, t, i, o] = operationSchema ?? [];
84
+ const endpoint = context.endpointV2?.url && config.urlParser
85
+ ? async () => config.urlParser(context.endpointV2.url)
86
+ : config.endpoint;
87
+ const request = await config.protocol.serializeRequest(operation(ns, n, t, i, o), args.input, {
88
+ ...config,
89
+ ...context,
90
+ endpoint,
91
+ });
92
+ return next({
93
+ ...args,
94
+ request,
95
+ });
96
+ };
97
+
98
+ const deserializerMiddlewareOption = {
99
+ name: "deserializerMiddleware",
100
+ step: "deserialize",
101
+ tags: ["DESERIALIZER"],
102
+ override: true,
103
+ };
104
+ const serializerMiddlewareOption = {
105
+ name: "serializerMiddleware",
106
+ step: "serialize",
107
+ tags: ["SERIALIZER"],
108
+ override: true,
109
+ };
110
+ function getSchemaSerdePlugin(config) {
111
+ return {
112
+ applyToStack: (commandStack) => {
113
+ commandStack.add(schemaSerializationMiddleware(config), serializerMiddlewareOption);
114
+ commandStack.add(schemaDeserializationMiddleware(config), deserializerMiddlewareOption);
115
+ config.protocol.setSerdeContext(config);
116
+ },
117
+ };
118
+ }
119
+
13
120
  class Schema {
14
121
  name;
15
122
  namespace;
@@ -31,36 +138,6 @@ class Schema {
31
138
  }
32
139
  }
33
140
 
34
- class StructureSchema extends Schema {
35
- static symbol = Symbol.for("@smithy/str");
36
- name;
37
- traits;
38
- memberNames;
39
- memberList;
40
- symbol = StructureSchema.symbol;
41
- }
42
- const struct = (namespace, name, traits, memberNames, memberList) => Schema.assign(new StructureSchema(), {
43
- name,
44
- namespace,
45
- traits,
46
- memberNames,
47
- memberList,
48
- });
49
-
50
- class ErrorSchema extends StructureSchema {
51
- static symbol = Symbol.for("@smithy/err");
52
- ctor;
53
- symbol = ErrorSchema.symbol;
54
- }
55
- const error = (namespace, name, traits, memberNames, memberList, ctor) => Schema.assign(new ErrorSchema(), {
56
- name,
57
- namespace,
58
- traits,
59
- memberNames,
60
- memberList,
61
- ctor: null,
62
- });
63
-
64
141
  class ListSchema extends Schema {
65
142
  static symbol = Symbol.for("@smithy/lis");
66
143
  name;
@@ -107,24 +184,34 @@ const op = (namespace, name, traits, input, output) => Schema.assign(new Operati
107
184
  output,
108
185
  });
109
186
 
110
- class SimpleSchema extends Schema {
111
- static symbol = Symbol.for("@smithy/sim");
187
+ class StructureSchema extends Schema {
188
+ static symbol = Symbol.for("@smithy/str");
112
189
  name;
113
- schemaRef;
114
190
  traits;
115
- symbol = SimpleSchema.symbol;
191
+ memberNames;
192
+ memberList;
193
+ symbol = StructureSchema.symbol;
116
194
  }
117
- const sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema(), {
195
+ const struct = (namespace, name, traits, memberNames, memberList) => Schema.assign(new StructureSchema(), {
118
196
  name,
119
197
  namespace,
120
198
  traits,
121
- schemaRef,
199
+ memberNames,
200
+ memberList,
122
201
  });
123
- const simAdapter = (namespace, name, traits, schemaRef) => Schema.assign(new SimpleSchema(), {
202
+
203
+ class ErrorSchema extends StructureSchema {
204
+ static symbol = Symbol.for("@smithy/err");
205
+ ctor;
206
+ symbol = ErrorSchema.symbol;
207
+ }
208
+ const error = (namespace, name, traits, memberNames, memberList, ctor) => Schema.assign(new ErrorSchema(), {
124
209
  name,
125
210
  namespace,
126
211
  traits,
127
- schemaRef,
212
+ memberNames,
213
+ memberList,
214
+ ctor: null,
128
215
  });
129
216
 
130
217
  function translateTraits(indicator) {
@@ -174,8 +261,6 @@ class NormalizedSchema {
174
261
  schema = deref(_ref);
175
262
  this._isMemberSchema = true;
176
263
  }
177
- if (isStaticSchema(schema))
178
- schema = hydrate(schema);
179
264
  if (traitStack.length > 0) {
180
265
  this.memberTraits = {};
181
266
  for (let i = traitStack.length - 1; i >= 0; --i) {
@@ -195,19 +280,25 @@ class NormalizedSchema {
195
280
  return;
196
281
  }
197
282
  this.schema = deref(schema);
198
- if (this.schema && typeof this.schema === "object") {
199
- this.traits = this.schema?.traits ?? {};
283
+ if (isStaticSchema(this.schema)) {
284
+ this.name = `${this.schema[1]}#${this.schema[2]}`;
285
+ this.traits = this.schema[3];
200
286
  }
201
287
  else {
288
+ this.name = this.memberName ?? String(schema);
202
289
  this.traits = 0;
203
290
  }
204
- this.name = (this.schema instanceof Schema ? this.schema.getName?.() : void 0) ?? this.memberName ?? String(schema);
205
291
  if (this._isMemberSchema && !memberName) {
206
292
  throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(true)} missing member name.`);
207
293
  }
208
294
  }
209
295
  static [Symbol.hasInstance](lhs) {
210
- return Schema[Symbol.hasInstance].bind(this)(lhs);
296
+ const isPrototype = this.prototype.isPrototypeOf(lhs);
297
+ if (!isPrototype && typeof lhs === "object" && lhs !== null) {
298
+ const ns = lhs;
299
+ return ns.symbol === this.symbol;
300
+ }
301
+ return isPrototype;
211
302
  }
212
303
  static of(ref) {
213
304
  const sc = deref(ref);
@@ -225,7 +316,11 @@ class NormalizedSchema {
225
316
  return new NormalizedSchema(sc);
226
317
  }
227
318
  getSchema() {
228
- return deref(this.schema?.schemaRef ?? this.schema);
319
+ const sc = this.schema;
320
+ if (sc[0] === 0) {
321
+ return sc[4];
322
+ }
323
+ return sc;
229
324
  }
230
325
  getName(withNamespace = false) {
231
326
  const { name } = this;
@@ -242,17 +337,18 @@ class NormalizedSchema {
242
337
  const sc = this.getSchema();
243
338
  return typeof sc === "number"
244
339
  ? sc >= 64 && sc < 128
245
- : sc instanceof ListSchema;
340
+ : sc[0] === 1;
246
341
  }
247
342
  isMapSchema() {
248
343
  const sc = this.getSchema();
249
344
  return typeof sc === "number"
250
345
  ? sc >= 128 && sc <= 0b1111_1111
251
- : sc instanceof MapSchema;
346
+ : sc[0] === 2;
252
347
  }
253
348
  isStructSchema() {
254
349
  const sc = this.getSchema();
255
- return (sc !== null && typeof sc === "object" && "members" in sc) || sc instanceof StructureSchema;
350
+ return (sc[0] === 3 ||
351
+ sc[0] === -3);
256
352
  }
257
353
  isBlobSchema() {
258
354
  const sc = this.getSchema();
@@ -316,7 +412,7 @@ class NormalizedSchema {
316
412
  const schema = this.getSchema();
317
413
  const memberSchema = isDoc
318
414
  ? 15
319
- : schema?.keySchema ?? 0;
415
+ : schema[4] ?? 0;
320
416
  return member([memberSchema, 0], "key");
321
417
  }
322
418
  getValueSchema() {
@@ -325,7 +421,7 @@ class NormalizedSchema {
325
421
  const memberSchema = typeof sc === "number"
326
422
  ? 0b0011_1111 & sc
327
423
  : sc && typeof sc === "object" && (isMap || isList)
328
- ? sc.valueSchema
424
+ ? sc[3 + sc[0]]
329
425
  : isDoc
330
426
  ? 15
331
427
  : void 0;
@@ -336,9 +432,9 @@ class NormalizedSchema {
336
432
  }
337
433
  getMemberSchema(memberName) {
338
434
  const struct = this.getSchema();
339
- if (this.isStructSchema() && struct.memberNames.includes(memberName)) {
340
- const i = struct.memberNames.indexOf(memberName);
341
- const memberSchema = struct.memberList[i];
435
+ if (this.isStructSchema() && struct[4].includes(memberName)) {
436
+ const i = struct[4].indexOf(memberName);
437
+ const memberSchema = struct[5][i];
342
438
  return member(isMemberSchema(memberSchema) ? memberSchema : [memberSchema, 0], memberName);
343
439
  }
344
440
  if (this.isDocumentSchema()) {
@@ -374,8 +470,8 @@ class NormalizedSchema {
374
470
  throw new Error("@smithy/core/schema - cannot iterate non-struct schema.");
375
471
  }
376
472
  const struct = this.getSchema();
377
- for (let i = 0; i < struct.memberNames.length; ++i) {
378
- yield [struct.memberNames[i], member([struct.memberList[i], 0], struct.memberNames[i])];
473
+ for (let i = 0; i < struct[4].length; ++i) {
474
+ yield [struct[4][i], member([struct[5][i], 0], struct[4][i])];
379
475
  }
380
476
  }
381
477
  }
@@ -389,122 +485,28 @@ function member(memberSchema, memberName) {
389
485
  const internalCtorAccess = NormalizedSchema;
390
486
  return new internalCtorAccess(memberSchema, memberName);
391
487
  }
392
- function hydrate(ss) {
393
- const [id, ...rest] = ss;
394
- return {
395
- [0]: simAdapter,
396
- [1]: list,
397
- [2]: map,
398
- [3]: struct,
399
- [-3]: error,
400
- [9]: op,
401
- }[id].call(null, ...rest);
402
- }
403
488
  const isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2;
404
489
  const isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
405
490
 
406
- const schemaDeserializationMiddleware = (config) => (next, context) => async (args) => {
407
- const { response } = await next(args);
408
- let { operationSchema } = utilMiddleware.getSmithyContext(context);
409
- if (isStaticSchema(operationSchema)) {
410
- operationSchema = hydrate(operationSchema);
411
- }
412
- try {
413
- const parsed = await config.protocol.deserializeResponse(operationSchema, {
414
- ...config,
415
- ...context,
416
- }, response);
417
- return {
418
- response,
419
- output: parsed,
420
- };
421
- }
422
- catch (error) {
423
- Object.defineProperty(error, "$response", {
424
- value: response,
425
- });
426
- if (!("$metadata" in error)) {
427
- const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;
428
- try {
429
- error.message += "\n " + hint;
430
- }
431
- catch (e) {
432
- if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
433
- console.warn(hint);
434
- }
435
- else {
436
- context.logger?.warn?.(hint);
437
- }
438
- }
439
- if (typeof error.$responseBodyText !== "undefined") {
440
- if (error.$response) {
441
- error.$response.body = error.$responseBodyText;
442
- }
443
- }
444
- try {
445
- if (protocolHttp.HttpResponse.isInstance(response)) {
446
- const { headers = {} } = response;
447
- const headerEntries = Object.entries(headers);
448
- error.$metadata = {
449
- httpStatusCode: response.statusCode,
450
- requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries),
451
- extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries),
452
- cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries),
453
- };
454
- }
455
- }
456
- catch (e) {
457
- }
458
- }
459
- throw error;
460
- }
461
- };
462
- const findHeader = (pattern, headers) => {
463
- return (headers.find(([k]) => {
464
- return k.match(pattern);
465
- }) || [void 0, void 0])[1];
466
- };
467
-
468
- const schemaSerializationMiddleware = (config) => (next, context) => async (args) => {
469
- let { operationSchema } = utilMiddleware.getSmithyContext(context);
470
- if (isStaticSchema(operationSchema)) {
471
- operationSchema = hydrate(operationSchema);
472
- }
473
- const endpoint = context.endpointV2?.url && config.urlParser
474
- ? async () => config.urlParser(context.endpointV2.url)
475
- : config.endpoint;
476
- const request = await config.protocol.serializeRequest(operationSchema, args.input, {
477
- ...config,
478
- ...context,
479
- endpoint,
480
- });
481
- return next({
482
- ...args,
483
- request,
484
- });
485
- };
486
-
487
- const deserializerMiddlewareOption = {
488
- name: "deserializerMiddleware",
489
- step: "deserialize",
490
- tags: ["DESERIALIZER"],
491
- override: true,
492
- };
493
- const serializerMiddlewareOption = {
494
- name: "serializerMiddleware",
495
- step: "serialize",
496
- tags: ["SERIALIZER"],
497
- override: true,
498
- };
499
- function getSchemaSerdePlugin(config) {
500
- return {
501
- applyToStack: (commandStack) => {
502
- commandStack.add(schemaSerializationMiddleware(config), serializerMiddlewareOption);
503
- commandStack.add(schemaDeserializationMiddleware(config), deserializerMiddlewareOption);
504
- config.protocol.setSerdeContext(config);
505
- },
506
- };
491
+ class SimpleSchema extends Schema {
492
+ static symbol = Symbol.for("@smithy/sim");
493
+ name;
494
+ schemaRef;
495
+ traits;
496
+ symbol = SimpleSchema.symbol;
507
497
  }
498
+ const sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema(), {
499
+ name,
500
+ namespace,
501
+ traits,
502
+ schemaRef,
503
+ });
504
+ const simAdapter = (namespace, name, traits, schemaRef) => Schema.assign(new SimpleSchema(), {
505
+ name,
506
+ namespace,
507
+ traits,
508
+ schemaRef,
509
+ });
508
510
 
509
511
  const SCHEMA = {
510
512
  BLOB: 0b0001_0101,
@@ -560,7 +562,7 @@ class TypeRegistry {
560
562
  getErrorCtor(es) {
561
563
  const $error = es;
562
564
  const registry = TypeRegistry.for($error[1]);
563
- return registry.exceptions.get(es);
565
+ return registry.exceptions.get($error);
564
566
  }
565
567
  getBaseException() {
566
568
  for (const exceptionKey of this.exceptions.keys()) {
@@ -603,11 +605,11 @@ exports.deref = deref;
603
605
  exports.deserializerMiddlewareOption = deserializerMiddlewareOption;
604
606
  exports.error = error;
605
607
  exports.getSchemaSerdePlugin = getSchemaSerdePlugin;
606
- exports.hydrate = hydrate;
607
608
  exports.isStaticSchema = isStaticSchema;
608
609
  exports.list = list;
609
610
  exports.map = map;
610
611
  exports.op = op;
612
+ exports.operation = operation;
611
613
  exports.serializerMiddlewareOption = serializerMiddlewareOption;
612
614
  exports.sim = sim;
613
615
  exports.simAdapter = simAdapter;
@@ -16,7 +16,6 @@ export class EventStreamSerde {
16
16
  const marshaller = this.marshaller;
17
17
  const eventStreamMember = requestSchema.getEventStreamMember();
18
18
  const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
19
- const memberSchemas = unionSchema.getMemberSchemas();
20
19
  const serializer = this.serializer;
21
20
  const defaultContentType = this.defaultContentType;
22
21
  const initialRequestMarker = Symbol("initialRequestMarker");
@@ -129,7 +128,7 @@ export class EventStreamSerde {
129
128
  let explicitPayloadContentType;
130
129
  const isKnownSchema = (() => {
131
130
  const struct = unionSchema.getSchema();
132
- return struct.memberNames.includes(unionMember);
131
+ return struct[4].includes(unionMember);
133
132
  })();
134
133
  const additionalHeaders = {};
135
134
  if (!isKnownSchema) {
@@ -1,4 +1,4 @@
1
- import { NormalizedSchema } from "@smithy/core/schema";
1
+ import { NormalizedSchema, translateTraits } from "@smithy/core/schema";
2
2
  import { HttpRequest, HttpResponse } from "@smithy/protocol-http";
3
3
  import { SerdeContext } from "./SerdeContext";
4
4
  export class HttpProtocol extends SerdeContext {
@@ -50,10 +50,10 @@ export class HttpProtocol extends SerdeContext {
50
50
  }
51
51
  }
52
52
  setHostPrefix(request, operationSchema, input) {
53
- const operationNs = NormalizedSchema.of(operationSchema);
54
53
  const inputNs = NormalizedSchema.of(operationSchema.input);
55
- if (operationNs.getMergedTraits().endpoint) {
56
- let hostPrefix = operationNs.getMergedTraits().endpoint?.[0];
54
+ const opTraits = translateTraits(operationSchema.traits ?? {});
55
+ if (opTraits.endpoint) {
56
+ let hostPrefix = opTraits.endpoint?.[0];
57
57
  if (typeof hostPrefix === "string") {
58
58
  const hostLabelInputs = [...inputNs.structIterator()].filter(([, member]) => member.getMergedTraits().hostLabel);
59
59
  for (const [name] of hostLabelInputs) {
@@ -35,7 +35,7 @@ export class TypeRegistry {
35
35
  getErrorCtor(es) {
36
36
  const $error = es;
37
37
  const registry = TypeRegistry.for($error[1]);
38
- return registry.exceptions.get(es);
38
+ return registry.exceptions.get($error);
39
39
  }
40
40
  getBaseException() {
41
41
  for (const exceptionKey of this.exceptions.keys()) {
@@ -3,6 +3,7 @@ export * from "./middleware/getSchemaSerdePlugin";
3
3
  export * from "./schemas/ListSchema";
4
4
  export * from "./schemas/MapSchema";
5
5
  export * from "./schemas/OperationSchema";
6
+ export * from "./schemas/operation";
6
7
  export * from "./schemas/ErrorSchema";
7
8
  export * from "./schemas/NormalizedSchema";
8
9
  export * from "./schemas/Schema";