Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.directconnect
Class AmazonDirectConnectAsyncClient

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceClient
      extended by com.amazonaws.services.directconnect.AmazonDirectConnectClient
          extended by com.amazonaws.services.directconnect.AmazonDirectConnectAsyncClient
All Implemented Interfaces:
AmazonDirectConnect, AmazonDirectConnectAsync

public class AmazonDirectConnectAsyncClient
extends AmazonDirectConnectClient
implements AmazonDirectConnectAsync

Asynchronous client for accessing AmazonDirectConnect. All asynchronous calls made using this client are non-blocking. Callers could either process the result and handle the exceptions in the worker thread by providing a callback handler when making the call, or use the returned Future object to check the result of the call in the calling thread.

AWS Direct Connect makes it easy to establish a dedicated network connection from your premises to Amazon Web Services (AWS). Using AWS Direct Connect, you can establish private connectivity between AWS and your data center, office, or colocation environment, which in many cases can reduce your network costs, increase bandwidth throughput, and provide a more consistent network experience than Internet-based connections.

The AWS Direct Connect API Reference provides descriptions, syntax, and usage examples for each of the actions and data types for AWS Direct Connect. Use the following links to get started using the AWS Direct Connect API Reference :


Constructor Summary
AmazonDirectConnectAsyncClient()
          Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect.
AmazonDirectConnectAsyncClient(AWSCredentials awsCredentials)
          Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials.
AmazonDirectConnectAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials, executor service, and client configuration options.
AmazonDirectConnectAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials and executor service.
AmazonDirectConnectAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
          Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials provider.
AmazonDirectConnectAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials provider and client configuration options.
AmazonDirectConnectAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials provider, executor service, and client configuration options.
AmazonDirectConnectAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials provider and executor service.
AmazonDirectConnectAsyncClient(ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect.
 
Method Summary
 Future<CreateConnectionResult> createConnectionAsync(CreateConnectionRequest createConnectionRequest)
           Creates a new network connection between the customer network and a specific AWS Direct Connect location.
 Future<CreateConnectionResult> createConnectionAsync(CreateConnectionRequest createConnectionRequest, AsyncHandler<CreateConnectionRequest,CreateConnectionResult> asyncHandler)
           Creates a new network connection between the customer network and a specific AWS Direct Connect location.
 Future<CreatePrivateVirtualInterfaceResult> createPrivateVirtualInterfaceAsync(CreatePrivateVirtualInterfaceRequest createPrivateVirtualInterfaceRequest)
           Creates a new private virtual interface.
 Future<CreatePrivateVirtualInterfaceResult> createPrivateVirtualInterfaceAsync(CreatePrivateVirtualInterfaceRequest createPrivateVirtualInterfaceRequest, AsyncHandler<CreatePrivateVirtualInterfaceRequest,CreatePrivateVirtualInterfaceResult> asyncHandler)
           Creates a new private virtual interface.
 Future<CreatePublicVirtualInterfaceResult> createPublicVirtualInterfaceAsync(CreatePublicVirtualInterfaceRequest createPublicVirtualInterfaceRequest)
           Creates a new public virtual interface.
 Future<CreatePublicVirtualInterfaceResult> createPublicVirtualInterfaceAsync(CreatePublicVirtualInterfaceRequest createPublicVirtualInterfaceRequest, AsyncHandler<CreatePublicVirtualInterfaceRequest,CreatePublicVirtualInterfaceResult> asyncHandler)
           Creates a new public virtual interface.
 Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest)
           Deletes the connection.
 Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest, AsyncHandler<DeleteConnectionRequest,DeleteConnectionResult> asyncHandler)
           Deletes the connection.
 Future<DeleteVirtualInterfaceResult> deleteVirtualInterfaceAsync(DeleteVirtualInterfaceRequest deleteVirtualInterfaceRequest)
           Deletes a virtual interface.
 Future<DeleteVirtualInterfaceResult> deleteVirtualInterfaceAsync(DeleteVirtualInterfaceRequest deleteVirtualInterfaceRequest, AsyncHandler<DeleteVirtualInterfaceRequest,DeleteVirtualInterfaceResult> asyncHandler)
           Deletes a virtual interface.
 Future<DescribeConnectionDetailResult> describeConnectionDetailAsync(DescribeConnectionDetailRequest describeConnectionDetailRequest)
           Displays details about a specific connection including the order steps for the connection and the current state of the connection order.
 Future<DescribeConnectionDetailResult> describeConnectionDetailAsync(DescribeConnectionDetailRequest describeConnectionDetailRequest, AsyncHandler<DescribeConnectionDetailRequest,DescribeConnectionDetailResult> asyncHandler)
           Displays details about a specific connection including the order steps for the connection and the current state of the connection order.
 Future<DescribeConnectionsResult> describeConnectionsAsync(DescribeConnectionsRequest describeConnectionsRequest)
           Displays all connections in this region.
 Future<DescribeConnectionsResult> describeConnectionsAsync(DescribeConnectionsRequest describeConnectionsRequest, AsyncHandler<DescribeConnectionsRequest,DescribeConnectionsResult> asyncHandler)
           Displays all connections in this region.
 Future<DescribeOfferingDetailResult> describeOfferingDetailAsync(DescribeOfferingDetailRequest describeOfferingDetailRequest)
           Displays additional ordering step details for a specified offering.
 Future<DescribeOfferingDetailResult> describeOfferingDetailAsync(DescribeOfferingDetailRequest describeOfferingDetailRequest, AsyncHandler<DescribeOfferingDetailRequest,DescribeOfferingDetailResult> asyncHandler)
           Displays additional ordering step details for a specified offering.
 Future<DescribeOfferingsResult> describeOfferingsAsync(DescribeOfferingsRequest describeOfferingsRequest)
           Describes one or more of the offerings that are currently available for creating new connections.
 Future<DescribeOfferingsResult> describeOfferingsAsync(DescribeOfferingsRequest describeOfferingsRequest, AsyncHandler<DescribeOfferingsRequest,DescribeOfferingsResult> asyncHandler)
           Describes one or more of the offerings that are currently available for creating new connections.
 Future<DescribeVirtualGatewaysResult> describeVirtualGatewaysAsync(DescribeVirtualGatewaysRequest describeVirtualGatewaysRequest)
           Returns a list of virtual private gateways owned by the AWS account.
 Future<DescribeVirtualGatewaysResult> describeVirtualGatewaysAsync(DescribeVirtualGatewaysRequest describeVirtualGatewaysRequest, AsyncHandler<DescribeVirtualGatewaysRequest,DescribeVirtualGatewaysResult> asyncHandler)
           Returns a list of virtual private gateways owned by the AWS account.
 Future<DescribeVirtualInterfacesResult> describeVirtualInterfacesAsync(DescribeVirtualInterfacesRequest describeVirtualInterfacesRequest)
           Displays all virtual interfaces for an AWS account.
 Future<DescribeVirtualInterfacesResult> describeVirtualInterfacesAsync(DescribeVirtualInterfacesRequest describeVirtualInterfacesRequest, AsyncHandler<DescribeVirtualInterfacesRequest,DescribeVirtualInterfacesResult> asyncHandler)
           Displays all virtual interfaces for an AWS account.
 ExecutorService getExecutorService()
          Returns the executor service used by this async client to execute requests.
 void shutdown()
          Shuts down the client, releasing all managed resources.
 
Methods inherited from class com.amazonaws.services.directconnect.AmazonDirectConnectClient
createConnection, createPrivateVirtualInterface, createPrivateVirtualInterface, createPublicVirtualInterface, createPublicVirtualInterface, deleteConnection, deleteVirtualInterface, deleteVirtualInterface, describeConnectionDetail, describeConnections, describeConnections, describeOfferingDetail, describeOfferings, describeOfferings, describeVirtualGateways, describeVirtualGateways, describeVirtualInterfaces, describeVirtualInterfaces, getCachedResponseMetadata, setEndpoint
 
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, withTimeOffset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amazonaws.services.directconnect.AmazonDirectConnect
createConnection, createPrivateVirtualInterface, createPrivateVirtualInterface, createPublicVirtualInterface, createPublicVirtualInterface, deleteConnection, deleteVirtualInterface, deleteVirtualInterface, describeConnectionDetail, describeConnections, describeConnections, describeOfferingDetail, describeOfferings, describeOfferings, describeVirtualGateways, describeVirtualGateways, describeVirtualInterfaces, describeVirtualInterfaces, getCachedResponseMetadata, setEndpoint, setRegion
 

Constructor Detail

AmazonDirectConnectAsyncClient

public AmazonDirectConnectAsyncClient()
Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

See Also:
DefaultAWSCredentialsProvider

