@aws-sdk/client-ec2 3.183.0 → 3.185.0

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 (721) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/models/models_4.js +1 -0
  3. package/dist-cjs/protocols/Aws_ec2.js +13 -2
  4. package/dist-es/EC2.js +2177 -2170
  5. package/dist-es/EC2Client.js +28 -22
  6. package/dist-es/commands/AcceptReservedInstancesExchangeQuoteCommand.js +28 -21
  7. package/dist-es/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.js +28 -21
  8. package/dist-es/commands/AcceptTransitGatewayPeeringAttachmentCommand.js +28 -21
  9. package/dist-es/commands/AcceptTransitGatewayVpcAttachmentCommand.js +28 -21
  10. package/dist-es/commands/AcceptVpcEndpointConnectionsCommand.js +28 -21
  11. package/dist-es/commands/AcceptVpcPeeringConnectionCommand.js +28 -21
  12. package/dist-es/commands/AdvertiseByoipCidrCommand.js +28 -21
  13. package/dist-es/commands/AllocateAddressCommand.js +28 -21
  14. package/dist-es/commands/AllocateHostsCommand.js +28 -21
  15. package/dist-es/commands/AllocateIpamPoolCidrCommand.js +28 -21
  16. package/dist-es/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.js +28 -21
  17. package/dist-es/commands/AssignIpv6AddressesCommand.js +28 -21
  18. package/dist-es/commands/AssignPrivateIpAddressesCommand.js +28 -21
  19. package/dist-es/commands/AssociateAddressCommand.js +28 -21
  20. package/dist-es/commands/AssociateClientVpnTargetNetworkCommand.js +28 -21
  21. package/dist-es/commands/AssociateDhcpOptionsCommand.js +29 -22
  22. package/dist-es/commands/AssociateEnclaveCertificateIamRoleCommand.js +28 -21
  23. package/dist-es/commands/AssociateIamInstanceProfileCommand.js +28 -21
  24. package/dist-es/commands/AssociateInstanceEventWindowCommand.js +28 -21
  25. package/dist-es/commands/AssociateRouteTableCommand.js +28 -21
  26. package/dist-es/commands/AssociateSubnetCidrBlockCommand.js +28 -21
  27. package/dist-es/commands/AssociateTransitGatewayMulticastDomainCommand.js +28 -21
  28. package/dist-es/commands/AssociateTransitGatewayPolicyTableCommand.js +28 -21
  29. package/dist-es/commands/AssociateTransitGatewayRouteTableCommand.js +28 -21
  30. package/dist-es/commands/AssociateTrunkInterfaceCommand.js +28 -21
  31. package/dist-es/commands/AssociateVpcCidrBlockCommand.js +28 -21
  32. package/dist-es/commands/AttachClassicLinkVpcCommand.js +28 -21
  33. package/dist-es/commands/AttachInternetGatewayCommand.js +29 -22
  34. package/dist-es/commands/AttachNetworkInterfaceCommand.js +28 -21
  35. package/dist-es/commands/AttachVolumeCommand.js +28 -21
  36. package/dist-es/commands/AttachVpnGatewayCommand.js +28 -21
  37. package/dist-es/commands/AuthorizeClientVpnIngressCommand.js +28 -21
  38. package/dist-es/commands/AuthorizeSecurityGroupEgressCommand.js +28 -21
  39. package/dist-es/commands/AuthorizeSecurityGroupIngressCommand.js +28 -21
  40. package/dist-es/commands/BundleInstanceCommand.js +28 -21
  41. package/dist-es/commands/CancelBundleTaskCommand.js +28 -21
  42. package/dist-es/commands/CancelCapacityReservationCommand.js +28 -21
  43. package/dist-es/commands/CancelCapacityReservationFleetsCommand.js +28 -21
  44. package/dist-es/commands/CancelConversionTaskCommand.js +29 -22
  45. package/dist-es/commands/CancelExportTaskCommand.js +29 -22
  46. package/dist-es/commands/CancelImportTaskCommand.js +28 -21
  47. package/dist-es/commands/CancelReservedInstancesListingCommand.js +28 -21
  48. package/dist-es/commands/CancelSpotFleetRequestsCommand.js +28 -21
  49. package/dist-es/commands/CancelSpotInstanceRequestsCommand.js +28 -21
  50. package/dist-es/commands/ConfirmProductInstanceCommand.js +28 -21
  51. package/dist-es/commands/CopyFpgaImageCommand.js +28 -21
  52. package/dist-es/commands/CopyImageCommand.js +28 -21
  53. package/dist-es/commands/CopySnapshotCommand.js +28 -21
  54. package/dist-es/commands/CreateCapacityReservationCommand.js +28 -21
  55. package/dist-es/commands/CreateCapacityReservationFleetCommand.js +28 -21
  56. package/dist-es/commands/CreateCarrierGatewayCommand.js +28 -21
  57. package/dist-es/commands/CreateClientVpnEndpointCommand.js +28 -21
  58. package/dist-es/commands/CreateClientVpnRouteCommand.js +28 -21
  59. package/dist-es/commands/CreateCoipCidrCommand.js +28 -21
  60. package/dist-es/commands/CreateCoipPoolCommand.js +28 -21
  61. package/dist-es/commands/CreateCustomerGatewayCommand.js +28 -21
  62. package/dist-es/commands/CreateDefaultSubnetCommand.js +28 -21
  63. package/dist-es/commands/CreateDefaultVpcCommand.js +28 -21
  64. package/dist-es/commands/CreateDhcpOptionsCommand.js +28 -21
  65. package/dist-es/commands/CreateEgressOnlyInternetGatewayCommand.js +28 -21
  66. package/dist-es/commands/CreateFleetCommand.js +28 -21
  67. package/dist-es/commands/CreateFlowLogsCommand.js +28 -21
  68. package/dist-es/commands/CreateFpgaImageCommand.js +28 -21
  69. package/dist-es/commands/CreateImageCommand.js +28 -21
  70. package/dist-es/commands/CreateInstanceEventWindowCommand.js +28 -21
  71. package/dist-es/commands/CreateInstanceExportTaskCommand.js +28 -21
  72. package/dist-es/commands/CreateInternetGatewayCommand.js +28 -21
  73. package/dist-es/commands/CreateIpamCommand.js +28 -21
  74. package/dist-es/commands/CreateIpamPoolCommand.js +28 -21
  75. package/dist-es/commands/CreateIpamScopeCommand.js +28 -21
  76. package/dist-es/commands/CreateKeyPairCommand.js +28 -21
  77. package/dist-es/commands/CreateLaunchTemplateCommand.js +28 -21
  78. package/dist-es/commands/CreateLaunchTemplateVersionCommand.js +28 -21
  79. package/dist-es/commands/CreateLocalGatewayRouteCommand.js +28 -21
  80. package/dist-es/commands/CreateLocalGatewayRouteTableCommand.js +28 -21
  81. package/dist-es/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.js +28 -21
  82. package/dist-es/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.js +28 -21
  83. package/dist-es/commands/CreateManagedPrefixListCommand.js +28 -21
  84. package/dist-es/commands/CreateNatGatewayCommand.js +28 -21
  85. package/dist-es/commands/CreateNetworkAclCommand.js +28 -21
  86. package/dist-es/commands/CreateNetworkAclEntryCommand.js +29 -22
  87. package/dist-es/commands/CreateNetworkInsightsAccessScopeCommand.js +28 -21
  88. package/dist-es/commands/CreateNetworkInsightsPathCommand.js +28 -21
  89. package/dist-es/commands/CreateNetworkInterfaceCommand.js +28 -21
  90. package/dist-es/commands/CreateNetworkInterfacePermissionCommand.js +28 -21
  91. package/dist-es/commands/CreatePlacementGroupCommand.js +28 -21
  92. package/dist-es/commands/CreatePublicIpv4PoolCommand.js +28 -21
  93. package/dist-es/commands/CreateReplaceRootVolumeTaskCommand.js +28 -21
  94. package/dist-es/commands/CreateReservedInstancesListingCommand.js +28 -21
  95. package/dist-es/commands/CreateRestoreImageTaskCommand.js +28 -21
  96. package/dist-es/commands/CreateRouteCommand.js +28 -21
  97. package/dist-es/commands/CreateRouteTableCommand.js +28 -21
  98. package/dist-es/commands/CreateSecurityGroupCommand.js +28 -21
  99. package/dist-es/commands/CreateSnapshotCommand.js +28 -21
  100. package/dist-es/commands/CreateSnapshotsCommand.js +28 -21
  101. package/dist-es/commands/CreateSpotDatafeedSubscriptionCommand.js +28 -21
  102. package/dist-es/commands/CreateStoreImageTaskCommand.js +28 -21
  103. package/dist-es/commands/CreateSubnetCidrReservationCommand.js +28 -21
  104. package/dist-es/commands/CreateSubnetCommand.js +28 -21
  105. package/dist-es/commands/CreateTagsCommand.js +29 -22
  106. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +28 -21
  107. package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +28 -21
  108. package/dist-es/commands/CreateTrafficMirrorSessionCommand.js +28 -21
  109. package/dist-es/commands/CreateTrafficMirrorTargetCommand.js +28 -21
  110. package/dist-es/commands/CreateTransitGatewayCommand.js +28 -21
  111. package/dist-es/commands/CreateTransitGatewayConnectCommand.js +28 -21
  112. package/dist-es/commands/CreateTransitGatewayConnectPeerCommand.js +28 -21
  113. package/dist-es/commands/CreateTransitGatewayMulticastDomainCommand.js +28 -21
  114. package/dist-es/commands/CreateTransitGatewayPeeringAttachmentCommand.js +28 -21
  115. package/dist-es/commands/CreateTransitGatewayPolicyTableCommand.js +28 -21
  116. package/dist-es/commands/CreateTransitGatewayPrefixListReferenceCommand.js +28 -21
  117. package/dist-es/commands/CreateTransitGatewayRouteCommand.js +28 -21
  118. package/dist-es/commands/CreateTransitGatewayRouteTableAnnouncementCommand.js +28 -21
  119. package/dist-es/commands/CreateTransitGatewayRouteTableCommand.js +28 -21
  120. package/dist-es/commands/CreateTransitGatewayVpcAttachmentCommand.js +28 -21
  121. package/dist-es/commands/CreateVolumeCommand.js +28 -21
  122. package/dist-es/commands/CreateVpcCommand.js +28 -21
  123. package/dist-es/commands/CreateVpcEndpointCommand.js +28 -21
  124. package/dist-es/commands/CreateVpcEndpointConnectionNotificationCommand.js +28 -21
  125. package/dist-es/commands/CreateVpcEndpointServiceConfigurationCommand.js +28 -21
  126. package/dist-es/commands/CreateVpcPeeringConnectionCommand.js +28 -21
  127. package/dist-es/commands/CreateVpnConnectionCommand.js +28 -21
  128. package/dist-es/commands/CreateVpnConnectionRouteCommand.js +29 -22
  129. package/dist-es/commands/CreateVpnGatewayCommand.js +28 -21
  130. package/dist-es/commands/DeleteCarrierGatewayCommand.js +28 -21
  131. package/dist-es/commands/DeleteClientVpnEndpointCommand.js +28 -21
  132. package/dist-es/commands/DeleteClientVpnRouteCommand.js +28 -21
  133. package/dist-es/commands/DeleteCoipCidrCommand.js +28 -21
  134. package/dist-es/commands/DeleteCoipPoolCommand.js +28 -21
  135. package/dist-es/commands/DeleteCustomerGatewayCommand.js +29 -22
  136. package/dist-es/commands/DeleteDhcpOptionsCommand.js +29 -22
  137. package/dist-es/commands/DeleteEgressOnlyInternetGatewayCommand.js +28 -21
  138. package/dist-es/commands/DeleteFleetsCommand.js +28 -21
  139. package/dist-es/commands/DeleteFlowLogsCommand.js +28 -21
  140. package/dist-es/commands/DeleteFpgaImageCommand.js +28 -21
  141. package/dist-es/commands/DeleteInstanceEventWindowCommand.js +28 -21
  142. package/dist-es/commands/DeleteInternetGatewayCommand.js +29 -22
  143. package/dist-es/commands/DeleteIpamCommand.js +28 -21
  144. package/dist-es/commands/DeleteIpamPoolCommand.js +28 -21
  145. package/dist-es/commands/DeleteIpamScopeCommand.js +28 -21
  146. package/dist-es/commands/DeleteKeyPairCommand.js +29 -22
  147. package/dist-es/commands/DeleteLaunchTemplateCommand.js +28 -21
  148. package/dist-es/commands/DeleteLaunchTemplateVersionsCommand.js +28 -21
  149. package/dist-es/commands/DeleteLocalGatewayRouteCommand.js +28 -21
  150. package/dist-es/commands/DeleteLocalGatewayRouteTableCommand.js +28 -21
  151. package/dist-es/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.js +28 -21
  152. package/dist-es/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.js +28 -21
  153. package/dist-es/commands/DeleteManagedPrefixListCommand.js +28 -21
  154. package/dist-es/commands/DeleteNatGatewayCommand.js +28 -21
  155. package/dist-es/commands/DeleteNetworkAclCommand.js +29 -22
  156. package/dist-es/commands/DeleteNetworkAclEntryCommand.js +29 -22
  157. package/dist-es/commands/DeleteNetworkInsightsAccessScopeAnalysisCommand.js +28 -21
  158. package/dist-es/commands/DeleteNetworkInsightsAccessScopeCommand.js +28 -21
  159. package/dist-es/commands/DeleteNetworkInsightsAnalysisCommand.js +28 -21
  160. package/dist-es/commands/DeleteNetworkInsightsPathCommand.js +28 -21
  161. package/dist-es/commands/DeleteNetworkInterfaceCommand.js +29 -22
  162. package/dist-es/commands/DeleteNetworkInterfacePermissionCommand.js +28 -21
  163. package/dist-es/commands/DeletePlacementGroupCommand.js +29 -22
  164. package/dist-es/commands/DeletePublicIpv4PoolCommand.js +28 -21
  165. package/dist-es/commands/DeleteQueuedReservedInstancesCommand.js +28 -21
  166. package/dist-es/commands/DeleteRouteCommand.js +29 -22
  167. package/dist-es/commands/DeleteRouteTableCommand.js +29 -22
  168. package/dist-es/commands/DeleteSecurityGroupCommand.js +29 -22
  169. package/dist-es/commands/DeleteSnapshotCommand.js +29 -22
  170. package/dist-es/commands/DeleteSpotDatafeedSubscriptionCommand.js +29 -22
  171. package/dist-es/commands/DeleteSubnetCidrReservationCommand.js +28 -21
  172. package/dist-es/commands/DeleteSubnetCommand.js +29 -22
  173. package/dist-es/commands/DeleteTagsCommand.js +29 -22
  174. package/dist-es/commands/DeleteTrafficMirrorFilterCommand.js +28 -21
  175. package/dist-es/commands/DeleteTrafficMirrorFilterRuleCommand.js +28 -21
  176. package/dist-es/commands/DeleteTrafficMirrorSessionCommand.js +28 -21
  177. package/dist-es/commands/DeleteTrafficMirrorTargetCommand.js +28 -21
  178. package/dist-es/commands/DeleteTransitGatewayCommand.js +28 -21
  179. package/dist-es/commands/DeleteTransitGatewayConnectCommand.js +28 -21
  180. package/dist-es/commands/DeleteTransitGatewayConnectPeerCommand.js +28 -21
  181. package/dist-es/commands/DeleteTransitGatewayMulticastDomainCommand.js +28 -21
  182. package/dist-es/commands/DeleteTransitGatewayPeeringAttachmentCommand.js +28 -21
  183. package/dist-es/commands/DeleteTransitGatewayPolicyTableCommand.js +28 -21
  184. package/dist-es/commands/DeleteTransitGatewayPrefixListReferenceCommand.js +28 -21
  185. package/dist-es/commands/DeleteTransitGatewayRouteCommand.js +28 -21
  186. package/dist-es/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.js +28 -21
  187. package/dist-es/commands/DeleteTransitGatewayRouteTableCommand.js +28 -21
  188. package/dist-es/commands/DeleteTransitGatewayVpcAttachmentCommand.js +28 -21
  189. package/dist-es/commands/DeleteVolumeCommand.js +29 -22
  190. package/dist-es/commands/DeleteVpcCommand.js +29 -22
  191. package/dist-es/commands/DeleteVpcEndpointConnectionNotificationsCommand.js +28 -21
  192. package/dist-es/commands/DeleteVpcEndpointServiceConfigurationsCommand.js +28 -21
  193. package/dist-es/commands/DeleteVpcEndpointsCommand.js +28 -21
  194. package/dist-es/commands/DeleteVpcPeeringConnectionCommand.js +28 -21
  195. package/dist-es/commands/DeleteVpnConnectionCommand.js +29 -22
  196. package/dist-es/commands/DeleteVpnConnectionRouteCommand.js +29 -22
  197. package/dist-es/commands/DeleteVpnGatewayCommand.js +29 -22
  198. package/dist-es/commands/DeprovisionByoipCidrCommand.js +28 -21
  199. package/dist-es/commands/DeprovisionIpamPoolCidrCommand.js +28 -21
  200. package/dist-es/commands/DeprovisionPublicIpv4PoolCidrCommand.js +28 -21
  201. package/dist-es/commands/DeregisterImageCommand.js +29 -22
  202. package/dist-es/commands/DeregisterInstanceEventNotificationAttributesCommand.js +28 -21
  203. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +28 -21
  204. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +28 -21
  205. package/dist-es/commands/DescribeAccountAttributesCommand.js +28 -21
  206. package/dist-es/commands/DescribeAddressesAttributeCommand.js +28 -21
  207. package/dist-es/commands/DescribeAddressesCommand.js +28 -21
  208. package/dist-es/commands/DescribeAggregateIdFormatCommand.js +28 -21
  209. package/dist-es/commands/DescribeAvailabilityZonesCommand.js +28 -21
  210. package/dist-es/commands/DescribeBundleTasksCommand.js +28 -21
  211. package/dist-es/commands/DescribeByoipCidrsCommand.js +28 -21
  212. package/dist-es/commands/DescribeCapacityReservationFleetsCommand.js +28 -21
  213. package/dist-es/commands/DescribeCapacityReservationsCommand.js +28 -21
  214. package/dist-es/commands/DescribeCarrierGatewaysCommand.js +28 -21
  215. package/dist-es/commands/DescribeClassicLinkInstancesCommand.js +28 -21
  216. package/dist-es/commands/DescribeClientVpnAuthorizationRulesCommand.js +28 -21
  217. package/dist-es/commands/DescribeClientVpnConnectionsCommand.js +28 -21
  218. package/dist-es/commands/DescribeClientVpnEndpointsCommand.js +28 -21
  219. package/dist-es/commands/DescribeClientVpnRoutesCommand.js +28 -21
  220. package/dist-es/commands/DescribeClientVpnTargetNetworksCommand.js +28 -21
  221. package/dist-es/commands/DescribeCoipPoolsCommand.js +28 -21
  222. package/dist-es/commands/DescribeConversionTasksCommand.js +28 -21
  223. package/dist-es/commands/DescribeCustomerGatewaysCommand.js +28 -21
  224. package/dist-es/commands/DescribeDhcpOptionsCommand.js +28 -21
  225. package/dist-es/commands/DescribeEgressOnlyInternetGatewaysCommand.js +28 -21
  226. package/dist-es/commands/DescribeElasticGpusCommand.js +28 -21
  227. package/dist-es/commands/DescribeExportImageTasksCommand.js +28 -21
  228. package/dist-es/commands/DescribeExportTasksCommand.js +28 -21
  229. package/dist-es/commands/DescribeFastLaunchImagesCommand.js +28 -21
  230. package/dist-es/commands/DescribeFastSnapshotRestoresCommand.js +28 -21
  231. package/dist-es/commands/DescribeFleetHistoryCommand.js +28 -21
  232. package/dist-es/commands/DescribeFleetInstancesCommand.js +28 -21
  233. package/dist-es/commands/DescribeFleetsCommand.js +28 -21
  234. package/dist-es/commands/DescribeFlowLogsCommand.js +28 -21
  235. package/dist-es/commands/DescribeFpgaImageAttributeCommand.js +28 -21
  236. package/dist-es/commands/DescribeFpgaImagesCommand.js +28 -21
  237. package/dist-es/commands/DescribeHostReservationOfferingsCommand.js +28 -21
  238. package/dist-es/commands/DescribeHostReservationsCommand.js +28 -21
  239. package/dist-es/commands/DescribeHostsCommand.js +28 -21
  240. package/dist-es/commands/DescribeIamInstanceProfileAssociationsCommand.js +28 -21
  241. package/dist-es/commands/DescribeIdFormatCommand.js +28 -21
  242. package/dist-es/commands/DescribeIdentityIdFormatCommand.js +28 -21
  243. package/dist-es/commands/DescribeImageAttributeCommand.js +28 -21
  244. package/dist-es/commands/DescribeImagesCommand.js +28 -21
  245. package/dist-es/commands/DescribeImportImageTasksCommand.js +28 -21
  246. package/dist-es/commands/DescribeImportSnapshotTasksCommand.js +28 -21
  247. package/dist-es/commands/DescribeInstanceAttributeCommand.js +28 -21
  248. package/dist-es/commands/DescribeInstanceCreditSpecificationsCommand.js +28 -21
  249. package/dist-es/commands/DescribeInstanceEventNotificationAttributesCommand.js +28 -21
  250. package/dist-es/commands/DescribeInstanceEventWindowsCommand.js +28 -21
  251. package/dist-es/commands/DescribeInstanceStatusCommand.js +28 -21
  252. package/dist-es/commands/DescribeInstanceTypeOfferingsCommand.js +28 -21
  253. package/dist-es/commands/DescribeInstanceTypesCommand.js +28 -21
  254. package/dist-es/commands/DescribeInstancesCommand.js +28 -21
  255. package/dist-es/commands/DescribeInternetGatewaysCommand.js +28 -21
  256. package/dist-es/commands/DescribeIpamPoolsCommand.js +28 -21
  257. package/dist-es/commands/DescribeIpamScopesCommand.js +28 -21
  258. package/dist-es/commands/DescribeIpamsCommand.js +28 -21
  259. package/dist-es/commands/DescribeIpv6PoolsCommand.js +28 -21
  260. package/dist-es/commands/DescribeKeyPairsCommand.js +28 -21
  261. package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +28 -21
  262. package/dist-es/commands/DescribeLaunchTemplatesCommand.js +28 -21
  263. package/dist-es/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.js +28 -21
  264. package/dist-es/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.js +28 -21
  265. package/dist-es/commands/DescribeLocalGatewayRouteTablesCommand.js +28 -21
  266. package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +28 -21
  267. package/dist-es/commands/DescribeLocalGatewayVirtualInterfacesCommand.js +28 -21
  268. package/dist-es/commands/DescribeLocalGatewaysCommand.js +28 -21
  269. package/dist-es/commands/DescribeManagedPrefixListsCommand.js +28 -21
  270. package/dist-es/commands/DescribeMovingAddressesCommand.js +28 -21
  271. package/dist-es/commands/DescribeNatGatewaysCommand.js +28 -21
  272. package/dist-es/commands/DescribeNetworkAclsCommand.js +28 -21
  273. package/dist-es/commands/DescribeNetworkInsightsAccessScopeAnalysesCommand.js +28 -21
  274. package/dist-es/commands/DescribeNetworkInsightsAccessScopesCommand.js +28 -21
  275. package/dist-es/commands/DescribeNetworkInsightsAnalysesCommand.js +28 -21
  276. package/dist-es/commands/DescribeNetworkInsightsPathsCommand.js +28 -21
  277. package/dist-es/commands/DescribeNetworkInterfaceAttributeCommand.js +28 -21
  278. package/dist-es/commands/DescribeNetworkInterfacePermissionsCommand.js +28 -21
  279. package/dist-es/commands/DescribeNetworkInterfacesCommand.js +28 -21
  280. package/dist-es/commands/DescribePlacementGroupsCommand.js +28 -21
  281. package/dist-es/commands/DescribePrefixListsCommand.js +28 -21
  282. package/dist-es/commands/DescribePrincipalIdFormatCommand.js +28 -21
  283. package/dist-es/commands/DescribePublicIpv4PoolsCommand.js +28 -21
  284. package/dist-es/commands/DescribeRegionsCommand.js +28 -21
  285. package/dist-es/commands/DescribeReplaceRootVolumeTasksCommand.js +28 -21
  286. package/dist-es/commands/DescribeReservedInstancesCommand.js +28 -21
  287. package/dist-es/commands/DescribeReservedInstancesListingsCommand.js +28 -21
  288. package/dist-es/commands/DescribeReservedInstancesModificationsCommand.js +28 -21
  289. package/dist-es/commands/DescribeReservedInstancesOfferingsCommand.js +28 -21
  290. package/dist-es/commands/DescribeRouteTablesCommand.js +28 -21
  291. package/dist-es/commands/DescribeScheduledInstanceAvailabilityCommand.js +28 -21
  292. package/dist-es/commands/DescribeScheduledInstancesCommand.js +28 -21
  293. package/dist-es/commands/DescribeSecurityGroupReferencesCommand.js +28 -21
  294. package/dist-es/commands/DescribeSecurityGroupRulesCommand.js +28 -21
  295. package/dist-es/commands/DescribeSecurityGroupsCommand.js +28 -21
  296. package/dist-es/commands/DescribeSnapshotAttributeCommand.js +28 -21
  297. package/dist-es/commands/DescribeSnapshotTierStatusCommand.js +28 -21
  298. package/dist-es/commands/DescribeSnapshotsCommand.js +28 -21
  299. package/dist-es/commands/DescribeSpotDatafeedSubscriptionCommand.js +28 -21
  300. package/dist-es/commands/DescribeSpotFleetInstancesCommand.js +28 -21
  301. package/dist-es/commands/DescribeSpotFleetRequestHistoryCommand.js +28 -21
  302. package/dist-es/commands/DescribeSpotFleetRequestsCommand.js +28 -21
  303. package/dist-es/commands/DescribeSpotInstanceRequestsCommand.js +28 -21
  304. package/dist-es/commands/DescribeSpotPriceHistoryCommand.js +28 -21
  305. package/dist-es/commands/DescribeStaleSecurityGroupsCommand.js +28 -21
  306. package/dist-es/commands/DescribeStoreImageTasksCommand.js +28 -21
  307. package/dist-es/commands/DescribeSubnetsCommand.js +28 -21
  308. package/dist-es/commands/DescribeTagsCommand.js +28 -21
  309. package/dist-es/commands/DescribeTrafficMirrorFiltersCommand.js +28 -21
  310. package/dist-es/commands/DescribeTrafficMirrorSessionsCommand.js +28 -21
  311. package/dist-es/commands/DescribeTrafficMirrorTargetsCommand.js +28 -21
  312. package/dist-es/commands/DescribeTransitGatewayAttachmentsCommand.js +28 -21
  313. package/dist-es/commands/DescribeTransitGatewayConnectPeersCommand.js +28 -21
  314. package/dist-es/commands/DescribeTransitGatewayConnectsCommand.js +28 -21
  315. package/dist-es/commands/DescribeTransitGatewayMulticastDomainsCommand.js +28 -21
  316. package/dist-es/commands/DescribeTransitGatewayPeeringAttachmentsCommand.js +28 -21
  317. package/dist-es/commands/DescribeTransitGatewayPolicyTablesCommand.js +28 -21
  318. package/dist-es/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.js +28 -21
  319. package/dist-es/commands/DescribeTransitGatewayRouteTablesCommand.js +28 -21
  320. package/dist-es/commands/DescribeTransitGatewayVpcAttachmentsCommand.js +28 -21
  321. package/dist-es/commands/DescribeTransitGatewaysCommand.js +28 -21
  322. package/dist-es/commands/DescribeTrunkInterfaceAssociationsCommand.js +28 -21
  323. package/dist-es/commands/DescribeVolumeAttributeCommand.js +28 -21
  324. package/dist-es/commands/DescribeVolumeStatusCommand.js +28 -21
  325. package/dist-es/commands/DescribeVolumesCommand.js +28 -21
  326. package/dist-es/commands/DescribeVolumesModificationsCommand.js +28 -21
  327. package/dist-es/commands/DescribeVpcAttributeCommand.js +28 -21
  328. package/dist-es/commands/DescribeVpcClassicLinkCommand.js +28 -21
  329. package/dist-es/commands/DescribeVpcClassicLinkDnsSupportCommand.js +28 -21
  330. package/dist-es/commands/DescribeVpcEndpointConnectionNotificationsCommand.js +28 -21
  331. package/dist-es/commands/DescribeVpcEndpointConnectionsCommand.js +28 -21
  332. package/dist-es/commands/DescribeVpcEndpointServiceConfigurationsCommand.js +28 -21
  333. package/dist-es/commands/DescribeVpcEndpointServicePermissionsCommand.js +28 -21
  334. package/dist-es/commands/DescribeVpcEndpointServicesCommand.js +28 -21
  335. package/dist-es/commands/DescribeVpcEndpointsCommand.js +28 -21
  336. package/dist-es/commands/DescribeVpcPeeringConnectionsCommand.js +28 -21
  337. package/dist-es/commands/DescribeVpcsCommand.js +28 -21
  338. package/dist-es/commands/DescribeVpnConnectionsCommand.js +28 -21
  339. package/dist-es/commands/DescribeVpnGatewaysCommand.js +28 -21
  340. package/dist-es/commands/DetachClassicLinkVpcCommand.js +28 -21
  341. package/dist-es/commands/DetachInternetGatewayCommand.js +29 -22
  342. package/dist-es/commands/DetachNetworkInterfaceCommand.js +29 -22
  343. package/dist-es/commands/DetachVolumeCommand.js +28 -21
  344. package/dist-es/commands/DetachVpnGatewayCommand.js +29 -22
  345. package/dist-es/commands/DisableEbsEncryptionByDefaultCommand.js +28 -21
  346. package/dist-es/commands/DisableFastLaunchCommand.js +28 -21
  347. package/dist-es/commands/DisableFastSnapshotRestoresCommand.js +28 -21
  348. package/dist-es/commands/DisableImageDeprecationCommand.js +28 -21
  349. package/dist-es/commands/DisableIpamOrganizationAdminAccountCommand.js +28 -21
  350. package/dist-es/commands/DisableSerialConsoleAccessCommand.js +28 -21
  351. package/dist-es/commands/DisableTransitGatewayRouteTablePropagationCommand.js +28 -21
  352. package/dist-es/commands/DisableVgwRoutePropagationCommand.js +29 -22
  353. package/dist-es/commands/DisableVpcClassicLinkCommand.js +28 -21
  354. package/dist-es/commands/DisableVpcClassicLinkDnsSupportCommand.js +28 -21
  355. package/dist-es/commands/DisassociateAddressCommand.js +29 -22
  356. package/dist-es/commands/DisassociateClientVpnTargetNetworkCommand.js +28 -21
  357. package/dist-es/commands/DisassociateEnclaveCertificateIamRoleCommand.js +28 -21
  358. package/dist-es/commands/DisassociateIamInstanceProfileCommand.js +28 -21
  359. package/dist-es/commands/DisassociateInstanceEventWindowCommand.js +28 -21
  360. package/dist-es/commands/DisassociateRouteTableCommand.js +29 -22
  361. package/dist-es/commands/DisassociateSubnetCidrBlockCommand.js +28 -21
  362. package/dist-es/commands/DisassociateTransitGatewayMulticastDomainCommand.js +28 -21
  363. package/dist-es/commands/DisassociateTransitGatewayPolicyTableCommand.js +28 -21
  364. package/dist-es/commands/DisassociateTransitGatewayRouteTableCommand.js +28 -21
  365. package/dist-es/commands/DisassociateTrunkInterfaceCommand.js +28 -21
  366. package/dist-es/commands/DisassociateVpcCidrBlockCommand.js +28 -21
  367. package/dist-es/commands/EnableEbsEncryptionByDefaultCommand.js +28 -21
  368. package/dist-es/commands/EnableFastLaunchCommand.js +28 -21
  369. package/dist-es/commands/EnableFastSnapshotRestoresCommand.js +28 -21
  370. package/dist-es/commands/EnableImageDeprecationCommand.js +28 -21
  371. package/dist-es/commands/EnableIpamOrganizationAdminAccountCommand.js +28 -21
  372. package/dist-es/commands/EnableSerialConsoleAccessCommand.js +28 -21
  373. package/dist-es/commands/EnableTransitGatewayRouteTablePropagationCommand.js +28 -21
  374. package/dist-es/commands/EnableVgwRoutePropagationCommand.js +29 -22
  375. package/dist-es/commands/EnableVolumeIOCommand.js +29 -22
  376. package/dist-es/commands/EnableVpcClassicLinkCommand.js +28 -21
  377. package/dist-es/commands/EnableVpcClassicLinkDnsSupportCommand.js +28 -21
  378. package/dist-es/commands/ExportClientVpnClientCertificateRevocationListCommand.js +28 -21
  379. package/dist-es/commands/ExportClientVpnClientConfigurationCommand.js +28 -21
  380. package/dist-es/commands/ExportImageCommand.js +28 -21
  381. package/dist-es/commands/ExportTransitGatewayRoutesCommand.js +28 -21
  382. package/dist-es/commands/GetAssociatedEnclaveCertificateIamRolesCommand.js +28 -21
  383. package/dist-es/commands/GetAssociatedIpv6PoolCidrsCommand.js +28 -21
  384. package/dist-es/commands/GetCapacityReservationUsageCommand.js +28 -21
  385. package/dist-es/commands/GetCoipPoolUsageCommand.js +28 -21
  386. package/dist-es/commands/GetConsoleOutputCommand.js +28 -21
  387. package/dist-es/commands/GetConsoleScreenshotCommand.js +28 -21
  388. package/dist-es/commands/GetDefaultCreditSpecificationCommand.js +28 -21
  389. package/dist-es/commands/GetEbsDefaultKmsKeyIdCommand.js +28 -21
  390. package/dist-es/commands/GetEbsEncryptionByDefaultCommand.js +28 -21
  391. package/dist-es/commands/GetFlowLogsIntegrationTemplateCommand.js +28 -21
  392. package/dist-es/commands/GetGroupsForCapacityReservationCommand.js +28 -21
  393. package/dist-es/commands/GetHostReservationPurchasePreviewCommand.js +28 -21
  394. package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +28 -21
  395. package/dist-es/commands/GetInstanceUefiDataCommand.js +28 -21
  396. package/dist-es/commands/GetIpamAddressHistoryCommand.js +28 -21
  397. package/dist-es/commands/GetIpamPoolAllocationsCommand.js +28 -21
  398. package/dist-es/commands/GetIpamPoolCidrsCommand.js +28 -21
  399. package/dist-es/commands/GetIpamResourceCidrsCommand.js +28 -21
  400. package/dist-es/commands/GetLaunchTemplateDataCommand.js +28 -21
  401. package/dist-es/commands/GetManagedPrefixListAssociationsCommand.js +28 -21
  402. package/dist-es/commands/GetManagedPrefixListEntriesCommand.js +28 -21
  403. package/dist-es/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.js +28 -21
  404. package/dist-es/commands/GetNetworkInsightsAccessScopeContentCommand.js +28 -21
  405. package/dist-es/commands/GetPasswordDataCommand.js +28 -21
  406. package/dist-es/commands/GetReservedInstancesExchangeQuoteCommand.js +28 -21
  407. package/dist-es/commands/GetSerialConsoleAccessStatusCommand.js +28 -21
  408. package/dist-es/commands/GetSpotPlacementScoresCommand.js +28 -21
  409. package/dist-es/commands/GetSubnetCidrReservationsCommand.js +28 -21
  410. package/dist-es/commands/GetTransitGatewayAttachmentPropagationsCommand.js +28 -21
  411. package/dist-es/commands/GetTransitGatewayMulticastDomainAssociationsCommand.js +28 -21
  412. package/dist-es/commands/GetTransitGatewayPolicyTableAssociationsCommand.js +28 -21
  413. package/dist-es/commands/GetTransitGatewayPolicyTableEntriesCommand.js +28 -21
  414. package/dist-es/commands/GetTransitGatewayPrefixListReferencesCommand.js +28 -21
  415. package/dist-es/commands/GetTransitGatewayRouteTableAssociationsCommand.js +28 -21
  416. package/dist-es/commands/GetTransitGatewayRouteTablePropagationsCommand.js +28 -21
  417. package/dist-es/commands/GetVpnConnectionDeviceSampleConfigurationCommand.js +28 -21
  418. package/dist-es/commands/GetVpnConnectionDeviceTypesCommand.js +28 -21
  419. package/dist-es/commands/ImportClientVpnClientCertificateRevocationListCommand.js +28 -21
  420. package/dist-es/commands/ImportImageCommand.js +28 -21
  421. package/dist-es/commands/ImportInstanceCommand.js +28 -21
  422. package/dist-es/commands/ImportKeyPairCommand.js +28 -21
  423. package/dist-es/commands/ImportSnapshotCommand.js +28 -21
  424. package/dist-es/commands/ImportVolumeCommand.js +28 -21
  425. package/dist-es/commands/ListImagesInRecycleBinCommand.js +28 -21
  426. package/dist-es/commands/ListSnapshotsInRecycleBinCommand.js +28 -21
  427. package/dist-es/commands/ModifyAddressAttributeCommand.js +28 -21
  428. package/dist-es/commands/ModifyAvailabilityZoneGroupCommand.js +28 -21
  429. package/dist-es/commands/ModifyCapacityReservationCommand.js +28 -21
  430. package/dist-es/commands/ModifyCapacityReservationFleetCommand.js +28 -21
  431. package/dist-es/commands/ModifyClientVpnEndpointCommand.js +28 -21
  432. package/dist-es/commands/ModifyDefaultCreditSpecificationCommand.js +28 -21
  433. package/dist-es/commands/ModifyEbsDefaultKmsKeyIdCommand.js +28 -21
  434. package/dist-es/commands/ModifyFleetCommand.js +28 -21
  435. package/dist-es/commands/ModifyFpgaImageAttributeCommand.js +28 -21
  436. package/dist-es/commands/ModifyHostsCommand.js +28 -21
  437. package/dist-es/commands/ModifyIdFormatCommand.js +29 -22
  438. package/dist-es/commands/ModifyIdentityIdFormatCommand.js +29 -22
  439. package/dist-es/commands/ModifyImageAttributeCommand.js +29 -22
  440. package/dist-es/commands/ModifyInstanceAttributeCommand.js +29 -22
  441. package/dist-es/commands/ModifyInstanceCapacityReservationAttributesCommand.js +28 -21
  442. package/dist-es/commands/ModifyInstanceCreditSpecificationCommand.js +28 -21
  443. package/dist-es/commands/ModifyInstanceEventStartTimeCommand.js +28 -21
  444. package/dist-es/commands/ModifyInstanceEventWindowCommand.js +28 -21
  445. package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +28 -21
  446. package/dist-es/commands/ModifyInstanceMetadataOptionsCommand.js +28 -21
  447. package/dist-es/commands/ModifyInstancePlacementCommand.js +28 -21
  448. package/dist-es/commands/ModifyIpamCommand.js +28 -21
  449. package/dist-es/commands/ModifyIpamPoolCommand.js +28 -21
  450. package/dist-es/commands/ModifyIpamResourceCidrCommand.js +28 -21
  451. package/dist-es/commands/ModifyIpamScopeCommand.js +28 -21
  452. package/dist-es/commands/ModifyLaunchTemplateCommand.js +28 -21
  453. package/dist-es/commands/ModifyLocalGatewayRouteCommand.js +28 -21
  454. package/dist-es/commands/ModifyManagedPrefixListCommand.js +28 -21
  455. package/dist-es/commands/ModifyNetworkInterfaceAttributeCommand.js +29 -22
  456. package/dist-es/commands/ModifyPrivateDnsNameOptionsCommand.js +28 -21
  457. package/dist-es/commands/ModifyReservedInstancesCommand.js +28 -21
  458. package/dist-es/commands/ModifySecurityGroupRulesCommand.js +28 -21
  459. package/dist-es/commands/ModifySnapshotAttributeCommand.js +29 -22
  460. package/dist-es/commands/ModifySnapshotTierCommand.js +28 -21
  461. package/dist-es/commands/ModifySpotFleetRequestCommand.js +28 -21
  462. package/dist-es/commands/ModifySubnetAttributeCommand.js +29 -22
  463. package/dist-es/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +28 -21
  464. package/dist-es/commands/ModifyTrafficMirrorFilterRuleCommand.js +28 -21
  465. package/dist-es/commands/ModifyTrafficMirrorSessionCommand.js +28 -21
  466. package/dist-es/commands/ModifyTransitGatewayCommand.js +28 -21
  467. package/dist-es/commands/ModifyTransitGatewayPrefixListReferenceCommand.js +28 -21
  468. package/dist-es/commands/ModifyTransitGatewayVpcAttachmentCommand.js +28 -21
  469. package/dist-es/commands/ModifyVolumeAttributeCommand.js +29 -22
  470. package/dist-es/commands/ModifyVolumeCommand.js +28 -21
  471. package/dist-es/commands/ModifyVpcAttributeCommand.js +29 -22
  472. package/dist-es/commands/ModifyVpcEndpointCommand.js +28 -21
  473. package/dist-es/commands/ModifyVpcEndpointConnectionNotificationCommand.js +28 -21
  474. package/dist-es/commands/ModifyVpcEndpointServiceConfigurationCommand.js +28 -21
  475. package/dist-es/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +28 -21
  476. package/dist-es/commands/ModifyVpcEndpointServicePermissionsCommand.js +28 -21
  477. package/dist-es/commands/ModifyVpcPeeringConnectionOptionsCommand.js +28 -21
  478. package/dist-es/commands/ModifyVpcTenancyCommand.js +28 -21
  479. package/dist-es/commands/ModifyVpnConnectionCommand.js +28 -21
  480. package/dist-es/commands/ModifyVpnConnectionOptionsCommand.js +28 -21
  481. package/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +28 -21
  482. package/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +28 -21
  483. package/dist-es/commands/MonitorInstancesCommand.js +28 -21
  484. package/dist-es/commands/MoveAddressToVpcCommand.js +28 -21
  485. package/dist-es/commands/MoveByoipCidrToIpamCommand.js +28 -21
  486. package/dist-es/commands/ProvisionByoipCidrCommand.js +28 -21
  487. package/dist-es/commands/ProvisionIpamPoolCidrCommand.js +28 -21
  488. package/dist-es/commands/ProvisionPublicIpv4PoolCidrCommand.js +28 -21
  489. package/dist-es/commands/PurchaseHostReservationCommand.js +28 -21
  490. package/dist-es/commands/PurchaseReservedInstancesOfferingCommand.js +28 -21
  491. package/dist-es/commands/PurchaseScheduledInstancesCommand.js +28 -21
  492. package/dist-es/commands/RebootInstancesCommand.js +29 -22
  493. package/dist-es/commands/RegisterImageCommand.js +28 -21
  494. package/dist-es/commands/RegisterInstanceEventNotificationAttributesCommand.js +28 -21
  495. package/dist-es/commands/RegisterTransitGatewayMulticastGroupMembersCommand.js +28 -21
  496. package/dist-es/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.js +28 -21
  497. package/dist-es/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.js +28 -21
  498. package/dist-es/commands/RejectTransitGatewayPeeringAttachmentCommand.js +28 -21
  499. package/dist-es/commands/RejectTransitGatewayVpcAttachmentCommand.js +28 -21
  500. package/dist-es/commands/RejectVpcEndpointConnectionsCommand.js +28 -21
  501. package/dist-es/commands/RejectVpcPeeringConnectionCommand.js +28 -21
  502. package/dist-es/commands/ReleaseAddressCommand.js +29 -22
  503. package/dist-es/commands/ReleaseHostsCommand.js +28 -21
  504. package/dist-es/commands/ReleaseIpamPoolAllocationCommand.js +28 -21
  505. package/dist-es/commands/ReplaceIamInstanceProfileAssociationCommand.js +28 -21
  506. package/dist-es/commands/ReplaceNetworkAclAssociationCommand.js +28 -21
  507. package/dist-es/commands/ReplaceNetworkAclEntryCommand.js +29 -22
  508. package/dist-es/commands/ReplaceRouteCommand.js +29 -22
  509. package/dist-es/commands/ReplaceRouteTableAssociationCommand.js +28 -21
  510. package/dist-es/commands/ReplaceTransitGatewayRouteCommand.js +28 -21
  511. package/dist-es/commands/ReportInstanceStatusCommand.js +29 -22
  512. package/dist-es/commands/RequestSpotFleetCommand.js +28 -21
  513. package/dist-es/commands/RequestSpotInstancesCommand.js +28 -21
  514. package/dist-es/commands/ResetAddressAttributeCommand.js +28 -21
  515. package/dist-es/commands/ResetEbsDefaultKmsKeyIdCommand.js +28 -21
  516. package/dist-es/commands/ResetFpgaImageAttributeCommand.js +28 -21
  517. package/dist-es/commands/ResetImageAttributeCommand.js +29 -22
  518. package/dist-es/commands/ResetInstanceAttributeCommand.js +29 -22
  519. package/dist-es/commands/ResetNetworkInterfaceAttributeCommand.js +29 -22
  520. package/dist-es/commands/ResetSnapshotAttributeCommand.js +29 -22
  521. package/dist-es/commands/RestoreAddressToClassicCommand.js +28 -21
  522. package/dist-es/commands/RestoreImageFromRecycleBinCommand.js +28 -21
  523. package/dist-es/commands/RestoreManagedPrefixListVersionCommand.js +28 -21
  524. package/dist-es/commands/RestoreSnapshotFromRecycleBinCommand.js +28 -21
  525. package/dist-es/commands/RestoreSnapshotTierCommand.js +28 -21
  526. package/dist-es/commands/RevokeClientVpnIngressCommand.js +28 -21
  527. package/dist-es/commands/RevokeSecurityGroupEgressCommand.js +28 -21
  528. package/dist-es/commands/RevokeSecurityGroupIngressCommand.js +28 -21
  529. package/dist-es/commands/RunInstancesCommand.js +28 -21
  530. package/dist-es/commands/RunScheduledInstancesCommand.js +28 -21
  531. package/dist-es/commands/SearchLocalGatewayRoutesCommand.js +28 -21
  532. package/dist-es/commands/SearchTransitGatewayMulticastGroupsCommand.js +28 -21
  533. package/dist-es/commands/SearchTransitGatewayRoutesCommand.js +28 -21
  534. package/dist-es/commands/SendDiagnosticInterruptCommand.js +29 -22
  535. package/dist-es/commands/StartInstancesCommand.js +28 -21
  536. package/dist-es/commands/StartNetworkInsightsAccessScopeAnalysisCommand.js +28 -21
  537. package/dist-es/commands/StartNetworkInsightsAnalysisCommand.js +28 -21
  538. package/dist-es/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.js +28 -21
  539. package/dist-es/commands/StopInstancesCommand.js +28 -21
  540. package/dist-es/commands/TerminateClientVpnConnectionsCommand.js +28 -21
  541. package/dist-es/commands/TerminateInstancesCommand.js +28 -21
  542. package/dist-es/commands/UnassignIpv6AddressesCommand.js +28 -21
  543. package/dist-es/commands/UnassignPrivateIpAddressesCommand.js +29 -22
  544. package/dist-es/commands/UnmonitorInstancesCommand.js +28 -21
  545. package/dist-es/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +28 -21
  546. package/dist-es/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.js +28 -21
  547. package/dist-es/commands/WithdrawByoipCidrCommand.js +28 -21
  548. package/dist-es/endpoints.js +8 -8
  549. package/dist-es/models/EC2ServiceException.js +10 -5
  550. package/dist-es/models/models_0.js +233 -696
  551. package/dist-es/models/models_1.js +232 -696
  552. package/dist-es/models/models_2.js +256 -765
  553. package/dist-es/models/models_3.js +243 -726
  554. package/dist-es/models/models_4.js +279 -831
  555. package/dist-es/models/models_5.js +287 -857
  556. package/dist-es/models/models_6.js +153 -457
  557. package/dist-es/pagination/DescribeAddressesAttributePaginator.js +68 -25
  558. package/dist-es/pagination/DescribeByoipCidrsPaginator.js +68 -25
  559. package/dist-es/pagination/DescribeCapacityReservationFleetsPaginator.js +68 -25
  560. package/dist-es/pagination/DescribeCapacityReservationsPaginator.js +68 -25
  561. package/dist-es/pagination/DescribeCarrierGatewaysPaginator.js +68 -25
  562. package/dist-es/pagination/DescribeClassicLinkInstancesPaginator.js +68 -25
  563. package/dist-es/pagination/DescribeClientVpnAuthorizationRulesPaginator.js +68 -25
  564. package/dist-es/pagination/DescribeClientVpnConnectionsPaginator.js +68 -25
  565. package/dist-es/pagination/DescribeClientVpnEndpointsPaginator.js +68 -25
  566. package/dist-es/pagination/DescribeClientVpnRoutesPaginator.js +68 -25
  567. package/dist-es/pagination/DescribeClientVpnTargetNetworksPaginator.js +68 -25
  568. package/dist-es/pagination/DescribeCoipPoolsPaginator.js +68 -25
  569. package/dist-es/pagination/DescribeDhcpOptionsPaginator.js +68 -25
  570. package/dist-es/pagination/DescribeEgressOnlyInternetGatewaysPaginator.js +68 -25
  571. package/dist-es/pagination/DescribeExportImageTasksPaginator.js +68 -25
  572. package/dist-es/pagination/DescribeFastLaunchImagesPaginator.js +68 -25
  573. package/dist-es/pagination/DescribeFastSnapshotRestoresPaginator.js +68 -25
  574. package/dist-es/pagination/DescribeFleetsPaginator.js +68 -25
  575. package/dist-es/pagination/DescribeFlowLogsPaginator.js +68 -25
  576. package/dist-es/pagination/DescribeFpgaImagesPaginator.js +68 -25
  577. package/dist-es/pagination/DescribeHostReservationOfferingsPaginator.js +68 -25
  578. package/dist-es/pagination/DescribeHostReservationsPaginator.js +68 -25
  579. package/dist-es/pagination/DescribeHostsPaginator.js +68 -25
  580. package/dist-es/pagination/DescribeIamInstanceProfileAssociationsPaginator.js +68 -25
  581. package/dist-es/pagination/DescribeImportImageTasksPaginator.js +68 -25
  582. package/dist-es/pagination/DescribeImportSnapshotTasksPaginator.js +68 -25
  583. package/dist-es/pagination/DescribeInstanceCreditSpecificationsPaginator.js +68 -25
  584. package/dist-es/pagination/DescribeInstanceEventWindowsPaginator.js +68 -25
  585. package/dist-es/pagination/DescribeInstanceStatusPaginator.js +68 -25
  586. package/dist-es/pagination/DescribeInstanceTypeOfferingsPaginator.js +68 -25
  587. package/dist-es/pagination/DescribeInstanceTypesPaginator.js +68 -25
  588. package/dist-es/pagination/DescribeInstancesPaginator.js +68 -25
  589. package/dist-es/pagination/DescribeInternetGatewaysPaginator.js +68 -25
  590. package/dist-es/pagination/DescribeIpamPoolsPaginator.js +68 -25
  591. package/dist-es/pagination/DescribeIpamScopesPaginator.js +68 -25
  592. package/dist-es/pagination/DescribeIpamsPaginator.js +68 -25
  593. package/dist-es/pagination/DescribeIpv6PoolsPaginator.js +68 -25
  594. package/dist-es/pagination/DescribeLaunchTemplateVersionsPaginator.js +68 -25
  595. package/dist-es/pagination/DescribeLaunchTemplatesPaginator.js +68 -25
  596. package/dist-es/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.js +68 -25
  597. package/dist-es/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.js +68 -25
  598. package/dist-es/pagination/DescribeLocalGatewayRouteTablesPaginator.js +68 -25
  599. package/dist-es/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.js +68 -25
  600. package/dist-es/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.js +68 -25
  601. package/dist-es/pagination/DescribeLocalGatewaysPaginator.js +68 -25
  602. package/dist-es/pagination/DescribeManagedPrefixListsPaginator.js +68 -25
  603. package/dist-es/pagination/DescribeMovingAddressesPaginator.js +68 -25
  604. package/dist-es/pagination/DescribeNatGatewaysPaginator.js +68 -25
  605. package/dist-es/pagination/DescribeNetworkAclsPaginator.js +68 -25
  606. package/dist-es/pagination/DescribeNetworkInsightsAccessScopeAnalysesPaginator.js +68 -25
  607. package/dist-es/pagination/DescribeNetworkInsightsAccessScopesPaginator.js +68 -25
  608. package/dist-es/pagination/DescribeNetworkInsightsAnalysesPaginator.js +68 -25
  609. package/dist-es/pagination/DescribeNetworkInsightsPathsPaginator.js +68 -25
  610. package/dist-es/pagination/DescribeNetworkInterfacePermissionsPaginator.js +68 -25
  611. package/dist-es/pagination/DescribeNetworkInterfacesPaginator.js +68 -25
  612. package/dist-es/pagination/DescribePrefixListsPaginator.js +68 -25
  613. package/dist-es/pagination/DescribePrincipalIdFormatPaginator.js +68 -25
  614. package/dist-es/pagination/DescribePublicIpv4PoolsPaginator.js +68 -25
  615. package/dist-es/pagination/DescribeReplaceRootVolumeTasksPaginator.js +68 -25
  616. package/dist-es/pagination/DescribeReservedInstancesModificationsPaginator.js +67 -24
  617. package/dist-es/pagination/DescribeReservedInstancesOfferingsPaginator.js +68 -25
  618. package/dist-es/pagination/DescribeRouteTablesPaginator.js +68 -25
  619. package/dist-es/pagination/DescribeScheduledInstanceAvailabilityPaginator.js +68 -25
  620. package/dist-es/pagination/DescribeScheduledInstancesPaginator.js +68 -25
  621. package/dist-es/pagination/DescribeSecurityGroupRulesPaginator.js +68 -25
  622. package/dist-es/pagination/DescribeSecurityGroupsPaginator.js +68 -25
  623. package/dist-es/pagination/DescribeSnapshotTierStatusPaginator.js +68 -25
  624. package/dist-es/pagination/DescribeSnapshotsPaginator.js +68 -25
  625. package/dist-es/pagination/DescribeSpotFleetRequestsPaginator.js +68 -25
  626. package/dist-es/pagination/DescribeSpotInstanceRequestsPaginator.js +68 -25
  627. package/dist-es/pagination/DescribeSpotPriceHistoryPaginator.js +68 -25
  628. package/dist-es/pagination/DescribeStaleSecurityGroupsPaginator.js +68 -25
  629. package/dist-es/pagination/DescribeStoreImageTasksPaginator.js +68 -25
  630. package/dist-es/pagination/DescribeSubnetsPaginator.js +68 -25
  631. package/dist-es/pagination/DescribeTagsPaginator.js +68 -25
  632. package/dist-es/pagination/DescribeTrafficMirrorFiltersPaginator.js +68 -25
  633. package/dist-es/pagination/DescribeTrafficMirrorSessionsPaginator.js +68 -25
  634. package/dist-es/pagination/DescribeTrafficMirrorTargetsPaginator.js +68 -25
  635. package/dist-es/pagination/DescribeTransitGatewayAttachmentsPaginator.js +68 -25
  636. package/dist-es/pagination/DescribeTransitGatewayConnectPeersPaginator.js +68 -25
  637. package/dist-es/pagination/DescribeTransitGatewayConnectsPaginator.js +68 -25
  638. package/dist-es/pagination/DescribeTransitGatewayMulticastDomainsPaginator.js +68 -25
  639. package/dist-es/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.js +68 -25
  640. package/dist-es/pagination/DescribeTransitGatewayPolicyTablesPaginator.js +68 -25
  641. package/dist-es/pagination/DescribeTransitGatewayRouteTableAnnouncementsPaginator.js +68 -25
  642. package/dist-es/pagination/DescribeTransitGatewayRouteTablesPaginator.js +68 -25
  643. package/dist-es/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.js +68 -25
  644. package/dist-es/pagination/DescribeTransitGatewaysPaginator.js +68 -25
  645. package/dist-es/pagination/DescribeTrunkInterfaceAssociationsPaginator.js +68 -25
  646. package/dist-es/pagination/DescribeVolumeStatusPaginator.js +68 -25
  647. package/dist-es/pagination/DescribeVolumesModificationsPaginator.js +68 -25
  648. package/dist-es/pagination/DescribeVolumesPaginator.js +68 -25
  649. package/dist-es/pagination/DescribeVpcClassicLinkDnsSupportPaginator.js +68 -25
  650. package/dist-es/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.js +68 -25
  651. package/dist-es/pagination/DescribeVpcEndpointConnectionsPaginator.js +68 -25
  652. package/dist-es/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.js +68 -25
  653. package/dist-es/pagination/DescribeVpcEndpointServicePermissionsPaginator.js +68 -25
  654. package/dist-es/pagination/DescribeVpcEndpointsPaginator.js +68 -25
  655. package/dist-es/pagination/DescribeVpcPeeringConnectionsPaginator.js +68 -25
  656. package/dist-es/pagination/DescribeVpcsPaginator.js +68 -25
  657. package/dist-es/pagination/GetAssociatedIpv6PoolCidrsPaginator.js +68 -25
  658. package/dist-es/pagination/GetGroupsForCapacityReservationPaginator.js +68 -25
  659. package/dist-es/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +68 -25
  660. package/dist-es/pagination/GetIpamAddressHistoryPaginator.js +68 -25
  661. package/dist-es/pagination/GetIpamPoolAllocationsPaginator.js +68 -25
  662. package/dist-es/pagination/GetIpamPoolCidrsPaginator.js +68 -25
  663. package/dist-es/pagination/GetIpamResourceCidrsPaginator.js +68 -25
  664. package/dist-es/pagination/GetManagedPrefixListAssociationsPaginator.js +68 -25
  665. package/dist-es/pagination/GetManagedPrefixListEntriesPaginator.js +68 -25
  666. package/dist-es/pagination/GetSpotPlacementScoresPaginator.js +68 -25
  667. package/dist-es/pagination/GetTransitGatewayAttachmentPropagationsPaginator.js +68 -25
  668. package/dist-es/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.js +68 -25
  669. package/dist-es/pagination/GetTransitGatewayPolicyTableAssociationsPaginator.js +68 -25
  670. package/dist-es/pagination/GetTransitGatewayPrefixListReferencesPaginator.js +68 -25
  671. package/dist-es/pagination/GetTransitGatewayRouteTableAssociationsPaginator.js +68 -25
  672. package/dist-es/pagination/GetTransitGatewayRouteTablePropagationsPaginator.js +68 -25
  673. package/dist-es/pagination/GetVpnConnectionDeviceTypesPaginator.js +68 -25
  674. package/dist-es/pagination/ListImagesInRecycleBinPaginator.js +68 -25
  675. package/dist-es/pagination/ListSnapshotsInRecycleBinPaginator.js +68 -25
  676. package/dist-es/pagination/SearchLocalGatewayRoutesPaginator.js +68 -25
  677. package/dist-es/pagination/SearchTransitGatewayMulticastGroupsPaginator.js +68 -25
  678. package/dist-es/protocols/Aws_ec2.js +39629 -29607
  679. package/dist-es/runtimeConfig.browser.js +12 -26
  680. package/dist-es/runtimeConfig.js +12 -30
  681. package/dist-es/runtimeConfig.native.js +5 -8
  682. package/dist-es/runtimeConfig.shared.js +11 -8
  683. package/dist-es/waiters/waitForBundleTaskComplete.js +91 -50
  684. package/dist-es/waiters/waitForConversionTaskCancelled.js +67 -36
  685. package/dist-es/waiters/waitForConversionTaskCompleted.js +115 -64
  686. package/dist-es/waiters/waitForConversionTaskDeleted.js +67 -36
  687. package/dist-es/waiters/waitForCustomerGatewayAvailable.js +115 -64
  688. package/dist-es/waiters/waitForExportTaskCancelled.js +67 -36
  689. package/dist-es/waiters/waitForExportTaskCompleted.js +67 -36
  690. package/dist-es/waiters/waitForImageAvailable.js +91 -50
  691. package/dist-es/waiters/waitForImageExists.js +51 -31
  692. package/dist-es/waiters/waitForInstanceExists.js +51 -31
  693. package/dist-es/waiters/waitForInstanceRunning.js +157 -96
  694. package/dist-es/waiters/waitForInstanceStatusOk.js +69 -38
  695. package/dist-es/waiters/waitForInstanceStopped.js +127 -76
  696. package/dist-es/waiters/waitForInstanceTerminated.js +127 -76
  697. package/dist-es/waiters/waitForInternetGatewayExists.js +54 -34
  698. package/dist-es/waiters/waitForKeyPairExists.js +54 -34
  699. package/dist-es/waiters/waitForNatGatewayAvailable.js +141 -80
  700. package/dist-es/waiters/waitForNatGatewayDeleted.js +69 -38
  701. package/dist-es/waiters/waitForNetworkInterfaceAvailable.js +69 -38
  702. package/dist-es/waiters/waitForPasswordDataAvailable.js +48 -28
  703. package/dist-es/waiters/waitForSecurityGroupExists.js +54 -34
  704. package/dist-es/waiters/waitForSnapshotCompleted.js +91 -50
  705. package/dist-es/waiters/waitForSpotInstanceRequestFulfilled.js +192 -111
  706. package/dist-es/waiters/waitForSubnetAvailable.js +67 -36
  707. package/dist-es/waiters/waitForSystemStatusOk.js +67 -36
  708. package/dist-es/waiters/waitForVolumeAvailable.js +91 -50
  709. package/dist-es/waiters/waitForVolumeDeleted.js +69 -38
  710. package/dist-es/waiters/waitForVolumeInUse.js +91 -50
  711. package/dist-es/waiters/waitForVpcAvailable.js +67 -36
  712. package/dist-es/waiters/waitForVpcExists.js +42 -23
  713. package/dist-es/waiters/waitForVpcPeeringConnectionDeleted.js +69 -38
  714. package/dist-es/waiters/waitForVpcPeeringConnectionExists.js +42 -23
  715. package/dist-es/waiters/waitForVpnConnectionAvailable.js +115 -64
  716. package/dist-es/waiters/waitForVpnConnectionDeleted.js +91 -50
  717. package/dist-types/models/models_4.d.ts +6 -1
  718. package/dist-types/models/models_5.d.ts +4 -0
  719. package/dist-types/ts3.4/models/models_4.d.ts +2 -0
  720. package/dist-types/ts3.4/models/models_5.d.ts +1 -0
  721. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import packageInfo from "../package.json";
