Ec2Client.php 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  1. <?php
  2. namespace Aws\Ec2;
  3. use Aws\AwsClient;
  4. use Aws\Api\Service;
  5. use Aws\Api\DocModel;
  6. use Aws\Api\ApiProvider;
  7. use Aws\PresignUrlMiddleware;
  8. /**
  9. * Client used to interact with Amazon EC2.
  10. *
  11. * @method \Aws\Result acceptVpcPeeringConnection(array $args = [])
  12. * @method \GuzzleHttp\Promise\Promise acceptVpcPeeringConnectionAsync(array $args = [])
  13. * @method \Aws\Result allocateAddress(array $args = [])
  14. * @method \GuzzleHttp\Promise\Promise allocateAddressAsync(array $args = [])
  15. * @method \Aws\Result allocateHosts(array $args = [])
  16. * @method \GuzzleHttp\Promise\Promise allocateHostsAsync(array $args = [])
  17. * @method \Aws\Result assignPrivateIpAddresses(array $args = [])
  18. * @method \GuzzleHttp\Promise\Promise assignPrivateIpAddressesAsync(array $args = [])
  19. * @method \Aws\Result associateAddress(array $args = [])
  20. * @method \GuzzleHttp\Promise\Promise associateAddressAsync(array $args = [])
  21. * @method \Aws\Result associateDhcpOptions(array $args = [])
  22. * @method \GuzzleHttp\Promise\Promise associateDhcpOptionsAsync(array $args = [])
  23. * @method \Aws\Result associateRouteTable(array $args = [])
  24. * @method \GuzzleHttp\Promise\Promise associateRouteTableAsync(array $args = [])
  25. * @method \Aws\Result attachClassicLinkVpc(array $args = [])
  26. * @method \GuzzleHttp\Promise\Promise attachClassicLinkVpcAsync(array $args = [])
  27. * @method \Aws\Result attachInternetGateway(array $args = [])
  28. * @method \GuzzleHttp\Promise\Promise attachInternetGatewayAsync(array $args = [])
  29. * @method \Aws\Result attachNetworkInterface(array $args = [])
  30. * @method \GuzzleHttp\Promise\Promise attachNetworkInterfaceAsync(array $args = [])
  31. * @method \Aws\Result attachVolume(array $args = [])
  32. * @method \GuzzleHttp\Promise\Promise attachVolumeAsync(array $args = [])
  33. * @method \Aws\Result attachVpnGateway(array $args = [])
  34. * @method \GuzzleHttp\Promise\Promise attachVpnGatewayAsync(array $args = [])
  35. * @method \Aws\Result authorizeSecurityGroupEgress(array $args = [])
  36. * @method \GuzzleHttp\Promise\Promise authorizeSecurityGroupEgressAsync(array $args = [])
  37. * @method \Aws\Result authorizeSecurityGroupIngress(array $args = [])
  38. * @method \GuzzleHttp\Promise\Promise authorizeSecurityGroupIngressAsync(array $args = [])
  39. * @method \Aws\Result bundleInstance(array $args = [])
  40. * @method \GuzzleHttp\Promise\Promise bundleInstanceAsync(array $args = [])
  41. * @method \Aws\Result cancelBundleTask(array $args = [])
  42. * @method \GuzzleHttp\Promise\Promise cancelBundleTaskAsync(array $args = [])
  43. * @method \Aws\Result cancelConversionTask(array $args = [])
  44. * @method \GuzzleHttp\Promise\Promise cancelConversionTaskAsync(array $args = [])
  45. * @method \Aws\Result cancelExportTask(array $args = [])
  46. * @method \GuzzleHttp\Promise\Promise cancelExportTaskAsync(array $args = [])
  47. * @method \Aws\Result cancelImportTask(array $args = [])
  48. * @method \GuzzleHttp\Promise\Promise cancelImportTaskAsync(array $args = [])
  49. * @method \Aws\Result cancelReservedInstancesListing(array $args = [])
  50. * @method \GuzzleHttp\Promise\Promise cancelReservedInstancesListingAsync(array $args = [])
  51. * @method \Aws\Result cancelSpotFleetRequests(array $args = [])
  52. * @method \GuzzleHttp\Promise\Promise cancelSpotFleetRequestsAsync(array $args = [])
  53. * @method \Aws\Result cancelSpotInstanceRequests(array $args = [])
  54. * @method \GuzzleHttp\Promise\Promise cancelSpotInstanceRequestsAsync(array $args = [])
  55. * @method \Aws\Result confirmProductInstance(array $args = [])
  56. * @method \GuzzleHttp\Promise\Promise confirmProductInstanceAsync(array $args = [])
  57. * @method \Aws\Result copyImage(array $args = [])
  58. * @method \GuzzleHttp\Promise\Promise copyImageAsync(array $args = [])
  59. * @method \Aws\Result copySnapshot(array $args = [])
  60. * @method \GuzzleHttp\Promise\Promise copySnapshotAsync(array $args = [])
  61. * @method \Aws\Result createCustomerGateway(array $args = [])
  62. * @method \GuzzleHttp\Promise\Promise createCustomerGatewayAsync(array $args = [])
  63. * @method \Aws\Result createDhcpOptions(array $args = [])
  64. * @method \GuzzleHttp\Promise\Promise createDhcpOptionsAsync(array $args = [])
  65. * @method \Aws\Result createFlowLogs(array $args = [])
  66. * @method \GuzzleHttp\Promise\Promise createFlowLogsAsync(array $args = [])
  67. * @method \Aws\Result createImage(array $args = [])
  68. * @method \GuzzleHttp\Promise\Promise createImageAsync(array $args = [])
  69. * @method \Aws\Result createInstanceExportTask(array $args = [])
  70. * @method \GuzzleHttp\Promise\Promise createInstanceExportTaskAsync(array $args = [])
  71. * @method \Aws\Result createInternetGateway(array $args = [])
  72. * @method \GuzzleHttp\Promise\Promise createInternetGatewayAsync(array $args = [])
  73. * @method \Aws\Result createKeyPair(array $args = [])
  74. * @method \GuzzleHttp\Promise\Promise createKeyPairAsync(array $args = [])
  75. * @method \Aws\Result createNatGateway(array $args = [])
  76. * @method \GuzzleHttp\Promise\Promise createNatGatewayAsync(array $args = [])
  77. * @method \Aws\Result createNetworkAcl(array $args = [])
  78. * @method \GuzzleHttp\Promise\Promise createNetworkAclAsync(array $args = [])
  79. * @method \Aws\Result createNetworkAclEntry(array $args = [])
  80. * @method \GuzzleHttp\Promise\Promise createNetworkAclEntryAsync(array $args = [])
  81. * @method \Aws\Result createNetworkInterface(array $args = [])
  82. * @method \GuzzleHttp\Promise\Promise createNetworkInterfaceAsync(array $args = [])
  83. * @method \Aws\Result createPlacementGroup(array $args = [])
  84. * @method \GuzzleHttp\Promise\Promise createPlacementGroupAsync(array $args = [])
  85. * @method \Aws\Result createReservedInstancesListing(array $args = [])
  86. * @method \GuzzleHttp\Promise\Promise createReservedInstancesListingAsync(array $args = [])
  87. * @method \Aws\Result createRoute(array $args = [])
  88. * @method \GuzzleHttp\Promise\Promise createRouteAsync(array $args = [])
  89. * @method \Aws\Result createRouteTable(array $args = [])
  90. * @method \GuzzleHttp\Promise\Promise createRouteTableAsync(array $args = [])
  91. * @method \Aws\Result createSecurityGroup(array $args = [])
  92. * @method \GuzzleHttp\Promise\Promise createSecurityGroupAsync(array $args = [])
  93. * @method \Aws\Result createSnapshot(array $args = [])
  94. * @method \GuzzleHttp\Promise\Promise createSnapshotAsync(array $args = [])
  95. * @method \Aws\Result createSpotDatafeedSubscription(array $args = [])
  96. * @method \GuzzleHttp\Promise\Promise createSpotDatafeedSubscriptionAsync(array $args = [])
  97. * @method \Aws\Result createSubnet(array $args = [])
  98. * @method \GuzzleHttp\Promise\Promise createSubnetAsync(array $args = [])
  99. * @method \Aws\Result createTags(array $args = [])
  100. * @method \GuzzleHttp\Promise\Promise createTagsAsync(array $args = [])
  101. * @method \Aws\Result createVolume(array $args = [])
  102. * @method \GuzzleHttp\Promise\Promise createVolumeAsync(array $args = [])
  103. * @method \Aws\Result createVpc(array $args = [])
  104. * @method \GuzzleHttp\Promise\Promise createVpcAsync(array $args = [])
  105. * @method \Aws\Result createVpcEndpoint(array $args = [])
  106. * @method \GuzzleHttp\Promise\Promise createVpcEndpointAsync(array $args = [])
  107. * @method \Aws\Result createVpcPeeringConnection(array $args = [])
  108. * @method \GuzzleHttp\Promise\Promise createVpcPeeringConnectionAsync(array $args = [])
  109. * @method \Aws\Result createVpnConnection(array $args = [])
  110. * @method \GuzzleHttp\Promise\Promise createVpnConnectionAsync(array $args = [])
  111. * @method \Aws\Result createVpnConnectionRoute(array $args = [])
  112. * @method \GuzzleHttp\Promise\Promise createVpnConnectionRouteAsync(array $args = [])
  113. * @method \Aws\Result createVpnGateway(array $args = [])
  114. * @method \GuzzleHttp\Promise\Promise createVpnGatewayAsync(array $args = [])
  115. * @method \Aws\Result deleteCustomerGateway(array $args = [])
  116. * @method \GuzzleHttp\Promise\Promise deleteCustomerGatewayAsync(array $args = [])
  117. * @method \Aws\Result deleteDhcpOptions(array $args = [])
  118. * @method \GuzzleHttp\Promise\Promise deleteDhcpOptionsAsync(array $args = [])
  119. * @method \Aws\Result deleteFlowLogs(array $args = [])
  120. * @method \GuzzleHttp\Promise\Promise deleteFlowLogsAsync(array $args = [])
  121. * @method \Aws\Result deleteInternetGateway(array $args = [])
  122. * @method \GuzzleHttp\Promise\Promise deleteInternetGatewayAsync(array $args = [])
  123. * @method \Aws\Result deleteKeyPair(array $args = [])
  124. * @method \GuzzleHttp\Promise\Promise deleteKeyPairAsync(array $args = [])
  125. * @method \Aws\Result deleteNatGateway(array $args = [])
  126. * @method \GuzzleHttp\Promise\Promise deleteNatGatewayAsync(array $args = [])
  127. * @method \Aws\Result deleteNetworkAcl(array $args = [])
  128. * @method \GuzzleHttp\Promise\Promise deleteNetworkAclAsync(array $args = [])
  129. * @method \Aws\Result deleteNetworkAclEntry(array $args = [])
  130. * @method \GuzzleHttp\Promise\Promise deleteNetworkAclEntryAsync(array $args = [])
  131. * @method \Aws\Result deleteNetworkInterface(array $args = [])
  132. * @method \GuzzleHttp\Promise\Promise deleteNetworkInterfaceAsync(array $args = [])
  133. * @method \Aws\Result deletePlacementGroup(array $args = [])
  134. * @method \GuzzleHttp\Promise\Promise deletePlacementGroupAsync(array $args = [])
  135. * @method \Aws\Result deleteRoute(array $args = [])
  136. * @method \GuzzleHttp\Promise\Promise deleteRouteAsync(array $args = [])
  137. * @method \Aws\Result deleteRouteTable(array $args = [])
  138. * @method \GuzzleHttp\Promise\Promise deleteRouteTableAsync(array $args = [])
  139. * @method \Aws\Result deleteSecurityGroup(array $args = [])
  140. * @method \GuzzleHttp\Promise\Promise deleteSecurityGroupAsync(array $args = [])
  141. * @method \Aws\Result deleteSnapshot(array $args = [])
  142. * @method \GuzzleHttp\Promise\Promise deleteSnapshotAsync(array $args = [])
  143. * @method \Aws\Result deleteSpotDatafeedSubscription(array $args = [])
  144. * @method \GuzzleHttp\Promise\Promise deleteSpotDatafeedSubscriptionAsync(array $args = [])
  145. * @method \Aws\Result deleteSubnet(array $args = [])
  146. * @method \GuzzleHttp\Promise\Promise deleteSubnetAsync(array $args = [])
  147. * @method \Aws\Result deleteTags(array $args = [])
  148. * @method \GuzzleHttp\Promise\Promise deleteTagsAsync(array $args = [])
  149. * @method \Aws\Result deleteVolume(array $args = [])
  150. * @method \GuzzleHttp\Promise\Promise deleteVolumeAsync(array $args = [])
  151. * @method \Aws\Result deleteVpc(array $args = [])
  152. * @method \GuzzleHttp\Promise\Promise deleteVpcAsync(array $args = [])
  153. * @method \Aws\Result deleteVpcEndpoints(array $args = [])
  154. * @method \GuzzleHttp\Promise\Promise deleteVpcEndpointsAsync(array $args = [])
  155. * @method \Aws\Result deleteVpcPeeringConnection(array $args = [])
  156. * @method \GuzzleHttp\Promise\Promise deleteVpcPeeringConnectionAsync(array $args = [])
  157. * @method \Aws\Result deleteVpnConnection(array $args = [])
  158. * @method \GuzzleHttp\Promise\Promise deleteVpnConnectionAsync(array $args = [])
  159. * @method \Aws\Result deleteVpnConnectionRoute(array $args = [])
  160. * @method \GuzzleHttp\Promise\Promise deleteVpnConnectionRouteAsync(array $args = [])
  161. * @method \Aws\Result deleteVpnGateway(array $args = [])
  162. * @method \GuzzleHttp\Promise\Promise deleteVpnGatewayAsync(array $args = [])
  163. * @method \Aws\Result deregisterImage(array $args = [])
  164. * @method \GuzzleHttp\Promise\Promise deregisterImageAsync(array $args = [])
  165. * @method \Aws\Result describeAccountAttributes(array $args = [])
  166. * @method \GuzzleHttp\Promise\Promise describeAccountAttributesAsync(array $args = [])
  167. * @method \Aws\Result describeAddresses(array $args = [])
  168. * @method \GuzzleHttp\Promise\Promise describeAddressesAsync(array $args = [])
  169. * @method \Aws\Result describeAvailabilityZones(array $args = [])
  170. * @method \GuzzleHttp\Promise\Promise describeAvailabilityZonesAsync(array $args = [])
  171. * @method \Aws\Result describeBundleTasks(array $args = [])
  172. * @method \GuzzleHttp\Promise\Promise describeBundleTasksAsync(array $args = [])
  173. * @method \Aws\Result describeClassicLinkInstances(array $args = [])
  174. * @method \GuzzleHttp\Promise\Promise describeClassicLinkInstancesAsync(array $args = [])
  175. * @method \Aws\Result describeConversionTasks(array $args = [])
  176. * @method \GuzzleHttp\Promise\Promise describeConversionTasksAsync(array $args = [])
  177. * @method \Aws\Result describeCustomerGateways(array $args = [])
  178. * @method \GuzzleHttp\Promise\Promise describeCustomerGatewaysAsync(array $args = [])
  179. * @method \Aws\Result describeDhcpOptions(array $args = [])
  180. * @method \GuzzleHttp\Promise\Promise describeDhcpOptionsAsync(array $args = [])
  181. * @method \Aws\Result describeExportTasks(array $args = [])
  182. * @method \GuzzleHttp\Promise\Promise describeExportTasksAsync(array $args = [])
  183. * @method \Aws\Result describeFlowLogs(array $args = [])
  184. * @method \GuzzleHttp\Promise\Promise describeFlowLogsAsync(array $args = [])
  185. * @method \Aws\Result describeHosts(array $args = [])
  186. * @method \GuzzleHttp\Promise\Promise describeHostsAsync(array $args = [])
  187. * @method \Aws\Result describeIdFormat(array $args = [])
  188. * @method \GuzzleHttp\Promise\Promise describeIdFormatAsync(array $args = [])
  189. * @method \Aws\Result describeImageAttribute(array $args = [])
  190. * @method \GuzzleHttp\Promise\Promise describeImageAttributeAsync(array $args = [])
  191. * @method \Aws\Result describeImages(array $args = [])
  192. * @method \GuzzleHttp\Promise\Promise describeImagesAsync(array $args = [])
  193. * @method \Aws\Result describeImportImageTasks(array $args = [])
  194. * @method \GuzzleHttp\Promise\Promise describeImportImageTasksAsync(array $args = [])
  195. * @method \Aws\Result describeImportSnapshotTasks(array $args = [])
  196. * @method \GuzzleHttp\Promise\Promise describeImportSnapshotTasksAsync(array $args = [])
  197. * @method \Aws\Result describeInstanceAttribute(array $args = [])
  198. * @method \GuzzleHttp\Promise\Promise describeInstanceAttributeAsync(array $args = [])
  199. * @method \Aws\Result describeInstanceStatus(array $args = [])
  200. * @method \GuzzleHttp\Promise\Promise describeInstanceStatusAsync(array $args = [])
  201. * @method \Aws\Result describeInstances(array $args = [])
  202. * @method \GuzzleHttp\Promise\Promise describeInstancesAsync(array $args = [])
  203. * @method \Aws\Result describeInternetGateways(array $args = [])
  204. * @method \GuzzleHttp\Promise\Promise describeInternetGatewaysAsync(array $args = [])
  205. * @method \Aws\Result describeKeyPairs(array $args = [])
  206. * @method \GuzzleHttp\Promise\Promise describeKeyPairsAsync(array $args = [])
  207. * @method \Aws\Result describeMovingAddresses(array $args = [])
  208. * @method \GuzzleHttp\Promise\Promise describeMovingAddressesAsync(array $args = [])
  209. * @method \Aws\Result describeNatGateways(array $args = [])
  210. * @method \GuzzleHttp\Promise\Promise describeNatGatewaysAsync(array $args = [])
  211. * @method \Aws\Result describeNetworkAcls(array $args = [])
  212. * @method \GuzzleHttp\Promise\Promise describeNetworkAclsAsync(array $args = [])
  213. * @method \Aws\Result describeNetworkInterfaceAttribute(array $args = [])
  214. * @method \GuzzleHttp\Promise\Promise describeNetworkInterfaceAttributeAsync(array $args = [])
  215. * @method \Aws\Result describeNetworkInterfaces(array $args = [])
  216. * @method \GuzzleHttp\Promise\Promise describeNetworkInterfacesAsync(array $args = [])
  217. * @method \Aws\Result describePlacementGroups(array $args = [])
  218. * @method \GuzzleHttp\Promise\Promise describePlacementGroupsAsync(array $args = [])
  219. * @method \Aws\Result describePrefixLists(array $args = [])
  220. * @method \GuzzleHttp\Promise\Promise describePrefixListsAsync(array $args = [])
  221. * @method \Aws\Result describeRegions(array $args = [])
  222. * @method \GuzzleHttp\Promise\Promise describeRegionsAsync(array $args = [])
  223. * @method \Aws\Result describeReservedInstances(array $args = [])
  224. * @method \GuzzleHttp\Promise\Promise describeReservedInstancesAsync(array $args = [])
  225. * @method \Aws\Result describeReservedInstancesListings(array $args = [])
  226. * @method \GuzzleHttp\Promise\Promise describeReservedInstancesListingsAsync(array $args = [])
  227. * @method \Aws\Result describeReservedInstancesModifications(array $args = [])
  228. * @method \GuzzleHttp\Promise\Promise describeReservedInstancesModificationsAsync(array $args = [])
  229. * @method \Aws\Result describeReservedInstancesOfferings(array $args = [])
  230. * @method \GuzzleHttp\Promise\Promise describeReservedInstancesOfferingsAsync(array $args = [])
  231. * @method \Aws\Result describeRouteTables(array $args = [])
  232. * @method \GuzzleHttp\Promise\Promise describeRouteTablesAsync(array $args = [])
  233. * @method \Aws\Result describeScheduledInstanceAvailability(array $args = [])
  234. * @method \GuzzleHttp\Promise\Promise describeScheduledInstanceAvailabilityAsync(array $args = [])
  235. * @method \Aws\Result describeScheduledInstances(array $args = [])
  236. * @method \GuzzleHttp\Promise\Promise describeScheduledInstancesAsync(array $args = [])
  237. * @method \Aws\Result describeSecurityGroupReferences(array $args = [])
  238. * @method \GuzzleHttp\Promise\Promise describeSecurityGroupReferencesAsync(array $args = [])
  239. * @method \Aws\Result describeSecurityGroups(array $args = [])
  240. * @method \GuzzleHttp\Promise\Promise describeSecurityGroupsAsync(array $args = [])
  241. * @method \Aws\Result describeSnapshotAttribute(array $args = [])
  242. * @method \GuzzleHttp\Promise\Promise describeSnapshotAttributeAsync(array $args = [])
  243. * @method \Aws\Result describeSnapshots(array $args = [])
  244. * @method \GuzzleHttp\Promise\Promise describeSnapshotsAsync(array $args = [])
  245. * @method \Aws\Result describeSpotDatafeedSubscription(array $args = [])
  246. * @method \GuzzleHttp\Promise\Promise describeSpotDatafeedSubscriptionAsync(array $args = [])
  247. * @method \Aws\Result describeSpotFleetInstances(array $args = [])
  248. * @method \GuzzleHttp\Promise\Promise describeSpotFleetInstancesAsync(array $args = [])
  249. * @method \Aws\Result describeSpotFleetRequestHistory(array $args = [])
  250. * @method \GuzzleHttp\Promise\Promise describeSpotFleetRequestHistoryAsync(array $args = [])
  251. * @method \Aws\Result describeSpotFleetRequests(array $args = [])
  252. * @method \GuzzleHttp\Promise\Promise describeSpotFleetRequestsAsync(array $args = [])
  253. * @method \Aws\Result describeSpotInstanceRequests(array $args = [])
  254. * @method \GuzzleHttp\Promise\Promise describeSpotInstanceRequestsAsync(array $args = [])
  255. * @method \Aws\Result describeSpotPriceHistory(array $args = [])
  256. * @method \GuzzleHttp\Promise\Promise describeSpotPriceHistoryAsync(array $args = [])
  257. * @method \Aws\Result describeStaleSecurityGroups(array $args = [])
  258. * @method \GuzzleHttp\Promise\Promise describeStaleSecurityGroupsAsync(array $args = [])
  259. * @method \Aws\Result describeSubnets(array $args = [])
  260. * @method \GuzzleHttp\Promise\Promise describeSubnetsAsync(array $args = [])
  261. * @method \Aws\Result describeTags(array $args = [])
  262. * @method \GuzzleHttp\Promise\Promise describeTagsAsync(array $args = [])
  263. * @method \Aws\Result describeVolumeAttribute(array $args = [])
  264. * @method \GuzzleHttp\Promise\Promise describeVolumeAttributeAsync(array $args = [])
  265. * @method \Aws\Result describeVolumeStatus(array $args = [])
  266. * @method \GuzzleHttp\Promise\Promise describeVolumeStatusAsync(array $args = [])
  267. * @method \Aws\Result describeVolumes(array $args = [])
  268. * @method \GuzzleHttp\Promise\Promise describeVolumesAsync(array $args = [])
  269. * @method \Aws\Result describeVpcAttribute(array $args = [])
  270. * @method \GuzzleHttp\Promise\Promise describeVpcAttributeAsync(array $args = [])
  271. * @method \Aws\Result describeVpcClassicLink(array $args = [])
  272. * @method \GuzzleHttp\Promise\Promise describeVpcClassicLinkAsync(array $args = [])
  273. * @method \Aws\Result describeVpcClassicLinkDnsSupport(array $args = [])
  274. * @method \GuzzleHttp\Promise\Promise describeVpcClassicLinkDnsSupportAsync(array $args = [])
  275. * @method \Aws\Result describeVpcEndpointServices(array $args = [])
  276. * @method \GuzzleHttp\Promise\Promise describeVpcEndpointServicesAsync(array $args = [])
  277. * @method \Aws\Result describeVpcEndpoints(array $args = [])
  278. * @method \GuzzleHttp\Promise\Promise describeVpcEndpointsAsync(array $args = [])
  279. * @method \Aws\Result describeVpcPeeringConnections(array $args = [])
  280. * @method \GuzzleHttp\Promise\Promise describeVpcPeeringConnectionsAsync(array $args = [])
  281. * @method \Aws\Result describeVpcs(array $args = [])
  282. * @method \GuzzleHttp\Promise\Promise describeVpcsAsync(array $args = [])
  283. * @method \Aws\Result describeVpnConnections(array $args = [])
  284. * @method \GuzzleHttp\Promise\Promise describeVpnConnectionsAsync(array $args = [])
  285. * @method \Aws\Result describeVpnGateways(array $args = [])
  286. * @method \GuzzleHttp\Promise\Promise describeVpnGatewaysAsync(array $args = [])
  287. * @method \Aws\Result detachClassicLinkVpc(array $args = [])
  288. * @method \GuzzleHttp\Promise\Promise detachClassicLinkVpcAsync(array $args = [])
  289. * @method \Aws\Result detachInternetGateway(array $args = [])
  290. * @method \GuzzleHttp\Promise\Promise detachInternetGatewayAsync(array $args = [])
  291. * @method \Aws\Result detachNetworkInterface(array $args = [])
  292. * @method \GuzzleHttp\Promise\Promise detachNetworkInterfaceAsync(array $args = [])
  293. * @method \Aws\Result detachVolume(array $args = [])
  294. * @method \GuzzleHttp\Promise\Promise detachVolumeAsync(array $args = [])
  295. * @method \Aws\Result detachVpnGateway(array $args = [])
  296. * @method \GuzzleHttp\Promise\Promise detachVpnGatewayAsync(array $args = [])
  297. * @method \Aws\Result disableVgwRoutePropagation(array $args = [])
  298. * @method \GuzzleHttp\Promise\Promise disableVgwRoutePropagationAsync(array $args = [])
  299. * @method \Aws\Result disableVpcClassicLink(array $args = [])
  300. * @method \GuzzleHttp\Promise\Promise disableVpcClassicLinkAsync(array $args = [])
  301. * @method \Aws\Result disableVpcClassicLinkDnsSupport(array $args = [])
  302. * @method \GuzzleHttp\Promise\Promise disableVpcClassicLinkDnsSupportAsync(array $args = [])
  303. * @method \Aws\Result disassociateAddress(array $args = [])
  304. * @method \GuzzleHttp\Promise\Promise disassociateAddressAsync(array $args = [])
  305. * @method \Aws\Result disassociateRouteTable(array $args = [])
  306. * @method \GuzzleHttp\Promise\Promise disassociateRouteTableAsync(array $args = [])
  307. * @method \Aws\Result enableVgwRoutePropagation(array $args = [])
  308. * @method \GuzzleHttp\Promise\Promise enableVgwRoutePropagationAsync(array $args = [])
  309. * @method \Aws\Result enableVolumeIO(array $args = [])
  310. * @method \GuzzleHttp\Promise\Promise enableVolumeIOAsync(array $args = [])
  311. * @method \Aws\Result enableVpcClassicLink(array $args = [])
  312. * @method \GuzzleHttp\Promise\Promise enableVpcClassicLinkAsync(array $args = [])
  313. * @method \Aws\Result enableVpcClassicLinkDnsSupport(array $args = [])
  314. * @method \GuzzleHttp\Promise\Promise enableVpcClassicLinkDnsSupportAsync(array $args = [])
  315. * @method \Aws\Result getConsoleOutput(array $args = [])
  316. * @method \GuzzleHttp\Promise\Promise getConsoleOutputAsync(array $args = [])
  317. * @method \Aws\Result getConsoleScreenshot(array $args = [])
  318. * @method \GuzzleHttp\Promise\Promise getConsoleScreenshotAsync(array $args = [])
  319. * @method \Aws\Result getPasswordData(array $args = [])
  320. * @method \GuzzleHttp\Promise\Promise getPasswordDataAsync(array $args = [])
  321. * @method \Aws\Result importImage(array $args = [])
  322. * @method \GuzzleHttp\Promise\Promise importImageAsync(array $args = [])
  323. * @method \Aws\Result importInstance(array $args = [])
  324. * @method \GuzzleHttp\Promise\Promise importInstanceAsync(array $args = [])
  325. * @method \Aws\Result importKeyPair(array $args = [])
  326. * @method \GuzzleHttp\Promise\Promise importKeyPairAsync(array $args = [])
  327. * @method \Aws\Result importSnapshot(array $args = [])
  328. * @method \GuzzleHttp\Promise\Promise importSnapshotAsync(array $args = [])
  329. * @method \Aws\Result importVolume(array $args = [])
  330. * @method \GuzzleHttp\Promise\Promise importVolumeAsync(array $args = [])
  331. * @method \Aws\Result modifyHosts(array $args = [])
  332. * @method \GuzzleHttp\Promise\Promise modifyHostsAsync(array $args = [])
  333. * @method \Aws\Result modifyIdFormat(array $args = [])
  334. * @method \GuzzleHttp\Promise\Promise modifyIdFormatAsync(array $args = [])
  335. * @method \Aws\Result modifyImageAttribute(array $args = [])
  336. * @method \GuzzleHttp\Promise\Promise modifyImageAttributeAsync(array $args = [])
  337. * @method \Aws\Result modifyInstanceAttribute(array $args = [])
  338. * @method \GuzzleHttp\Promise\Promise modifyInstanceAttributeAsync(array $args = [])
  339. * @method \Aws\Result modifyInstancePlacement(array $args = [])
  340. * @method \GuzzleHttp\Promise\Promise modifyInstancePlacementAsync(array $args = [])
  341. * @method \Aws\Result modifyNetworkInterfaceAttribute(array $args = [])
  342. * @method \GuzzleHttp\Promise\Promise modifyNetworkInterfaceAttributeAsync(array $args = [])
  343. * @method \Aws\Result modifyReservedInstances(array $args = [])
  344. * @method \GuzzleHttp\Promise\Promise modifyReservedInstancesAsync(array $args = [])
  345. * @method \Aws\Result modifySnapshotAttribute(array $args = [])
  346. * @method \GuzzleHttp\Promise\Promise modifySnapshotAttributeAsync(array $args = [])
  347. * @method \Aws\Result modifySpotFleetRequest(array $args = [])
  348. * @method \GuzzleHttp\Promise\Promise modifySpotFleetRequestAsync(array $args = [])
  349. * @method \Aws\Result modifySubnetAttribute(array $args = [])
  350. * @method \GuzzleHttp\Promise\Promise modifySubnetAttributeAsync(array $args = [])
  351. * @method \Aws\Result modifyVolumeAttribute(array $args = [])
  352. * @method \GuzzleHttp\Promise\Promise modifyVolumeAttributeAsync(array $args = [])
  353. * @method \Aws\Result modifyVpcAttribute(array $args = [])
  354. * @method \GuzzleHttp\Promise\Promise modifyVpcAttributeAsync(array $args = [])
  355. * @method \Aws\Result modifyVpcEndpoint(array $args = [])
  356. * @method \GuzzleHttp\Promise\Promise modifyVpcEndpointAsync(array $args = [])
  357. * @method \Aws\Result modifyVpcPeeringConnectionOptions(array $args = [])
  358. * @method \GuzzleHttp\Promise\Promise modifyVpcPeeringConnectionOptionsAsync(array $args = [])
  359. * @method \Aws\Result monitorInstances(array $args = [])
  360. * @method \GuzzleHttp\Promise\Promise monitorInstancesAsync(array $args = [])
  361. * @method \Aws\Result moveAddressToVpc(array $args = [])
  362. * @method \GuzzleHttp\Promise\Promise moveAddressToVpcAsync(array $args = [])
  363. * @method \Aws\Result purchaseReservedInstancesOffering(array $args = [])
  364. * @method \GuzzleHttp\Promise\Promise purchaseReservedInstancesOfferingAsync(array $args = [])
  365. * @method \Aws\Result purchaseScheduledInstances(array $args = [])
  366. * @method \GuzzleHttp\Promise\Promise purchaseScheduledInstancesAsync(array $args = [])
  367. * @method \Aws\Result rebootInstances(array $args = [])
  368. * @method \GuzzleHttp\Promise\Promise rebootInstancesAsync(array $args = [])
  369. * @method \Aws\Result registerImage(array $args = [])
  370. * @method \GuzzleHttp\Promise\Promise registerImageAsync(array $args = [])
  371. * @method \Aws\Result rejectVpcPeeringConnection(array $args = [])
  372. * @method \GuzzleHttp\Promise\Promise rejectVpcPeeringConnectionAsync(array $args = [])
  373. * @method \Aws\Result releaseAddress(array $args = [])
  374. * @method \GuzzleHttp\Promise\Promise releaseAddressAsync(array $args = [])
  375. * @method \Aws\Result releaseHosts(array $args = [])
  376. * @method \GuzzleHttp\Promise\Promise releaseHostsAsync(array $args = [])
  377. * @method \Aws\Result replaceNetworkAclAssociation(array $args = [])
  378. * @method \GuzzleHttp\Promise\Promise replaceNetworkAclAssociationAsync(array $args = [])
  379. * @method \Aws\Result replaceNetworkAclEntry(array $args = [])
  380. * @method \GuzzleHttp\Promise\Promise replaceNetworkAclEntryAsync(array $args = [])
  381. * @method \Aws\Result replaceRoute(array $args = [])
  382. * @method \GuzzleHttp\Promise\Promise replaceRouteAsync(array $args = [])
  383. * @method \Aws\Result replaceRouteTableAssociation(array $args = [])
  384. * @method \GuzzleHttp\Promise\Promise replaceRouteTableAssociationAsync(array $args = [])
  385. * @method \Aws\Result reportInstanceStatus(array $args = [])
  386. * @method \GuzzleHttp\Promise\Promise reportInstanceStatusAsync(array $args = [])
  387. * @method \Aws\Result requestSpotFleet(array $args = [])
  388. * @method \GuzzleHttp\Promise\Promise requestSpotFleetAsync(array $args = [])
  389. * @method \Aws\Result requestSpotInstances(array $args = [])
  390. * @method \GuzzleHttp\Promise\Promise requestSpotInstancesAsync(array $args = [])
  391. * @method \Aws\Result resetImageAttribute(array $args = [])
  392. * @method \GuzzleHttp\Promise\Promise resetImageAttributeAsync(array $args = [])
  393. * @method \Aws\Result resetInstanceAttribute(array $args = [])
  394. * @method \GuzzleHttp\Promise\Promise resetInstanceAttributeAsync(array $args = [])
  395. * @method \Aws\Result resetNetworkInterfaceAttribute(array $args = [])
  396. * @method \GuzzleHttp\Promise\Promise resetNetworkInterfaceAttributeAsync(array $args = [])
  397. * @method \Aws\Result resetSnapshotAttribute(array $args = [])
  398. * @method \GuzzleHttp\Promise\Promise resetSnapshotAttributeAsync(array $args = [])
  399. * @method \Aws\Result restoreAddressToClassic(array $args = [])
  400. * @method \GuzzleHttp\Promise\Promise restoreAddressToClassicAsync(array $args = [])
  401. * @method \Aws\Result revokeSecurityGroupEgress(array $args = [])
  402. * @method \GuzzleHttp\Promise\Promise revokeSecurityGroupEgressAsync(array $args = [])
  403. * @method \Aws\Result revokeSecurityGroupIngress(array $args = [])
  404. * @method \GuzzleHttp\Promise\Promise revokeSecurityGroupIngressAsync(array $args = [])
  405. * @method \Aws\Result runInstances(array $args = [])
  406. * @method \GuzzleHttp\Promise\Promise runInstancesAsync(array $args = [])
  407. * @method \Aws\Result runScheduledInstances(array $args = [])
  408. * @method \GuzzleHttp\Promise\Promise runScheduledInstancesAsync(array $args = [])
  409. * @method \Aws\Result startInstances(array $args = [])
  410. * @method \GuzzleHttp\Promise\Promise startInstancesAsync(array $args = [])
  411. * @method \Aws\Result stopInstances(array $args = [])
  412. * @method \GuzzleHttp\Promise\Promise stopInstancesAsync(array $args = [])
  413. * @method \Aws\Result terminateInstances(array $args = [])
  414. * @method \GuzzleHttp\Promise\Promise terminateInstancesAsync(array $args = [])
  415. * @method \Aws\Result unassignPrivateIpAddresses(array $args = [])
  416. * @method \GuzzleHttp\Promise\Promise unassignPrivateIpAddressesAsync(array $args = [])
  417. * @method \Aws\Result unmonitorInstances(array $args = [])
  418. * @method \GuzzleHttp\Promise\Promise unmonitorInstancesAsync(array $args = [])
  419. * @method \Aws\Result describeHostReservationOfferings(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  420. * @method \GuzzleHttp\Promise\Promise describeHostReservationOfferingsAsync(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  421. * @method \Aws\Result describeHostReservations(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  422. * @method \GuzzleHttp\Promise\Promise describeHostReservationsAsync(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  423. * @method \Aws\Result describeIdentityIdFormat(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  424. * @method \GuzzleHttp\Promise\Promise describeIdentityIdFormatAsync(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  425. * @method \Aws\Result getHostReservationPurchasePreview(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  426. * @method \GuzzleHttp\Promise\Promise getHostReservationPurchasePreviewAsync(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  427. * @method \Aws\Result modifyIdentityIdFormat(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  428. * @method \GuzzleHttp\Promise\Promise modifyIdentityIdFormatAsync(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  429. * @method \Aws\Result purchaseHostReservation(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  430. * @method \GuzzleHttp\Promise\Promise purchaseHostReservationAsync(array $args = []) (supported in versions 2016-04-01, 2016-09-15, 2016-11-15)
  431. * @method \Aws\Result acceptReservedInstancesExchangeQuote(array $args = []) (supported in versions 2016-09-15, 2016-11-15)
  432. * @method \GuzzleHttp\Promise\Promise acceptReservedInstancesExchangeQuoteAsync(array $args = []) (supported in versions 2016-09-15, 2016-11-15)
  433. * @method \Aws\Result getReservedInstancesExchangeQuote(array $args = []) (supported in versions 2016-09-15, 2016-11-15)
  434. * @method \GuzzleHttp\Promise\Promise getReservedInstancesExchangeQuoteAsync(array $args = []) (supported in versions 2016-09-15, 2016-11-15)
  435. * @method \Aws\Result assignIpv6Addresses(array $args = []) (supported in versions 2016-11-15)
  436. * @method \GuzzleHttp\Promise\Promise assignIpv6AddressesAsync(array $args = []) (supported in versions 2016-11-15)
  437. * @method \Aws\Result associateIamInstanceProfile(array $args = []) (supported in versions 2016-11-15)
  438. * @method \GuzzleHttp\Promise\Promise associateIamInstanceProfileAsync(array $args = []) (supported in versions 2016-11-15)
  439. * @method \Aws\Result associateSubnetCidrBlock(array $args = []) (supported in versions 2016-11-15)
  440. * @method \GuzzleHttp\Promise\Promise associateSubnetCidrBlockAsync(array $args = []) (supported in versions 2016-11-15)
  441. * @method \Aws\Result associateVpcCidrBlock(array $args = []) (supported in versions 2016-11-15)
  442. * @method \GuzzleHttp\Promise\Promise associateVpcCidrBlockAsync(array $args = []) (supported in versions 2016-11-15)
  443. * @method \Aws\Result createEgressOnlyInternetGateway(array $args = []) (supported in versions 2016-11-15)
  444. * @method \GuzzleHttp\Promise\Promise createEgressOnlyInternetGatewayAsync(array $args = []) (supported in versions 2016-11-15)
  445. * @method \Aws\Result createFpgaImage(array $args = []) (supported in versions 2016-11-15)
  446. * @method \GuzzleHttp\Promise\Promise createFpgaImageAsync(array $args = []) (supported in versions 2016-11-15)
  447. * @method \Aws\Result createNetworkInterfacePermission(array $args = []) (supported in versions 2016-11-15)
  448. * @method \GuzzleHttp\Promise\Promise createNetworkInterfacePermissionAsync(array $args = []) (supported in versions 2016-11-15)
  449. * @method \Aws\Result deleteEgressOnlyInternetGateway(array $args = []) (supported in versions 2016-11-15)
  450. * @method \GuzzleHttp\Promise\Promise deleteEgressOnlyInternetGatewayAsync(array $args = []) (supported in versions 2016-11-15)
  451. * @method \Aws\Result deleteNetworkInterfacePermission(array $args = []) (supported in versions 2016-11-15)
  452. * @method \GuzzleHttp\Promise\Promise deleteNetworkInterfacePermissionAsync(array $args = []) (supported in versions 2016-11-15)
  453. * @method \Aws\Result describeEgressOnlyInternetGateways(array $args = []) (supported in versions 2016-11-15)
  454. * @method \GuzzleHttp\Promise\Promise describeEgressOnlyInternetGatewaysAsync(array $args = []) (supported in versions 2016-11-15)
  455. * @method \Aws\Result describeFpgaImages(array $args = []) (supported in versions 2016-11-15)
  456. * @method \GuzzleHttp\Promise\Promise describeFpgaImagesAsync(array $args = []) (supported in versions 2016-11-15)
  457. * @method \Aws\Result describeIamInstanceProfileAssociations(array $args = []) (supported in versions 2016-11-15)
  458. * @method \GuzzleHttp\Promise\Promise describeIamInstanceProfileAssociationsAsync(array $args = []) (supported in versions 2016-11-15)
  459. * @method \Aws\Result describeNetworkInterfacePermissions(array $args = []) (supported in versions 2016-11-15)
  460. * @method \GuzzleHttp\Promise\Promise describeNetworkInterfacePermissionsAsync(array $args = []) (supported in versions 2016-11-15)
  461. * @method \Aws\Result describeVolumesModifications(array $args = []) (supported in versions 2016-11-15)
  462. * @method \GuzzleHttp\Promise\Promise describeVolumesModificationsAsync(array $args = []) (supported in versions 2016-11-15)
  463. * @method \Aws\Result disassociateIamInstanceProfile(array $args = []) (supported in versions 2016-11-15)
  464. * @method \GuzzleHttp\Promise\Promise disassociateIamInstanceProfileAsync(array $args = []) (supported in versions 2016-11-15)
  465. * @method \Aws\Result disassociateSubnetCidrBlock(array $args = []) (supported in versions 2016-11-15)
  466. * @method \GuzzleHttp\Promise\Promise disassociateSubnetCidrBlockAsync(array $args = []) (supported in versions 2016-11-15)
  467. * @method \Aws\Result disassociateVpcCidrBlock(array $args = []) (supported in versions 2016-11-15)
  468. * @method \GuzzleHttp\Promise\Promise disassociateVpcCidrBlockAsync(array $args = []) (supported in versions 2016-11-15)
  469. * @method \Aws\Result modifyVolume(array $args = []) (supported in versions 2016-11-15)
  470. * @method \GuzzleHttp\Promise\Promise modifyVolumeAsync(array $args = []) (supported in versions 2016-11-15)
  471. * @method \Aws\Result replaceIamInstanceProfileAssociation(array $args = []) (supported in versions 2016-11-15)
  472. * @method \GuzzleHttp\Promise\Promise replaceIamInstanceProfileAssociationAsync(array $args = []) (supported in versions 2016-11-15)
  473. * @method \Aws\Result unassignIpv6Addresses(array $args = []) (supported in versions 2016-11-15)
  474. * @method \GuzzleHttp\Promise\Promise unassignIpv6AddressesAsync(array $args = []) (supported in versions 2016-11-15)
  475. */
  476. class Ec2Client extends AwsClient
  477. {
  478. public function __construct(array $args)
  479. {
  480. $args['with_resolved'] = function (array $args) {
  481. $this->getHandlerList()->appendInit(
  482. PresignUrlMiddleware::wrap(
  483. $this,
  484. $args['endpoint_provider'],
  485. [
  486. 'operations' => [
  487. 'CopySnapshot',
  488. ],
  489. 'service' => 'ec2',
  490. 'presign_param' => 'PresignedUrl',
  491. ]
  492. ),
  493. 'ec2.copy_snapshot'
  494. );
  495. };
  496. parent::__construct($args);
  497. }
  498. /**
  499. * @internal
  500. * @codeCoverageIgnore
  501. */
  502. public static function applyDocFilters(array $api, array $docs)
  503. {
  504. // Several copy snapshot parameters are optional.
  505. $docs['shapes']['String']['refs']['CopySnapshotRequest$PresignedUrl']
  506. = '<div class="alert alert-info">The SDK will compute this value '
  507. . 'for you on your behalf.</div>';
  508. $docs['shapes']['String']['refs']['CopySnapshotRequest$DestinationRegion']
  509. = '<div class="alert alert-info">The SDK will populate this '
  510. . 'parameter on your behalf using the configured region value of '
  511. . 'the client.</div>';
  512. return [
  513. new Service($api, ApiProvider::defaultProvider()),
  514. new DocModel($docs)
  515. ];
  516. }
  517. }