public class AmazonEC2AsyncClient extends AmazonEC2Client implements AmazonEC2Async
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.
Amazon EC2's simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon's proven computing environment. Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change. Amazon EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use. Amazon EC2 provides developers the tools to build failure resilient applications and isolate themselves from common failure scenarios.
Visit http://aws.amazon.com/ec2/ for more information.
| Constructor and Description |
|---|
AmazonEC2AsyncClient()
Constructs a new asynchronous client to invoke service methods on
AmazonEC2.
|
AmazonEC2AsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AmazonEC2 using the specified AWS account credentials.
|
AmazonEC2AsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonEC2 using the specified AWS account credentials,
executor service, and client configuration options.
|
AmazonEC2AsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonEC2 using the specified AWS account credentials
and executor service.
|
AmazonEC2AsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AmazonEC2 using the specified AWS account credentials provider.
|
AmazonEC2AsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonEC2 using the specified AWS account credentials
provider and client configuration options.
|
AmazonEC2AsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonEC2 using the specified AWS account credentials
provider, executor service, and client configuration options.
|
AmazonEC2AsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonEC2 using the specified AWS account credentials provider
and executor service.
|
AmazonEC2AsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonEC2.
|
activateLicense, allocateAddress, allocateAddress, assignPrivateIpAddresses, associateAddress, associateDhcpOptions, associateRouteTable, attachInternetGateway, attachNetworkInterface, attachVolume, attachVpnGateway, authorizeSecurityGroupEgress, authorizeSecurityGroupIngress, authorizeSecurityGroupIngress, bundleInstance, cancelBundleTask, cancelConversionTask, cancelExportTask, cancelReservedInstancesListing, cancelSpotInstanceRequests, confirmProductInstance, copyImage, copySnapshot, createCustomerGateway, createDhcpOptions, createImage, createInstanceExportTask, createInternetGateway, createInternetGateway, createKeyPair, createNetworkAcl, createNetworkAclEntry, createNetworkInterface, createPlacementGroup, createReservedInstancesListing, createRoute, createRouteTable, createSecurityGroup, createSnapshot, createSpotDatafeedSubscription, createSubnet, createTags, createVolume, createVpc, createVpnConnection, createVpnConnectionRoute, createVpnGateway, deactivateLicense, deleteCustomerGateway, deleteDhcpOptions, deleteInternetGateway, deleteKeyPair, deleteNetworkAcl, deleteNetworkAclEntry, deleteNetworkInterface, deletePlacementGroup, deleteRoute, deleteRouteTable, deleteSecurityGroup, deleteSecurityGroup, deleteSnapshot, deleteSpotDatafeedSubscription, deleteSpotDatafeedSubscription, deleteSubnet, deleteTags, deleteVolume, deleteVpc, deleteVpnConnection, deleteVpnConnectionRoute, deleteVpnGateway, deregisterImage, describeAccountAttributes, describeAccountAttributes, describeAddresses, describeAddresses, describeAvailabilityZones, describeAvailabilityZones, describeBundleTasks, describeBundleTasks, describeConversionTasks, describeConversionTasks, describeCustomerGateways, describeCustomerGateways, describeDhcpOptions, describeDhcpOptions, describeExportTasks, describeExportTasks, describeImageAttribute, describeImages, describeImages, describeInstanceAttribute, describeInstances, describeInstances, describeInstanceStatus, describeInstanceStatus, describeInternetGateways, describeInternetGateways, describeKeyPairs, describeKeyPairs, describeLicenses, describeLicenses, describeNetworkAcls, describeNetworkAcls, describeNetworkInterfaceAttribute, describeNetworkInterfaces, describeNetworkInterfaces, describePlacementGroups, describePlacementGroups, describeRegions, describeRegions, describeReservedInstances, describeReservedInstances, describeReservedInstancesListings, describeReservedInstancesListings, describeReservedInstancesModifications, describeReservedInstancesModifications, describeReservedInstancesOfferings, describeReservedInstancesOfferings, describeRouteTables, describeRouteTables, describeSecurityGroups, describeSecurityGroups, describeSnapshotAttribute, describeSnapshots, describeSnapshots, describeSpotDatafeedSubscription, describeSpotDatafeedSubscription, describeSpotInstanceRequests, describeSpotInstanceRequests, describeSpotPriceHistory, describeSpotPriceHistory, describeSubnets, describeSubnets, describeTags, describeTags, describeVolumeAttribute, describeVolumes, describeVolumes, describeVolumeStatus, describeVolumeStatus, describeVpcAttribute, describeVpcs, describeVpcs, describeVpnConnections, describeVpnConnections, describeVpnGateways, describeVpnGateways, detachInternetGateway, detachNetworkInterface, detachVolume, detachVpnGateway, disableVgwRoutePropagation, disassociateAddress, disassociateAddress, disassociateRouteTable, dryRun, enableVgwRoutePropagation, enableVolumeIO, getCachedResponseMetadata, getConsoleOutput, getPasswordData, importInstance, importKeyPair, importVolume, importVolume, modifyImageAttribute, modifyInstanceAttribute, modifyNetworkInterfaceAttribute, modifyReservedInstances, modifySnapshotAttribute, modifyVolumeAttribute, modifyVpcAttribute, monitorInstances, purchaseReservedInstancesOffering, rebootInstances, registerImage, registerImage, releaseAddress, releaseAddress, replaceNetworkAclAssociation, replaceNetworkAclEntry, replaceRoute, replaceRouteTableAssociation, reportInstanceStatus, reportInstanceStatus, requestSpotInstances, resetImageAttribute, resetInstanceAttribute, resetNetworkInterfaceAttribute, resetSnapshotAttribute, revokeSecurityGroupEgress, revokeSecurityGroupIngress, revokeSecurityGroupIngress, runInstances, startInstances, stopInstances, terminateInstances, unassignPrivateIpAddresses, unmonitorInstancesaddRequestHandler, getRequestMetricsCollector, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivateLicense, allocateAddress, allocateAddress, assignPrivateIpAddresses, associateAddress, associateDhcpOptions, associateRouteTable, attachInternetGateway, attachNetworkInterface, attachVolume, attachVpnGateway, authorizeSecurityGroupEgress, authorizeSecurityGroupIngress, authorizeSecurityGroupIngress, bundleInstance, cancelBundleTask, cancelConversionTask, cancelExportTask, cancelReservedInstancesListing, cancelSpotInstanceRequests, confirmProductInstance, copyImage, copySnapshot, createCustomerGateway, createDhcpOptions, createImage, createInstanceExportTask, createInternetGateway, createInternetGateway, createKeyPair, createNetworkAcl, createNetworkAclEntry, createNetworkInterface, createPlacementGroup, createReservedInstancesListing, createRoute, createRouteTable, createSecurityGroup, createSnapshot, createSpotDatafeedSubscription, createSubnet, createTags, createVolume, createVpc, createVpnConnection, createVpnConnectionRoute, createVpnGateway, deactivateLicense, deleteCustomerGateway, deleteDhcpOptions, deleteInternetGateway, deleteKeyPair, deleteNetworkAcl, deleteNetworkAclEntry, deleteNetworkInterface, deletePlacementGroup, deleteRoute, deleteRouteTable, deleteSecurityGroup, deleteSecurityGroup, deleteSnapshot, deleteSpotDatafeedSubscription, deleteSpotDatafeedSubscription, deleteSubnet, deleteTags, deleteVolume, deleteVpc, deleteVpnConnection, deleteVpnConnectionRoute, deleteVpnGateway, deregisterImage, describeAccountAttributes, describeAccountAttributes, describeAddresses, describeAddresses, describeAvailabilityZones, describeAvailabilityZones, describeBundleTasks, describeBundleTasks, describeConversionTasks, describeConversionTasks, describeCustomerGateways, describeCustomerGateways, describeDhcpOptions, describeDhcpOptions, describeExportTasks, describeExportTasks, describeImageAttribute, describeImages, describeImages, describeInstanceAttribute, describeInstances, describeInstances, describeInstanceStatus, describeInstanceStatus, describeInternetGateways, describeInternetGateways, describeKeyPairs, describeKeyPairs, describeLicenses, describeLicenses, describeNetworkAcls, describeNetworkAcls, describeNetworkInterfaceAttribute, describeNetworkInterfaces, describeNetworkInterfaces, describePlacementGroups, describePlacementGroups, describeRegions, describeRegions, describeReservedInstances, describeReservedInstances, describeReservedInstancesListings, describeReservedInstancesListings, describeReservedInstancesModifications, describeReservedInstancesModifications, describeReservedInstancesOfferings, describeReservedInstancesOfferings, describeRouteTables, describeRouteTables, describeSecurityGroups, describeSecurityGroups, describeSnapshotAttribute, describeSnapshots, describeSnapshots, describeSpotDatafeedSubscription, describeSpotDatafeedSubscription, describeSpotInstanceRequests, describeSpotInstanceRequests, describeSpotPriceHistory, describeSpotPriceHistory, describeSubnets, describeSubnets, describeTags, describeTags, describeVolumeAttribute, describeVolumes, describeVolumes, describeVolumeStatus, describeVolumeStatus, describeVpcAttribute, describeVpcs, describeVpcs, describeVpnConnections, describeVpnConnections, describeVpnGateways, describeVpnGateways, detachInternetGateway, detachNetworkInterface, detachVolume, detachVpnGateway, disableVgwRoutePropagation, disassociateAddress, disassociateAddress, disassociateRouteTable, dryRun, enableVgwRoutePropagation, enableVolumeIO, getCachedResponseMetadata, getConsoleOutput, getPasswordData, importInstance, importKeyPair, importVolume, importVolume, modifyImageAttribute, modifyInstanceAttribute, modifyNetworkInterfaceAttribute, modifyReservedInstances, modifySnapshotAttribute, modifyVolumeAttribute, modifyVpcAttribute, monitorInstances, purchaseReservedInstancesOffering, rebootInstances, registerImage, registerImage, releaseAddress, releaseAddress, replaceNetworkAclAssociation, replaceNetworkAclEntry, replaceRoute, replaceRouteTableAssociation, reportInstanceStatus, reportInstanceStatus, requestSpotInstances, resetImageAttribute, resetInstanceAttribute, resetNetworkInterfaceAttribute, resetSnapshotAttribute, revokeSecurityGroupEgress, revokeSecurityGroupIngress, revokeSecurityGroupIngress, runInstances, setEndpoint, setRegion, startInstances, stopInstances, terminateInstances, unassignPrivateIpAddresses, unmonitorInstancespublic AmazonEC2AsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChainpublic AmazonEC2AsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this
client connects to AmazonEC2
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChainpublic AmazonEC2AsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonEC2AsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.executorService - The executor service by which all asynchronous requests will
be executed.public AmazonEC2AsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).executorService - The executor service by which all asynchronous requests will
be executed.public AmazonEC2AsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonEC2AsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.executorService - The executor service by which all asynchronous requests will
be executed.public AmazonEC2AsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).public AmazonEC2AsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).executorService - The executor service by which all asynchronous requests will
be executed.public ExecutorService getExecutorService()
public void shutdown()
shutdown in interface AmazonEC2shutdown in class AmazonWebServiceClientpublic Future<Void> rebootInstancesAsync(RebootInstancesRequest rebootInstancesRequest) throws AmazonServiceException, AmazonClientException
The RebootInstances operation requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instance(s). The operation will succeed if the instances are valid and belong to the user. Requests to reboot terminated instances are ignored.
rebootInstancesAsync in interface AmazonEC2AsyncrebootInstancesRequest - Container for the necessary parameters
to execute the RebootInstances operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> rebootInstancesAsync(RebootInstancesRequest rebootInstancesRequest, AsyncHandler<RebootInstancesRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The RebootInstances operation requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instance(s). The operation will succeed if the instances are valid and belong to the user. Requests to reboot terminated instances are ignored.
rebootInstancesAsync in interface AmazonEC2AsyncrebootInstancesRequest - Container for the necessary parameters
to execute the RebootInstances operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReservedInstancesResult> describeReservedInstancesAsync(DescribeReservedInstancesRequest describeReservedInstancesRequest) throws AmazonServiceException, AmazonClientException
The DescribeReservedInstances operation describes Reserved Instances that were purchased for use with your account.
describeReservedInstancesAsync in interface AmazonEC2AsyncdescribeReservedInstancesRequest - Container for the necessary
parameters to execute the DescribeReservedInstances operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReservedInstancesResult> describeReservedInstancesAsync(DescribeReservedInstancesRequest describeReservedInstancesRequest, AsyncHandler<DescribeReservedInstancesRequest,DescribeReservedInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeReservedInstances operation describes Reserved Instances that were purchased for use with your account.
describeReservedInstancesAsync in interface AmazonEC2AsyncdescribeReservedInstancesRequest - Container for the necessary
parameters to execute the DescribeReservedInstances operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAvailabilityZonesResult> describeAvailabilityZonesAsync(DescribeAvailabilityZonesRequest describeAvailabilityZonesRequest) throws AmazonServiceException, AmazonClientException
The DescribeAvailabilityZones operation describes availability zones that are currently available to the account and their states.
Availability zones are not the same across accounts. The availability
zone us-east-1a for account A is not necessarily the same
as us-east-1a for account B. Zone assignments are mapped
independently for each account.
describeAvailabilityZonesAsync in interface AmazonEC2AsyncdescribeAvailabilityZonesRequest - Container for the necessary
parameters to execute the DescribeAvailabilityZones operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAvailabilityZonesResult> describeAvailabilityZonesAsync(DescribeAvailabilityZonesRequest describeAvailabilityZonesRequest, AsyncHandler<DescribeAvailabilityZonesRequest,DescribeAvailabilityZonesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeAvailabilityZones operation describes availability zones that are currently available to the account and their states.
Availability zones are not the same across accounts. The availability
zone us-east-1a for account A is not necessarily the same
as us-east-1a for account B. Zone assignments are mapped
independently for each account.
describeAvailabilityZonesAsync in interface AmazonEC2AsyncdescribeAvailabilityZonesRequest - Container for the necessary
parameters to execute the DescribeAvailabilityZones operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DetachVolumeResult> detachVolumeAsync(DetachVolumeRequest detachVolumeRequest) throws AmazonServiceException, AmazonClientException
Detach a previously attached volume from a running instance.
detachVolumeAsync in interface AmazonEC2AsyncdetachVolumeRequest - Container for the necessary parameters to
execute the DetachVolume operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DetachVolumeResult> detachVolumeAsync(DetachVolumeRequest detachVolumeRequest, AsyncHandler<DetachVolumeRequest,DetachVolumeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Detach a previously attached volume from a running instance.
detachVolumeAsync in interface AmazonEC2AsyncdetachVolumeRequest - Container for the necessary parameters to
execute the DetachVolume operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteKeyPairAsync(DeleteKeyPairRequest deleteKeyPairRequest) throws AmazonServiceException, AmazonClientException
The DeleteKeyPair operation deletes a key pair.
deleteKeyPairAsync in interface AmazonEC2AsyncdeleteKeyPairRequest - Container for the necessary parameters to
execute the DeleteKeyPair operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteKeyPairAsync(DeleteKeyPairRequest deleteKeyPairRequest, AsyncHandler<DeleteKeyPairRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The DeleteKeyPair operation deletes a key pair.
deleteKeyPairAsync in interface AmazonEC2AsyncdeleteKeyPairRequest - Container for the necessary parameters to
execute the DeleteKeyPair operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<UnmonitorInstancesResult> unmonitorInstancesAsync(UnmonitorInstancesRequest unmonitorInstancesRequest) throws AmazonServiceException, AmazonClientException
Disables monitoring for a running instance.
unmonitorInstancesAsync in interface AmazonEC2AsyncunmonitorInstancesRequest - Container for the necessary
parameters to execute the UnmonitorInstances operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<UnmonitorInstancesResult> unmonitorInstancesAsync(UnmonitorInstancesRequest unmonitorInstancesRequest, AsyncHandler<UnmonitorInstancesRequest,UnmonitorInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Disables monitoring for a running instance.
unmonitorInstancesAsync in interface AmazonEC2AsyncunmonitorInstancesRequest - Container for the necessary
parameters to execute the UnmonitorInstances operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AttachVpnGatewayResult> attachVpnGatewayAsync(AttachVpnGatewayRequest attachVpnGatewayRequest) throws AmazonServiceException, AmazonClientException
Attaches a VPN gateway to a VPC. This is the last step required to get your VPC fully connected to your data center before launching instances in it. For more information, go to Process for Using Amazon VPC in the Amazon Virtual Private Cloud Developer Guide.
attachVpnGatewayAsync in interface AmazonEC2AsyncattachVpnGatewayRequest - Container for the necessary parameters
to execute the AttachVpnGateway operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AttachVpnGatewayResult> attachVpnGatewayAsync(AttachVpnGatewayRequest attachVpnGatewayRequest, AsyncHandler<AttachVpnGatewayRequest,AttachVpnGatewayResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Attaches a VPN gateway to a VPC. This is the last step required to get your VPC fully connected to your data center before launching instances in it. For more information, go to Process for Using Amazon VPC in the Amazon Virtual Private Cloud Developer Guide.
attachVpnGatewayAsync in interface AmazonEC2AsyncattachVpnGatewayRequest - Container for the necessary parameters
to execute the AttachVpnGateway operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateImageResult> createImageAsync(CreateImageRequest createImageRequest) throws AmazonServiceException, AmazonClientException
Creates an Amazon EBS-backed AMI from a "running" or "stopped" instance. AMIs that use an Amazon EBS root device boot faster than AMIs that use instance stores. They can be up to 1 TiB in size, use storage that persists on instance failure, and can be stopped and started.
createImageAsync in interface AmazonEC2AsynccreateImageRequest - Container for the necessary parameters to
execute the CreateImage operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateImageResult> createImageAsync(CreateImageRequest createImageRequest, AsyncHandler<CreateImageRequest,CreateImageResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates an Amazon EBS-backed AMI from a "running" or "stopped" instance. AMIs that use an Amazon EBS root device boot faster than AMIs that use instance stores. They can be up to 1 TiB in size, use storage that persists on instance failure, and can be stopped and started.
createImageAsync in interface AmazonEC2AsynccreateImageRequest - Container for the necessary parameters to
execute the CreateImage operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteSecurityGroupAsync(DeleteSecurityGroupRequest deleteSecurityGroupRequest) throws AmazonServiceException, AmazonClientException
The DeleteSecurityGroup operation deletes a security group.
NOTE: If you attempt to delete a security group that contains instances, a fault is returned. If you attempt to delete a security group that is referenced by another security group, a fault is returned. For example, if security group B has a rule that allows access from security group A, security group A cannot be deleted until the allow rule is removed.
deleteSecurityGroupAsync in interface AmazonEC2AsyncdeleteSecurityGroupRequest - Container for the necessary
parameters to execute the DeleteSecurityGroup operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteSecurityGroupAsync(DeleteSecurityGroupRequest deleteSecurityGroupRequest, AsyncHandler<DeleteSecurityGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The DeleteSecurityGroup operation deletes a security group.
NOTE: If you attempt to delete a security group that contains instances, a fault is returned. If you attempt to delete a security group that is referenced by another security group, a fault is returned. For example, if security group B has a rule that allows access from security group A, security group A cannot be deleted until the allow rule is removed.
deleteSecurityGroupAsync in interface AmazonEC2AsyncdeleteSecurityGroupRequest - Container for the necessary
parameters to execute the DeleteSecurityGroup operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateInstanceExportTaskResult> createInstanceExportTaskAsync(CreateInstanceExportTaskRequest createInstanceExportTaskRequest) throws AmazonServiceException, AmazonClientException
createInstanceExportTaskAsync in interface AmazonEC2AsynccreateInstanceExportTaskRequest - Container for the necessary
parameters to execute the CreateInstanceExportTask operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateInstanceExportTaskResult> createInstanceExportTaskAsync(CreateInstanceExportTaskRequest createInstanceExportTaskRequest, AsyncHandler<CreateInstanceExportTaskRequest,CreateInstanceExportTaskResult> asyncHandler) throws AmazonServiceException, AmazonClientException
createInstanceExportTaskAsync in interface AmazonEC2AsynccreateInstanceExportTaskRequest - Container for the necessary
parameters to execute the CreateInstanceExportTask operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<GetPasswordDataResult> getPasswordDataAsync(GetPasswordDataRequest getPasswordDataRequest) throws AmazonServiceException, AmazonClientException
Retrieves the encrypted administrator password for the instances running Windows.
NOTE: The Windows password is only generated the first time an AMI is launched. It is not generated for rebundled AMIs or after the password is changed on an instance. The password is encrypted using the key pair that you provided.
getPasswordDataAsync in interface AmazonEC2AsyncgetPasswordDataRequest - Container for the necessary parameters
to execute the GetPasswordData operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<GetPasswordDataResult> getPasswordDataAsync(GetPasswordDataRequest getPasswordDataRequest, AsyncHandler<GetPasswordDataRequest,GetPasswordDataResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Retrieves the encrypted administrator password for the instances running Windows.
NOTE: The Windows password is only generated the first time an AMI is launched. It is not generated for rebundled AMIs or after the password is changed on an instance. The password is encrypted using the key pair that you provided.
getPasswordDataAsync in interface AmazonEC2AsyncgetPasswordDataRequest - Container for the necessary parameters
to execute the GetPasswordData operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> associateDhcpOptionsAsync(AssociateDhcpOptionsRequest associateDhcpOptionsRequest) throws AmazonServiceException, AmazonClientException
Associates a set of DHCP options (that you've previously created) with the specified VPC. Or, associates the default DHCP options with the VPC. The default set consists of the standard EC2 host name, no domain name, no DNS server, no NTP server, and no NetBIOS server or node type. After you associate the options with the VPC, any existing instances and all new instances that you launch in that VPC use the options. For more information about the supported DHCP options and using them with Amazon VPC, go to Using DHCP Options in the Amazon Virtual Private Cloud Developer Guide.
associateDhcpOptionsAsync in interface AmazonEC2AsyncassociateDhcpOptionsRequest - Container for the necessary
parameters to execute the AssociateDhcpOptions operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> associateDhcpOptionsAsync(AssociateDhcpOptionsRequest associateDhcpOptionsRequest, AsyncHandler<AssociateDhcpOptionsRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Associates a set of DHCP options (that you've previously created) with the specified VPC. Or, associates the default DHCP options with the VPC. The default set consists of the standard EC2 host name, no domain name, no DNS server, no NTP server, and no NetBIOS server or node type. After you associate the options with the VPC, any existing instances and all new instances that you launch in that VPC use the options. For more information about the supported DHCP options and using them with Amazon VPC, go to Using DHCP Options in the Amazon Virtual Private Cloud Developer Guide.
associateDhcpOptionsAsync in interface AmazonEC2AsyncassociateDhcpOptionsRequest - Container for the necessary
parameters to execute the AssociateDhcpOptions operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> authorizeSecurityGroupEgressAsync(AuthorizeSecurityGroupEgressRequest authorizeSecurityGroupEgressRequest) throws AmazonServiceException, AmazonClientException
This action applies only to security groups in a VPC; it's not supported for EC2 security groups. For information about Amazon Virtual Private Cloud and VPC security groups, go to the Amazon Virtual Private Cloud User Guide.
The action adds one or more egress rules to a VPC security group. Specifically, this permits instances in a security group to send traffic to either one or more destination CIDR IP address ranges, or to one or more destination security groups in the same VPC.
Each rule consists of the protocol (e.g., TCP), plus either a CIDR
range, or a source group. For the TCP and UDP protocols, you must also
specify the destination port or port range. For the ICMP protocol, you
must also specify the ICMP type and code. You can use -1
as a wildcard for the ICMP type or code.
Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
Important: For VPC security groups: You can have up to 50 rules total per group (covering both ingress and egress).
authorizeSecurityGroupEgressAsync in interface AmazonEC2AsyncauthorizeSecurityGroupEgressRequest - Container for the necessary
parameters to execute the AuthorizeSecurityGroupEgress operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> authorizeSecurityGroupEgressAsync(AuthorizeSecurityGroupEgressRequest authorizeSecurityGroupEgressRequest, AsyncHandler<AuthorizeSecurityGroupEgressRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
This action applies only to security groups in a VPC; it's not supported for EC2 security groups. For information about Amazon Virtual Private Cloud and VPC security groups, go to the Amazon Virtual Private Cloud User Guide.
The action adds one or more egress rules to a VPC security group. Specifically, this permits instances in a security group to send traffic to either one or more destination CIDR IP address ranges, or to one or more destination security groups in the same VPC.
Each rule consists of the protocol (e.g., TCP), plus either a CIDR
range, or a source group. For the TCP and UDP protocols, you must also
specify the destination port or port range. For the ICMP protocol, you
must also specify the ICMP type and code. You can use -1
as a wildcard for the ICMP type or code.
Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
Important: For VPC security groups: You can have up to 50 rules total per group (covering both ingress and egress).
authorizeSecurityGroupEgressAsync in interface AmazonEC2AsyncauthorizeSecurityGroupEgressRequest - Container for the necessary
parameters to execute the AuthorizeSecurityGroupEgress operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<StopInstancesResult> stopInstancesAsync(StopInstancesRequest stopInstancesRequest) throws AmazonServiceException, AmazonClientException
Stops an instance that uses an Amazon EBS volume as its root device. Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for hourly instance usage. However, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time.
NOTE: Before stopping an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM. Performing this operation on an instance that uses an instance store as its root device returns an error.
stopInstancesAsync in interface AmazonEC2AsyncstopInstancesRequest - Container for the necessary parameters to
execute the StopInstances operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<StopInstancesResult> stopInstancesAsync(StopInstancesRequest stopInstancesRequest, AsyncHandler<StopInstancesRequest,StopInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Stops an instance that uses an Amazon EBS volume as its root device. Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for hourly instance usage. However, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time.
NOTE: Before stopping an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM. Performing this operation on an instance that uses an instance store as its root device returns an error.
stopInstancesAsync in interface AmazonEC2AsyncstopInstancesRequest - Container for the necessary parameters to
execute the StopInstances operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ImportKeyPairResult> importKeyPairAsync(ImportKeyPairRequest importKeyPairRequest) throws AmazonServiceException, AmazonClientException
Imports the public key from an RSA key pair created with a third-party tool. This operation differs from CreateKeyPair as the private key is never transferred between the caller and AWS servers.
RSA key pairs are easily created on Microsoft Windows and Linux OS
systems using the ssh-keygen command line tool provided
with the standard OpenSSH installation. Standard library support for
RSA key pair creation is also available for Java, Ruby, Python, and
many other programming languages.
The following formats are supported:
importKeyPairAsync in interface AmazonEC2AsyncimportKeyPairRequest - Container for the necessary parameters to
execute the ImportKeyPair operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ImportKeyPairResult> importKeyPairAsync(ImportKeyPairRequest importKeyPairRequest, AsyncHandler<ImportKeyPairRequest,ImportKeyPairResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Imports the public key from an RSA key pair created with a third-party tool. This operation differs from CreateKeyPair as the private key is never transferred between the caller and AWS servers.
RSA key pairs are easily created on Microsoft Windows and Linux OS
systems using the ssh-keygen command line tool provided
with the standard OpenSSH installation. Standard library support for
RSA key pair creation is also available for Java, Ruby, Python, and
many other programming languages.
The following formats are supported:
importKeyPairAsync in interface AmazonEC2AsyncimportKeyPairRequest - Container for the necessary parameters to
execute the ImportKeyPair operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteNetworkInterfaceAsync(DeleteNetworkInterfaceRequest deleteNetworkInterfaceRequest) throws AmazonServiceException, AmazonClientException
deleteNetworkInterfaceAsync in interface AmazonEC2AsyncdeleteNetworkInterfaceRequest - Container for the necessary
parameters to execute the DeleteNetworkInterface operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteNetworkInterfaceAsync(DeleteNetworkInterfaceRequest deleteNetworkInterfaceRequest, AsyncHandler<DeleteNetworkInterfaceRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
deleteNetworkInterfaceAsync in interface AmazonEC2AsyncdeleteNetworkInterfaceRequest - Container for the necessary
parameters to execute the DeleteNetworkInterface operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifyVpcAttributeAsync(ModifyVpcAttributeRequest modifyVpcAttributeRequest) throws AmazonServiceException, AmazonClientException
modifyVpcAttributeAsync in interface AmazonEC2AsyncmodifyVpcAttributeRequest - Container for the necessary
parameters to execute the ModifyVpcAttribute operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifyVpcAttributeAsync(ModifyVpcAttributeRequest modifyVpcAttributeRequest, AsyncHandler<ModifyVpcAttributeRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
modifyVpcAttributeAsync in interface AmazonEC2AsyncmodifyVpcAttributeRequest - Container for the necessary
parameters to execute the ModifyVpcAttribute operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateSecurityGroupResult> createSecurityGroupAsync(CreateSecurityGroupRequest createSecurityGroupRequest) throws AmazonServiceException, AmazonClientException
The CreateSecurityGroup operation creates a new security group.
Every instance is launched in a security group. If no security group is specified during launch, the instances are launched in the default security group. Instances within the same security group have unrestricted network access to each other. Instances will reject network access attempts from other instances in a different security group. As the owner of instances you can grant or revoke specific permissions using the AuthorizeSecurityGroupIngress and RevokeSecurityGroupIngress operations.
createSecurityGroupAsync in interface AmazonEC2AsynccreateSecurityGroupRequest - Container for the necessary
parameters to execute the CreateSecurityGroup operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateSecurityGroupResult> createSecurityGroupAsync(CreateSecurityGroupRequest createSecurityGroupRequest, AsyncHandler<CreateSecurityGroupRequest,CreateSecurityGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The CreateSecurityGroup operation creates a new security group.
Every instance is launched in a security group. If no security group is specified during launch, the instances are launched in the default security group. Instances within the same security group have unrestricted network access to each other. Instances will reject network access attempts from other instances in a different security group. As the owner of instances you can grant or revoke specific permissions using the AuthorizeSecurityGroupIngress and RevokeSecurityGroupIngress operations.
createSecurityGroupAsync in interface AmazonEC2AsynccreateSecurityGroupRequest - Container for the necessary
parameters to execute the CreateSecurityGroup operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSpotPriceHistoryResult> describeSpotPriceHistoryAsync(DescribeSpotPriceHistoryRequest describeSpotPriceHistoryRequest) throws AmazonServiceException, AmazonClientException
Describes the Spot Price history.
Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
describeSpotPriceHistoryAsync in interface AmazonEC2AsyncdescribeSpotPriceHistoryRequest - Container for the necessary
parameters to execute the DescribeSpotPriceHistory operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSpotPriceHistoryResult> describeSpotPriceHistoryAsync(DescribeSpotPriceHistoryRequest describeSpotPriceHistoryRequest, AsyncHandler<DescribeSpotPriceHistoryRequest,DescribeSpotPriceHistoryResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the Spot Price history.
Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
describeSpotPriceHistoryAsync in interface AmazonEC2AsyncdescribeSpotPriceHistoryRequest - Container for the necessary
parameters to execute the DescribeSpotPriceHistory operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeNetworkInterfacesResult> describeNetworkInterfacesAsync(DescribeNetworkInterfacesRequest describeNetworkInterfacesRequest) throws AmazonServiceException, AmazonClientException
describeNetworkInterfacesAsync in interface AmazonEC2AsyncdescribeNetworkInterfacesRequest - Container for the necessary
parameters to execute the DescribeNetworkInterfaces operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeNetworkInterfacesResult> describeNetworkInterfacesAsync(DescribeNetworkInterfacesRequest describeNetworkInterfacesRequest, AsyncHandler<DescribeNetworkInterfacesRequest,DescribeNetworkInterfacesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
describeNetworkInterfacesAsync in interface AmazonEC2AsyncdescribeNetworkInterfacesRequest - Container for the necessary
parameters to execute the DescribeNetworkInterfaces operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeRegionsResult> describeRegionsAsync(DescribeRegionsRequest describeRegionsRequest) throws AmazonServiceException, AmazonClientException
The DescribeRegions operation describes regions zones that are currently available to the account.
describeRegionsAsync in interface AmazonEC2AsyncdescribeRegionsRequest - Container for the necessary parameters
to execute the DescribeRegions operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeRegionsResult> describeRegionsAsync(DescribeRegionsRequest describeRegionsRequest, AsyncHandler<DescribeRegionsRequest,DescribeRegionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeRegions operation describes regions zones that are currently available to the account.
describeRegionsAsync in interface AmazonEC2AsyncdescribeRegionsRequest - Container for the necessary parameters
to execute the DescribeRegions operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateReservedInstancesListingResult> createReservedInstancesListingAsync(CreateReservedInstancesListingRequest createReservedInstancesListingRequest) throws AmazonServiceException, AmazonClientException
createReservedInstancesListingAsync in interface AmazonEC2AsynccreateReservedInstancesListingRequest - Container for the
necessary parameters to execute the CreateReservedInstancesListing
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateReservedInstancesListingResult> createReservedInstancesListingAsync(CreateReservedInstancesListingRequest createReservedInstancesListingRequest, AsyncHandler<CreateReservedInstancesListingRequest,CreateReservedInstancesListingResult> asyncHandler) throws AmazonServiceException, AmazonClientException
createReservedInstancesListingAsync in interface AmazonEC2AsynccreateReservedInstancesListingRequest - Container for the
necessary parameters to execute the CreateReservedInstancesListing
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDhcpOptionsResult> createDhcpOptionsAsync(CreateDhcpOptionsRequest createDhcpOptionsRequest) throws AmazonServiceException, AmazonClientException
Creates a set of DHCP options that you can then associate with one or more VPCs, causing all existing and new instances that you launch in those VPCs to use the set of DHCP options. The following table lists the individual DHCP options you can specify. For more information about the options, go to http://www.ietf.org/rfc/rfc2132.txt
createDhcpOptionsAsync in interface AmazonEC2AsynccreateDhcpOptionsRequest - Container for the necessary parameters
to execute the CreateDhcpOptions operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateDhcpOptionsResult> createDhcpOptionsAsync(CreateDhcpOptionsRequest createDhcpOptionsRequest, AsyncHandler<CreateDhcpOptionsRequest,CreateDhcpOptionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a set of DHCP options that you can then associate with one or more VPCs, causing all existing and new instances that you launch in those VPCs to use the set of DHCP options. The following table lists the individual DHCP options you can specify. For more information about the options, go to http://www.ietf.org/rfc/rfc2132.txt
createDhcpOptionsAsync in interface AmazonEC2AsynccreateDhcpOptionsRequest - Container for the necessary parameters
to execute the CreateDhcpOptions operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> resetSnapshotAttributeAsync(ResetSnapshotAttributeRequest resetSnapshotAttributeRequest) throws AmazonServiceException, AmazonClientException
Resets permission settings for the specified snapshot.
resetSnapshotAttributeAsync in interface AmazonEC2AsyncresetSnapshotAttributeRequest - Container for the necessary
parameters to execute the ResetSnapshotAttribute operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> resetSnapshotAttributeAsync(ResetSnapshotAttributeRequest resetSnapshotAttributeRequest, AsyncHandler<ResetSnapshotAttributeRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Resets permission settings for the specified snapshot.
resetSnapshotAttributeAsync in interface AmazonEC2AsyncresetSnapshotAttributeRequest - Container for the necessary
parameters to execute the ResetSnapshotAttribute operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteRouteAsync(DeleteRouteRequest deleteRouteRequest) throws AmazonServiceException, AmazonClientException
Deletes a route from a route table in a VPC. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
deleteRouteAsync in interface AmazonEC2AsyncdeleteRouteRequest - Container for the necessary parameters to
execute the DeleteRoute operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteRouteAsync(DeleteRouteRequest deleteRouteRequest, AsyncHandler<DeleteRouteRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a route from a route table in a VPC. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
deleteRouteAsync in interface AmazonEC2AsyncdeleteRouteRequest - Container for the necessary parameters to
execute the DeleteRoute operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeInternetGatewaysResult> describeInternetGatewaysAsync(DescribeInternetGatewaysRequest describeInternetGatewaysRequest) throws AmazonServiceException, AmazonClientException
Gives you information about your Internet gateways. You can filter the results to return information only about Internet gateways that match criteria you specify. For example, you could get information only about gateways with particular tags. The Internet gateway must match at least one of the specified values for it to be included in the results.
You can specify multiple filters (e.g., the Internet gateway is attached to a particular VPC and is tagged with a particular value). The result includes information for a particular Internet gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty.
You can use wildcards with the filter values: an asterisk matches
zero or more characters, and ? matches exactly one
character. You can escape special characters using a backslash before
the character. For example, a value of \*amazon\?\\
searches for the literal string *amazon?\ .
describeInternetGatewaysAsync in interface AmazonEC2AsyncdescribeInternetGatewaysRequest - Container for the necessary
parameters to execute the DescribeInternetGateways operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeInternetGatewaysResult> describeInternetGatewaysAsync(DescribeInternetGatewaysRequest describeInternetGatewaysRequest, AsyncHandler<DescribeInternetGatewaysRequest,DescribeInternetGatewaysResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gives you information about your Internet gateways. You can filter the results to return information only about Internet gateways that match criteria you specify. For example, you could get information only about gateways with particular tags. The Internet gateway must match at least one of the specified values for it to be included in the results.
You can specify multiple filters (e.g., the Internet gateway is attached to a particular VPC and is tagged with a particular value). The result includes information for a particular Internet gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty.
You can use wildcards with the filter values: an asterisk matches
zero or more characters, and ? matches exactly one
character. You can escape special characters using a backslash before
the character. For example, a value of \*amazon\?\\
searches for the literal string *amazon?\ .
describeInternetGatewaysAsync in interface AmazonEC2AsyncdescribeInternetGatewaysRequest - Container for the necessary
parameters to execute the DescribeInternetGateways operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ImportVolumeResult> importVolumeAsync(ImportVolumeRequest importVolumeRequest) throws AmazonServiceException, AmazonClientException
importVolumeAsync in interface AmazonEC2AsyncimportVolumeRequest - Container for the necessary parameters to
execute the ImportVolume operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ImportVolumeResult> importVolumeAsync(ImportVolumeRequest importVolumeRequest, AsyncHandler<ImportVolumeRequest,ImportVolumeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
importVolumeAsync in interface AmazonEC2AsyncimportVolumeRequest - Container for the necessary parameters to
execute the ImportVolume operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSecurityGroupsResult> describeSecurityGroupsAsync(DescribeSecurityGroupsRequest describeSecurityGroupsRequest) throws AmazonServiceException, AmazonClientException
The DescribeSecurityGroups operation returns information about security groups that you own.
If you specify security group names, information about those security group is returned. Otherwise, information for all security group is returned. If you specify a group that does not exist, a fault is returned.
describeSecurityGroupsAsync in interface AmazonEC2AsyncdescribeSecurityGroupsRequest - Container for the necessary
parameters to execute the DescribeSecurityGroups operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSecurityGroupsResult> describeSecurityGroupsAsync(DescribeSecurityGroupsRequest describeSecurityGroupsRequest, AsyncHandler<DescribeSecurityGroupsRequest,DescribeSecurityGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeSecurityGroups operation returns information about security groups that you own.
If you specify security group names, information about those security group is returned. Otherwise, information for all security group is returned. If you specify a group that does not exist, a fault is returned.
describeSecurityGroupsAsync in interface AmazonEC2AsyncdescribeSecurityGroupsRequest - Container for the necessary
parameters to execute the DescribeSecurityGroups operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> detachVpnGatewayAsync(DetachVpnGatewayRequest detachVpnGatewayRequest) throws AmazonServiceException, AmazonClientException
Detaches a VPN gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a VPN gateway has been completely detached from a VPC by describing the VPN gateway (any attachments to the VPN gateway are also described).
You must wait for the attachment's state to switch to detached before you can delete the VPC or attach a different VPC to the VPN gateway.
detachVpnGatewayAsync in interface AmazonEC2AsyncdetachVpnGatewayRequest - Container for the necessary parameters
to execute the DetachVpnGateway operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> detachVpnGatewayAsync(DetachVpnGatewayRequest detachVpnGatewayRequest, AsyncHandler<DetachVpnGatewayRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Detaches a VPN gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a VPN gateway has been completely detached from a VPC by describing the VPN gateway (any attachments to the VPN gateway are also described).
You must wait for the attachment's state to switch to detached before you can delete the VPC or attach a different VPC to the VPN gateway.
detachVpnGatewayAsync in interface AmazonEC2AsyncdetachVpnGatewayRequest - Container for the necessary parameters
to execute the DetachVpnGateway operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deregisterImageAsync(DeregisterImageRequest deregisterImageRequest) throws AmazonServiceException, AmazonClientException
The DeregisterImage operation deregisters an AMI. Once deregistered, instances of the AMI can no longer be launched.
deregisterImageAsync in interface AmazonEC2AsyncderegisterImageRequest - Container for the necessary parameters
to execute the DeregisterImage operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deregisterImageAsync(DeregisterImageRequest deregisterImageRequest, AsyncHandler<DeregisterImageRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The DeregisterImage operation deregisters an AMI. Once deregistered, instances of the AMI can no longer be launched.
deregisterImageAsync in interface AmazonEC2AsyncderegisterImageRequest - Container for the necessary parameters
to execute the DeregisterImage operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSpotDatafeedSubscriptionResult> describeSpotDatafeedSubscriptionAsync(DescribeSpotDatafeedSubscriptionRequest describeSpotDatafeedSubscriptionRequest) throws AmazonServiceException, AmazonClientException
Describes the data feed for Spot Instances.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
describeSpotDatafeedSubscriptionAsync in interface AmazonEC2AsyncdescribeSpotDatafeedSubscriptionRequest - Container for the
necessary parameters to execute the DescribeSpotDatafeedSubscription
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSpotDatafeedSubscriptionResult> describeSpotDatafeedSubscriptionAsync(DescribeSpotDatafeedSubscriptionRequest describeSpotDatafeedSubscriptionRequest, AsyncHandler<DescribeSpotDatafeedSubscriptionRequest,DescribeSpotDatafeedSubscriptionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the data feed for Spot Instances.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
describeSpotDatafeedSubscriptionAsync in interface AmazonEC2AsyncdescribeSpotDatafeedSubscriptionRequest - Container for the
necessary parameters to execute the DescribeSpotDatafeedSubscription
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteTagsAsync(DeleteTagsRequest deleteTagsRequest) throws AmazonServiceException, AmazonClientException
Deletes tags from the specified Amazon EC2 resources.
deleteTagsAsync in interface AmazonEC2AsyncdeleteTagsRequest - Container for the necessary parameters to
execute the DeleteTags operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteTagsAsync(DeleteTagsRequest deleteTagsRequest, AsyncHandler<DeleteTagsRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes tags from the specified Amazon EC2 resources.
deleteTagsAsync in interface AmazonEC2AsyncdeleteTagsRequest - Container for the necessary parameters to
execute the DeleteTags operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteSubnetAsync(DeleteSubnetRequest deleteSubnetRequest) throws AmazonServiceException, AmazonClientException
Deletes a subnet from a VPC. You must terminate all running instances in the subnet before deleting it, otherwise Amazon VPC returns an error.
deleteSubnetAsync in interface AmazonEC2AsyncdeleteSubnetRequest - Container for the necessary parameters to
execute the DeleteSubnet operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteSubnetAsync(DeleteSubnetRequest deleteSubnetRequest, AsyncHandler<DeleteSubnetRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a subnet from a VPC. You must terminate all running instances in the subnet before deleting it, otherwise Amazon VPC returns an error.
deleteSubnetAsync in interface AmazonEC2AsyncdeleteSubnetRequest - Container for the necessary parameters to
execute the DeleteSubnet operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAccountAttributesResult> describeAccountAttributesAsync(DescribeAccountAttributesRequest describeAccountAttributesRequest) throws AmazonServiceException, AmazonClientException
describeAccountAttributesAsync in interface AmazonEC2AsyncdescribeAccountAttributesRequest - Container for the necessary
parameters to execute the DescribeAccountAttributes operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAccountAttributesResult> describeAccountAttributesAsync(DescribeAccountAttributesRequest describeAccountAttributesRequest, AsyncHandler<DescribeAccountAttributesRequest,DescribeAccountAttributesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
describeAccountAttributesAsync in interface AmazonEC2AsyncdescribeAccountAttributesRequest - Container for the necessary
parameters to execute the DescribeAccountAttributes operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateVpnGatewayResult> createVpnGatewayAsync(CreateVpnGatewayRequest createVpnGatewayRequest) throws AmazonServiceException, AmazonClientException
Creates a new VPN gateway. A VPN gateway is the VPC-side endpoint for your VPN connection. You can create a VPN gateway before creating the VPC itself.
createVpnGatewayAsync in interface AmazonEC2AsynccreateVpnGatewayRequest - Container for the necessary parameters
to execute the CreateVpnGateway operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateVpnGatewayResult> createVpnGatewayAsync(CreateVpnGatewayRequest createVpnGatewayRequest, AsyncHandler<CreateVpnGatewayRequest,CreateVpnGatewayResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new VPN gateway. A VPN gateway is the VPC-side endpoint for your VPN connection. You can create a VPN gateway before creating the VPC itself.
createVpnGatewayAsync in interface AmazonEC2AsynccreateVpnGatewayRequest - Container for the necessary parameters
to execute the CreateVpnGateway operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> enableVolumeIOAsync(EnableVolumeIORequest enableVolumeIORequest) throws AmazonServiceException, AmazonClientException
Enable IO on the volume after an event has occured.
enableVolumeIOAsync in interface AmazonEC2AsyncenableVolumeIORequest - Container for the necessary parameters to
execute the EnableVolumeIO operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> enableVolumeIOAsync(EnableVolumeIORequest enableVolumeIORequest, AsyncHandler<EnableVolumeIORequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Enable IO on the volume after an event has occured.
enableVolumeIOAsync in interface AmazonEC2AsyncenableVolumeIORequest - Container for the necessary parameters to
execute the EnableVolumeIO operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVpnGatewayAsync(DeleteVpnGatewayRequest deleteVpnGatewayRequest) throws AmazonServiceException, AmazonClientException
Deletes a VPN gateway. Use this when you want to delete a VPC and all its associated components because you no longer need them. We recommend that before you delete a VPN gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the VPN gateway if you just want to delete and re-create the VPN connection between your VPC and data center.
deleteVpnGatewayAsync in interface AmazonEC2AsyncdeleteVpnGatewayRequest - Container for the necessary parameters
to execute the DeleteVpnGateway operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVpnGatewayAsync(DeleteVpnGatewayRequest deleteVpnGatewayRequest, AsyncHandler<DeleteVpnGatewayRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a VPN gateway. Use this when you want to delete a VPC and all its associated components because you no longer need them. We recommend that before you delete a VPN gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the VPN gateway if you just want to delete and re-create the VPN connection between your VPC and data center.
deleteVpnGatewayAsync in interface AmazonEC2AsyncdeleteVpnGatewayRequest - Container for the necessary parameters
to execute the DeleteVpnGateway operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AttachVolumeResult> attachVolumeAsync(AttachVolumeRequest attachVolumeRequest) throws AmazonServiceException, AmazonClientException
Attach a previously created volume to a running instance.
attachVolumeAsync in interface AmazonEC2AsyncattachVolumeRequest - Container for the necessary parameters to
execute the AttachVolume operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AttachVolumeResult> attachVolumeAsync(AttachVolumeRequest attachVolumeRequest, AsyncHandler<AttachVolumeRequest,AttachVolumeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Attach a previously created volume to a running instance.
attachVolumeAsync in interface AmazonEC2AsyncattachVolumeRequest - Container for the necessary parameters to
execute the AttachVolume operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLicensesResult> describeLicensesAsync(DescribeLicensesRequest describeLicensesRequest) throws AmazonServiceException, AmazonClientException
Provides details of a user's registered licenses. Zero or more IDs may be specified on the call. When one or more license IDs are specified, only data for the specified IDs are returned.
describeLicensesAsync in interface AmazonEC2AsyncdescribeLicensesRequest - Container for the necessary parameters
to execute the DescribeLicenses operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLicensesResult> describeLicensesAsync(DescribeLicensesRequest describeLicensesRequest, AsyncHandler<DescribeLicensesRequest,DescribeLicensesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Provides details of a user's registered licenses. Zero or more IDs may be specified on the call. When one or more license IDs are specified, only data for the specified IDs are returned.
describeLicensesAsync in interface AmazonEC2AsyncdescribeLicensesRequest - Container for the necessary parameters
to execute the DescribeLicenses operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVolumeStatusResult> describeVolumeStatusAsync(DescribeVolumeStatusRequest describeVolumeStatusRequest) throws AmazonServiceException, AmazonClientException
Describes the status of a volume.
describeVolumeStatusAsync in interface AmazonEC2AsyncdescribeVolumeStatusRequest - Container for the necessary
parameters to execute the DescribeVolumeStatus operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVolumeStatusResult> describeVolumeStatusAsync(DescribeVolumeStatusRequest describeVolumeStatusRequest, AsyncHandler<DescribeVolumeStatusRequest,DescribeVolumeStatusResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the status of a volume.
describeVolumeStatusAsync in interface AmazonEC2AsyncdescribeVolumeStatusRequest - Container for the necessary
parameters to execute the DescribeVolumeStatus operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> activateLicenseAsync(ActivateLicenseRequest activateLicenseRequest) throws AmazonServiceException, AmazonClientException
Activates a specific number of licenses for a 90-day period. Activations can be done against a specific license ID.
activateLicenseAsync in interface AmazonEC2AsyncactivateLicenseRequest - Container for the necessary parameters
to execute the ActivateLicense operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> activateLicenseAsync(ActivateLicenseRequest activateLicenseRequest, AsyncHandler<ActivateLicenseRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Activates a specific number of licenses for a 90-day period. Activations can be done against a specific license ID.
activateLicenseAsync in interface AmazonEC2AsyncactivateLicenseRequest - Container for the necessary parameters
to execute the ActivateLicense operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> resetImageAttributeAsync(ResetImageAttributeRequest resetImageAttributeRequest) throws AmazonServiceException, AmazonClientException
The ResetImageAttribute operation resets an attribute of an AMI to its default value.
NOTE: The productCodes attribute cannot be reset.
resetImageAttributeAsync in interface AmazonEC2AsyncresetImageAttributeRequest - Container for the necessary
parameters to execute the ResetImageAttribute operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> resetImageAttributeAsync(ResetImageAttributeRequest resetImageAttributeRequest, AsyncHandler<ResetImageAttributeRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The ResetImageAttribute operation resets an attribute of an AMI to its default value.
NOTE: The productCodes attribute cannot be reset.
resetImageAttributeAsync in interface AmazonEC2AsyncresetImageAttributeRequest - Container for the necessary
parameters to execute the ResetImageAttribute operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVpnConnectionsResult> describeVpnConnectionsAsync(DescribeVpnConnectionsRequest describeVpnConnectionsRequest) throws AmazonServiceException, AmazonClientException
Gives you information about your VPN connections.
IMPORTANT: We strongly recommend you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. You can filter the results to return information only about VPN connections that match criteria you specify. For example, you could ask to get information about a particular VPN connection (or all) only if the VPN's state is pending or available. You can specify multiple filters (e.g., the VPN connection is associated with a particular VPN gateway, and the gateway's state is pending or available). The result includes information for a particular VPN connection only if the VPN connection matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
describeVpnConnectionsAsync in interface AmazonEC2AsyncdescribeVpnConnectionsRequest - Container for the necessary
parameters to execute the DescribeVpnConnections operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVpnConnectionsResult> describeVpnConnectionsAsync(DescribeVpnConnectionsRequest describeVpnConnectionsRequest, AsyncHandler<DescribeVpnConnectionsRequest,DescribeVpnConnectionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gives you information about your VPN connections.
IMPORTANT: We strongly recommend you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. You can filter the results to return information only about VPN connections that match criteria you specify. For example, you could ask to get information about a particular VPN connection (or all) only if the VPN's state is pending or available. You can specify multiple filters (e.g., the VPN connection is associated with a particular VPN gateway, and the gateway's state is pending or available). The result includes information for a particular VPN connection only if the VPN connection matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
describeVpnConnectionsAsync in interface AmazonEC2AsyncdescribeVpnConnectionsRequest - Container for the necessary
parameters to execute the DescribeVpnConnections operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> enableVgwRoutePropagationAsync(EnableVgwRoutePropagationRequest enableVgwRoutePropagationRequest) throws AmazonServiceException, AmazonClientException
enableVgwRoutePropagationAsync in interface AmazonEC2AsyncenableVgwRoutePropagationRequest - Container for the necessary
parameters to execute the EnableVgwRoutePropagation operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> enableVgwRoutePropagationAsync(EnableVgwRoutePropagationRequest enableVgwRoutePropagationRequest, AsyncHandler<EnableVgwRoutePropagationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
enableVgwRoutePropagationAsync in interface AmazonEC2AsyncenableVgwRoutePropagationRequest - Container for the necessary
parameters to execute the EnableVgwRoutePropagation operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest) throws AmazonServiceException, AmazonClientException
Create a snapshot of the volume identified by volume ID. A volume does not have to be detached at the time the snapshot is taken.
NOTE: Snapshot creation requires that the system is in a consistent state. For instance, this means that if taking a snapshot of a database, the tables must be read-only locked to ensure that the snapshot will not contain a corrupted version of the database. Therefore, be careful when using this API to ensure that the system remains in the consistent state until the create snapshot status has returned.
createSnapshotAsync in interface AmazonEC2AsynccreateSnapshotRequest - Container for the necessary parameters to
execute the CreateSnapshot operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest, AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Create a snapshot of the volume identified by volume ID. A volume does not have to be detached at the time the snapshot is taken.
NOTE: Snapshot creation requires that the system is in a consistent state. For instance, this means that if taking a snapshot of a database, the tables must be read-only locked to ensure that the snapshot will not contain a corrupted version of the database. Therefore, be careful when using this API to ensure that the system remains in the consistent state until the create snapshot status has returned.
createSnapshotAsync in interface AmazonEC2AsynccreateSnapshotRequest - Container for the necessary parameters to
execute the CreateSnapshot operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVolumeAsync(DeleteVolumeRequest deleteVolumeRequest) throws AmazonServiceException, AmazonClientException
Deletes a previously created volume. Once successfully deleted, a new volume can be created with the same name.
deleteVolumeAsync in interface AmazonEC2AsyncdeleteVolumeRequest - Container for the necessary parameters to
execute the DeleteVolume operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVolumeAsync(DeleteVolumeRequest deleteVolumeRequest, AsyncHandler<DeleteVolumeRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a previously created volume. Once successfully deleted, a new volume can be created with the same name.
deleteVolumeAsync in interface AmazonEC2AsyncdeleteVolumeRequest - Container for the necessary parameters to
execute the DeleteVolume operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateNetworkInterfaceResult> createNetworkInterfaceAsync(CreateNetworkInterfaceRequest createNetworkInterfaceRequest) throws AmazonServiceException, AmazonClientException
createNetworkInterfaceAsync in interface AmazonEC2AsynccreateNetworkInterfaceRequest - Container for the necessary
parameters to execute the CreateNetworkInterface operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateNetworkInterfaceResult> createNetworkInterfaceAsync(CreateNetworkInterfaceRequest createNetworkInterfaceRequest, AsyncHandler<CreateNetworkInterfaceRequest,CreateNetworkInterfaceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
createNetworkInterfaceAsync in interface AmazonEC2AsynccreateNetworkInterfaceRequest - Container for the necessary
parameters to execute the CreateNetworkInterface operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ModifyReservedInstancesResult> modifyReservedInstancesAsync(ModifyReservedInstancesRequest modifyReservedInstancesRequest) throws AmazonServiceException, AmazonClientException
The ModifyReservedInstances operation modifies the Availability Zone, instance count, instance type, or network platform (EC2-Classic or EC2-VPC) of your Reserved Instances.
modifyReservedInstancesAsync in interface AmazonEC2AsyncmodifyReservedInstancesRequest - Container for the necessary
parameters to execute the ModifyReservedInstances operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ModifyReservedInstancesResult> modifyReservedInstancesAsync(ModifyReservedInstancesRequest modifyReservedInstancesRequest, AsyncHandler<ModifyReservedInstancesRequest,ModifyReservedInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The ModifyReservedInstances operation modifies the Availability Zone, instance count, instance type, or network platform (EC2-Classic or EC2-VPC) of your Reserved Instances.
modifyReservedInstancesAsync in interface AmazonEC2AsyncmodifyReservedInstancesRequest - Container for the necessary
parameters to execute the ModifyReservedInstances operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> unassignPrivateIpAddressesAsync(UnassignPrivateIpAddressesRequest unassignPrivateIpAddressesRequest) throws AmazonServiceException, AmazonClientException
unassignPrivateIpAddressesAsync in interface AmazonEC2AsyncunassignPrivateIpAddressesRequest - Container for the necessary
parameters to execute the UnassignPrivateIpAddresses operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> unassignPrivateIpAddressesAsync(UnassignPrivateIpAddressesRequest unassignPrivateIpAddressesRequest, AsyncHandler<UnassignPrivateIpAddressesRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
unassignPrivateIpAddressesAsync in interface AmazonEC2AsyncunassignPrivateIpAddressesRequest - Container for the necessary
parameters to execute the UnassignPrivateIpAddresses operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVpcsResult> describeVpcsAsync(DescribeVpcsRequest describeVpcsRequest) throws AmazonServiceException, AmazonClientException
Gives you information about your VPCs. You can filter the results to return information only about VPCs that match criteria you specify.
For example, you could ask to get information about a particular VPC or VPCs (or all your VPCs) only if the VPC's state is available. You can specify multiple filters (e.g., the VPC uses one of several sets of DHCP options, and the VPC's state is available). The result includes information for a particular VPC only if the VPC matches all your filters.
If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
describeVpcsAsync in interface AmazonEC2AsyncdescribeVpcsRequest - Container for the necessary parameters to
execute the DescribeVpcs operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVpcsResult> describeVpcsAsync(DescribeVpcsRequest describeVpcsRequest, AsyncHandler<DescribeVpcsRequest,DescribeVpcsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gives you information about your VPCs. You can filter the results to return information only about VPCs that match criteria you specify.
For example, you could ask to get information about a particular VPC or VPCs (or all your VPCs) only if the VPC's state is available. You can specify multiple filters (e.g., the VPC uses one of several sets of DHCP options, and the VPC's state is available). The result includes information for a particular VPC only if the VPC matches all your filters.
If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
describeVpcsAsync in interface AmazonEC2AsyncdescribeVpcsRequest - Container for the necessary parameters to
execute the DescribeVpcs operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> cancelConversionTaskAsync(CancelConversionTaskRequest cancelConversionTaskRequest) throws AmazonServiceException, AmazonClientException
cancelConversionTaskAsync in interface AmazonEC2AsynccancelConversionTaskRequest - Container for the necessary
parameters to execute the CancelConversionTask operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> cancelConversionTaskAsync(CancelConversionTaskRequest cancelConversionTaskRequest, AsyncHandler<CancelConversionTaskRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
cancelConversionTaskAsync in interface AmazonEC2AsynccancelConversionTaskRequest - Container for the necessary
parameters to execute the CancelConversionTask operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AssociateAddressResult> associateAddressAsync(AssociateAddressRequest associateAddressRequest) throws AmazonServiceException, AmazonClientException
The AssociateAddress operation associates an elastic IP address with an instance.
If the IP address is currently assigned to another instance, the IP address is assigned to the new instance. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.
associateAddressAsync in interface AmazonEC2AsyncassociateAddressRequest - Container for the necessary parameters
to execute the AssociateAddress operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AssociateAddressResult> associateAddressAsync(AssociateAddressRequest associateAddressRequest, AsyncHandler<AssociateAddressRequest,AssociateAddressResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The AssociateAddress operation associates an elastic IP address with an instance.
If the IP address is currently assigned to another instance, the IP address is assigned to the new instance. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.
associateAddressAsync in interface AmazonEC2AsyncassociateAddressRequest - Container for the necessary parameters
to execute the AssociateAddress operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deactivateLicenseAsync(DeactivateLicenseRequest deactivateLicenseRequest) throws AmazonServiceException, AmazonClientException
Deactivates a specific number of licenses. Deactivations can be done against a specific license ID after they have persisted for at least a 90-day period.
deactivateLicenseAsync in interface AmazonEC2AsyncdeactivateLicenseRequest - Container for the necessary parameters
to execute the DeactivateLicense operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deactivateLicenseAsync(DeactivateLicenseRequest deactivateLicenseRequest, AsyncHandler<DeactivateLicenseRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deactivates a specific number of licenses. Deactivations can be done against a specific license ID after they have persisted for at least a 90-day period.
deactivateLicenseAsync in interface AmazonEC2AsyncdeactivateLicenseRequest - Container for the necessary parameters
to execute the DeactivateLicense operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteCustomerGatewayAsync(DeleteCustomerGatewayRequest deleteCustomerGatewayRequest) throws AmazonServiceException, AmazonClientException
Deletes a customer gateway. You must delete the VPN connection before deleting the customer gateway.
You can have a single active customer gateway per AWS account (active means that you've created a VPN connection with that customer gateway). AWS might delete any customer gateway you leave inactive for an extended period of time.
deleteCustomerGatewayAsync in interface AmazonEC2AsyncdeleteCustomerGatewayRequest - Container for the necessary
parameters to execute the DeleteCustomerGateway operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteCustomerGatewayAsync(DeleteCustomerGatewayRequest deleteCustomerGatewayRequest, AsyncHandler<DeleteCustomerGatewayRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a customer gateway. You must delete the VPN connection before deleting the customer gateway.
You can have a single active customer gateway per AWS account (active means that you've created a VPN connection with that customer gateway). AWS might delete any customer gateway you leave inactive for an extended period of time.
deleteCustomerGatewayAsync in interface AmazonEC2AsyncdeleteCustomerGatewayRequest - Container for the necessary
parameters to execute the DeleteCustomerGateway operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createNetworkAclEntryAsync(CreateNetworkAclEntryRequest createNetworkAclEntryRequest) throws AmazonServiceException, AmazonClientException
Creates an entry (i.e., rule) in a network ACL with a rule number you specify. Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the ACL, Amazon VPC processes the entries in the ACL according to the rule numbers, in ascending order.
Important: We recommend that you leave room between the rules (e.g., 100, 110, 120, etc.), and not number them sequentially (101, 102, 103, etc.). This allows you to easily add a new rule between existing ones without having to renumber the rules.
After you add an entry, you can't modify it; you must either replace it, or create a new entry and delete the old one.
For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
createNetworkAclEntryAsync in interface AmazonEC2AsynccreateNetworkAclEntryRequest - Container for the necessary
parameters to execute the CreateNetworkAclEntry operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createNetworkAclEntryAsync(CreateNetworkAclEntryRequest createNetworkAclEntryRequest, AsyncHandler<CreateNetworkAclEntryRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates an entry (i.e., rule) in a network ACL with a rule number you specify. Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the ACL, Amazon VPC processes the entries in the ACL according to the rule numbers, in ascending order.
Important: We recommend that you leave room between the rules (e.g., 100, 110, 120, etc.), and not number them sequentially (101, 102, 103, etc.). This allows you to easily add a new rule between existing ones without having to renumber the rules.
After you add an entry, you can't modify it; you must either replace it, or create a new entry and delete the old one.
For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
createNetworkAclEntryAsync in interface AmazonEC2AsynccreateNetworkAclEntryRequest - Container for the necessary
parameters to execute the CreateNetworkAclEntry operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeExportTasksResult> describeExportTasksAsync(DescribeExportTasksRequest describeExportTasksRequest) throws AmazonServiceException, AmazonClientException
describeExportTasksAsync in interface AmazonEC2AsyncdescribeExportTasksRequest - Container for the necessary
parameters to execute the DescribeExportTasks operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeExportTasksResult> describeExportTasksAsync(DescribeExportTasksRequest describeExportTasksRequest, AsyncHandler<DescribeExportTasksRequest,DescribeExportTasksResult> asyncHandler) throws AmazonServiceException, AmazonClientException
describeExportTasksAsync in interface AmazonEC2AsyncdescribeExportTasksRequest - Container for the necessary
parameters to execute the DescribeExportTasks operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> detachInternetGatewayAsync(DetachInternetGatewayRequest detachInternetGatewayRequest) throws AmazonServiceException, AmazonClientException
Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC. The VPC must not contain any running instances with elastic IP addresses. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
For more information about Amazon Virtual Private Cloud and Internet gateways, go to the Amazon Virtual Private Cloud User Guide.
detachInternetGatewayAsync in interface AmazonEC2AsyncdetachInternetGatewayRequest - Container for the necessary
parameters to execute the DetachInternetGateway operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> detachInternetGatewayAsync(DetachInternetGatewayRequest detachInternetGatewayRequest, AsyncHandler<DetachInternetGatewayRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC. The VPC must not contain any running instances with elastic IP addresses. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
For more information about Amazon Virtual Private Cloud and Internet gateways, go to the Amazon Virtual Private Cloud User Guide.
detachInternetGatewayAsync in interface AmazonEC2AsyncdetachInternetGatewayRequest - Container for the necessary
parameters to execute the DetachInternetGateway operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateRouteTableResult> createRouteTableAsync(CreateRouteTableRequest createRouteTableRequest) throws AmazonServiceException, AmazonClientException
Creates a new route table within a VPC. After you create a new route table, you can add routes and associate the table with a subnet. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
createRouteTableAsync in interface AmazonEC2AsynccreateRouteTableRequest - Container for the necessary parameters
to execute the CreateRouteTable operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateRouteTableResult> createRouteTableAsync(CreateRouteTableRequest createRouteTableRequest, AsyncHandler<CreateRouteTableRequest,CreateRouteTableResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new route table within a VPC. After you create a new route table, you can add routes and associate the table with a subnet. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
createRouteTableAsync in interface AmazonEC2AsynccreateRouteTableRequest - Container for the necessary parameters
to execute the CreateRouteTable operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVolumesResult> describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest) throws AmazonServiceException, AmazonClientException
Describes the status of the indicated volume or, in lieu of any specified, all volumes belonging to the caller. Volumes that have been deleted are not described.
describeVolumesAsync in interface AmazonEC2AsyncdescribeVolumesRequest - Container for the necessary parameters
to execute the DescribeVolumes operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVolumesResult> describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest, AsyncHandler<DescribeVolumesRequest,DescribeVolumesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the status of the indicated volume or, in lieu of any specified, all volumes belonging to the caller. Volumes that have been deleted are not described.
describeVolumesAsync in interface AmazonEC2AsyncdescribeVolumesRequest - Container for the necessary parameters
to execute the DescribeVolumes operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReservedInstancesListingsResult> describeReservedInstancesListingsAsync(DescribeReservedInstancesListingsRequest describeReservedInstancesListingsRequest) throws AmazonServiceException, AmazonClientException
describeReservedInstancesListingsAsync in interface AmazonEC2AsyncdescribeReservedInstancesListingsRequest - Container for the
necessary parameters to execute the DescribeReservedInstancesListings
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReservedInstancesListingsResult> describeReservedInstancesListingsAsync(DescribeReservedInstancesListingsRequest describeReservedInstancesListingsRequest, AsyncHandler<DescribeReservedInstancesListingsRequest,DescribeReservedInstancesListingsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
describeReservedInstancesListingsAsync in interface AmazonEC2AsyncdescribeReservedInstancesListingsRequest - Container for the
necessary parameters to execute the DescribeReservedInstancesListings
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> reportInstanceStatusAsync(ReportInstanceStatusRequest reportInstanceStatusRequest) throws AmazonServiceException, AmazonClientException
reportInstanceStatusAsync in interface AmazonEC2AsyncreportInstanceStatusRequest - Container for the necessary
parameters to execute the ReportInstanceStatus operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> reportInstanceStatusAsync(ReportInstanceStatusRequest reportInstanceStatusRequest, AsyncHandler<ReportInstanceStatusRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
reportInstanceStatusAsync in interface AmazonEC2AsyncreportInstanceStatusRequest - Container for the necessary
parameters to execute the ReportInstanceStatus operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeRouteTablesResult> describeRouteTablesAsync(DescribeRouteTablesRequest describeRouteTablesRequest) throws AmazonServiceException, AmazonClientException
Gives you information about your route tables. You can filter the results to return information only about tables that match criteria you specify. For example, you could get information only about a table associated with a particular subnet. You can specify multiple values for the filter. The table must match at least one of the specified values for it to be included in the results.
You can specify multiple filters (e.g., the table has a particular route, and is associated with a particular subnet). The result includes information for a particular table only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.
You can use wildcards with the filter values: an asterisk matches
zero or more characters, and ? matches exactly one
character. You can escape special characters using a backslash before
the character. For example, a value of \*amazon\?\\
searches for the literal string *amazon?\ .
describeRouteTablesAsync in interface AmazonEC2AsyncdescribeRouteTablesRequest - Container for the necessary
parameters to execute the DescribeRouteTables operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeRouteTablesResult> describeRouteTablesAsync(DescribeRouteTablesRequest describeRouteTablesRequest, AsyncHandler<DescribeRouteTablesRequest,DescribeRouteTablesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gives you information about your route tables. You can filter the results to return information only about tables that match criteria you specify. For example, you could get information only about a table associated with a particular subnet. You can specify multiple values for the filter. The table must match at least one of the specified values for it to be included in the results.
You can specify multiple filters (e.g., the table has a particular route, and is associated with a particular subnet). The result includes information for a particular table only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.
You can use wildcards with the filter values: an asterisk matches
zero or more characters, and ? matches exactly one
character. You can escape special characters using a backslash before
the character. For example, a value of \*amazon\?\\
searches for the literal string *amazon?\ .
describeRouteTablesAsync in interface AmazonEC2AsyncdescribeRouteTablesRequest - Container for the necessary
parameters to execute the DescribeRouteTables operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDhcpOptionsResult> describeDhcpOptionsAsync(DescribeDhcpOptionsRequest describeDhcpOptionsRequest) throws AmazonServiceException, AmazonClientException
Gives you information about one or more sets of DHCP options. You can specify one or more DHCP options set IDs, or no IDs (to describe all your sets of DHCP options). The returned information consists of:
describeDhcpOptionsAsync in interface AmazonEC2AsyncdescribeDhcpOptionsRequest - Container for the necessary
parameters to execute the DescribeDhcpOptions operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDhcpOptionsResult> describeDhcpOptionsAsync(DescribeDhcpOptionsRequest describeDhcpOptionsRequest, AsyncHandler<DescribeDhcpOptionsRequest,DescribeDhcpOptionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gives you information about one or more sets of DHCP options. You can specify one or more DHCP options set IDs, or no IDs (to describe all your sets of DHCP options). The returned information consists of:
describeDhcpOptionsAsync in interface AmazonEC2AsyncdescribeDhcpOptionsRequest - Container for the necessary
parameters to execute the DescribeDhcpOptions operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<MonitorInstancesResult> monitorInstancesAsync(MonitorInstancesRequest monitorInstancesRequest) throws AmazonServiceException, AmazonClientException
Enables monitoring for a running instance.
monitorInstancesAsync in interface AmazonEC2AsyncmonitorInstancesRequest - Container for the necessary parameters
to execute the MonitorInstances operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<MonitorInstancesResult> monitorInstancesAsync(MonitorInstancesRequest monitorInstancesRequest, AsyncHandler<MonitorInstancesRequest,MonitorInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Enables monitoring for a running instance.
monitorInstancesAsync in interface AmazonEC2AsyncmonitorInstancesRequest - Container for the necessary parameters
to execute the MonitorInstances operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeNetworkAclsResult> describeNetworkAclsAsync(DescribeNetworkAclsRequest describeNetworkAclsRequest) throws AmazonServiceException, AmazonClientException
Gives you information about the network ACLs in your VPC. You can filter the results to return information only about ACLs that match criteria you specify. For example, you could get information only the ACL associated with a particular subnet. The ACL must match at least one of the specified values for it to be included in the results.
You can specify multiple filters (e.g., the ACL is associated with a particular subnet and has an egress entry that denies traffic to a particular port). The result includes information for a particular ACL only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.
You can use wildcards with the filter values: an asterisk matches
zero or more characters, and ? matches exactly one
character. You can escape special characters using a backslash before
the character. For example, a value of \*amazon\?\\
searches for the literal string *amazon?\ .
describeNetworkAclsAsync in interface AmazonEC2AsyncdescribeNetworkAclsRequest - Container for the necessary
parameters to execute the DescribeNetworkAcls operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeNetworkAclsResult> describeNetworkAclsAsync(DescribeNetworkAclsRequest describeNetworkAclsRequest, AsyncHandler<DescribeNetworkAclsRequest,DescribeNetworkAclsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gives you information about the network ACLs in your VPC. You can filter the results to return information only about ACLs that match criteria you specify. For example, you could get information only the ACL associated with a particular subnet. The ACL must match at least one of the specified values for it to be included in the results.
You can specify multiple filters (e.g., the ACL is associated with a particular subnet and has an egress entry that denies traffic to a particular port). The result includes information for a particular ACL only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.
You can use wildcards with the filter values: an asterisk matches
zero or more characters, and ? matches exactly one
character. You can escape special characters using a backslash before
the character. For example, a value of \*amazon\?\\
searches for the literal string *amazon?\ .
describeNetworkAclsAsync in interface AmazonEC2AsyncdescribeNetworkAclsRequest - Container for the necessary
parameters to execute the DescribeNetworkAcls operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeBundleTasksResult> describeBundleTasksAsync(DescribeBundleTasksRequest describeBundleTasksRequest) throws AmazonServiceException, AmazonClientException
The DescribeBundleTasks operation describes in-progress and recent bundle tasks. Complete and failed tasks are removed from the list a short time after completion. If no bundle ids are given, all bundle tasks are returned.
describeBundleTasksAsync in interface AmazonEC2AsyncdescribeBundleTasksRequest - Container for the necessary
parameters to execute the DescribeBundleTasks operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeBundleTasksResult> describeBundleTasksAsync(DescribeBundleTasksRequest describeBundleTasksRequest, AsyncHandler<DescribeBundleTasksRequest,DescribeBundleTasksResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeBundleTasks operation describes in-progress and recent bundle tasks. Complete and failed tasks are removed from the list a short time after completion. If no bundle ids are given, all bundle tasks are returned.
describeBundleTasksAsync in interface AmazonEC2AsyncdescribeBundleTasksRequest - Container for the necessary
parameters to execute the DescribeBundleTasks operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ImportInstanceResult> importInstanceAsync(ImportInstanceRequest importInstanceRequest) throws AmazonServiceException, AmazonClientException
importInstanceAsync in interface AmazonEC2AsyncimportInstanceRequest - Container for the necessary parameters to
execute the ImportInstance operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ImportInstanceResult> importInstanceAsync(ImportInstanceRequest importInstanceRequest, AsyncHandler<ImportInstanceRequest,ImportInstanceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
importInstanceAsync in interface AmazonEC2AsyncimportInstanceRequest - Container for the necessary parameters to
execute the ImportInstance operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> revokeSecurityGroupIngressAsync(RevokeSecurityGroupIngressRequest revokeSecurityGroupIngressRequest) throws AmazonServiceException, AmazonClientException
The RevokeSecurityGroupIngress operation revokes permissions from a security group. The permissions used to revoke must be specified using the same values used to grant the permissions.
Permissions are specified by IP protocol (TCP, UDP, or ICMP), the source of the request (by IP range or an Amazon EC2 user-group pair), the source and destination port ranges (for TCP and UDP), and the ICMP codes and types (for ICMP).
Permission changes are quickly propagated to instances within the security group. However, depending on the number of instances in the group, a small delay might occur.
revokeSecurityGroupIngressAsync in interface AmazonEC2AsyncrevokeSecurityGroupIngressRequest - Container for the necessary
parameters to execute the RevokeSecurityGroupIngress operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> revokeSecurityGroupIngressAsync(RevokeSecurityGroupIngressRequest revokeSecurityGroupIngressRequest, AsyncHandler<RevokeSecurityGroupIngressRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The RevokeSecurityGroupIngress operation revokes permissions from a security group. The permissions used to revoke must be specified using the same values used to grant the permissions.
Permissions are specified by IP protocol (TCP, UDP, or ICMP), the source of the request (by IP range or an Amazon EC2 user-group pair), the source and destination port ranges (for TCP and UDP), and the ICMP codes and types (for ICMP).
Permission changes are quickly propagated to instances within the security group. However, depending on the number of instances in the group, a small delay might occur.
revokeSecurityGroupIngressAsync in interface AmazonEC2AsyncrevokeSecurityGroupIngressRequest - Container for the necessary
parameters to execute the RevokeSecurityGroupIngress operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<GetConsoleOutputResult> getConsoleOutputAsync(GetConsoleOutputRequest getConsoleOutputRequest) throws AmazonServiceException, AmazonClientException
The GetConsoleOutput operation retrieves console output for the specified instance.
Instance console output is buffered and posted shortly after instance boot, reboot, and termination. Amazon EC2 preserves the most recent 64 KB output which will be available for at least one hour after the most recent post.
getConsoleOutputAsync in interface AmazonEC2AsyncgetConsoleOutputRequest - Container for the necessary parameters
to execute the GetConsoleOutput operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<GetConsoleOutputResult> getConsoleOutputAsync(GetConsoleOutputRequest getConsoleOutputRequest, AsyncHandler<GetConsoleOutputRequest,GetConsoleOutputResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The GetConsoleOutput operation retrieves console output for the specified instance.
Instance console output is buffered and posted shortly after instance boot, reboot, and termination. Amazon EC2 preserves the most recent 64 KB output which will be available for at least one hour after the most recent post.
getConsoleOutputAsync in interface AmazonEC2AsyncgetConsoleOutputRequest - Container for the necessary parameters
to execute the GetConsoleOutput operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateInternetGatewayResult> createInternetGatewayAsync(CreateInternetGatewayRequest createInternetGatewayRequest) throws AmazonServiceException, AmazonClientException
Creates a new Internet gateway in your AWS account. After creating
the Internet gateway, you then attach it to a VPC using
AttachInternetGateway . For more information about your
VPC and Internet gateway, go to Amazon Virtual Private Cloud User
Guide.
createInternetGatewayAsync in interface AmazonEC2AsynccreateInternetGatewayRequest - Container for the necessary
parameters to execute the CreateInternetGateway operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateInternetGatewayResult> createInternetGatewayAsync(CreateInternetGatewayRequest createInternetGatewayRequest, AsyncHandler<CreateInternetGatewayRequest,CreateInternetGatewayResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new Internet gateway in your AWS account. After creating
the Internet gateway, you then attach it to a VPC using
AttachInternetGateway . For more information about your
VPC and Internet gateway, go to Amazon Virtual Private Cloud User
Guide.
createInternetGatewayAsync in interface AmazonEC2AsynccreateInternetGatewayRequest - Container for the necessary
parameters to execute the CreateInternetGateway operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVpnConnectionRouteAsync(DeleteVpnConnectionRouteRequest deleteVpnConnectionRouteRequest) throws AmazonServiceException, AmazonClientException
deleteVpnConnectionRouteAsync in interface AmazonEC2AsyncdeleteVpnConnectionRouteRequest - Container for the necessary
parameters to execute the DeleteVpnConnectionRoute operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVpnConnectionRouteAsync(DeleteVpnConnectionRouteRequest deleteVpnConnectionRouteRequest, AsyncHandler<DeleteVpnConnectionRouteRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
deleteVpnConnectionRouteAsync in interface AmazonEC2AsyncdeleteVpnConnectionRouteRequest - Container for the necessary
parameters to execute the DeleteVpnConnectionRoute operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> detachNetworkInterfaceAsync(DetachNetworkInterfaceRequest detachNetworkInterfaceRequest) throws AmazonServiceException, AmazonClientException
detachNetworkInterfaceAsync in interface AmazonEC2AsyncdetachNetworkInterfaceRequest - Container for the necessary
parameters to execute the DetachNetworkInterface operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> detachNetworkInterfaceAsync(DetachNetworkInterfaceRequest detachNetworkInterfaceRequest, AsyncHandler<DetachNetworkInterfaceRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
detachNetworkInterfaceAsync in interface AmazonEC2AsyncdetachNetworkInterfaceRequest - Container for the necessary
parameters to execute the DetachNetworkInterface operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifyImageAttributeAsync(ModifyImageAttributeRequest modifyImageAttributeRequest) throws AmazonServiceException, AmazonClientException
The ModifyImageAttribute operation modifies an attribute of an AMI.
modifyImageAttributeAsync in interface AmazonEC2AsyncmodifyImageAttributeRequest - Container for the necessary
parameters to execute the ModifyImageAttribute operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifyImageAttributeAsync(ModifyImageAttributeRequest modifyImageAttributeRequest, AsyncHandler<ModifyImageAttributeRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The ModifyImageAttribute operation modifies an attribute of an AMI.
modifyImageAttributeAsync in interface AmazonEC2AsyncmodifyImageAttributeRequest - Container for the necessary
parameters to execute the ModifyImageAttribute operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateCustomerGatewayResult> createCustomerGatewayAsync(CreateCustomerGatewayRequest createCustomerGatewayRequest) throws AmazonServiceException, AmazonClientException
Provides information to AWS about your customer gateway device. The customer gateway is the appliance at your end of the VPN connection (compared to the VPN gateway, which is the device at the AWS side of the VPN connection). You can have a single active customer gateway per AWS account (active means that you've created a VPN connection to use with the customer gateway). AWS might delete any customer gateway that you create with this operation if you leave it inactive for an extended period of time.
You must provide the Internet-routable IP address of the customer gateway's external interface. The IP address must be static.
You must also provide the device's Border Gateway Protocol (BGP) Autonomous System Number (ASN). You can use an existing ASN assigned to your network. If you don't have an ASN already, you can use a private ASN (in the 64512 - 65534 range). For more information about ASNs, go to http://en.wikipedia.org/wiki/Autonomous_system_%28Internet%29 .
createCustomerGatewayAsync in interface AmazonEC2AsynccreateCustomerGatewayRequest - Container for the necessary
parameters to execute the CreateCustomerGateway operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateCustomerGatewayResult> createCustomerGatewayAsync(CreateCustomerGatewayRequest createCustomerGatewayRequest, AsyncHandler<CreateCustomerGatewayRequest,CreateCustomerGatewayResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Provides information to AWS about your customer gateway device. The customer gateway is the appliance at your end of the VPN connection (compared to the VPN gateway, which is the device at the AWS side of the VPN connection). You can have a single active customer gateway per AWS account (active means that you've created a VPN connection to use with the customer gateway). AWS might delete any customer gateway that you create with this operation if you leave it inactive for an extended period of time.
You must provide the Internet-routable IP address of the customer gateway's external interface. The IP address must be static.
You must also provide the device's Border Gateway Protocol (BGP) Autonomous System Number (ASN). You can use an existing ASN assigned to your network. If you don't have an ASN already, you can use a private ASN (in the 64512 - 65534 range). For more information about ASNs, go to http://en.wikipedia.org/wiki/Autonomous_system_%28Internet%29 .
createCustomerGatewayAsync in interface AmazonEC2AsynccreateCustomerGatewayRequest - Container for the necessary
parameters to execute the CreateCustomerGateway operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateSpotDatafeedSubscriptionResult> createSpotDatafeedSubscriptionAsync(CreateSpotDatafeedSubscriptionRequest createSpotDatafeedSubscriptionRequest) throws AmazonServiceException, AmazonClientException
Creates the data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per account.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
createSpotDatafeedSubscriptionAsync in interface AmazonEC2AsynccreateSpotDatafeedSubscriptionRequest - Container for the
necessary parameters to execute the CreateSpotDatafeedSubscription
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateSpotDatafeedSubscriptionResult> createSpotDatafeedSubscriptionAsync(CreateSpotDatafeedSubscriptionRequest createSpotDatafeedSubscriptionRequest, AsyncHandler<CreateSpotDatafeedSubscriptionRequest,CreateSpotDatafeedSubscriptionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates the data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per account.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
createSpotDatafeedSubscriptionAsync in interface AmazonEC2AsynccreateSpotDatafeedSubscriptionRequest - Container for the
necessary parameters to execute the CreateSpotDatafeedSubscription
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> attachInternetGatewayAsync(AttachInternetGatewayRequest attachInternetGatewayRequest) throws AmazonServiceException, AmazonClientException
Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, go to the Amazon Virtual Private Cloud User Guide.
attachInternetGatewayAsync in interface AmazonEC2AsyncattachInternetGatewayRequest - Container for the necessary
parameters to execute the AttachInternetGateway operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> attachInternetGatewayAsync(AttachInternetGatewayRequest attachInternetGatewayRequest, AsyncHandler<AttachInternetGatewayRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, go to the Amazon Virtual Private Cloud User Guide.
attachInternetGatewayAsync in interface AmazonEC2AsyncattachInternetGatewayRequest - Container for the necessary
parameters to execute the AttachInternetGateway operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVpnConnectionAsync(DeleteVpnConnectionRequest deleteVpnConnectionRequest) throws AmazonServiceException, AmazonClientException
Deletes a VPN connection. Use this if you want to delete a VPC and all its associated components. Another reason to use this operation is if you believe the tunnel credentials for your VPN connection have been compromised. In that situation, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or VPN gateway. If you create a new VPN connection, you must reconfigure the customer gateway using the new configuration information returned with the new VPN connection ID.
If you're deleting the VPC and all its associated parts, we recommend you detach the VPN gateway from the VPC and delete the VPC before deleting the VPN connection.
deleteVpnConnectionAsync in interface AmazonEC2AsyncdeleteVpnConnectionRequest - Container for the necessary
parameters to execute the DeleteVpnConnection operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVpnConnectionAsync(DeleteVpnConnectionRequest deleteVpnConnectionRequest, AsyncHandler<DeleteVpnConnectionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a VPN connection. Use this if you want to delete a VPC and all its associated components. Another reason to use this operation is if you believe the tunnel credentials for your VPN connection have been compromised. In that situation, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or VPN gateway. If you create a new VPN connection, you must reconfigure the customer gateway using the new configuration information returned with the new VPN connection ID.
If you're deleting the VPC and all its associated parts, we recommend you detach the VPN gateway from the VPC and delete the VPC before deleting the VPN connection.
deleteVpnConnectionAsync in interface AmazonEC2AsyncdeleteVpnConnectionRequest - Container for the necessary
parameters to execute the DeleteVpnConnection operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeConversionTasksResult> describeConversionTasksAsync(DescribeConversionTasksRequest describeConversionTasksRequest) throws AmazonServiceException, AmazonClientException
describeConversionTasksAsync in interface AmazonEC2AsyncdescribeConversionTasksRequest - Container for the necessary
parameters to execute the DescribeConversionTasks operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeConversionTasksResult> describeConversionTasksAsync(DescribeConversionTasksRequest describeConversionTasksRequest, AsyncHandler<DescribeConversionTasksRequest,DescribeConversionTasksResult> asyncHandler) throws AmazonServiceException, AmazonClientException
describeConversionTasksAsync in interface AmazonEC2AsyncdescribeConversionTasksRequest - Container for the necessary
parameters to execute the DescribeConversionTasks operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateVpnConnectionResult> createVpnConnectionAsync(CreateVpnConnectionRequest createVpnConnectionRequest) throws AmazonServiceException, AmazonClientException
Creates a new VPN connection between an existing VPN gateway and customer gateway. The only supported connection type is ipsec.1.
The response includes information that you need to configure your
customer gateway, in XML format. We recommend you use the command line
version of this operation ( ec2-create-vpn-connection ),
which takes an -f option (for format) and returns
configuration information formatted as expected by the vendor you
specified, or in a generic, human readable format. For information
about the command, go to ec2-create-vpn-connection in the
Amazon Virtual Private Cloud Command Line Reference.
IMPORTANT: We strongly recommend you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. If you decide to shut down your VPN connection for any reason and then create a new one, you must re-configure your customer gateway with the new information returned from this call.
createVpnConnectionAsync in interface AmazonEC2AsynccreateVpnConnectionRequest - Container for the necessary
parameters to execute the CreateVpnConnection operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateVpnConnectionResult> createVpnConnectionAsync(CreateVpnConnectionRequest createVpnConnectionRequest, AsyncHandler<CreateVpnConnectionRequest,CreateVpnConnectionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new VPN connection between an existing VPN gateway and customer gateway. The only supported connection type is ipsec.1.
The response includes information that you need to configure your
customer gateway, in XML format. We recommend you use the command line
version of this operation ( ec2-create-vpn-connection ),
which takes an -f option (for format) and returns
configuration information formatted as expected by the vendor you
specified, or in a generic, human readable format. For information
about the command, go to ec2-create-vpn-connection in the
Amazon Virtual Private Cloud Command Line Reference.
IMPORTANT: We strongly recommend you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. If you decide to shut down your VPN connection for any reason and then create a new one, you must re-configure your customer gateway with the new information returned from this call.
createVpnConnectionAsync in interface AmazonEC2AsynccreateVpnConnectionRequest - Container for the necessary
parameters to execute the CreateVpnConnection operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeInstanceAttributeResult> describeInstanceAttributeAsync(DescribeInstanceAttributeRequest describeInstanceAttributeRequest) throws AmazonServiceException, AmazonClientException
Returns information about an attribute of an instance. Only one attribute can be specified per call.
describeInstanceAttributeAsync in interface AmazonEC2AsyncdescribeInstanceAttributeRequest - Container for the necessary
parameters to execute the DescribeInstanceAttribute operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeInstanceAttributeResult> describeInstanceAttributeAsync(DescribeInstanceAttributeRequest describeInstanceAttributeRequest, AsyncHandler<DescribeInstanceAttributeRequest,DescribeInstanceAttributeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns information about an attribute of an instance. Only one attribute can be specified per call.
describeInstanceAttributeAsync in interface AmazonEC2AsyncdescribeInstanceAttributeRequest - Container for the necessary
parameters to execute the DescribeInstanceAttribute operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribePlacementGroupsResult> describePlacementGroupsAsync(DescribePlacementGroupsRequest describePlacementGroupsRequest) throws AmazonServiceException, AmazonClientException
Returns information about one or more PlacementGroup instances in a user's account.
describePlacementGroupsAsync in interface AmazonEC2AsyncdescribePlacementGroupsRequest - Container for the necessary
parameters to execute the DescribePlacementGroups operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribePlacementGroupsResult> describePlacementGroupsAsync(DescribePlacementGroupsRequest describePlacementGroupsRequest, AsyncHandler<DescribePlacementGroupsRequest,DescribePlacementGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns information about one or more PlacementGroup instances in a user's account.
describePlacementGroupsAsync in interface AmazonEC2AsyncdescribePlacementGroupsRequest - Container for the necessary
parameters to execute the DescribePlacementGroups operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSubnetsResult> describeSubnetsAsync(DescribeSubnetsRequest describeSubnetsRequest) throws AmazonServiceException, AmazonClientException
Gives you information about your subnets. You can filter the results to return information only about subnets that match criteria you specify.
For example, you could ask to get information about a particular subnet (or all) only if the subnet's state is available. You can specify multiple filters (e.g., the subnet is in a particular VPC, and the subnet's state is available).
The result includes information for a particular subnet only if the subnet matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
describeSubnetsAsync in interface AmazonEC2AsyncdescribeSubnetsRequest - Container for the necessary parameters
to execute the DescribeSubnets operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSubnetsResult> describeSubnetsAsync(DescribeSubnetsRequest describeSubnetsRequest, AsyncHandler<DescribeSubnetsRequest,DescribeSubnetsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gives you information about your subnets. You can filter the results to return information only about subnets that match criteria you specify.
For example, you could ask to get information about a particular subnet (or all) only if the subnet's state is available. You can specify multiple filters (e.g., the subnet is in a particular VPC, and the subnet's state is available).
The result includes information for a particular subnet only if the subnet matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
describeSubnetsAsync in interface AmazonEC2AsyncdescribeSubnetsRequest - Container for the necessary parameters
to execute the DescribeSubnets operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<RunInstancesResult> runInstancesAsync(RunInstancesRequest runInstancesRequest) throws AmazonServiceException, AmazonClientException
The RunInstances operation launches a specified number of instances.
If Amazon EC2 cannot launch the minimum number AMIs you request, no instances launch. If there is insufficient capacity to launch the maximum number of AMIs you request, Amazon EC2 launches as many as possible to satisfy the requested maximum values.
Every instance is launched in a security group. If you do not specify a security group at launch, the instances start in your default security group. For more information on creating security groups, see CreateSecurityGroup.
An optional instance type can be specified. For information about instance types, see Instance Types.
You can provide an optional key pair ID for each image in the launch request (for more information, see CreateKeyPair). All instances that are created from images that use this key pair will have access to the associated public key at boot. You can use this key to provide secure access to an instance of an image on a per-instance basis. Amazon EC2 public images use this feature to provide secure access without passwords.
IMPORTANT: Launching public images without a key pair ID will leave them inaccessible. The public key material is made available to the instance at boot time by placing it in the openssh_id.pub file on a logical device that is exposed to the instance as /dev/sda2 (the ephemeral store). The format of this file is suitable for use as an entry within ~/.ssh/authorized_keys (the OpenSSH format). This can be done at boot (e.g., as part of rc.local) allowing for secure access without passwords. Optional user data can be provided in the launch request. All instances that collectively comprise the launch request have access to this data For more information, see Instance Metadata.
NOTE: If any of the AMIs have a product code attached for which the user has not subscribed, the RunInstances call will fail.
IMPORTANT: We strongly recommend using the 2.6.18 Xen stock kernel with the c1.medium and c1.xlarge instances. Although the default Amazon EC2 kernels will work, the new kernels provide greater stability and performance for these instance types. For more information about kernels, see Kernels, RAM Disks, and Block Device Mappings.
runInstancesAsync in interface AmazonEC2AsyncrunInstancesRequest - Container for the necessary parameters to
execute the RunInstances operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<RunInstancesResult> runInstancesAsync(RunInstancesRequest runInstancesRequest, AsyncHandler<RunInstancesRequest,RunInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The RunInstances operation launches a specified number of instances.
If Amazon EC2 cannot launch the minimum number AMIs you request, no instances launch. If there is insufficient capacity to launch the maximum number of AMIs you request, Amazon EC2 launches as many as possible to satisfy the requested maximum values.
Every instance is launched in a security group. If you do not specify a security group at launch, the instances start in your default security group. For more information on creating security groups, see CreateSecurityGroup.
An optional instance type can be specified. For information about instance types, see Instance Types.
You can provide an optional key pair ID for each image in the launch request (for more information, see CreateKeyPair). All instances that are created from images that use this key pair will have access to the associated public key at boot. You can use this key to provide secure access to an instance of an image on a per-instance basis. Amazon EC2 public images use this feature to provide secure access without passwords.
IMPORTANT: Launching public images without a key pair ID will leave them inaccessible. The public key material is made available to the instance at boot time by placing it in the openssh_id.pub file on a logical device that is exposed to the instance as /dev/sda2 (the ephemeral store). The format of this file is suitable for use as an entry within ~/.ssh/authorized_keys (the OpenSSH format). This can be done at boot (e.g., as part of rc.local) allowing for secure access without passwords. Optional user data can be provided in the launch request. All instances that collectively comprise the launch request have access to this data For more information, see Instance Metadata.
NOTE: If any of the AMIs have a product code attached for which the user has not subscribed, the RunInstances call will fail.
IMPORTANT: We strongly recommend using the 2.6.18 Xen stock kernel with the c1.medium and c1.xlarge instances. Although the default Amazon EC2 kernels will work, the new kernels provide greater stability and performance for these instance types. For more information about kernels, see Kernels, RAM Disks, and Block Device Mappings.
runInstancesAsync in interface AmazonEC2AsyncrunInstancesRequest - Container for the necessary parameters to
execute the RunInstances operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AssociateRouteTableResult> associateRouteTableAsync(AssociateRouteTableRequest associateRouteTableRequest) throws AmazonServiceException, AmazonClientException
Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. The action returns an association ID, which you need if you want to disassociate the route table from the subnet later. A route table can be associated with multiple subnets.
For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
associateRouteTableAsync in interface AmazonEC2AsyncassociateRouteTableRequest - Container for the necessary
parameters to execute the AssociateRouteTable operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AssociateRouteTableResult> associateRouteTableAsync(AssociateRouteTableRequest associateRouteTableRequest, AsyncHandler<AssociateRouteTableRequest,AssociateRouteTableResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. The action returns an association ID, which you need if you want to disassociate the route table from the subnet later. A route table can be associated with multiple subnets.
For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
associateRouteTableAsync in interface AmazonEC2AsyncassociateRouteTableRequest - Container for the necessary
parameters to execute the AssociateRouteTable operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeInstancesResult> describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest) throws AmazonServiceException, AmazonClientException
The DescribeInstances operation returns information about instances that you own.
If you specify one or more instance IDs, Amazon EC2 returns information for those instances. If you do not specify instance IDs, Amazon EC2 returns information for all relevant instances. If you specify an invalid instance ID, a fault is returned. If you specify an instance that you do not own, it will not be included in the returned results.
Recently terminated instances might appear in the returned results. This interval is usually less than one hour.
describeInstancesAsync in interface AmazonEC2AsyncdescribeInstancesRequest - Container for the necessary parameters
to execute the DescribeInstances operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeInstancesResult> describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest, AsyncHandler<DescribeInstancesRequest,DescribeInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeInstances operation returns information about instances that you own.
If you specify one or more instance IDs, Amazon EC2 returns information for those instances. If you do not specify instance IDs, Amazon EC2 returns information for all relevant instances. If you specify an invalid instance ID, a fault is returned. If you specify an instance that you do not own, it will not be included in the returned results.
Recently terminated instances might appear in the returned results. This interval is usually less than one hour.
describeInstancesAsync in interface AmazonEC2AsyncdescribeInstancesRequest - Container for the necessary parameters
to execute the DescribeInstances operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteNetworkAclAsync(DeleteNetworkAclRequest deleteNetworkAclRequest) throws AmazonServiceException, AmazonClientException
Deletes a network ACL from a VPC. The ACL must not have any subnets associated with it. You can't delete the default network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
deleteNetworkAclAsync in interface AmazonEC2AsyncdeleteNetworkAclRequest - Container for the necessary parameters
to execute the DeleteNetworkAcl operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteNetworkAclAsync(DeleteNetworkAclRequest deleteNetworkAclRequest, AsyncHandler<DeleteNetworkAclRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a network ACL from a VPC. The ACL must not have any subnets associated with it. You can't delete the default network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
deleteNetworkAclAsync in interface AmazonEC2AsyncdeleteNetworkAclRequest - Container for the necessary parameters
to execute the DeleteNetworkAcl operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifyVolumeAttributeAsync(ModifyVolumeAttributeRequest modifyVolumeAttributeRequest) throws AmazonServiceException, AmazonClientException
modifyVolumeAttributeAsync in interface AmazonEC2AsyncmodifyVolumeAttributeRequest - Container for the necessary
parameters to execute the ModifyVolumeAttribute operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifyVolumeAttributeAsync(ModifyVolumeAttributeRequest modifyVolumeAttributeRequest, AsyncHandler<ModifyVolumeAttributeRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
modifyVolumeAttributeAsync in interface AmazonEC2AsyncmodifyVolumeAttributeRequest - Container for the necessary
parameters to execute the ModifyVolumeAttribute operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeImagesResult> describeImagesAsync(DescribeImagesRequest describeImagesRequest) throws AmazonServiceException, AmazonClientException
The DescribeImages operation returns information about AMIs, AKIs, and ARIs available to the user. Information returned includes image type, product codes, architecture, and kernel and RAM disk IDs. Images available to the user include public images available for any user to launch, private images owned by the user making the request, and private images owned by other users for which the user has explicit launch permissions.
Launch permissions fall into three categories:
The list of AMIs returned can be modified by specifying AMI IDs, AMI owners, or users with launch permissions. If no options are specified, Amazon EC2 returns all AMIs for which the user has launch permissions.
If you specify one or more AMI IDs, only AMIs that have the specified IDs are returned. If you specify an invalid AMI ID, a fault is returned. If you specify an AMI ID for which you do not have access, it will not be included in the returned results.
If you specify one or more AMI owners, only AMIs from the specified owners and for which you have access are returned. The results can include the account IDs of the specified owners, amazon for AMIs owned by Amazon or self for AMIs that you own.
If you specify a list of executable users, only users that have launch permissions for the AMIs are returned. You can specify account IDs (if you own the AMI(s)), self for AMIs for which you own or have explicit permissions, or all for public AMIs.
NOTE: Deregistered images are included in the returned results for an unspecified interval after deregistration.
describeImagesAsync in interface AmazonEC2AsyncdescribeImagesRequest - Container for the necessary parameters to
execute the DescribeImages operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeImagesResult> describeImagesAsync(DescribeImagesRequest describeImagesRequest, AsyncHandler<DescribeImagesRequest,DescribeImagesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeImages operation returns information about AMIs, AKIs, and ARIs available to the user. Information returned includes image type, product codes, architecture, and kernel and RAM disk IDs. Images available to the user include public images available for any user to launch, private images owned by the user making the request, and private images owned by other users for which the user has explicit launch permissions.
Launch permissions fall into three categories:
The list of AMIs returned can be modified by specifying AMI IDs, AMI owners, or users with launch permissions. If no options are specified, Amazon EC2 returns all AMIs for which the user has launch permissions.
If you specify one or more AMI IDs, only AMIs that have the specified IDs are returned. If you specify an invalid AMI ID, a fault is returned. If you specify an AMI ID for which you do not have access, it will not be included in the returned results.
If you specify one or more AMI owners, only AMIs from the specified owners and for which you have access are returned. The results can include the account IDs of the specified owners, amazon for AMIs owned by Amazon or self for AMIs that you own.
If you specify a list of executable users, only users that have launch permissions for the AMIs are returned. You can specify account IDs (if you own the AMI(s)), self for AMIs for which you own or have explicit permissions, or all for public AMIs.
NOTE: Deregistered images are included in the returned results for an unspecified interval after deregistration.
describeImagesAsync in interface AmazonEC2AsyncdescribeImagesRequest - Container for the necessary parameters to
execute the DescribeImages operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<StartInstancesResult> startInstancesAsync(StartInstancesRequest startInstancesRequest) throws AmazonServiceException, AmazonClientException
Starts an instance that uses an Amazon EBS volume as its root device. Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for hourly instance usage. However, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time.
NOTE: Performing this operation on an instance that uses an instance store as its root device returns an error.
startInstancesAsync in interface AmazonEC2AsyncstartInstancesRequest - Container for the necessary parameters to
execute the StartInstances operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<StartInstancesResult> startInstancesAsync(StartInstancesRequest startInstancesRequest, AsyncHandler<StartInstancesRequest,StartInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Starts an instance that uses an Amazon EBS volume as its root device. Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for hourly instance usage. However, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time.
NOTE: Performing this operation on an instance that uses an instance store as its root device returns an error.
startInstancesAsync in interface AmazonEC2AsyncstartInstancesRequest - Container for the necessary parameters to
execute the StartInstances operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CancelReservedInstancesListingResult> cancelReservedInstancesListingAsync(CancelReservedInstancesListingRequest cancelReservedInstancesListingRequest) throws AmazonServiceException, AmazonClientException
cancelReservedInstancesListingAsync in interface AmazonEC2AsynccancelReservedInstancesListingRequest - Container for the
necessary parameters to execute the CancelReservedInstancesListing
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CancelReservedInstancesListingResult> cancelReservedInstancesListingAsync(CancelReservedInstancesListingRequest cancelReservedInstancesListingRequest, AsyncHandler<CancelReservedInstancesListingRequest,CancelReservedInstancesListingResult> asyncHandler) throws AmazonServiceException, AmazonClientException
cancelReservedInstancesListingAsync in interface AmazonEC2AsynccancelReservedInstancesListingRequest - Container for the
necessary parameters to execute the CancelReservedInstancesListing
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifyInstanceAttributeAsync(ModifyInstanceAttributeRequest modifyInstanceAttributeRequest) throws AmazonServiceException, AmazonClientException
Modifies an attribute of an instance.
modifyInstanceAttributeAsync in interface AmazonEC2AsyncmodifyInstanceAttributeRequest - Container for the necessary
parameters to execute the ModifyInstanceAttribute operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifyInstanceAttributeAsync(ModifyInstanceAttributeRequest modifyInstanceAttributeRequest, AsyncHandler<ModifyInstanceAttributeRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Modifies an attribute of an instance.
modifyInstanceAttributeAsync in interface AmazonEC2AsyncmodifyInstanceAttributeRequest - Container for the necessary
parameters to execute the ModifyInstanceAttribute operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteDhcpOptionsAsync(DeleteDhcpOptionsRequest deleteDhcpOptionsRequest) throws AmazonServiceException, AmazonClientException
Deletes a set of DHCP options that you specify. Amazon VPC returns an error if the set of options you specify is currently associated with a VPC. You can disassociate the set of options by associating either a new set of options or the default options with the VPC.
deleteDhcpOptionsAsync in interface AmazonEC2AsyncdeleteDhcpOptionsRequest - Container for the necessary parameters
to execute the DeleteDhcpOptions operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteDhcpOptionsAsync(DeleteDhcpOptionsRequest deleteDhcpOptionsRequest, AsyncHandler<DeleteDhcpOptionsRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a set of DHCP options that you specify. Amazon VPC returns an error if the set of options you specify is currently associated with a VPC. You can disassociate the set of options by associating either a new set of options or the default options with the VPC.
deleteDhcpOptionsAsync in interface AmazonEC2AsyncdeleteDhcpOptionsRequest - Container for the necessary parameters
to execute the DeleteDhcpOptions operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> authorizeSecurityGroupIngressAsync(AuthorizeSecurityGroupIngressRequest authorizeSecurityGroupIngressRequest) throws AmazonServiceException, AmazonClientException
The AuthorizeSecurityGroupIngress operation adds permissions to a security group.
Permissions are specified by the IP protocol (TCP, UDP or ICMP), the
source of the request (by IP range or an Amazon EC2 user-group pair),
the source and destination port ranges (for TCP and UDP), and the ICMP
codes and types (for ICMP). When authorizing ICMP, -1 can
be used as a wildcard in the type and code fields.
Permission changes are propagated to instances within the security group as quickly as possible. However, depending on the number of instances, a small delay might occur.
authorizeSecurityGroupIngressAsync in interface AmazonEC2AsyncauthorizeSecurityGroupIngressRequest - Container for the
necessary parameters to execute the AuthorizeSecurityGroupIngress
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> authorizeSecurityGroupIngressAsync(AuthorizeSecurityGroupIngressRequest authorizeSecurityGroupIngressRequest, AsyncHandler<AuthorizeSecurityGroupIngressRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The AuthorizeSecurityGroupIngress operation adds permissions to a security group.
Permissions are specified by the IP protocol (TCP, UDP or ICMP), the
source of the request (by IP range or an Amazon EC2 user-group pair),
the source and destination port ranges (for TCP and UDP), and the ICMP
codes and types (for ICMP). When authorizing ICMP, -1 can
be used as a wildcard in the type and code fields.
Permission changes are propagated to instances within the security group as quickly as possible. However, depending on the number of instances, a small delay might occur.
authorizeSecurityGroupIngressAsync in interface AmazonEC2AsyncauthorizeSecurityGroupIngressRequest - Container for the
necessary parameters to execute the AuthorizeSecurityGroupIngress
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSpotInstanceRequestsResult> describeSpotInstanceRequestsAsync(DescribeSpotInstanceRequestsRequest describeSpotInstanceRequestsRequest) throws AmazonServiceException, AmazonClientException
Describes Spot Instance requests. Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests. For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
You can filter the results to return information only about Spot
Instance requests that match criteria you specify. For example, you
could get information about requests where the Spot Price you
specified is a certain value (you can't use greater than or less than
comparison, but you can use * and ?
wildcards). You can specify multiple values for a filter. A Spot
Instance request must match at least one of the specified values for
it to be included in the results.
You can specify multiple filters (e.g., the Spot Price is equal to a
particular value, and the instance type is m1.small ).
The result includes information for a particular request only if it
matches all your filters. If there's no match, no special message is
returned; the response is simply empty.
You can use wildcards with the filter values: an asterisk matches
zero or more characters, and ? matches exactly one
character. You can escape special characters using a backslash before
the character. For example, a value of \*amazon\?\\
searches for the literal string *amazon?\ .
describeSpotInstanceRequestsAsync in interface AmazonEC2AsyncdescribeSpotInstanceRequestsRequest - Container for the necessary
parameters to execute the DescribeSpotInstanceRequests operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSpotInstanceRequestsResult> describeSpotInstanceRequestsAsync(DescribeSpotInstanceRequestsRequest describeSpotInstanceRequestsRequest, AsyncHandler<DescribeSpotInstanceRequestsRequest,DescribeSpotInstanceRequestsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes Spot Instance requests. Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests. For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
You can filter the results to return information only about Spot
Instance requests that match criteria you specify. For example, you
could get information about requests where the Spot Price you
specified is a certain value (you can't use greater than or less than
comparison, but you can use * and ?
wildcards). You can specify multiple values for a filter. A Spot
Instance request must match at least one of the specified values for
it to be included in the results.
You can specify multiple filters (e.g., the Spot Price is equal to a
particular value, and the instance type is m1.small ).
The result includes information for a particular request only if it
matches all your filters. If there's no match, no special message is
returned; the response is simply empty.
You can use wildcards with the filter values: an asterisk matches
zero or more characters, and ? matches exactly one
character. You can escape special characters using a backslash before
the character. For example, a value of \*amazon\?\\
searches for the literal string *amazon?\ .
describeSpotInstanceRequestsAsync in interface AmazonEC2AsyncdescribeSpotInstanceRequestsRequest - Container for the necessary
parameters to execute the DescribeSpotInstanceRequests operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateVpcResult> createVpcAsync(CreateVpcRequest createVpcRequest) throws AmazonServiceException, AmazonClientException
Creates a VPC with the CIDR block you specify. The smallest VPC you
can create uses a /28 netmask (16 IP addresses), and the
largest uses a /18 netmask (16,384 IP addresses). To help
you decide how big to make your VPC, go to the topic about creating
VPCs in the Amazon Virtual Private Cloud Developer Guide.
By default, each instance you launch in the VPC has the default DHCP options (the standard EC2 host name, no domain name, no DNS server, no NTP server, and no NetBIOS server or node type).
createVpcAsync in interface AmazonEC2AsynccreateVpcRequest - Container for the necessary parameters to
execute the CreateVpc operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateVpcResult> createVpcAsync(CreateVpcRequest createVpcRequest, AsyncHandler<CreateVpcRequest,CreateVpcResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a VPC with the CIDR block you specify. The smallest VPC you
can create uses a /28 netmask (16 IP addresses), and the
largest uses a /18 netmask (16,384 IP addresses). To help
you decide how big to make your VPC, go to the topic about creating
VPCs in the Amazon Virtual Private Cloud Developer Guide.
By default, each instance you launch in the VPC has the default DHCP options (the standard EC2 host name, no domain name, no DNS server, no NTP server, and no NetBIOS server or node type).
createVpcAsync in interface AmazonEC2AsynccreateVpcRequest - Container for the necessary parameters to
execute the CreateVpc operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCustomerGatewaysResult> describeCustomerGatewaysAsync(DescribeCustomerGatewaysRequest describeCustomerGatewaysRequest) throws AmazonServiceException, AmazonClientException
Gives you information about your customer gateways. You can filter the results to return information only about customer gateways that match criteria you specify. For example, you could ask to get information about a particular customer gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the customer gateway has a particular IP address for the Internet-routable external interface, and the gateway's state is pending or available). The result includes information for a particular customer gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
describeCustomerGatewaysAsync in interface AmazonEC2AsyncdescribeCustomerGatewaysRequest - Container for the necessary
parameters to execute the DescribeCustomerGateways operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCustomerGatewaysResult> describeCustomerGatewaysAsync(DescribeCustomerGatewaysRequest describeCustomerGatewaysRequest, AsyncHandler<DescribeCustomerGatewaysRequest,DescribeCustomerGatewaysResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gives you information about your customer gateways. You can filter the results to return information only about customer gateways that match criteria you specify. For example, you could ask to get information about a particular customer gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the customer gateway has a particular IP address for the Internet-routable external interface, and the gateway's state is pending or available). The result includes information for a particular customer gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
describeCustomerGatewaysAsync in interface AmazonEC2AsyncdescribeCustomerGatewaysRequest - Container for the necessary
parameters to execute the DescribeCustomerGateways operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> cancelExportTaskAsync(CancelExportTaskRequest cancelExportTaskRequest) throws AmazonServiceException, AmazonClientException
cancelExportTaskAsync in interface AmazonEC2AsynccancelExportTaskRequest - Container for the necessary parameters
to execute the CancelExportTask operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> cancelExportTaskAsync(CancelExportTaskRequest cancelExportTaskRequest, AsyncHandler<CancelExportTaskRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
cancelExportTaskAsync in interface AmazonEC2AsynccancelExportTaskRequest - Container for the necessary parameters
to execute the CancelExportTask operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createRouteAsync(CreateRouteRequest createRouteRequest) throws AmazonServiceException, AmazonClientException
Creates a new route in a route table within a VPC. The route's target can be either a gateway attached to the VPC or a NAT instance in the VPC.
When determining how to route traffic, we use the route with the most
specific match. For example, let's say the traffic is destined for
192.0.2.3 , and the route table includes the following
two routes:
192.0.2.0/24 (goes to some target A) 192.0.2.0/28 (goes to some target B)
Both routes apply to the traffic destined for 192.0.2.3
. However, the second route in the list is more specific, so we use
that route to determine where to target the traffic.
For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
createRouteAsync in interface AmazonEC2AsynccreateRouteRequest - Container for the necessary parameters to
execute the CreateRoute operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createRouteAsync(CreateRouteRequest createRouteRequest, AsyncHandler<CreateRouteRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new route in a route table within a VPC. The route's target can be either a gateway attached to the VPC or a NAT instance in the VPC.
When determining how to route traffic, we use the route with the most
specific match. For example, let's say the traffic is destined for
192.0.2.3 , and the route table includes the following
two routes:
192.0.2.0/24 (goes to some target A) 192.0.2.0/28 (goes to some target B)
Both routes apply to the traffic destined for 192.0.2.3
. However, the second route in the list is more specific, so we use
that route to determine where to target the traffic.
For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
createRouteAsync in interface AmazonEC2AsynccreateRouteRequest - Container for the necessary parameters to
execute the CreateRoute operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CopyImageResult> copyImageAsync(CopyImageRequest copyImageRequest) throws AmazonServiceException, AmazonClientException
copyImageAsync in interface AmazonEC2AsynccopyImageRequest - Container for the necessary parameters to
execute the CopyImage operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CopyImageResult> copyImageAsync(CopyImageRequest copyImageRequest, AsyncHandler<CopyImageRequest,CopyImageResult> asyncHandler) throws AmazonServiceException, AmazonClientException
copyImageAsync in interface AmazonEC2AsynccopyImageRequest - Container for the necessary parameters to
execute the CopyImage operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifyNetworkInterfaceAttributeAsync(ModifyNetworkInterfaceAttributeRequest modifyNetworkInterfaceAttributeRequest) throws AmazonServiceException, AmazonClientException
modifyNetworkInterfaceAttributeAsync in interface AmazonEC2AsyncmodifyNetworkInterfaceAttributeRequest - Container for the
necessary parameters to execute the ModifyNetworkInterfaceAttribute
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifyNetworkInterfaceAttributeAsync(ModifyNetworkInterfaceAttributeRequest modifyNetworkInterfaceAttributeRequest, AsyncHandler<ModifyNetworkInterfaceAttributeRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
modifyNetworkInterfaceAttributeAsync in interface AmazonEC2AsyncmodifyNetworkInterfaceAttributeRequest - Container for the
necessary parameters to execute the ModifyNetworkInterfaceAttribute
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteRouteTableAsync(DeleteRouteTableRequest deleteRouteTableRequest) throws AmazonServiceException, AmazonClientException
Deletes a route table from a VPC. The route table must not be associated with a subnet. You can't delete the main route table. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
deleteRouteTableAsync in interface AmazonEC2AsyncdeleteRouteTableRequest - Container for the necessary parameters
to execute the DeleteRouteTable operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteRouteTableAsync(DeleteRouteTableRequest deleteRouteTableRequest, AsyncHandler<DeleteRouteTableRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a route table from a VPC. The route table must not be associated with a subnet. You can't delete the main route table. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
deleteRouteTableAsync in interface AmazonEC2AsyncdeleteRouteTableRequest - Container for the necessary parameters
to execute the DeleteRouteTable operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeNetworkInterfaceAttributeResult> describeNetworkInterfaceAttributeAsync(DescribeNetworkInterfaceAttributeRequest describeNetworkInterfaceAttributeRequest) throws AmazonServiceException, AmazonClientException
describeNetworkInterfaceAttributeAsync in interface AmazonEC2AsyncdescribeNetworkInterfaceAttributeRequest - Container for the
necessary parameters to execute the DescribeNetworkInterfaceAttribute
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeNetworkInterfaceAttributeResult> describeNetworkInterfaceAttributeAsync(DescribeNetworkInterfaceAttributeRequest describeNetworkInterfaceAttributeRequest, AsyncHandler<DescribeNetworkInterfaceAttributeRequest,DescribeNetworkInterfaceAttributeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
describeNetworkInterfaceAttributeAsync in interface AmazonEC2AsyncdescribeNetworkInterfaceAttributeRequest - Container for the
necessary parameters to execute the DescribeNetworkInterfaceAttribute
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<RequestSpotInstancesResult> requestSpotInstancesAsync(RequestSpotInstancesRequest requestSpotInstancesRequest) throws AmazonServiceException, AmazonClientException
Creates a Spot Instance request.
Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide.
requestSpotInstancesAsync in interface AmazonEC2AsyncrequestSpotInstancesRequest - Container for the necessary
parameters to execute the RequestSpotInstances operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<RequestSpotInstancesResult> requestSpotInstancesAsync(RequestSpotInstancesRequest requestSpotInstancesRequest, AsyncHandler<RequestSpotInstancesRequest,RequestSpotInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a Spot Instance request.
Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide.
requestSpotInstancesAsync in interface AmazonEC2AsyncrequestSpotInstancesRequest - Container for the necessary
parameters to execute the RequestSpotInstances operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createTagsAsync(CreateTagsRequest createTagsRequest) throws AmazonServiceException, AmazonClientException
Adds or overwrites tags for the specified resources. Each resource can have a maximum of 10 tags. Each tag consists of a key-value pair. Tag keys must be unique per resource.
createTagsAsync in interface AmazonEC2AsynccreateTagsRequest - Container for the necessary parameters to
execute the CreateTags operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createTagsAsync(CreateTagsRequest createTagsRequest, AsyncHandler<CreateTagsRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Adds or overwrites tags for the specified resources. Each resource can have a maximum of 10 tags. Each tag consists of a key-value pair. Tag keys must be unique per resource.
createTagsAsync in interface AmazonEC2AsynccreateTagsRequest - Container for the necessary parameters to
execute the CreateTags operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVolumeAttributeResult> describeVolumeAttributeAsync(DescribeVolumeAttributeRequest describeVolumeAttributeRequest) throws AmazonServiceException, AmazonClientException
describeVolumeAttributeAsync in interface AmazonEC2AsyncdescribeVolumeAttributeRequest - Container for the necessary
parameters to execute the DescribeVolumeAttribute operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVolumeAttributeResult> describeVolumeAttributeAsync(DescribeVolumeAttributeRequest describeVolumeAttributeRequest, AsyncHandler<DescribeVolumeAttributeRequest,DescribeVolumeAttributeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
describeVolumeAttributeAsync in interface AmazonEC2AsyncdescribeVolumeAttributeRequest - Container for the necessary
parameters to execute the DescribeVolumeAttribute operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AttachNetworkInterfaceResult> attachNetworkInterfaceAsync(AttachNetworkInterfaceRequest attachNetworkInterfaceRequest) throws AmazonServiceException, AmazonClientException
attachNetworkInterfaceAsync in interface AmazonEC2AsyncattachNetworkInterfaceRequest - Container for the necessary
parameters to execute the AttachNetworkInterface operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AttachNetworkInterfaceResult> attachNetworkInterfaceAsync(AttachNetworkInterfaceRequest attachNetworkInterfaceRequest, AsyncHandler<AttachNetworkInterfaceRequest,AttachNetworkInterfaceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
attachNetworkInterfaceAsync in interface AmazonEC2AsyncattachNetworkInterfaceRequest - Container for the necessary
parameters to execute the AttachNetworkInterface operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> replaceRouteAsync(ReplaceRouteRequest replaceRouteRequest) throws AmazonServiceException, AmazonClientException
Replaces an existing route within a route table in a VPC. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
replaceRouteAsync in interface AmazonEC2AsyncreplaceRouteRequest - Container for the necessary parameters to
execute the ReplaceRoute operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> replaceRouteAsync(ReplaceRouteRequest replaceRouteRequest, AsyncHandler<ReplaceRouteRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Replaces an existing route within a route table in a VPC. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
replaceRouteAsync in interface AmazonEC2AsyncreplaceRouteRequest - Container for the necessary parameters to
execute the ReplaceRoute operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest) throws AmazonServiceException, AmazonClientException
Describes the tags for the specified resources.
describeTagsAsync in interface AmazonEC2AsyncdescribeTagsRequest - Container for the necessary parameters to
execute the DescribeTags operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest, AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the tags for the specified resources.
describeTagsAsync in interface AmazonEC2AsyncdescribeTagsRequest - Container for the necessary parameters to
execute the DescribeTags operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CancelBundleTaskResult> cancelBundleTaskAsync(CancelBundleTaskRequest cancelBundleTaskRequest) throws AmazonServiceException, AmazonClientException
CancelBundleTask operation cancels a pending or in-progress bundling task. This is an asynchronous call and it make take a while for the task to be canceled. If a task is canceled while it is storing items, there may be parts of the incomplete AMI stored in S3. It is up to the caller to clean up these parts from S3.
cancelBundleTaskAsync in interface AmazonEC2AsynccancelBundleTaskRequest - Container for the necessary parameters
to execute the CancelBundleTask operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CancelBundleTaskResult> cancelBundleTaskAsync(CancelBundleTaskRequest cancelBundleTaskRequest, AsyncHandler<CancelBundleTaskRequest,CancelBundleTaskResult> asyncHandler) throws AmazonServiceException, AmazonClientException
CancelBundleTask operation cancels a pending or in-progress bundling task. This is an asynchronous call and it make take a while for the task to be canceled. If a task is canceled while it is storing items, there may be parts of the incomplete AMI stored in S3. It is up to the caller to clean up these parts from S3.
cancelBundleTaskAsync in interface AmazonEC2AsynccancelBundleTaskRequest - Container for the necessary parameters
to execute the CancelBundleTask operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> disableVgwRoutePropagationAsync(DisableVgwRoutePropagationRequest disableVgwRoutePropagationRequest) throws AmazonServiceException, AmazonClientException
disableVgwRoutePropagationAsync in interface AmazonEC2AsyncdisableVgwRoutePropagationRequest - Container for the necessary
parameters to execute the DisableVgwRoutePropagation operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> disableVgwRoutePropagationAsync(DisableVgwRoutePropagationRequest disableVgwRoutePropagationRequest, AsyncHandler<DisableVgwRoutePropagationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
disableVgwRoutePropagationAsync in interface AmazonEC2AsyncdisableVgwRoutePropagationRequest - Container for the necessary
parameters to execute the DisableVgwRoutePropagation operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CancelSpotInstanceRequestsResult> cancelSpotInstanceRequestsAsync(CancelSpotInstanceRequestsRequest cancelSpotInstanceRequestsRequest) throws AmazonServiceException, AmazonClientException
Cancels one or more Spot Instance requests.
Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
cancelSpotInstanceRequestsAsync in interface AmazonEC2AsynccancelSpotInstanceRequestsRequest - Container for the necessary
parameters to execute the CancelSpotInstanceRequests operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CancelSpotInstanceRequestsResult> cancelSpotInstanceRequestsAsync(CancelSpotInstanceRequestsRequest cancelSpotInstanceRequestsRequest, AsyncHandler<CancelSpotInstanceRequestsRequest,CancelSpotInstanceRequestsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Cancels one or more Spot Instance requests.
Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
cancelSpotInstanceRequestsAsync in interface AmazonEC2AsynccancelSpotInstanceRequestsRequest - Container for the necessary
parameters to execute the CancelSpotInstanceRequests operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<PurchaseReservedInstancesOfferingResult> purchaseReservedInstancesOfferingAsync(PurchaseReservedInstancesOfferingRequest purchaseReservedInstancesOfferingRequest) throws AmazonServiceException, AmazonClientException
The PurchaseReservedInstancesOffering operation purchases a Reserved Instance for use with your account. With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.
purchaseReservedInstancesOfferingAsync in interface AmazonEC2AsyncpurchaseReservedInstancesOfferingRequest - Container for the
necessary parameters to execute the PurchaseReservedInstancesOffering
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<PurchaseReservedInstancesOfferingResult> purchaseReservedInstancesOfferingAsync(PurchaseReservedInstancesOfferingRequest purchaseReservedInstancesOfferingRequest, AsyncHandler<PurchaseReservedInstancesOfferingRequest,PurchaseReservedInstancesOfferingResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The PurchaseReservedInstancesOffering operation purchases a Reserved Instance for use with your account. With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.
purchaseReservedInstancesOfferingAsync in interface AmazonEC2AsyncpurchaseReservedInstancesOfferingRequest - Container for the
necessary parameters to execute the PurchaseReservedInstancesOffering
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifySnapshotAttributeAsync(ModifySnapshotAttributeRequest modifySnapshotAttributeRequest) throws AmazonServiceException, AmazonClientException
Adds or remove permission settings for the specified snapshot.
modifySnapshotAttributeAsync in interface AmazonEC2AsyncmodifySnapshotAttributeRequest - Container for the necessary
parameters to execute the ModifySnapshotAttribute operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> modifySnapshotAttributeAsync(ModifySnapshotAttributeRequest modifySnapshotAttributeRequest, AsyncHandler<ModifySnapshotAttributeRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Adds or remove permission settings for the specified snapshot.
modifySnapshotAttributeAsync in interface AmazonEC2AsyncmodifySnapshotAttributeRequest - Container for the necessary
parameters to execute the ModifySnapshotAttribute operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReservedInstancesModificationsResult> describeReservedInstancesModificationsAsync(DescribeReservedInstancesModificationsRequest describeReservedInstancesModificationsRequest) throws AmazonServiceException, AmazonClientException
The DescribeReservedInstancesModifications operation describes modifications made to Reserved Instances in your account.
describeReservedInstancesModificationsAsync in interface AmazonEC2AsyncdescribeReservedInstancesModificationsRequest - Container for the
necessary parameters to execute the
DescribeReservedInstancesModifications operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReservedInstancesModificationsResult> describeReservedInstancesModificationsAsync(DescribeReservedInstancesModificationsRequest describeReservedInstancesModificationsRequest, AsyncHandler<DescribeReservedInstancesModificationsRequest,DescribeReservedInstancesModificationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeReservedInstancesModifications operation describes modifications made to Reserved Instances in your account.
describeReservedInstancesModificationsAsync in interface AmazonEC2AsyncdescribeReservedInstancesModificationsRequest - Container for the
necessary parameters to execute the
DescribeReservedInstancesModifications operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<TerminateInstancesResult> terminateInstancesAsync(TerminateInstancesRequest terminateInstancesRequest) throws AmazonServiceException, AmazonClientException
The TerminateInstances operation shuts down one or more instances. This operation is idempotent; if you terminate an instance more than once, each call will succeed.
Terminated instances will remain visible after termination (approximately one hour).
terminateInstancesAsync in interface AmazonEC2AsyncterminateInstancesRequest - Container for the necessary
parameters to execute the TerminateInstances operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<TerminateInstancesResult> terminateInstancesAsync(TerminateInstancesRequest terminateInstancesRequest, AsyncHandler<TerminateInstancesRequest,TerminateInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The TerminateInstances operation shuts down one or more instances. This operation is idempotent; if you terminate an instance more than once, each call will succeed.
Terminated instances will remain visible after termination (approximately one hour).
terminateInstancesAsync in interface AmazonEC2AsyncterminateInstancesRequest - Container for the necessary
parameters to execute the TerminateInstances operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteSpotDatafeedSubscriptionAsync(DeleteSpotDatafeedSubscriptionRequest deleteSpotDatafeedSubscriptionRequest) throws AmazonServiceException, AmazonClientException
Deletes the data feed for Spot Instances.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
deleteSpotDatafeedSubscriptionAsync in interface AmazonEC2AsyncdeleteSpotDatafeedSubscriptionRequest - Container for the
necessary parameters to execute the DeleteSpotDatafeedSubscription
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteSpotDatafeedSubscriptionAsync(DeleteSpotDatafeedSubscriptionRequest deleteSpotDatafeedSubscriptionRequest, AsyncHandler<DeleteSpotDatafeedSubscriptionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the data feed for Spot Instances.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
deleteSpotDatafeedSubscriptionAsync in interface AmazonEC2AsyncdeleteSpotDatafeedSubscriptionRequest - Container for the
necessary parameters to execute the DeleteSpotDatafeedSubscription
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteInternetGatewayAsync(DeleteInternetGatewayRequest deleteInternetGatewayRequest) throws AmazonServiceException, AmazonClientException
Deletes an Internet gateway from your AWS account. The gateway must not be attached to a VPC. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
deleteInternetGatewayAsync in interface AmazonEC2AsyncdeleteInternetGatewayRequest - Container for the necessary
parameters to execute the DeleteInternetGateway operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteInternetGatewayAsync(DeleteInternetGatewayRequest deleteInternetGatewayRequest, AsyncHandler<DeleteInternetGatewayRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes an Internet gateway from your AWS account. The gateway must not be attached to a VPC. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
deleteInternetGatewayAsync in interface AmazonEC2AsyncdeleteInternetGatewayRequest - Container for the necessary
parameters to execute the DeleteInternetGateway operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSnapshotAttributeResult> describeSnapshotAttributeAsync(DescribeSnapshotAttributeRequest describeSnapshotAttributeRequest) throws AmazonServiceException, AmazonClientException
Returns information about an attribute of a snapshot. Only one attribute can be specified per call.
describeSnapshotAttributeAsync in interface AmazonEC2AsyncdescribeSnapshotAttributeRequest - Container for the necessary
parameters to execute the DescribeSnapshotAttribute operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSnapshotAttributeResult> describeSnapshotAttributeAsync(DescribeSnapshotAttributeRequest describeSnapshotAttributeRequest, AsyncHandler<DescribeSnapshotAttributeRequest,DescribeSnapshotAttributeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns information about an attribute of a snapshot. Only one attribute can be specified per call.
describeSnapshotAttributeAsync in interface AmazonEC2AsyncdescribeSnapshotAttributeRequest - Container for the necessary
parameters to execute the DescribeSnapshotAttribute operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ReplaceRouteTableAssociationResult> replaceRouteTableAssociationAsync(ReplaceRouteTableAssociationRequest replaceRouteTableAssociationRequest) throws AmazonServiceException, AmazonClientException
Changes the route table associated with a given subnet in a VPC. After you execute this action, the subnet uses the routes in the new route table it's associated with. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
You can also use this to change which table is the main route table in the VPC. You just specify the main route table's association ID and the route table that you want to be the new main route table.
replaceRouteTableAssociationAsync in interface AmazonEC2AsyncreplaceRouteTableAssociationRequest - Container for the necessary
parameters to execute the ReplaceRouteTableAssociation operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ReplaceRouteTableAssociationResult> replaceRouteTableAssociationAsync(ReplaceRouteTableAssociationRequest replaceRouteTableAssociationRequest, AsyncHandler<ReplaceRouteTableAssociationRequest,ReplaceRouteTableAssociationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Changes the route table associated with a given subnet in a VPC. After you execute this action, the subnet uses the routes in the new route table it's associated with. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
You can also use this to change which table is the main route table in the VPC. You just specify the main route table's association ID and the route table that you want to be the new main route table.
replaceRouteTableAssociationAsync in interface AmazonEC2AsyncreplaceRouteTableAssociationRequest - Container for the necessary
parameters to execute the ReplaceRouteTableAssociation operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAddressesResult> describeAddressesAsync(DescribeAddressesRequest describeAddressesRequest) throws AmazonServiceException, AmazonClientException
The DescribeAddresses operation lists elastic IP addresses assigned to your account.
describeAddressesAsync in interface AmazonEC2AsyncdescribeAddressesRequest - Container for the necessary parameters
to execute the DescribeAddresses operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAddressesResult> describeAddressesAsync(DescribeAddressesRequest describeAddressesRequest, AsyncHandler<DescribeAddressesRequest,DescribeAddressesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeAddresses operation lists elastic IP addresses assigned to your account.
describeAddressesAsync in interface AmazonEC2AsyncdescribeAddressesRequest - Container for the necessary parameters
to execute the DescribeAddresses operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeImageAttributeResult> describeImageAttributeAsync(DescribeImageAttributeRequest describeImageAttributeRequest) throws AmazonServiceException, AmazonClientException
The DescribeImageAttribute operation returns information about an attribute of an AMI. Only one attribute can be specified per call.
describeImageAttributeAsync in interface AmazonEC2AsyncdescribeImageAttributeRequest - Container for the necessary
parameters to execute the DescribeImageAttribute operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeImageAttributeResult> describeImageAttributeAsync(DescribeImageAttributeRequest describeImageAttributeRequest, AsyncHandler<DescribeImageAttributeRequest,DescribeImageAttributeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeImageAttribute operation returns information about an attribute of an AMI. Only one attribute can be specified per call.
describeImageAttributeAsync in interface AmazonEC2AsyncdescribeImageAttributeRequest - Container for the necessary
parameters to execute the DescribeImageAttribute operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeKeyPairsResult> describeKeyPairsAsync(DescribeKeyPairsRequest describeKeyPairsRequest) throws AmazonServiceException, AmazonClientException
The DescribeKeyPairs operation returns information about key pairs available to you. If you specify key pairs, information about those key pairs is returned. Otherwise, information for all registered key pairs is returned.
describeKeyPairsAsync in interface AmazonEC2AsyncdescribeKeyPairsRequest - Container for the necessary parameters
to execute the DescribeKeyPairs operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeKeyPairsResult> describeKeyPairsAsync(DescribeKeyPairsRequest describeKeyPairsRequest, AsyncHandler<DescribeKeyPairsRequest,DescribeKeyPairsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeKeyPairs operation returns information about key pairs available to you. If you specify key pairs, information about those key pairs is returned. Otherwise, information for all registered key pairs is returned.
describeKeyPairsAsync in interface AmazonEC2AsyncdescribeKeyPairsRequest - Container for the necessary parameters
to execute the DescribeKeyPairs operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ConfirmProductInstanceResult> confirmProductInstanceAsync(ConfirmProductInstanceRequest confirmProductInstanceRequest) throws AmazonServiceException, AmazonClientException
The ConfirmProductInstance operation returns true if the specified product code is attached to the specified instance. The operation returns false if the product code is not attached to the instance.
The ConfirmProductInstance operation can only be executed by the owner of the AMI. This feature is useful when an AMI owner is providing support and wants to verify whether a user's instance is eligible.
confirmProductInstanceAsync in interface AmazonEC2AsyncconfirmProductInstanceRequest - Container for the necessary
parameters to execute the ConfirmProductInstance operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ConfirmProductInstanceResult> confirmProductInstanceAsync(ConfirmProductInstanceRequest confirmProductInstanceRequest, AsyncHandler<ConfirmProductInstanceRequest,ConfirmProductInstanceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The ConfirmProductInstance operation returns true if the specified product code is attached to the specified instance. The operation returns false if the product code is not attached to the instance.
The ConfirmProductInstance operation can only be executed by the owner of the AMI. This feature is useful when an AMI owner is providing support and wants to verify whether a user's instance is eligible.
confirmProductInstanceAsync in interface AmazonEC2AsyncconfirmProductInstanceRequest - Container for the necessary
parameters to execute the ConfirmProductInstance operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> disassociateRouteTableAsync(DisassociateRouteTableRequest disassociateRouteTableRequest) throws AmazonServiceException, AmazonClientException
Disassociates a subnet from a route table.
After you perform this action, the subnet no longer uses the routes in the route table. Instead it uses the routes in the VPC's main route table. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
disassociateRouteTableAsync in interface AmazonEC2AsyncdisassociateRouteTableRequest - Container for the necessary
parameters to execute the DisassociateRouteTable operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> disassociateRouteTableAsync(DisassociateRouteTableRequest disassociateRouteTableRequest, AsyncHandler<DisassociateRouteTableRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Disassociates a subnet from a route table.
After you perform this action, the subnet no longer uses the routes in the route table. Instead it uses the routes in the VPC's main route table. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
disassociateRouteTableAsync in interface AmazonEC2AsyncdisassociateRouteTableRequest - Container for the necessary
parameters to execute the DisassociateRouteTable operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVpcAttributeResult> describeVpcAttributeAsync(DescribeVpcAttributeRequest describeVpcAttributeRequest) throws AmazonServiceException, AmazonClientException
describeVpcAttributeAsync in interface AmazonEC2AsyncdescribeVpcAttributeRequest - Container for the necessary
parameters to execute the DescribeVpcAttribute operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVpcAttributeResult> describeVpcAttributeAsync(DescribeVpcAttributeRequest describeVpcAttributeRequest, AsyncHandler<DescribeVpcAttributeRequest,DescribeVpcAttributeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
describeVpcAttributeAsync in interface AmazonEC2AsyncdescribeVpcAttributeRequest - Container for the necessary
parameters to execute the DescribeVpcAttribute operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> revokeSecurityGroupEgressAsync(RevokeSecurityGroupEgressRequest revokeSecurityGroupEgressRequest) throws AmazonServiceException, AmazonClientException
This action applies only to security groups in a VPC. It doesn't work with EC2 security groups. For information about Amazon Virtual Private Cloud and VPC security groups, go to the Amazon Virtual Private Cloud User Guide.
The action removes one or more egress rules from a VPC security group. The values that you specify in the revoke request (e.g., ports, etc.) must match the existing rule's values in order for the rule to be revoked.
Each rule consists of the protocol, and the CIDR range or destination security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code.
Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
revokeSecurityGroupEgressAsync in interface AmazonEC2AsyncrevokeSecurityGroupEgressRequest - Container for the necessary
parameters to execute the RevokeSecurityGroupEgress operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> revokeSecurityGroupEgressAsync(RevokeSecurityGroupEgressRequest revokeSecurityGroupEgressRequest, AsyncHandler<RevokeSecurityGroupEgressRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
This action applies only to security groups in a VPC. It doesn't work with EC2 security groups. For information about Amazon Virtual Private Cloud and VPC security groups, go to the Amazon Virtual Private Cloud User Guide.
The action removes one or more egress rules from a VPC security group. The values that you specify in the revoke request (e.g., ports, etc.) must match the existing rule's values in order for the rule to be revoked.
Each rule consists of the protocol, and the CIDR range or destination security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code.
Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
revokeSecurityGroupEgressAsync in interface AmazonEC2AsyncrevokeSecurityGroupEgressRequest - Container for the necessary
parameters to execute the RevokeSecurityGroupEgress operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteNetworkAclEntryAsync(DeleteNetworkAclEntryRequest deleteNetworkAclEntryRequest) throws AmazonServiceException, AmazonClientException
Deletes an ingress or egress entry (i.e., rule) from a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
deleteNetworkAclEntryAsync in interface AmazonEC2AsyncdeleteNetworkAclEntryRequest - Container for the necessary
parameters to execute the DeleteNetworkAclEntry operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteNetworkAclEntryAsync(DeleteNetworkAclEntryRequest deleteNetworkAclEntryRequest, AsyncHandler<DeleteNetworkAclEntryRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes an ingress or egress entry (i.e., rule) from a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
deleteNetworkAclEntryAsync in interface AmazonEC2AsyncdeleteNetworkAclEntryRequest - Container for the necessary
parameters to execute the DeleteNetworkAclEntry operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateVolumeResult> createVolumeAsync(CreateVolumeRequest createVolumeRequest) throws AmazonServiceException, AmazonClientException
Initializes an empty volume of a given size.
createVolumeAsync in interface AmazonEC2AsynccreateVolumeRequest - Container for the necessary parameters to
execute the CreateVolume operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateVolumeResult> createVolumeAsync(CreateVolumeRequest createVolumeRequest, AsyncHandler<CreateVolumeRequest,CreateVolumeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Initializes an empty volume of a given size.
createVolumeAsync in interface AmazonEC2AsynccreateVolumeRequest - Container for the necessary parameters to
execute the CreateVolume operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeInstanceStatusResult> describeInstanceStatusAsync(DescribeInstanceStatusRequest describeInstanceStatusRequest) throws AmazonServiceException, AmazonClientException
Describes the status of an Amazon Elastic Compute Cloud (Amazon EC2) instance. Instance status provides information about two types of scheduled events for an instance that may require your attention:
system-reboot or instance-reboot .
System reboot commonly occurs if certain maintenance or upgrade
operations require a reboot of the underlying host that supports an
instance. Instance reboot commonly occurs if the instance must be
rebooted, rather than the underlying host. Rebooting events include a
scheduled start and end time. instance-retirement . Retirement commonly
occurs when the underlying host is degraded and must be replaced.
Retirement events include a scheduled start and end time. You're also
notified by email if one of your instances is set to retiring. The
email message indicates when your instance will be permanently
retired.
If your instance is permanently retired, it will not be restarted.
You can avoid retirement by manually restarting your instance when its
event code is instance-retirement . This ensures that
your instance is started on a healthy host.
DescribeInstanceStatus returns information only for
instances in the running state.
You can filter the results to return information only about instances that match criteria you specify. For example, you could get information about instances in a specific Availability Zone. You can specify multiple values for a filter (e.g., more than one Availability Zone). An instance must match at least one of the specified values for it to be included in the results.
You can specify multiple filters. An instance must match all the filters for it to be included in the results. If there's no match, no special message is returned; the response is simply empty.
You can use wildcards with the filter values: * matches
zero or more characters, and ? matches exactly one
character. You can escape special characters using a backslash before
the character. For example, a value of \*amazon\?\\
searches for the literal string *amazon?\ .
The following filters are available:
availability-zone - Filter on an instance's
availability zone. instance-state-name - Filter on the intended state
of the instance, e.g., running. instance-state-code - Filter on the intended state
code of the instance, e.g., 16. describeInstanceStatusAsync in interface AmazonEC2AsyncdescribeInstanceStatusRequest - Container for the necessary
parameters to execute the DescribeInstanceStatus operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeInstanceStatusResult> describeInstanceStatusAsync(DescribeInstanceStatusRequest describeInstanceStatusRequest, AsyncHandler<DescribeInstanceStatusRequest,DescribeInstanceStatusResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the status of an Amazon Elastic Compute Cloud (Amazon EC2) instance. Instance status provides information about two types of scheduled events for an instance that may require your attention:
system-reboot or instance-reboot .
System reboot commonly occurs if certain maintenance or upgrade
operations require a reboot of the underlying host that supports an
instance. Instance reboot commonly occurs if the instance must be
rebooted, rather than the underlying host. Rebooting events include a
scheduled start and end time. instance-retirement . Retirement commonly
occurs when the underlying host is degraded and must be replaced.
Retirement events include a scheduled start and end time. You're also
notified by email if one of your instances is set to retiring. The
email message indicates when your instance will be permanently
retired.
If your instance is permanently retired, it will not be restarted.
You can avoid retirement by manually restarting your instance when its
event code is instance-retirement . This ensures that
your instance is started on a healthy host.
DescribeInstanceStatus returns information only for
instances in the running state.
You can filter the results to return information only about instances that match criteria you specify. For example, you could get information about instances in a specific Availability Zone. You can specify multiple values for a filter (e.g., more than one Availability Zone). An instance must match at least one of the specified values for it to be included in the results.
You can specify multiple filters. An instance must match all the filters for it to be included in the results. If there's no match, no special message is returned; the response is simply empty.
You can use wildcards with the filter values: * matches
zero or more characters, and ? matches exactly one
character. You can escape special characters using a backslash before
the character. For example, a value of \*amazon\?\\
searches for the literal string *amazon?\ .
The following filters are available:
availability-zone - Filter on an instance's
availability zone. instance-state-name - Filter on the intended state
of the instance, e.g., running. instance-state-code - Filter on the intended state
code of the instance, e.g., 16. describeInstanceStatusAsync in interface AmazonEC2AsyncdescribeInstanceStatusRequest - Container for the necessary
parameters to execute the DescribeInstanceStatus operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVpnGatewaysResult> describeVpnGatewaysAsync(DescribeVpnGatewaysRequest describeVpnGatewaysRequest) throws AmazonServiceException, AmazonClientException
Gives you information about your VPN gateways. You can filter the results to return information only about VPN gateways that match criteria you specify.
For example, you could ask to get information about a particular VPN gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the VPN gateway is in a particular Availability Zone and the gateway's state is pending or available).
The result includes information for a particular VPN gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
describeVpnGatewaysAsync in interface AmazonEC2AsyncdescribeVpnGatewaysRequest - Container for the necessary
parameters to execute the DescribeVpnGateways operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeVpnGatewaysResult> describeVpnGatewaysAsync(DescribeVpnGatewaysRequest describeVpnGatewaysRequest, AsyncHandler<DescribeVpnGatewaysRequest,DescribeVpnGatewaysResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Gives you information about your VPN gateways. You can filter the results to return information only about VPN gateways that match criteria you specify.
For example, you could ask to get information about a particular VPN gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the VPN gateway is in a particular Availability Zone and the gateway's state is pending or available).
The result includes information for a particular VPN gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
describeVpnGatewaysAsync in interface AmazonEC2AsyncdescribeVpnGatewaysRequest - Container for the necessary
parameters to execute the DescribeVpnGateways operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateSubnetResult> createSubnetAsync(CreateSubnetRequest createSubnetRequest) throws AmazonServiceException, AmazonClientException
Creates a subnet in an existing VPC. You can create up to 20 subnets
in a VPC. If you add more than one subnet to a VPC, they're set up in
a star topology with a logical router in the middle. When you create
each subnet, you provide the VPC ID and the CIDR block you want for
the subnet. Once you create a subnet, you can't change its CIDR block.
The subnet's CIDR block can be the same as the VPC's CIDR block
(assuming you want only a single subnet in the VPC), or a subset of
the VPC's CIDR block. If you create more than one subnet in a VPC, the
subnets' CIDR blocks must not overlap. The smallest subnet (and VPC)
you can create uses a /28 netmask (16 IP addresses), and
the largest uses a /18 netmask (16,384 IP addresses).
IMPORTANT: AWS reserves both the first four and the last IP address in each subnet's CIDR block. They're not available for use.
createSubnetAsync in interface AmazonEC2AsynccreateSubnetRequest - Container for the necessary parameters to
execute the CreateSubnet operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateSubnetResult> createSubnetAsync(CreateSubnetRequest createSubnetRequest, AsyncHandler<CreateSubnetRequest,CreateSubnetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a subnet in an existing VPC. You can create up to 20 subnets
in a VPC. If you add more than one subnet to a VPC, they're set up in
a star topology with a logical router in the middle. When you create
each subnet, you provide the VPC ID and the CIDR block you want for
the subnet. Once you create a subnet, you can't change its CIDR block.
The subnet's CIDR block can be the same as the VPC's CIDR block
(assuming you want only a single subnet in the VPC), or a subset of
the VPC's CIDR block. If you create more than one subnet in a VPC, the
subnets' CIDR blocks must not overlap. The smallest subnet (and VPC)
you can create uses a /28 netmask (16 IP addresses), and
the largest uses a /18 netmask (16,384 IP addresses).
IMPORTANT: AWS reserves both the first four and the last IP address in each subnet's CIDR block. They're not available for use.
createSubnetAsync in interface AmazonEC2AsynccreateSubnetRequest - Container for the necessary parameters to
execute the CreateSubnet operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReservedInstancesOfferingsResult> describeReservedInstancesOfferingsAsync(DescribeReservedInstancesOfferingsRequest describeReservedInstancesOfferingsRequest) throws AmazonServiceException, AmazonClientException
The DescribeReservedInstancesOfferings operation describes Reserved Instance offerings that are available for purchase. With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.
describeReservedInstancesOfferingsAsync in interface AmazonEC2AsyncdescribeReservedInstancesOfferingsRequest - Container for the
necessary parameters to execute the DescribeReservedInstancesOfferings
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReservedInstancesOfferingsResult> describeReservedInstancesOfferingsAsync(DescribeReservedInstancesOfferingsRequest describeReservedInstancesOfferingsRequest, AsyncHandler<DescribeReservedInstancesOfferingsRequest,DescribeReservedInstancesOfferingsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeReservedInstancesOfferings operation describes Reserved Instance offerings that are available for purchase. With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.
describeReservedInstancesOfferingsAsync in interface AmazonEC2AsyncdescribeReservedInstancesOfferingsRequest - Container for the
necessary parameters to execute the DescribeReservedInstancesOfferings
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> assignPrivateIpAddressesAsync(AssignPrivateIpAddressesRequest assignPrivateIpAddressesRequest) throws AmazonServiceException, AmazonClientException
assignPrivateIpAddressesAsync in interface AmazonEC2AsyncassignPrivateIpAddressesRequest - Container for the necessary
parameters to execute the AssignPrivateIpAddresses operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> assignPrivateIpAddressesAsync(AssignPrivateIpAddressesRequest assignPrivateIpAddressesRequest, AsyncHandler<AssignPrivateIpAddressesRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
assignPrivateIpAddressesAsync in interface AmazonEC2AsyncassignPrivateIpAddressesRequest - Container for the necessary
parameters to execute the AssignPrivateIpAddresses operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest) throws AmazonServiceException, AmazonClientException
Deletes the snapshot identified by snapshotId .
deleteSnapshotAsync in interface AmazonEC2AsyncdeleteSnapshotRequest - Container for the necessary parameters to
execute the DeleteSnapshot operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest, AsyncHandler<DeleteSnapshotRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the snapshot identified by snapshotId .
deleteSnapshotAsync in interface AmazonEC2AsyncdeleteSnapshotRequest - Container for the necessary parameters to
execute the DeleteSnapshot operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ReplaceNetworkAclAssociationResult> replaceNetworkAclAssociationAsync(ReplaceNetworkAclAssociationRequest replaceNetworkAclAssociationRequest) throws AmazonServiceException, AmazonClientException
Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
replaceNetworkAclAssociationAsync in interface AmazonEC2AsyncreplaceNetworkAclAssociationRequest - Container for the necessary
parameters to execute the ReplaceNetworkAclAssociation operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<ReplaceNetworkAclAssociationResult> replaceNetworkAclAssociationAsync(ReplaceNetworkAclAssociationRequest replaceNetworkAclAssociationRequest, AsyncHandler<ReplaceNetworkAclAssociationRequest,ReplaceNetworkAclAssociationResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
replaceNetworkAclAssociationAsync in interface AmazonEC2AsyncreplaceNetworkAclAssociationRequest - Container for the necessary
parameters to execute the ReplaceNetworkAclAssociation operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> disassociateAddressAsync(DisassociateAddressRequest disassociateAddressRequest) throws AmazonServiceException, AmazonClientException
The DisassociateAddress operation disassociates the specified elastic IP address from the instance to which it is assigned. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.
disassociateAddressAsync in interface AmazonEC2AsyncdisassociateAddressRequest - Container for the necessary
parameters to execute the DisassociateAddress operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> disassociateAddressAsync(DisassociateAddressRequest disassociateAddressRequest, AsyncHandler<DisassociateAddressRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The DisassociateAddress operation disassociates the specified elastic IP address from the instance to which it is assigned. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.
disassociateAddressAsync in interface AmazonEC2AsyncdisassociateAddressRequest - Container for the necessary
parameters to execute the DisassociateAddress operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createPlacementGroupAsync(CreatePlacementGroupRequest createPlacementGroupRequest) throws AmazonServiceException, AmazonClientException
Creates a PlacementGroup into which multiple Amazon EC2 instances can be launched. Users must give the group a name unique within the scope of the user account.
createPlacementGroupAsync in interface AmazonEC2AsynccreatePlacementGroupRequest - Container for the necessary
parameters to execute the CreatePlacementGroup operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createPlacementGroupAsync(CreatePlacementGroupRequest createPlacementGroupRequest, AsyncHandler<CreatePlacementGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a PlacementGroup into which multiple Amazon EC2 instances can be launched. Users must give the group a name unique within the scope of the user account.
createPlacementGroupAsync in interface AmazonEC2AsynccreatePlacementGroupRequest - Container for the necessary
parameters to execute the CreatePlacementGroup operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<BundleInstanceResult> bundleInstanceAsync(BundleInstanceRequest bundleInstanceRequest) throws AmazonServiceException, AmazonClientException
The BundleInstance operation request that an instance is bundled the next time it boots. The bundling process creates a new image from a running instance and stores the AMI data in S3. Once bundled, the image must be registered in the normal way using the RegisterImage API.
bundleInstanceAsync in interface AmazonEC2AsyncbundleInstanceRequest - Container for the necessary parameters to
execute the BundleInstance operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<BundleInstanceResult> bundleInstanceAsync(BundleInstanceRequest bundleInstanceRequest, AsyncHandler<BundleInstanceRequest,BundleInstanceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The BundleInstance operation request that an instance is bundled the next time it boots. The bundling process creates a new image from a running instance and stores the AMI data in S3. Once bundled, the image must be registered in the normal way using the RegisterImage API.
bundleInstanceAsync in interface AmazonEC2AsyncbundleInstanceRequest - Container for the necessary parameters to
execute the BundleInstance operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deletePlacementGroupAsync(DeletePlacementGroupRequest deletePlacementGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes a PlacementGroup from a user's account. Terminate all Amazon EC2 instances in the placement group before deletion.
deletePlacementGroupAsync in interface AmazonEC2AsyncdeletePlacementGroupRequest - Container for the necessary
parameters to execute the DeletePlacementGroup operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deletePlacementGroupAsync(DeletePlacementGroupRequest deletePlacementGroupRequest, AsyncHandler<DeletePlacementGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a PlacementGroup from a user's account. Terminate all Amazon EC2 instances in the placement group before deletion.
deletePlacementGroupAsync in interface AmazonEC2AsyncdeletePlacementGroupRequest - Container for the necessary
parameters to execute the DeletePlacementGroup operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVpcAsync(DeleteVpcRequest deleteVpcRequest) throws AmazonServiceException, AmazonClientException
Deletes a VPC. You must detach or delete all gateways or other objects that are dependent on the VPC first. For example, you must terminate all running instances, delete all VPC security groups (except the default), delete all the route tables (except the default), etc.
deleteVpcAsync in interface AmazonEC2AsyncdeleteVpcRequest - Container for the necessary parameters to
execute the DeleteVpc operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVpcAsync(DeleteVpcRequest deleteVpcRequest, AsyncHandler<DeleteVpcRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a VPC. You must detach or delete all gateways or other objects that are dependent on the VPC first. For example, you must terminate all running instances, delete all VPC security groups (except the default), delete all the route tables (except the default), etc.
deleteVpcAsync in interface AmazonEC2AsyncdeleteVpcRequest - Container for the necessary parameters to
execute the DeleteVpc operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CopySnapshotResult> copySnapshotAsync(CopySnapshotRequest copySnapshotRequest) throws AmazonServiceException, AmazonClientException
copySnapshotAsync in interface AmazonEC2AsynccopySnapshotRequest - Container for the necessary parameters to
execute the CopySnapshot operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CopySnapshotResult> copySnapshotAsync(CopySnapshotRequest copySnapshotRequest, AsyncHandler<CopySnapshotRequest,CopySnapshotResult> asyncHandler) throws AmazonServiceException, AmazonClientException
copySnapshotAsync in interface AmazonEC2AsynccopySnapshotRequest - Container for the necessary parameters to
execute the CopySnapshot operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AllocateAddressResult> allocateAddressAsync(AllocateAddressRequest allocateAddressRequest) throws AmazonServiceException, AmazonClientException
The AllocateAddress operation acquires an elastic IP address for use with your account.
allocateAddressAsync in interface AmazonEC2AsyncallocateAddressRequest - Container for the necessary parameters
to execute the AllocateAddress operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<AllocateAddressResult> allocateAddressAsync(AllocateAddressRequest allocateAddressRequest, AsyncHandler<AllocateAddressRequest,AllocateAddressResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The AllocateAddress operation acquires an elastic IP address for use with your account.
allocateAddressAsync in interface AmazonEC2AsyncallocateAddressRequest - Container for the necessary parameters
to execute the AllocateAddress operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> releaseAddressAsync(ReleaseAddressRequest releaseAddressRequest) throws AmazonServiceException, AmazonClientException
The ReleaseAddress operation releases an elastic IP address associated with your account.
NOTE: Releasing an IP address automatically disassociates it from any instance with which it is associated. For more information, see DisassociateAddress.
IMPORTANT: After releasing an elastic IP address, it is released to the IP address pool and might no longer be available to your account. Make sure to update your DNS records and any servers or devices that communicate with the address. If you run this operation on an elastic IP address that is already released, the address might be assigned to another account which will cause Amazon EC2 to return an error.
releaseAddressAsync in interface AmazonEC2AsyncreleaseAddressRequest - Container for the necessary parameters to
execute the ReleaseAddress operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> releaseAddressAsync(ReleaseAddressRequest releaseAddressRequest, AsyncHandler<ReleaseAddressRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The ReleaseAddress operation releases an elastic IP address associated with your account.
NOTE: Releasing an IP address automatically disassociates it from any instance with which it is associated. For more information, see DisassociateAddress.
IMPORTANT: After releasing an elastic IP address, it is released to the IP address pool and might no longer be available to your account. Make sure to update your DNS records and any servers or devices that communicate with the address. If you run this operation on an elastic IP address that is already released, the address might be assigned to another account which will cause Amazon EC2 to return an error.
releaseAddressAsync in interface AmazonEC2AsyncreleaseAddressRequest - Container for the necessary parameters to
execute the ReleaseAddress operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> resetInstanceAttributeAsync(ResetInstanceAttributeRequest resetInstanceAttributeRequest) throws AmazonServiceException, AmazonClientException
Resets an attribute of an instance to its default value.
resetInstanceAttributeAsync in interface AmazonEC2AsyncresetInstanceAttributeRequest - Container for the necessary
parameters to execute the ResetInstanceAttribute operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> resetInstanceAttributeAsync(ResetInstanceAttributeRequest resetInstanceAttributeRequest, AsyncHandler<ResetInstanceAttributeRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Resets an attribute of an instance to its default value.
resetInstanceAttributeAsync in interface AmazonEC2AsyncresetInstanceAttributeRequest - Container for the necessary
parameters to execute the ResetInstanceAttribute operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateKeyPairResult> createKeyPairAsync(CreateKeyPairRequest createKeyPairRequest) throws AmazonServiceException, AmazonClientException
The CreateKeyPair operation creates a new 2048 bit RSA key pair and returns a unique ID that can be used to reference this key pair when launching new instances. For more information, see RunInstances.
createKeyPairAsync in interface AmazonEC2AsynccreateKeyPairRequest - Container for the necessary parameters to
execute the CreateKeyPair operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateKeyPairResult> createKeyPairAsync(CreateKeyPairRequest createKeyPairRequest, AsyncHandler<CreateKeyPairRequest,CreateKeyPairResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The CreateKeyPair operation creates a new 2048 bit RSA key pair and returns a unique ID that can be used to reference this key pair when launching new instances. For more information, see RunInstances.
createKeyPairAsync in interface AmazonEC2AsynccreateKeyPairRequest - Container for the necessary parameters to
execute the CreateKeyPair operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> replaceNetworkAclEntryAsync(ReplaceNetworkAclEntryRequest replaceNetworkAclEntryRequest) throws AmazonServiceException, AmazonClientException
Replaces an entry (i.e., rule) in a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
replaceNetworkAclEntryAsync in interface AmazonEC2AsyncreplaceNetworkAclEntryRequest - Container for the necessary
parameters to execute the ReplaceNetworkAclEntry operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> replaceNetworkAclEntryAsync(ReplaceNetworkAclEntryRequest replaceNetworkAclEntryRequest, AsyncHandler<ReplaceNetworkAclEntryRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Replaces an entry (i.e., rule) in a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
replaceNetworkAclEntryAsync in interface AmazonEC2AsyncreplaceNetworkAclEntryRequest - Container for the necessary
parameters to execute the ReplaceNetworkAclEntry operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest describeSnapshotsRequest) throws AmazonServiceException, AmazonClientException
Returns information about the Amazon EBS snapshots available to you. Snapshots available to you include public snapshots available for any AWS account to launch, private snapshots you own, and private snapshots owned by another AWS account but for which you've been given explicit create volume permissions.
describeSnapshotsAsync in interface AmazonEC2AsyncdescribeSnapshotsRequest - Container for the necessary parameters
to execute the DescribeSnapshots operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest describeSnapshotsRequest, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns information about the Amazon EBS snapshots available to you. Snapshots available to you include public snapshots available for any AWS account to launch, private snapshots you own, and private snapshots owned by another AWS account but for which you've been given explicit create volume permissions.
describeSnapshotsAsync in interface AmazonEC2AsyncdescribeSnapshotsRequest - Container for the necessary parameters
to execute the DescribeSnapshots operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateNetworkAclResult> createNetworkAclAsync(CreateNetworkAclRequest createNetworkAclRequest) throws AmazonServiceException, AmazonClientException
Creates a new network ACL in a VPC. Network ACLs provide an optional layer of security (on top of security groups) for the instances in your VPC. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
createNetworkAclAsync in interface AmazonEC2AsynccreateNetworkAclRequest - Container for the necessary parameters
to execute the CreateNetworkAcl operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<CreateNetworkAclResult> createNetworkAclAsync(CreateNetworkAclRequest createNetworkAclRequest, AsyncHandler<CreateNetworkAclRequest,CreateNetworkAclResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new network ACL in a VPC. Network ACLs provide an optional layer of security (on top of security groups) for the instances in your VPC. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
createNetworkAclAsync in interface AmazonEC2AsynccreateNetworkAclRequest - Container for the necessary parameters
to execute the CreateNetworkAcl operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<RegisterImageResult> registerImageAsync(RegisterImageRequest registerImageRequest) throws AmazonServiceException, AmazonClientException
The RegisterImage operation registers an AMI with Amazon EC2. Images must be registered before they can be launched. For more information, see RunInstances.
Each AMI is associated with an unique ID which is provided by the Amazon EC2 service through the RegisterImage operation. During registration, Amazon EC2 retrieves the specified image manifest from Amazon S3 and verifies that the image is owned by the user registering the image.
The image manifest is retrieved once and stored within the Amazon EC2. Any modifications to an image in Amazon S3 invalidates this registration. If you make changes to an image, deregister the previous image and register the new image. For more information, see DeregisterImage.
registerImageAsync in interface AmazonEC2AsyncregisterImageRequest - Container for the necessary parameters to
execute the RegisterImage operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<RegisterImageResult> registerImageAsync(RegisterImageRequest registerImageRequest, AsyncHandler<RegisterImageRequest,RegisterImageResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The RegisterImage operation registers an AMI with Amazon EC2. Images must be registered before they can be launched. For more information, see RunInstances.
Each AMI is associated with an unique ID which is provided by the Amazon EC2 service through the RegisterImage operation. During registration, Amazon EC2 retrieves the specified image manifest from Amazon S3 and verifies that the image is owned by the user registering the image.
The image manifest is retrieved once and stored within the Amazon EC2. Any modifications to an image in Amazon S3 invalidates this registration. If you make changes to an image, deregister the previous image and register the new image. For more information, see DeregisterImage.
registerImageAsync in interface AmazonEC2AsyncregisterImageRequest - Container for the necessary parameters to
execute the RegisterImage operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> resetNetworkInterfaceAttributeAsync(ResetNetworkInterfaceAttributeRequest resetNetworkInterfaceAttributeRequest) throws AmazonServiceException, AmazonClientException
resetNetworkInterfaceAttributeAsync in interface AmazonEC2AsyncresetNetworkInterfaceAttributeRequest - Container for the
necessary parameters to execute the ResetNetworkInterfaceAttribute
operation on AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> resetNetworkInterfaceAttributeAsync(ResetNetworkInterfaceAttributeRequest resetNetworkInterfaceAttributeRequest, AsyncHandler<ResetNetworkInterfaceAttributeRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
resetNetworkInterfaceAttributeAsync in interface AmazonEC2AsyncresetNetworkInterfaceAttributeRequest - Container for the
necessary parameters to execute the ResetNetworkInterfaceAttribute
operation on AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createVpnConnectionRouteAsync(CreateVpnConnectionRouteRequest createVpnConnectionRouteRequest) throws AmazonServiceException, AmazonClientException
createVpnConnectionRouteAsync in interface AmazonEC2AsynccreateVpnConnectionRouteRequest - Container for the necessary
parameters to execute the CreateVpnConnectionRoute operation on
AmazonEC2.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createVpnConnectionRouteAsync(CreateVpnConnectionRouteRequest createVpnConnectionRouteRequest, AsyncHandler<CreateVpnConnectionRouteRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
createVpnConnectionRouteAsync in interface AmazonEC2AsynccreateVpnConnectionRouteRequest - Container for the necessary
parameters to execute the CreateVpnConnectionRoute operation on
AmazonEC2.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonEC2 indicating
either a problem with the data in the request, or a server side issue.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.