AmazonDirectConnectAsyncClient

public AmazonDirectConnectAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
clientConfiguration - The client configuration options controlling how this client connects to AmazonDirectConnect (ex: proxy settings, retry counts, etc.).
See Also:
DefaultAWSCredentialsProvider

AmazonDirectConnectAsyncClient

public AmazonDirectConnectAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

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.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.

AmazonDirectConnectAsyncClient

public AmazonDirectConnectAsyncClient(AWSCredentials awsCredentials,
                                      ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials and executor service. Default client settings will be used.

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.

Parameters:
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.

AmazonDirectConnectAsyncClient

public AmazonDirectConnectAsyncClient(AWSCredentials awsCredentials,
                                      ClientConfiguration clientConfiguration,
                                      ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials, executor service, and client configuration options.

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.

Parameters:
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.

AmazonDirectConnectAsyncClient

public AmazonDirectConnectAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials provider. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

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.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.

AmazonDirectConnectAsyncClient

public AmazonDirectConnectAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                      ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials provider and executor service. Default client settings will be used.

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.

Parameters:
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.

AmazonDirectConnectAsyncClient

public AmazonDirectConnectAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                      ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials provider and client configuration options.

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.

Parameters:
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).

AmazonDirectConnectAsyncClient

public AmazonDirectConnectAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                      ClientConfiguration clientConfiguration,
                                      ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonDirectConnect using the specified AWS account credentials provider, executor service, and client configuration options.

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.

Parameters:
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.
Method Detail

getExecutorService

public ExecutorService getExecutorService()
Returns the executor service used by this async client to execute requests.

Returns:
The executor service used by this async client to execute requests.

shutdown

public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should call getExecutorService().shutdown() prior to calling this method.

Specified by:
shutdown in interface AmazonDirectConnect
Overrides:
shutdown in class AmazonWebServiceClient

describeVirtualInterfacesAsync

public Future<DescribeVirtualInterfacesResult> describeVirtualInterfacesAsync(DescribeVirtualInterfacesRequest describeVirtualInterfacesRequest)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before DescribeVirtualInterfaces is called are also returned. If a virtual interface ID is included then only a single virtual interface will be returned.

A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer.

Specified by:
describeVirtualInterfacesAsync in interface AmazonDirectConnectAsync
Parameters:
describeVirtualInterfacesRequest - Container for the necessary parameters to execute the DescribeVirtualInterfaces operation on AmazonDirectConnect.
Returns:
A Java Future object containing the response from the DescribeVirtualInterfaces service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

describeVirtualInterfacesAsync

public Future<DescribeVirtualInterfacesResult> describeVirtualInterfacesAsync(DescribeVirtualInterfacesRequest describeVirtualInterfacesRequest,
                                                                              AsyncHandler<DescribeVirtualInterfacesRequest,DescribeVirtualInterfacesResult> asyncHandler)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before DescribeVirtualInterfaces is called are also returned. If a virtual interface ID is included then only a single virtual interface will be returned.

A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer.

Specified by:
describeVirtualInterfacesAsync in interface AmazonDirectConnectAsync
Parameters:
describeVirtualInterfacesRequest - Container for the necessary parameters to execute the DescribeVirtualInterfaces operation on AmazonDirectConnect.
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.
Returns:
A Java Future object containing the response from the DescribeVirtualInterfaces service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

describeVirtualGatewaysAsync

public Future<DescribeVirtualGatewaysResult> describeVirtualGatewaysAsync(DescribeVirtualGatewaysRequest describeVirtualGatewaysRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Returns a list of virtual private gateways owned by the AWS account.

You can create one or more AWS Direct Connect private virtual interfaces linking to a virtual private gateway. A virtual private gateway can be managed via Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.

Specified by:
describeVirtualGatewaysAsync in interface AmazonDirectConnectAsync
Parameters:
describeVirtualGatewaysRequest - Container for the necessary parameters to execute the DescribeVirtualGateways operation on AmazonDirectConnect.
Returns:
A Java Future object containing the response from the DescribeVirtualGateways service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

describeVirtualGatewaysAsync

public Future<DescribeVirtualGatewaysResult> describeVirtualGatewaysAsync(DescribeVirtualGatewaysRequest describeVirtualGatewaysRequest,
                                                                          AsyncHandler<DescribeVirtualGatewaysRequest,DescribeVirtualGatewaysResult> asyncHandler)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Returns a list of virtual private gateways owned by the AWS account.

You can create one or more AWS Direct Connect private virtual interfaces linking to a virtual private gateway. A virtual private gateway can be managed via Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.

Specified by:
describeVirtualGatewaysAsync in interface AmazonDirectConnectAsync
Parameters:
describeVirtualGatewaysRequest - Container for the necessary parameters to execute the DescribeVirtualGateways operation on AmazonDirectConnect.
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.
Returns:
A Java Future object containing the response from the DescribeVirtualGateways service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

describeConnectionDetailAsync

public Future<DescribeConnectionDetailResult> describeConnectionDetailAsync(DescribeConnectionDetailRequest describeConnectionDetailRequest)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Displays details about a specific connection including the order steps for the connection and the current state of the connection order.

Specified by:
describeConnectionDetailAsync in interface AmazonDirectConnectAsync
Parameters:
describeConnectionDetailRequest - Container for the necessary parameters to execute the DescribeConnectionDetail operation on AmazonDirectConnect.
Returns:
A Java Future object containing the response from the DescribeConnectionDetail service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

describeConnectionDetailAsync

public Future<DescribeConnectionDetailResult> describeConnectionDetailAsync(DescribeConnectionDetailRequest describeConnectionDetailRequest,
                                                                            AsyncHandler<DescribeConnectionDetailRequest,DescribeConnectionDetailResult> asyncHandler)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Displays details about a specific connection including the order steps for the connection and the current state of the connection order.

Specified by:
describeConnectionDetailAsync in interface AmazonDirectConnectAsync
Parameters:
describeConnectionDetailRequest - Container for the necessary parameters to execute the DescribeConnectionDetail operation on AmazonDirectConnect.
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.
Returns:
A Java Future object containing the response from the DescribeConnectionDetail service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

describeOfferingsAsync

public Future<DescribeOfferingsResult> describeOfferingsAsync(DescribeOfferingsRequest describeOfferingsRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Describes one or more of the offerings that are currently available for creating new connections. The results include offerings for all regions.

To order a new connection you need to select a specific offering ID.

Specified by:
describeOfferingsAsync in interface AmazonDirectConnectAsync
Parameters:
describeOfferingsRequest - Container for the necessary parameters to execute the DescribeOfferings operation on AmazonDirectConnect.
Returns:
A Java Future object containing the response from the DescribeOfferings service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

describeOfferingsAsync

public Future<DescribeOfferingsResult> describeOfferingsAsync(DescribeOfferingsRequest describeOfferingsRequest,
                                                              AsyncHandler<DescribeOfferingsRequest,DescribeOfferingsResult> asyncHandler)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Describes one or more of the offerings that are currently available for creating new connections. The results include offerings for all regions.

To order a new connection you need to select a specific offering ID.

Specified by:
describeOfferingsAsync in interface AmazonDirectConnectAsync
Parameters:
describeOfferingsRequest - Container for the necessary parameters to execute the DescribeOfferings operation on AmazonDirectConnect.
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.
Returns:
A Java Future object containing the response from the DescribeOfferings service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

describeConnectionsAsync

public Future<DescribeConnectionsResult> describeConnectionsAsync(DescribeConnectionsRequest describeConnectionsRequest)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

Displays all connections in this region.

If a connection ID is provided, it will only return this particular connection.

Specified by:
describeConnectionsAsync in interface AmazonDirectConnectAsync
Parameters:
describeConnectionsRequest - Container for the necessary parameters to execute the DescribeConnections operation on AmazonDirectConnect.
Returns:
A Java Future object containing the response from the DescribeConnections service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

describeConnectionsAsync

public Future<DescribeConnectionsResult> describeConnectionsAsync(DescribeConnectionsRequest describeConnectionsRequest,
                                                                  AsyncHandler<DescribeConnectionsRequest,DescribeConnectionsResult> asyncHandler)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

Displays all connections in this region.

If a connection ID is provided, it will only return this particular connection.

Specified by:
describeConnectionsAsync in interface AmazonDirectConnectAsync
Parameters:
describeConnectionsRequest - Container for the necessary parameters to execute the DescribeConnections operation on AmazonDirectConnect.
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.
Returns:
A Java Future object containing the response from the DescribeConnections service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

describeOfferingDetailAsync

public Future<DescribeOfferingDetailResult> describeOfferingDetailAsync(DescribeOfferingDetailRequest describeOfferingDetailRequest)
                                                                 throws AmazonServiceException,
                                                                        AmazonClientException

Displays additional ordering step details for a specified offering.

Specified by:
describeOfferingDetailAsync in interface AmazonDirectConnectAsync
Parameters:
describeOfferingDetailRequest - Container for the necessary parameters to execute the DescribeOfferingDetail operation on AmazonDirectConnect.
Returns:
A Java Future object containing the response from the DescribeOfferingDetail service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

describeOfferingDetailAsync

public Future<DescribeOfferingDetailResult> describeOfferingDetailAsync(DescribeOfferingDetailRequest describeOfferingDetailRequest,
                                                                        AsyncHandler<DescribeOfferingDetailRequest,DescribeOfferingDetailResult> asyncHandler)
                                                                 throws AmazonServiceException,
                                                                        AmazonClientException

Displays additional ordering step details for a specified offering.

Specified by:
describeOfferingDetailAsync in interface AmazonDirectConnectAsync
Parameters:
describeOfferingDetailRequest - Container for the necessary parameters to execute the DescribeOfferingDetail operation on AmazonDirectConnect.
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.
Returns:
A Java Future object containing the response from the DescribeOfferingDetail service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

deleteConnectionAsync

public Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Deletes the connection.

Deleting a connection only stops the AWS Direct Connect port and data transfer charges. You separately need to cancel any services or charges for cross-connects or network circuits that connect you to the AWS Direct Connect location with the providers of those services.

Specified by:
deleteConnectionAsync in interface AmazonDirectConnectAsync
Parameters:
deleteConnectionRequest - Container for the necessary parameters to execute the DeleteConnection operation on AmazonDirectConnect.
Returns:
A Java Future object containing the response from the DeleteConnection service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

deleteConnectionAsync

public Future<DeleteConnectionResult> deleteConnectionAsync(DeleteConnectionRequest deleteConnectionRequest,
                                                            AsyncHandler<DeleteConnectionRequest,DeleteConnectionResult> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Deletes the connection.

Deleting a connection only stops the AWS Direct Connect port and data transfer charges. You separately need to cancel any services or charges for cross-connects or network circuits that connect you to the AWS Direct Connect location with the providers of those services.

Specified by:
deleteConnectionAsync in interface AmazonDirectConnectAsync
Parameters:
deleteConnectionRequest - Container for the necessary parameters to execute the DeleteConnection operation on AmazonDirectConnect.
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.
Returns:
A Java Future object containing the response from the DeleteConnection service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

createConnectionAsync

public Future<CreateConnectionResult> createConnectionAsync(CreateConnectionRequest createConnectionRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Creates a new network connection between the customer network and a specific AWS Direct Connect location.

A connection links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. A Direct Connect location provides access to Amazon Web Services in the region it is associated with. You can establish connections with AWS Direct Connect locations in multiple regions, but a connection in one region does not provide connectivity to other regions.

Specified by:
createConnectionAsync in interface AmazonDirectConnectAsync
Parameters:
createConnectionRequest - Container for the necessary parameters to execute the CreateConnection operation on AmazonDirectConnect.
Returns:
A Java Future object containing the response from the CreateConnection service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

createConnectionAsync

public Future<CreateConnectionResult> createConnectionAsync(CreateConnectionRequest createConnectionRequest,
                                                            AsyncHandler<CreateConnectionRequest,CreateConnectionResult> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Creates a new network connection between the customer network and a specific AWS Direct Connect location.

A connection links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. A Direct Connect location provides access to Amazon Web Services in the region it is associated with. You can establish connections with AWS Direct Connect locations in multiple regions, but a connection in one region does not provide connectivity to other regions.

Specified by:
createConnectionAsync in interface AmazonDirectConnectAsync
Parameters:
createConnectionRequest - Container for the necessary parameters to execute the CreateConnection operation on AmazonDirectConnect.
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.
Returns:
A Java Future object containing the response from the CreateConnection service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

createPrivateVirtualInterfaceAsync

public Future<CreatePrivateVirtualInterfaceResult> createPrivateVirtualInterfaceAsync(CreatePrivateVirtualInterfaceRequest createPrivateVirtualInterfaceRequest)
                                                                               throws AmazonServiceException,
                                                                                      AmazonClientException

Creates a new private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A private virtual interface supports sending traffic to a single Virtual Private Cloud (VPC).

Specified by:
createPrivateVirtualInterfaceAsync in interface AmazonDirectConnectAsync
Parameters:
createPrivateVirtualInterfaceRequest - Container for the necessary parameters to execute the CreatePrivateVirtualInterface operation on AmazonDirectConnect.
Returns:
A Java Future object containing the response from the CreatePrivateVirtualInterface service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

createPrivateVirtualInterfaceAsync

public Future<CreatePrivateVirtualInterfaceResult> createPrivateVirtualInterfaceAsync(CreatePrivateVirtualInterfaceRequest createPrivateVirtualInterfaceRequest,
                                                                                      AsyncHandler<CreatePrivateVirtualInterfaceRequest,CreatePrivateVirtualInterfaceResult> asyncHandler)
                                                                               throws AmazonServiceException,
                                                                                      AmazonClientException

Creates a new private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A private virtual interface supports sending traffic to a single Virtual Private Cloud (VPC).

Specified by:
createPrivateVirtualInterfaceAsync in interface AmazonDirectConnectAsync
Parameters:
createPrivateVirtualInterfaceRequest - Container for the necessary parameters to execute the CreatePrivateVirtualInterface operation on AmazonDirectConnect.
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.
Returns:
A Java Future object containing the response from the CreatePrivateVirtualInterface service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

deleteVirtualInterfaceAsync

public Future<DeleteVirtualInterfaceResult> deleteVirtualInterfaceAsync(DeleteVirtualInterfaceRequest deleteVirtualInterfaceRequest)
                                                                 throws AmazonServiceException,
                                                                        AmazonClientException

Deletes a virtual interface.

Specified by:
deleteVirtualInterfaceAsync in interface AmazonDirectConnectAsync
Parameters:
deleteVirtualInterfaceRequest - Container for the necessary parameters to execute the DeleteVirtualInterface operation on AmazonDirectConnect.
Returns:
A Java Future object containing the response from the DeleteVirtualInterface service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

deleteVirtualInterfaceAsync

public Future<DeleteVirtualInterfaceResult> deleteVirtualInterfaceAsync(DeleteVirtualInterfaceRequest deleteVirtualInterfaceRequest,
                                                                        AsyncHandler<DeleteVirtualInterfaceRequest,DeleteVirtualInterfaceResult> asyncHandler)
                                                                 throws AmazonServiceException,
                                                                        AmazonClientException

Deletes a virtual interface.

Specified by:
deleteVirtualInterfaceAsync in interface AmazonDirectConnectAsync
Parameters:
deleteVirtualInterfaceRequest - Container for the necessary parameters to execute the DeleteVirtualInterface operation on AmazonDirectConnect.
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.
Returns:
A Java Future object containing the response from the DeleteVirtualInterface service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

createPublicVirtualInterfaceAsync

public Future<CreatePublicVirtualInterfaceResult> createPublicVirtualInterfaceAsync(CreatePublicVirtualInterfaceRequest createPublicVirtualInterfaceRequest)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Creates a new public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A public virtual interface supports sending traffic to public services of AWS such as Amazon Simple Storage Service (Amazon S3).

Specified by:
createPublicVirtualInterfaceAsync in interface AmazonDirectConnectAsync
Parameters:
createPublicVirtualInterfaceRequest - Container for the necessary parameters to execute the CreatePublicVirtualInterface operation on AmazonDirectConnect.
Returns:
A Java Future object containing the response from the CreatePublicVirtualInterface service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.

createPublicVirtualInterfaceAsync

public Future<CreatePublicVirtualInterfaceResult> createPublicVirtualInterfaceAsync(CreatePublicVirtualInterfaceRequest createPublicVirtualInterfaceRequest,
                                                                                    AsyncHandler<CreatePublicVirtualInterfaceRequest,CreatePublicVirtualInterfaceResult> asyncHandler)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Creates a new public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A public virtual interface supports sending traffic to public services of AWS such as Amazon Simple Storage Service (Amazon S3).

Specified by:
createPublicVirtualInterfaceAsync in interface AmazonDirectConnectAsync
Parameters:
createPublicVirtualInterfaceRequest - Container for the necessary parameters to execute the CreatePublicVirtualInterface operation on AmazonDirectConnect.
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.
Returns:
A Java Future object containing the response from the CreatePublicVirtualInterface service method, as returned by AmazonDirectConnect.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonDirectConnect indicating either a problem with the data in the request, or a server side issue.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.