2
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
@@ -11,30 +12,15 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
13
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
13
14
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
14
- export const getRuntimeConfig = (config) => {
15
- const defaultsMode = resolveDefaultsModeConfig(config);
16
- const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
17
- const clientSharedValues = getSharedRuntimeConfig(config);
18
- return {
19
- ...clientSharedValues,
20
- ...config,
21
- runtime: "browser",
22
- defaultsMode,
23
- base64Decoder: config?.base64Decoder ?? fromBase64,
24
- base64Encoder: config?.base64Encoder ?? toBase64,
25
- bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
26
- credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
- defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
29
- maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
30
- region: config?.region ?? invalidProvider("Region is missing"),
31
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
32
- retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
33
- sha256: config?.sha256 ?? Sha256,
34
- streamCollector: config?.streamCollector ?? streamCollector,
35
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
36
- useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
37
- utf8Decoder: config?.utf8Decoder ?? fromUtf8,
38
- utf8Encoder: config?.utf8Encoder ?? toUtf8,
39
- };
15
+ export var getRuntimeConfig = function (config) {
16
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
+ var clientSharedValues = getSharedRuntimeConfig(config);
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
40
26
  };
@@ -1,3 +1,4 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import packageInfo from "../package.json";
2
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
@@ -14,35 +15,16 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar
14
15
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
15
16
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
- export const getRuntimeConfig = (config) => {
18
+ export var getRuntimeConfig = function (config) {
19
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
20
  emitWarningIfUnsupportedVersion(process.version);
19
- const defaultsMode = resolveDefaultsModeConfig(config);
20
- const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
21
- const clientSharedValues = getSharedRuntimeConfig(config);
22
- return {
23
- ...clientSharedValues,
24
- ...config,
25
- runtime: "node",
26
- defaultsMode,
27
- base64Decoder: config?.base64Decoder ?? fromBase64,
28
- base64Encoder: config?.base64Encoder ?? toBase64,
29
- bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
30
- credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
31
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
- defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
- maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
34
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
35
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
36
- retryMode: config?.retryMode ??
37
- loadNodeConfig({
38
- ...NODE_RETRY_MODE_CONFIG_OPTIONS,
39
- default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
40
- }),
41
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
42
- streamCollector: config?.streamCollector ?? streamCollector,
43
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
44
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
45
- utf8Decoder: config?.utf8Decoder ?? fromUtf8,
46
- utf8Encoder: config?.utf8Encoder ?? toUtf8,
47
- };
21
+ var defaultsMode = resolveDefaultsModeConfig(config);
22
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
23
+ var clientSharedValues = getSharedRuntimeConfig(config);
24
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
25
+ switch (_a.label) {
26
+ case 0: return [4, defaultConfigProvider()];
27
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
28
+ }
29
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
48
30
  };
@@ -1,11 +1,8 @@
1
+ import { __assign } from "tslib";
1
2
  import { Sha256 } from "@aws-crypto/sha256-js";
2
3
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
- export const getRuntimeConfig = (config) => {
4
- const browserDefaults = getBrowserRuntimeConfig(config);
5
- return {
6
- ...browserDefaults,
7
- ...config,
8
- runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
- };
4
+ export var getRuntimeConfig = function (config) {
5
+ var _a;
6
+ var browserDefaults = getBrowserRuntimeConfig(config);
7
+ return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
11
8
  };
@@ -1,10 +1,13 @@
1
1
  import { parseUrl } from "@aws-sdk/url-parser";
2
2
  import { defaultRegionInfoProvider } from "./endpoints";
3
- export const getRuntimeConfig = (config) => ({
4
- apiVersion: "2016-11-15",
5
- disableHostPrefix: config?.disableHostPrefix ?? false,
6
- logger: config?.logger ?? {},
7
- regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
8
- serviceId: config?.serviceId ?? "EC2",
9
- urlParser: config?.urlParser ?? parseUrl,
10
- });
3
+ export var getRuntimeConfig = function (config) {
4
+ var _a, _b, _c, _d, _e;
5
+ return ({
6
+ apiVersion: "2016-11-15",
7
+ disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
8
+ logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
9
+ regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider,
10
+ serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "EC2",
11
+ urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
+ });
13
+ };
@@ -1,54 +1,95 @@
1
+ import { __assign, __awaiter, __generator, __read, __spreadArray, __values } from "tslib";
1
2
  import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
2
3
  import { DescribeBundleTasksCommand } from "../commands/DescribeBundleTasksCommand";
3
- const checkState = async (client, input) => {
4
- let reason;
5
- try {
6
- const result = await client.send(new DescribeBundleTasksCommand(input));
7
- reason = result;
8
- try {
9
- const returnComparator = () => {
10
- const flat_1 = [].concat(...result.BundleTasks);
11
- const projection_3 = flat_1.map((element_2) => {
12
- return element_2.State;
13
- });
14
- return projection_3;
15
- };
16
- let allStringEq_5 = returnComparator().length > 0;
17
- for (const element_4 of returnComparator()) {
18
- allStringEq_5 = allStringEq_5 && element_4 == "complete";
19
- }
20
- if (allStringEq_5) {
21
- return { state: WaiterState.SUCCESS, reason };
22
- }
23
- }
24
- catch (e) { }
25
- try {
26
- const returnComparator = () => {
27
- const flat_1 = [].concat(...result.BundleTasks);
28
- const projection_3 = flat_1.map((element_2) => {
29
- return element_2.State;
30
- });
31
- return projection_3;
32
- };
33
- for (const anyStringEq_4 of returnComparator()) {
34
- if (anyStringEq_4 == "failed") {
35
- return { state: WaiterState.FAILURE, reason };
4
+ var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
5
+ var reason, result_1, returnComparator, allStringEq_5, _a, _b, element_4, returnComparator, _c, _d, anyStringEq_4, exception_1;
6
+ var e_1, _e, e_2, _f;
7
+ return __generator(this, function (_g) {
8
+ switch (_g.label) {
9
+ case 0:
10
+ _g.trys.push([0, 2, , 3]);
11
+ return [4, client.send(new DescribeBundleTasksCommand(input))];
12
+ case 1:
13
+ result_1 = _g.sent();
14
+ reason = result_1;
15
+ try {
16
+ returnComparator = function () {
17
+ var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.BundleTasks), false));
18
+ var projection_3 = flat_1.map(function (element_2) {
19
+ return element_2.State;
20
+ });
21
+ return projection_3;
22
+ };
23
+ allStringEq_5 = returnComparator().length > 0;
24
+ try {
25
+ for (_a = __values(returnComparator()), _b = _a.next(); !_b.done; _b = _a.next()) {
26
+ element_4 = _b.value;
27
+ allStringEq_5 = allStringEq_5 && element_4 == "complete";
28
+ }
29
+ }
30
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
31
+ finally {
32
+ try {
33
+ if (_b && !_b.done && (_e = _a.return)) _e.call(_a);
34
+ }
35
+ finally { if (e_1) throw e_1.error; }
36
+ }
37
+ if (allStringEq_5) {
38
+ return [2, { state: WaiterState.SUCCESS, reason: reason }];
39
+ }
40
+ }
41
+ catch (e) { }
42
+ try {
43
+ returnComparator = function () {
44
+ var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.BundleTasks), false));
45
+ var projection_3 = flat_1.map(function (element_2) {
46
+ return element_2.State;
47
+ });
48
+ return projection_3;
49
+ };
50
+ try {
51
+ for (_c = __values(returnComparator()), _d = _c.next(); !_d.done; _d = _c.next()) {
52
+ anyStringEq_4 = _d.value;
53
+ if (anyStringEq_4 == "failed") {
54
+ return [2, { state: WaiterState.FAILURE, reason: reason }];
55
+ }
56
+ }
57
+ }
58
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
59
+ finally {
60
+ try {
61
+ if (_d && !_d.done && (_f = _c.return)) _f.call(_c);
62
+ }
63
+ finally { if (e_2) throw e_2.error; }
64
+ }
36
65
  }
37
- }
66
+ catch (e) { }
67
+ return [3, 3];
68
+ case 2:
69
+ exception_1 = _g.sent();
70
+ reason = exception_1;
71
+ return [3, 3];
72
+ case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
73
+ }
74
+ });
75
+ }); };
76
+ export var waitForBundleTaskComplete = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
77
+ var serviceDefaults;
78
+ return __generator(this, function (_a) {
79
+ serviceDefaults = { minDelay: 15, maxDelay: 120 };
80
+ return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
81
+ });
82
+ }); };
83
+ export var waitUntilBundleTaskComplete = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
84
+ var serviceDefaults, result;
85
+ return __generator(this, function (_a) {
86
+ switch (_a.label) {
87
+ case 0:
88
+ serviceDefaults = { minDelay: 15, maxDelay: 120 };
89
+ return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
90
+ case 1:
91
+ result = _a.sent();
92
+ return [2, checkExceptions(result)];
38
93
  }
39
- catch (e) { }
40
- }
41
- catch (exception) {
42
- reason = exception;
43
- }
44
- return { state: WaiterState.RETRY, reason };
45
- };
46
- export const waitForBundleTaskComplete = async (params, input) => {
47
- const serviceDefaults = { minDelay: 15, maxDelay: 120 };
48
- return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
49
- };
50
- export const waitUntilBundleTaskComplete = async (params, input) => {
51
- const serviceDefaults = { minDelay: 15, maxDelay: 120 };
52
- const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
53
- return checkExceptions(result);
54
- };
94
+ });
95
+ }); };
@@ -1,39 +1,70 @@
1
+ import { __assign, __awaiter, __generator, __read, __spreadArray, __values } from "tslib";
1
2
  import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
