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