@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSGlobalAcceleratorAsyncClient extends AWSGlobalAcceleratorClient implements AWSGlobalAcceleratorAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
This is the AWS Global Accelerator API Reference. This guide is for developers who need detailed information about AWS Global Accelerator API actions, data types, and errors. For more information about Global Accelerator features, see the AWS Global Accelerator Developer Guide.
AWS Global Accelerator is a network layer service in which you create accelerators to improve availability and performance for internet applications used by a global audience.
Global Accelerator provides you with static IP addresses that you associate with your accelerator. These IP addresses are anycast from the AWS edge network and distribute incoming application traffic across multiple endpoint resources in multiple AWS Regions, which increases the availability of your applications. Endpoints can be Elastic IP addresses, Network Load Balancers, and Application Load Balancers that are located in one AWS Region or multiple Regions.
Global Accelerator uses the AWS global network to route traffic to the optimal regional endpoint based on health, client location, and policies that you configure. The service reacts instantly to changes in health or configuration to ensure that internet traffic from clients is directed to only healthy endpoints.
Global Accelerator includes components that work together to help you improve performance and availability for your applications:
AWS Global Accelerator provides you with a set of static IP addresses which are anycast from the AWS edge network and serve as the single fixed entry points for your clients. If you already have Elastic Load Balancing or Elastic IP address resources set up for your applications, you can easily add those to Global Accelerator to allow the resources to be accessed by a Global Accelerator static IP address.
An accelerator directs traffic to optimal endpoints over the AWS global network to improve availability and performance for your internet applications that have a global audience. Each accelerator includes one or more listeners.
A network zone services the static IP addresses for your accelerator from a unique IP subnet. Similar to an AWS Availability Zone, a network zone is an isolated unit with its own set of physical infrastructure. When you configure an accelerator, Global Accelerator allocates two IPv4 addresses for it. If one IP address from a network zone becomes unavailable due to IP address blocking by certain client networks, or network disruptions, then client applications can retry on the healthy static IP address from the other isolated network zone.
A listener processes inbound connections from clients to Global Accelerator, based on the protocol and port that you configure. Each listener has one or more endpoint groups associated with it, and traffic is forwarded to endpoints in one of the groups. You associate endpoint groups with listeners by specifying the Regions that you want to distribute traffic to. Traffic is distributed to optimal endpoints within the endpoint groups associated with a listener.
Each endpoint group is associated with a specific AWS Region. Endpoint groups include one or more endpoints in the Region. You can increase or reduce the percentage of traffic that would be otherwise directed to an endpoint group by adjusting a setting called a traffic dial. The traffic dial lets you easily do performance testing or blue/green deployment testing for new releases across different AWS Regions, for example.
An endpoint is an Elastic IP address, Network Load Balancer, or Application Load Balancer. Traffic is routed to endpoints based on several factors, including the geo-proximity to the user, the health of the endpoint, and the configuration options that you choose, such as endpoint weights. For each endpoint, you can configure weights, which are numbers that you can use to specify the proportion of traffic to route to each one. This can be useful, for example, to do performance testing within a Region.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createAccelerator, createEndpointGroup, createListener, deleteAccelerator, deleteEndpointGroup, deleteListener, describeAccelerator, describeAcceleratorAttributes, describeEndpointGroup, describeListener, getCachedResponseMetadata, listAccelerators, listEndpointGroups, listListeners, updateAccelerator, updateAcceleratorAttributes, updateEndpointGroup, updateListener
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAccelerator, createEndpointGroup, createListener, deleteAccelerator, deleteEndpointGroup, deleteListener, describeAccelerator, describeAcceleratorAttributes, describeEndpointGroup, describeListener, getCachedResponseMetadata, listAccelerators, listEndpointGroups, listListeners, updateAccelerator, updateAcceleratorAttributes, updateEndpointGroup, updateListener
public static AWSGlobalAcceleratorAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateAcceleratorResult> createAcceleratorAsync(CreateAcceleratorRequest request)
AWSGlobalAcceleratorAsync
Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct traffic to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers. To see an AWS CLI example of creating an accelerator, scroll down to Example.
createAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
public Future<CreateAcceleratorResult> createAcceleratorAsync(CreateAcceleratorRequest request, AsyncHandler<CreateAcceleratorRequest,CreateAcceleratorResult> asyncHandler)
AWSGlobalAcceleratorAsync
Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct traffic to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers. To see an AWS CLI example of creating an accelerator, scroll down to Example.
createAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEndpointGroupResult> createEndpointGroupAsync(CreateEndpointGroupRequest request)
AWSGlobalAcceleratorAsync
Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one AWS Region. To see an AWS CLI example of creating an endpoint group, scroll down to Example.
createEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
public Future<CreateEndpointGroupResult> createEndpointGroupAsync(CreateEndpointGroupRequest request, AsyncHandler<CreateEndpointGroupRequest,CreateEndpointGroupResult> asyncHandler)
AWSGlobalAcceleratorAsync
Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one AWS Region. To see an AWS CLI example of creating an endpoint group, scroll down to Example.
createEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateListenerResult> createListenerAsync(CreateListenerRequest request)
AWSGlobalAcceleratorAsync
Create a listener to process inbound connections from clients to an accelerator. Connections arrive to assigned static IP addresses on a port, port range, or list of port ranges that you specify. To see an AWS CLI example of creating a listener, scroll down to Example.
createListenerAsync
in interface AWSGlobalAcceleratorAsync
public Future<CreateListenerResult> createListenerAsync(CreateListenerRequest request, AsyncHandler<CreateListenerRequest,CreateListenerResult> asyncHandler)
AWSGlobalAcceleratorAsync
Create a listener to process inbound connections from clients to an accelerator. Connections arrive to assigned static IP addresses on a port, port range, or list of port ranges that you specify. To see an AWS CLI example of creating a listener, scroll down to Example.
createListenerAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAcceleratorResult> deleteAcceleratorAsync(DeleteAcceleratorRequest request)
AWSGlobalAcceleratorAsync
Delete an accelerator. Note: before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups).
deleteAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
public Future<DeleteAcceleratorResult> deleteAcceleratorAsync(DeleteAcceleratorRequest request, AsyncHandler<DeleteAcceleratorRequest,DeleteAcceleratorResult> asyncHandler)
AWSGlobalAcceleratorAsync
Delete an accelerator. Note: before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups).
deleteAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEndpointGroupResult> deleteEndpointGroupAsync(DeleteEndpointGroupRequest request)
AWSGlobalAcceleratorAsync
Delete an endpoint group from a listener.
deleteEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
public Future<DeleteEndpointGroupResult> deleteEndpointGroupAsync(DeleteEndpointGroupRequest request, AsyncHandler<DeleteEndpointGroupRequest,DeleteEndpointGroupResult> asyncHandler)
AWSGlobalAcceleratorAsync
Delete an endpoint group from a listener.
deleteEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteListenerResult> deleteListenerAsync(DeleteListenerRequest request)
AWSGlobalAcceleratorAsync
Delete a listener from an accelerator.
deleteListenerAsync
in interface AWSGlobalAcceleratorAsync
public Future<DeleteListenerResult> deleteListenerAsync(DeleteListenerRequest request, AsyncHandler<DeleteListenerRequest,DeleteListenerResult> asyncHandler)
AWSGlobalAcceleratorAsync
Delete a listener from an accelerator.
deleteListenerAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeAcceleratorResult> describeAcceleratorAsync(DescribeAcceleratorRequest request)
AWSGlobalAcceleratorAsync
Describe an accelerator. To see an AWS CLI example of describing an accelerator, scroll down to Example.
describeAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
public Future<DescribeAcceleratorResult> describeAcceleratorAsync(DescribeAcceleratorRequest request, AsyncHandler<DescribeAcceleratorRequest,DescribeAcceleratorResult> asyncHandler)
AWSGlobalAcceleratorAsync
Describe an accelerator. To see an AWS CLI example of describing an accelerator, scroll down to Example.
describeAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeAcceleratorAttributesResult> describeAcceleratorAttributesAsync(DescribeAcceleratorAttributesRequest request)
AWSGlobalAcceleratorAsync
Describe the attributes of an accelerator.
describeAcceleratorAttributesAsync
in interface AWSGlobalAcceleratorAsync
public Future<DescribeAcceleratorAttributesResult> describeAcceleratorAttributesAsync(DescribeAcceleratorAttributesRequest request, AsyncHandler<DescribeAcceleratorAttributesRequest,DescribeAcceleratorAttributesResult> asyncHandler)
AWSGlobalAcceleratorAsync
Describe the attributes of an accelerator.
describeAcceleratorAttributesAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEndpointGroupResult> describeEndpointGroupAsync(DescribeEndpointGroupRequest request)
AWSGlobalAcceleratorAsync
Describe an endpoint group.
describeEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
public Future<DescribeEndpointGroupResult> describeEndpointGroupAsync(DescribeEndpointGroupRequest request, AsyncHandler<DescribeEndpointGroupRequest,DescribeEndpointGroupResult> asyncHandler)
AWSGlobalAcceleratorAsync
Describe an endpoint group.
describeEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeListenerResult> describeListenerAsync(DescribeListenerRequest request)
AWSGlobalAcceleratorAsync
Describe a listener.
describeListenerAsync
in interface AWSGlobalAcceleratorAsync
public Future<DescribeListenerResult> describeListenerAsync(DescribeListenerRequest request, AsyncHandler<DescribeListenerRequest,DescribeListenerResult> asyncHandler)
AWSGlobalAcceleratorAsync
Describe a listener.
describeListenerAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAcceleratorsResult> listAcceleratorsAsync(ListAcceleratorsRequest request)
AWSGlobalAcceleratorAsync
List the accelerators for an AWS account.
listAcceleratorsAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListAcceleratorsResult> listAcceleratorsAsync(ListAcceleratorsRequest request, AsyncHandler<ListAcceleratorsRequest,ListAcceleratorsResult> asyncHandler)
AWSGlobalAcceleratorAsync
List the accelerators for an AWS account.
listAcceleratorsAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEndpointGroupsResult> listEndpointGroupsAsync(ListEndpointGroupsRequest request)
AWSGlobalAcceleratorAsync
List the endpoint groups that are associated with a listener.
listEndpointGroupsAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListEndpointGroupsResult> listEndpointGroupsAsync(ListEndpointGroupsRequest request, AsyncHandler<ListEndpointGroupsRequest,ListEndpointGroupsResult> asyncHandler)
AWSGlobalAcceleratorAsync
List the endpoint groups that are associated with a listener.
listEndpointGroupsAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListListenersResult> listListenersAsync(ListListenersRequest request)
AWSGlobalAcceleratorAsync
List the listeners for an accelerator.
listListenersAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListListenersResult> listListenersAsync(ListListenersRequest request, AsyncHandler<ListListenersRequest,ListListenersResult> asyncHandler)
AWSGlobalAcceleratorAsync
List the listeners for an accelerator.
listListenersAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateAcceleratorResult> updateAcceleratorAsync(UpdateAcceleratorRequest request)
AWSGlobalAcceleratorAsync
Update an accelerator.
updateAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
public Future<UpdateAcceleratorResult> updateAcceleratorAsync(UpdateAcceleratorRequest request, AsyncHandler<UpdateAcceleratorRequest,UpdateAcceleratorResult> asyncHandler)
AWSGlobalAcceleratorAsync
Update an accelerator.
updateAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateAcceleratorAttributesResult> updateAcceleratorAttributesAsync(UpdateAcceleratorAttributesRequest request)
AWSGlobalAcceleratorAsync
Update the attributes for an accelerator. To see an AWS CLI example of updating an accelerator to enable flow logs, scroll down to Example.
updateAcceleratorAttributesAsync
in interface AWSGlobalAcceleratorAsync
public Future<UpdateAcceleratorAttributesResult> updateAcceleratorAttributesAsync(UpdateAcceleratorAttributesRequest request, AsyncHandler<UpdateAcceleratorAttributesRequest,UpdateAcceleratorAttributesResult> asyncHandler)
AWSGlobalAcceleratorAsync
Update the attributes for an accelerator. To see an AWS CLI example of updating an accelerator to enable flow logs, scroll down to Example.
updateAcceleratorAttributesAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEndpointGroupResult> updateEndpointGroupAsync(UpdateEndpointGroupRequest request)
AWSGlobalAcceleratorAsync
Update an endpoint group. To see an AWS CLI example of updating an endpoint group, scroll down to Example.
updateEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
public Future<UpdateEndpointGroupResult> updateEndpointGroupAsync(UpdateEndpointGroupRequest request, AsyncHandler<UpdateEndpointGroupRequest,UpdateEndpointGroupResult> asyncHandler)
AWSGlobalAcceleratorAsync
Update an endpoint group. To see an AWS CLI example of updating an endpoint group, scroll down to Example.
updateEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateListenerResult> updateListenerAsync(UpdateListenerRequest request)
AWSGlobalAcceleratorAsync
Update a listener.
updateListenerAsync
in interface AWSGlobalAcceleratorAsync
public Future<UpdateListenerResult> updateListenerAsync(UpdateListenerRequest request, AsyncHandler<UpdateListenerRequest,UpdateListenerResult> asyncHandler)
AWSGlobalAcceleratorAsync
Update a listener.
updateListenerAsync
in interface AWSGlobalAcceleratorAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSGlobalAccelerator
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.