2
3
  import { DescribeConversionTasksCommand, } from "../commands/DescribeConversionTasksCommand";
3
- const checkState = async (client, input) => {
4
- let reason;
5
- try {
6
- const result = await client.send(new DescribeConversionTasksCommand(input));
7
- reason = result;
8
- try {
9
- const returnComparator = () => {
10
- const flat_1 = [].concat(...result.ConversionTasks);
11
- const projection_3 = flat_1.map((element_2) => {
12
- return element_2.State;
13
- });
14
- return projection_3;
15
- };
16
- let allStringEq_5 = returnComparator().length > 0;
17
- for (const element_4 of returnComparator()) {
18
- allStringEq_5 = allStringEq_5 && element_4 == "cancelled";
19
- }
20
- if (allStringEq_5) {
21
- return { state: WaiterState.SUCCESS, reason };
22
- }
4
+ var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
5
+ var reason, result_1, returnComparator, allStringEq_5, _a, _b, element_4, exception_1;
6
+ var e_1, _c;
7
+ return __generator(this, function (_d) {
8
+ switch (_d.label) {
9
+ case 0:
10
+ _d.trys.push([0, 2, , 3]);
11
+ return [4, client.send(new DescribeConversionTasksCommand(input))];
12
+ case 1:
13
+ result_1 = _d.sent();
14
+ reason = result_1;
15
+ try {
16
+ returnComparator = function () {
17
+ var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.ConversionTasks), false));
18
+ var projection_3 = flat_1.map(function (element_2) {
19
+ return element_2.State;
20
+ });
21
+ return projection_3;
22
+ };
23
+ allStringEq_5 = returnComparator().length > 0;
24
+ try {
25
+ for (_a = __values(returnComparator()), _b = _a.next(); !_b.done; _b = _a.next()) {
26
+ element_4 = _b.value;
27
+ allStringEq_5 = allStringEq_5 && element_4 == "cancelled";
28
+ }
29
+ }
30
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
31
+ finally {
32
+ try {
33
+ if (_b && !_b.done && (_c = _a.return)) _c.call(_a);
34
+ }
35
+ finally { if (e_1) throw e_1.error; }
36
+ }
37
+ if (allStringEq_5) {
38
+ return [2, { state: WaiterState.SUCCESS, reason: reason }];
39
+ }
40
+ }
41
+ catch (e) { }
42
+ return [3, 3];
43
+ case 2:
44
+ exception_1 = _d.sent();
45
+ reason = exception_1;
46
+ return [3, 3];
47
+ case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
23
48
  }
24
- catch (e) { }
25
- }
26
- catch (exception) {
27
- reason = exception;
28
- }
29
- return { state: WaiterState.RETRY, reason };
30
- };
31
- export const waitForConversionTaskCancelled = async (params, input) => {
32
- const serviceDefaults = { minDelay: 15, maxDelay: 120 };
33
- return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
34
- };
35
- export const waitUntilConversionTaskCancelled = async (params, input) => {
36
- const serviceDefaults = { minDelay: 15, maxDelay: 120 };
37
- const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
38
- return checkExceptions(result);
39
- };
49
+ });
50
+ }); };
51
+ export var waitForConversionTaskCancelled = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
52
+ var serviceDefaults;
53
+ return __generator(this, function (_a) {
54
+ serviceDefaults = { minDelay: 15, maxDelay: 120 };
55
+ return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
56
+ });
57
+ }); };
58
+ export var waitUntilConversionTaskCancelled = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
59
+ var serviceDefaults, result;
60
+ return __generator(this, function (_a) {
61
+ switch (_a.label) {
62
+ case 0:
63
+ serviceDefaults = { minDelay: 15, maxDelay: 120 };
64
+ return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
65
+ case 1:
66
+ result = _a.sent();
67
+ return [2, checkExceptions(result)];
68
+ }
69
+ });
70
+ }); };
@@ -1,69 +1,120 @@
1
+ import { __assign, __awaiter, __generator, __read, __spreadArray, __values } from "tslib";
1
2
  import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
2
3
  import { DescribeConversionTasksCommand, } from "../commands/DescribeConversionTasksCommand";
3
- const checkState = async (client, input) => {
4
- let reason;
5
- try {
6
- const result = await client.send(new DescribeConversionTasksCommand(input));
7
- reason = result;
8
- try {
9
- const returnComparator = () => {
10
- const flat_1 = [].concat(...result.ConversionTasks);
11
- const projection_3 = flat_1.map((element_2) => {
12
- return element_2.State;
13
- });
14
- return projection_3;
15
- };
16
- let allStringEq_5 = returnComparator().length > 0;
17
- for (const element_4 of returnComparator()) {
18
- allStringEq_5 = allStringEq_5 && element_4 == "completed";
19
- }
20
- if (allStringEq_5) {
21
- return { state: WaiterState.SUCCESS, reason };
22
- }
23
- }
24
- catch (e) { }
25
- try {
26
- const returnComparator = () => {
27
- const flat_1 = [].concat(...result.ConversionTasks);
28
- const projection_3 = flat_1.map((element_2) => {
29
- return element_2.State;
30
- });
31
- return projection_3;
32
- };
33
- for (const anyStringEq_4 of returnComparator()) {
34
- if (anyStringEq_4 == "cancelled") {
35
- return { state: WaiterState.FAILURE, reason };
4
+ var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
5
+ var reason, result_1, returnComparator, allStringEq_5, _a, _b, element_4, returnComparator, _c, _d, anyStringEq_4, returnComparator, _e, _f, anyStringEq_4, exception_1;
6
+ var e_1, _g, e_2, _h, e_3, _j;
7
+ return __generator(this, function (_k) {
8
+ switch (_k.label) {
9
+ case 0:
10
+ _k.trys.push([0, 2, , 3]);
11
+ return [4, client.send(new DescribeConversionTasksCommand(input))];
12
+ case 1:
13
+ result_1 = _k.sent();
14
+ reason = result_1;
15
+ try {
16
+ returnComparator = function () {
17
+ var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.ConversionTasks), false));
18
+ var projection_3 = flat_1.map(function (element_2) {
19
+ return element_2.State;
20
+ });
21
+ return projection_3;
22
+ };
23
+ allStringEq_5 = returnComparator().length > 0;
24
+ try {
25
+ for (_a = __values(returnComparator()), _b = _a.next(); !_b.done; _b = _a.next()) {
26
+ element_4 = _b.value;
27
+ allStringEq_5 = allStringEq_5 && element_4 == "completed";
28
+ }
29
+ }
30
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
31
+ finally {
32
+ try {
33
+ if (_b && !_b.done && (_g = _a.return)) _g.call(_a);
34
+ }
35
+ finally { if (e_1) throw e_1.error; }
36
+ }
37
+ if (allStringEq_5) {
38
+ return [2, { state: WaiterState.SUCCESS, reason: reason }];
39
+ }
36
40
  }
37
- }
38
- }
39
- catch (e) { }
40
- try {
41
- const returnComparator = () => {
42
- const flat_1 = [].concat(...result.ConversionTasks);
43
- const projection_3 = flat_1.map((element_2) => {
44
- return element_2.State;
45
- });
46
- return projection_3;
47
- };
48
- for (const anyStringEq_4 of returnComparator()) {
49
- if (anyStringEq_4 == "cancelling") {
50
- return { state: WaiterState.FAILURE, reason };
41
+ catch (e) { }
42
+ try {
43
+ returnComparator = function () {
44
+ var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.ConversionTasks), false));
45
+ var projection_3 = flat_1.map(function (element_2) {
46
+ return element_2.State;
47
+ });
48
+ return projection_3;
49
+ };
50
+ try {
51
+ for (_c = __values(returnComparator()), _d = _c.next(); !_d.done; _d = _c.next()) {
52
+ anyStringEq_4 = _d.value;
53
+ if (anyStringEq_4 == "cancelled") {
54
+ return [2, { state: WaiterState.FAILURE, reason: reason }];
55
+ }
56
+ }
57
+ }
58
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
59
+ finally {
60
+ try {
61
+ if (_d && !_d.done && (_h = _c.return)) _h.call(_c);
62
+ }
63
+ finally { if (e_2) throw e_2.error; }
64
+ }
51
65
  }
52
- }
66
+ catch (e) { }
67
+ try {
68
+ returnComparator = function () {
69
+ var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.ConversionTasks), false));
70
+ var projection_3 = flat_1.map(function (element_2) {
71
+ return element_2.State;
72
+ });
73
+ return projection_3;
74
+ };
75
+ try {
76
+ for (_e = __values(returnComparator()), _f = _e.next(); !_f.done; _f = _e.next()) {
77
+ anyStringEq_4 = _f.value;
78
+ if (anyStringEq_4 == "cancelling") {
79
+ return [2, { state: WaiterState.FAILURE, reason: reason }];
80
+ }
81
+ }
82
+ }
83
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
84
+ finally {
85
+ try {
86
+ if (_f && !_f.done && (_j = _e.return)) _j.call(_e);
87
+ }
88
+ finally { if (e_3) throw e_3.error; }
89
+ }
90
+ }
91
+ catch (e) { }
92
+ return [3, 3];
93
+ case 2:
94
+ exception_1 = _k.sent();
95
+ reason = exception_1;
96
+ return [3, 3];
97
+ case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
98
+ }
99
+ });
100
+ }); };
101
+ export var waitForConversionTaskCompleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
102
+ var serviceDefaults;
103
+ return __generator(this, function (_a) {
104
+ serviceDefaults = { minDelay: 15, maxDelay: 120 };
105
+ return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
106
+ });
107
+ }); };
108
+ export var waitUntilConversionTaskCompleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
109
+ var serviceDefaults, result;
110
+ return __generator(this, function (_a) {
111
+ switch (_a.label) {
112
+ case 0:
113
+ serviceDefaults = { minDelay: 15, maxDelay: 120 };
114
+ return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
115
+ case 1:
116
+ result = _a.sent();
117
+ return [2, checkExceptions(result)];
53
118
  }
54
- catch (e) { }
55
- }
56
- catch (exception) {
57
- reason = exception;
58
- }
59
- return { state: WaiterState.RETRY, reason };
60
- };
61
- export const waitForConversionTaskCompleted = async (params, input) => {
62
- const serviceDefaults = { minDelay: 15, maxDelay: 120 };
63
- return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
64
- };
65
- export const waitUntilConversionTaskCompleted = async (params, input) => {
66
- const serviceDefaults = { minDelay: 15, maxDelay: 120 };
67
- const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
68
- return checkExceptions(result);
69
- };
119
+ });
120
+ }); };