@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 Global Accelerator API Reference. This guide is for developers who need detailed information about Global Accelerator API actions, data types, and errors. For more information about Global Accelerator features, see the Global Accelerator Developer Guide.
Global Accelerator is a service in which you create accelerators to improve the performance of your applications for local and global users. Depending on the type of accelerator you choose, you can gain additional benefits.
By using a standard accelerator, you can improve availability of your internet applications that are used by a global audience. With a standard accelerator, Global Accelerator directs traffic to optimal endpoints over the Amazon Web Services global network.
For other scenarios, you might choose a custom routing accelerator. With a custom routing accelerator, you can use application logic to directly map one or more users to a specific endpoint among many endpoints.
Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must
specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example,
specify --region us-west-2
on Amazon Web Services CLI commands.
By default, Global Accelerator provides you with static IP addresses that you associate with your accelerator. The static IP addresses are anycast from the Amazon Web Services edge network. For IPv4, Global Accelerator provides two static IPv4 addresses. For dual-stack, Global Accelerator provides a total of four addresses: two static IPv4 addresses and two static IPv6 addresses. With a standard accelerator for IPv4, instead of using the addresses that Global Accelerator provides, you can configure these entry points to be IPv4 addresses from your own IP address ranges that you bring to Global Accelerator (BYOIP).
For a standard accelerator, they distribute incoming application traffic across multiple endpoint resources in multiple Amazon Web Services Regions , which increases the availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers, Amazon EC2 instances, or Elastic IP addresses that are located in one Amazon Web Services Region or multiple Amazon Web Services Regions. For custom routing accelerators, you map traffic that arrives to the static IP addresses to specific Amazon EC2 servers in endpoints that are virtual private cloud (VPC) subnets.
The static IP addresses remain assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them. You can use IAM policies like tag-based permissions with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Tag-based policies.
For standard accelerators, Global Accelerator uses the Amazon Web Services 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 always directed to healthy endpoints.
For more information about understanding and using Global Accelerator, see the Global Accelerator Developer Guide.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addCustomRoutingEndpoints, addEndpoints, advertiseByoipCidr, allowCustomRoutingTraffic, builder, createAccelerator, createCrossAccountAttachment, createCustomRoutingAccelerator, createCustomRoutingEndpointGroup, createCustomRoutingListener, createEndpointGroup, createListener, deleteAccelerator, deleteCrossAccountAttachment, deleteCustomRoutingAccelerator, deleteCustomRoutingEndpointGroup, deleteCustomRoutingListener, deleteEndpointGroup, deleteListener, denyCustomRoutingTraffic, deprovisionByoipCidr, describeAccelerator, describeAcceleratorAttributes, describeCrossAccountAttachment, describeCustomRoutingAccelerator, describeCustomRoutingAcceleratorAttributes, describeCustomRoutingEndpointGroup, describeCustomRoutingListener, describeEndpointGroup, describeListener, getCachedResponseMetadata, listAccelerators, listByoipCidrs, listCrossAccountAttachments, listCrossAccountResourceAccounts, listCrossAccountResources, listCustomRoutingAccelerators, listCustomRoutingEndpointGroups, listCustomRoutingListeners, listCustomRoutingPortMappings, listCustomRoutingPortMappingsByDestination, listEndpointGroups, listListeners, listTagsForResource, provisionByoipCidr, removeCustomRoutingEndpoints, removeEndpoints, tagResource, untagResource, updateAccelerator, updateAcceleratorAttributes, updateCrossAccountAttachment, updateCustomRoutingAccelerator, updateCustomRoutingAcceleratorAttributes, updateCustomRoutingListener, updateEndpointGroup, updateListener, withdrawByoipCidr
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
addCustomRoutingEndpoints, addEndpoints, advertiseByoipCidr, allowCustomRoutingTraffic, createAccelerator, createCrossAccountAttachment, createCustomRoutingAccelerator, createCustomRoutingEndpointGroup, createCustomRoutingListener, createEndpointGroup, createListener, deleteAccelerator, deleteCrossAccountAttachment, deleteCustomRoutingAccelerator, deleteCustomRoutingEndpointGroup, deleteCustomRoutingListener, deleteEndpointGroup, deleteListener, denyCustomRoutingTraffic, deprovisionByoipCidr, describeAccelerator, describeAcceleratorAttributes, describeCrossAccountAttachment, describeCustomRoutingAccelerator, describeCustomRoutingAcceleratorAttributes, describeCustomRoutingEndpointGroup, describeCustomRoutingListener, describeEndpointGroup, describeListener, getCachedResponseMetadata, listAccelerators, listByoipCidrs, listCrossAccountAttachments, listCrossAccountResourceAccounts, listCrossAccountResources, listCustomRoutingAccelerators, listCustomRoutingEndpointGroups, listCustomRoutingListeners, listCustomRoutingPortMappings, listCustomRoutingPortMappingsByDestination, listEndpointGroups, listListeners, listTagsForResource, provisionByoipCidr, removeCustomRoutingEndpoints, removeEndpoints, tagResource, untagResource, updateAccelerator, updateAcceleratorAttributes, updateCrossAccountAttachment, updateCustomRoutingAccelerator, updateCustomRoutingAcceleratorAttributes, updateCustomRoutingListener, updateEndpointGroup, updateListener, withdrawByoipCidr
public static AWSGlobalAcceleratorAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddCustomRoutingEndpointsResult> addCustomRoutingEndpointsAsync(AddCustomRoutingEndpointsRequest request)
AWSGlobalAcceleratorAsync
Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.
The listener port range must be large enough to support the number of IP addresses that can be specified in your subnet. The number of ports required is: subnet size times the number of ports per destination EC2 instances. For example, a subnet defined as /24 requires a listener port range of at least 255 ports.
Note: You must have enough remaining listener ports available to map to the subnet ports, or the call will fail with a LimitExceededException.
By default, all destinations in a subnet in a custom routing accelerator cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic operation.
addCustomRoutingEndpointsAsync
in interface AWSGlobalAcceleratorAsync
public Future<AddCustomRoutingEndpointsResult> addCustomRoutingEndpointsAsync(AddCustomRoutingEndpointsRequest request, AsyncHandler<AddCustomRoutingEndpointsRequest,AddCustomRoutingEndpointsResult> asyncHandler)
AWSGlobalAcceleratorAsync
Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.
The listener port range must be large enough to support the number of IP addresses that can be specified in your subnet. The number of ports required is: subnet size times the number of ports per destination EC2 instances. For example, a subnet defined as /24 requires a listener port range of at least 255 ports.
Note: You must have enough remaining listener ports available to map to the subnet ports, or the call will fail with a LimitExceededException.
By default, all destinations in a subnet in a custom routing accelerator cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic operation.
addCustomRoutingEndpointsAsync
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<AddEndpointsResult> addEndpointsAsync(AddEndpointsRequest request)
AWSGlobalAcceleratorAsync
Add endpoints to an endpoint group. The AddEndpoints
API operation is the recommended option for
adding endpoints. The alternative options are to add endpoints when you create an endpoint group (with the CreateEndpointGroup
API) or when you update an endpoint group (with the UpdateEndpointGroup API).
There are two advantages to using AddEndpoints
to add endpoints in Global Accelerator:
It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding, rather than resolving new and existing endpoints.
It's more convenient, because you don't need to specify the current endpoints that are already in the endpoint group, in addition to the new endpoints that you want to add.
For information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators in the Global Accelerator Developer Guide.
addEndpointsAsync
in interface AWSGlobalAcceleratorAsync
public Future<AddEndpointsResult> addEndpointsAsync(AddEndpointsRequest request, AsyncHandler<AddEndpointsRequest,AddEndpointsResult> asyncHandler)
AWSGlobalAcceleratorAsync
Add endpoints to an endpoint group. The AddEndpoints
API operation is the recommended option for
adding endpoints. The alternative options are to add endpoints when you create an endpoint group (with the CreateEndpointGroup
API) or when you update an endpoint group (with the UpdateEndpointGroup API).
There are two advantages to using AddEndpoints
to add endpoints in Global Accelerator:
It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding, rather than resolving new and existing endpoints.
It's more convenient, because you don't need to specify the current endpoints that are already in the endpoint group, in addition to the new endpoints that you want to add.
For information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators in the Global Accelerator Developer Guide.
addEndpointsAsync
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<AdvertiseByoipCidrResult> advertiseByoipCidrAsync(AdvertiseByoipCidrRequest request)
AWSGlobalAcceleratorAsync
Advertises an IPv4 address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts routing to Amazon Web Services because of propagation delays.
To stop advertising the BYOIP address range, use WithdrawByoipCidr.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
advertiseByoipCidrAsync
in interface AWSGlobalAcceleratorAsync
public Future<AdvertiseByoipCidrResult> advertiseByoipCidrAsync(AdvertiseByoipCidrRequest request, AsyncHandler<AdvertiseByoipCidrRequest,AdvertiseByoipCidrResult> asyncHandler)
AWSGlobalAcceleratorAsync
Advertises an IPv4 address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts routing to Amazon Web Services because of propagation delays.
To stop advertising the BYOIP address range, use WithdrawByoipCidr.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
advertiseByoipCidrAsync
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<AllowCustomRoutingTrafficResult> allowCustomRoutingTrafficAsync(AllowCustomRoutingTrafficRequest request)
AWSGlobalAcceleratorAsync
Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that can receive traffic for a custom routing accelerator. You can allow traffic to all destinations in the subnet endpoint, or allow traffic to a specified list of destination IP addresses and ports in the subnet. Note that you cannot specify IP addresses or ports outside of the range that you configured for the endpoint group.
After you make changes, you can verify that the updates are complete by checking the status of your accelerator: the status changes from IN_PROGRESS to DEPLOYED.
allowCustomRoutingTrafficAsync
in interface AWSGlobalAcceleratorAsync
public Future<AllowCustomRoutingTrafficResult> allowCustomRoutingTrafficAsync(AllowCustomRoutingTrafficRequest request, AsyncHandler<AllowCustomRoutingTrafficRequest,AllowCustomRoutingTrafficResult> asyncHandler)
AWSGlobalAcceleratorAsync
Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that can receive traffic for a custom routing accelerator. You can allow traffic to all destinations in the subnet endpoint, or allow traffic to a specified list of destination IP addresses and ports in the subnet. Note that you cannot specify IP addresses or ports outside of the range that you configured for the endpoint group.
After you make changes, you can verify that the updates are complete by checking the status of your accelerator: the status changes from IN_PROGRESS to DEPLOYED.
allowCustomRoutingTrafficAsync
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<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.
Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you
must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for
example, specify --region us-west-2
on Amazon Web Services CLI commands.
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.
Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you
must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for
example, specify --region us-west-2
on Amazon Web Services CLI commands.
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<CreateCrossAccountAttachmentResult> createCrossAccountAttachmentAsync(CreateCrossAccountAttachmentRequest request)
AWSGlobalAcceleratorAsync
Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to specify the principals who have permission to work with resources in accelerators in their own account. You specify, in the same attachment, the resources that are shared.
A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator. For account numbers that are listed as principals, to work with a resource listed in the attachment, you must sign in to an account specified as a principal. Then, you can work with resources that are listed, with any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with permission to make updates to the accelerator can work with resources that are listed in the attachment.
Specify each principal and resource separately. To specify two CIDR address pools, list them individually under
Resources
, and so on. For a command line operation, for example, you might use a statement like the
following:
"Resources": [{"Cidr": "169.254.60.0/24"},{"Cidr": "169.254.59.0/24"}]
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
createCrossAccountAttachmentAsync
in interface AWSGlobalAcceleratorAsync
public Future<CreateCrossAccountAttachmentResult> createCrossAccountAttachmentAsync(CreateCrossAccountAttachmentRequest request, AsyncHandler<CreateCrossAccountAttachmentRequest,CreateCrossAccountAttachmentResult> asyncHandler)
AWSGlobalAcceleratorAsync
Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to specify the principals who have permission to work with resources in accelerators in their own account. You specify, in the same attachment, the resources that are shared.
A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator. For account numbers that are listed as principals, to work with a resource listed in the attachment, you must sign in to an account specified as a principal. Then, you can work with resources that are listed, with any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with permission to make updates to the accelerator can work with resources that are listed in the attachment.
Specify each principal and resource separately. To specify two CIDR address pools, list them individually under
Resources
, and so on. For a command line operation, for example, you might use a statement like the
following:
"Resources": [{"Cidr": "169.254.60.0/24"},{"Cidr": "169.254.59.0/24"}]
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
createCrossAccountAttachmentAsync
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<CreateCustomRoutingAcceleratorResult> createCustomRoutingAcceleratorAsync(CreateCustomRoutingAcceleratorRequest request)
AWSGlobalAcceleratorAsync
Create a custom routing accelerator. A custom routing accelerator directs traffic to one of possibly thousands of Amazon EC2 instance destinations running in a single or multiple virtual private clouds (VPC) subnet endpoints.
Be aware that, by default, all destination EC2 instances in a VPC subnet endpoint cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic operation.
Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you
must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for
example, specify --region us-west-2
on Amazon Web Services CLI commands.
createCustomRoutingAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
public Future<CreateCustomRoutingAcceleratorResult> createCustomRoutingAcceleratorAsync(CreateCustomRoutingAcceleratorRequest request, AsyncHandler<CreateCustomRoutingAcceleratorRequest,CreateCustomRoutingAcceleratorResult> asyncHandler)
AWSGlobalAcceleratorAsync
Create a custom routing accelerator. A custom routing accelerator directs traffic to one of possibly thousands of Amazon EC2 instance destinations running in a single or multiple virtual private clouds (VPC) subnet endpoints.
Be aware that, by default, all destination EC2 instances in a VPC subnet endpoint cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic operation.
Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you
must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for
example, specify --region us-west-2
on Amazon Web Services CLI commands.
createCustomRoutingAcceleratorAsync
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<CreateCustomRoutingEndpointGroupResult> createCustomRoutingEndpointGroupAsync(CreateCustomRoutingEndpointGroupRequest request)
AWSGlobalAcceleratorAsync
Create an endpoint group for the specified listener for a custom routing accelerator. An endpoint group is a collection of endpoints in one Amazon Web Services Region.
createCustomRoutingEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
public Future<CreateCustomRoutingEndpointGroupResult> createCustomRoutingEndpointGroupAsync(CreateCustomRoutingEndpointGroupRequest request, AsyncHandler<CreateCustomRoutingEndpointGroupRequest,CreateCustomRoutingEndpointGroupResult> asyncHandler)
AWSGlobalAcceleratorAsync
Create an endpoint group for the specified listener for a custom routing accelerator. An endpoint group is a collection of endpoints in one Amazon Web Services Region.
createCustomRoutingEndpointGroupAsync
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<CreateCustomRoutingListenerResult> createCustomRoutingListenerAsync(CreateCustomRoutingListenerRequest request)
AWSGlobalAcceleratorAsync
Create a listener to process inbound connections from clients to a custom routing accelerator. Connections arrive to assigned static IP addresses on the port range that you specify.
createCustomRoutingListenerAsync
in interface AWSGlobalAcceleratorAsync
public Future<CreateCustomRoutingListenerResult> createCustomRoutingListenerAsync(CreateCustomRoutingListenerRequest request, AsyncHandler<CreateCustomRoutingListenerRequest,CreateCustomRoutingListenerResult> asyncHandler)
AWSGlobalAcceleratorAsync
Create a listener to process inbound connections from clients to a custom routing accelerator. Connections arrive to assigned static IP addresses on the port range that you specify.
createCustomRoutingListenerAsync
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 Amazon Web Services Region. A resource must be valid and active when you add it as an endpoint.
For more information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators in the Global Accelerator Developer Guide.
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 Amazon Web Services Region. A resource must be valid and active when you add it as an endpoint.
For more information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators in the Global Accelerator Developer Guide.
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.
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.
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. Before you can delete an accelerator, you must disable it and remove all dependent
resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set
Enabled
to false.
When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges.
The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Identity and access management in the Global Accelerator Developer Guide.
deleteAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
public Future<DeleteAcceleratorResult> deleteAcceleratorAsync(DeleteAcceleratorRequest request, AsyncHandler<DeleteAcceleratorRequest,DeleteAcceleratorResult> asyncHandler)
AWSGlobalAcceleratorAsync
Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent
resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set
Enabled
to false.
When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges.
The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Identity and access management in the Global Accelerator Developer Guide.
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<DeleteCrossAccountAttachmentResult> deleteCrossAccountAttachmentAsync(DeleteCrossAccountAttachmentRequest request)
AWSGlobalAcceleratorAsync
Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to use the resources in the attachment from all principals in the list of principals. Global Accelerator revokes the permission for specific resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
deleteCrossAccountAttachmentAsync
in interface AWSGlobalAcceleratorAsync
public Future<DeleteCrossAccountAttachmentResult> deleteCrossAccountAttachmentAsync(DeleteCrossAccountAttachmentRequest request, AsyncHandler<DeleteCrossAccountAttachmentRequest,DeleteCrossAccountAttachmentResult> asyncHandler)
AWSGlobalAcceleratorAsync
Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to use the resources in the attachment from all principals in the list of principals. Global Accelerator revokes the permission for specific resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
deleteCrossAccountAttachmentAsync
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<DeleteCustomRoutingAcceleratorResult> deleteCustomRoutingAcceleratorAsync(DeleteCustomRoutingAcceleratorRequest request)
AWSGlobalAcceleratorAsync
Delete a custom routing accelerator. Before you can delete an accelerator, you must disable it and remove all
dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set
Enabled
to false.
When you create a custom routing accelerator, by default, Global Accelerator provides you with a set of two static IP addresses.
The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Identity and access management in the Global Accelerator Developer Guide.
deleteCustomRoutingAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
public Future<DeleteCustomRoutingAcceleratorResult> deleteCustomRoutingAcceleratorAsync(DeleteCustomRoutingAcceleratorRequest request, AsyncHandler<DeleteCustomRoutingAcceleratorRequest,DeleteCustomRoutingAcceleratorResult> asyncHandler)
AWSGlobalAcceleratorAsync
Delete a custom routing accelerator. Before you can delete an accelerator, you must disable it and remove all
dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set
Enabled
to false.
When you create a custom routing accelerator, by default, Global Accelerator provides you with a set of two static IP addresses.
The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Identity and access management in the Global Accelerator Developer Guide.
deleteCustomRoutingAcceleratorAsync
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<DeleteCustomRoutingEndpointGroupResult> deleteCustomRoutingEndpointGroupAsync(DeleteCustomRoutingEndpointGroupRequest request)
AWSGlobalAcceleratorAsync
Delete an endpoint group from a listener for a custom routing accelerator.
deleteCustomRoutingEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
public Future<DeleteCustomRoutingEndpointGroupResult> deleteCustomRoutingEndpointGroupAsync(DeleteCustomRoutingEndpointGroupRequest request, AsyncHandler<DeleteCustomRoutingEndpointGroupRequest,DeleteCustomRoutingEndpointGroupResult> asyncHandler)
AWSGlobalAcceleratorAsync
Delete an endpoint group from a listener for a custom routing accelerator.
deleteCustomRoutingEndpointGroupAsync
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<DeleteCustomRoutingListenerResult> deleteCustomRoutingListenerAsync(DeleteCustomRoutingListenerRequest request)
AWSGlobalAcceleratorAsync
Delete a listener for a custom routing accelerator.
deleteCustomRoutingListenerAsync
in interface AWSGlobalAcceleratorAsync
public Future<DeleteCustomRoutingListenerResult> deleteCustomRoutingListenerAsync(DeleteCustomRoutingListenerRequest request, AsyncHandler<DeleteCustomRoutingListenerRequest,DeleteCustomRoutingListenerResult> asyncHandler)
AWSGlobalAcceleratorAsync
Delete a listener for a custom routing accelerator.
deleteCustomRoutingListenerAsync
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<DenyCustomRoutingTrafficResult> denyCustomRoutingTrafficAsync(DenyCustomRoutingTrafficRequest request)
AWSGlobalAcceleratorAsync
Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that cannot receive traffic for a custom routing accelerator. You can deny traffic to all destinations in the VPC endpoint, or deny traffic to a specified list of destination IP addresses and ports. Note that you cannot specify IP addresses or ports outside of the range that you configured for the endpoint group.
After you make changes, you can verify that the updates are complete by checking the status of your accelerator: the status changes from IN_PROGRESS to DEPLOYED.
denyCustomRoutingTrafficAsync
in interface AWSGlobalAcceleratorAsync
public Future<DenyCustomRoutingTrafficResult> denyCustomRoutingTrafficAsync(DenyCustomRoutingTrafficRequest request, AsyncHandler<DenyCustomRoutingTrafficRequest,DenyCustomRoutingTrafficResult> asyncHandler)
AWSGlobalAcceleratorAsync
Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that cannot receive traffic for a custom routing accelerator. You can deny traffic to all destinations in the VPC endpoint, or deny traffic to a specified list of destination IP addresses and ports. Note that you cannot specify IP addresses or ports outside of the range that you configured for the endpoint group.
After you make changes, you can verify that the updates are complete by checking the status of your accelerator: the status changes from IN_PROGRESS to DEPLOYED.
denyCustomRoutingTrafficAsync
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<DeprovisionByoipCidrResult> deprovisionByoipCidrAsync(DeprovisionByoipCidrRequest request)
AWSGlobalAcceleratorAsync
Releases the specified address range that you provisioned to use with your Amazon Web Services resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool.
Before you can release an address range, you must stop advertising it by using WithdrawByoipCidr and you must not have any accelerators that are using static IP addresses allocated from its address range.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
deprovisionByoipCidrAsync
in interface AWSGlobalAcceleratorAsync
public Future<DeprovisionByoipCidrResult> deprovisionByoipCidrAsync(DeprovisionByoipCidrRequest request, AsyncHandler<DeprovisionByoipCidrRequest,DeprovisionByoipCidrResult> asyncHandler)
AWSGlobalAcceleratorAsync
Releases the specified address range that you provisioned to use with your Amazon Web Services resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool.
Before you can release an address range, you must stop advertising it by using WithdrawByoipCidr and you must not have any accelerators that are using static IP addresses allocated from its address range.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
deprovisionByoipCidrAsync
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.
describeAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
public Future<DescribeAcceleratorResult> describeAcceleratorAsync(DescribeAcceleratorRequest request, AsyncHandler<DescribeAcceleratorRequest,DescribeAcceleratorResult> asyncHandler)
AWSGlobalAcceleratorAsync
Describe an accelerator.
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<DescribeCrossAccountAttachmentResult> describeCrossAccountAttachmentAsync(DescribeCrossAccountAttachmentRequest request)
AWSGlobalAcceleratorAsync
Gets configuration information about a cross-account attachment.
describeCrossAccountAttachmentAsync
in interface AWSGlobalAcceleratorAsync
public Future<DescribeCrossAccountAttachmentResult> describeCrossAccountAttachmentAsync(DescribeCrossAccountAttachmentRequest request, AsyncHandler<DescribeCrossAccountAttachmentRequest,DescribeCrossAccountAttachmentResult> asyncHandler)
AWSGlobalAcceleratorAsync
Gets configuration information about a cross-account attachment.
describeCrossAccountAttachmentAsync
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<DescribeCustomRoutingAcceleratorResult> describeCustomRoutingAcceleratorAsync(DescribeCustomRoutingAcceleratorRequest request)
AWSGlobalAcceleratorAsync
Describe a custom routing accelerator.
describeCustomRoutingAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
public Future<DescribeCustomRoutingAcceleratorResult> describeCustomRoutingAcceleratorAsync(DescribeCustomRoutingAcceleratorRequest request, AsyncHandler<DescribeCustomRoutingAcceleratorRequest,DescribeCustomRoutingAcceleratorResult> asyncHandler)
AWSGlobalAcceleratorAsync
Describe a custom routing accelerator.
describeCustomRoutingAcceleratorAsync
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<DescribeCustomRoutingAcceleratorAttributesResult> describeCustomRoutingAcceleratorAttributesAsync(DescribeCustomRoutingAcceleratorAttributesRequest request)
AWSGlobalAcceleratorAsync
Describe the attributes of a custom routing accelerator.
describeCustomRoutingAcceleratorAttributesAsync
in interface AWSGlobalAcceleratorAsync
public Future<DescribeCustomRoutingAcceleratorAttributesResult> describeCustomRoutingAcceleratorAttributesAsync(DescribeCustomRoutingAcceleratorAttributesRequest request, AsyncHandler<DescribeCustomRoutingAcceleratorAttributesRequest,DescribeCustomRoutingAcceleratorAttributesResult> asyncHandler)
AWSGlobalAcceleratorAsync
Describe the attributes of a custom routing accelerator.
describeCustomRoutingAcceleratorAttributesAsync
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<DescribeCustomRoutingEndpointGroupResult> describeCustomRoutingEndpointGroupAsync(DescribeCustomRoutingEndpointGroupRequest request)
AWSGlobalAcceleratorAsync
Describe an endpoint group for a custom routing accelerator.
describeCustomRoutingEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
public Future<DescribeCustomRoutingEndpointGroupResult> describeCustomRoutingEndpointGroupAsync(DescribeCustomRoutingEndpointGroupRequest request, AsyncHandler<DescribeCustomRoutingEndpointGroupRequest,DescribeCustomRoutingEndpointGroupResult> asyncHandler)
AWSGlobalAcceleratorAsync
Describe an endpoint group for a custom routing accelerator.
describeCustomRoutingEndpointGroupAsync
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<DescribeCustomRoutingListenerResult> describeCustomRoutingListenerAsync(DescribeCustomRoutingListenerRequest request)
AWSGlobalAcceleratorAsync
The description of a listener for a custom routing accelerator.
describeCustomRoutingListenerAsync
in interface AWSGlobalAcceleratorAsync
public Future<DescribeCustomRoutingListenerResult> describeCustomRoutingListenerAsync(DescribeCustomRoutingListenerRequest request, AsyncHandler<DescribeCustomRoutingListenerRequest,DescribeCustomRoutingListenerResult> asyncHandler)
AWSGlobalAcceleratorAsync
The description of a listener for a custom routing accelerator.
describeCustomRoutingListenerAsync
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 Amazon Web Services account.
listAcceleratorsAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListAcceleratorsResult> listAcceleratorsAsync(ListAcceleratorsRequest request, AsyncHandler<ListAcceleratorsRequest,ListAcceleratorsResult> asyncHandler)
AWSGlobalAcceleratorAsync
List the accelerators for an Amazon Web Services 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<ListByoipCidrsResult> listByoipCidrsAsync(ListByoipCidrsRequest request)
AWSGlobalAcceleratorAsync
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes.
listByoipCidrsAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListByoipCidrsResult> listByoipCidrsAsync(ListByoipCidrsRequest request, AsyncHandler<ListByoipCidrsRequest,ListByoipCidrsResult> asyncHandler)
AWSGlobalAcceleratorAsync
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes.
listByoipCidrsAsync
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<ListCrossAccountAttachmentsResult> listCrossAccountAttachmentsAsync(ListCrossAccountAttachmentsRequest request)
AWSGlobalAcceleratorAsync
List the cross-account attachments that have been created in Global Accelerator.
listCrossAccountAttachmentsAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListCrossAccountAttachmentsResult> listCrossAccountAttachmentsAsync(ListCrossAccountAttachmentsRequest request, AsyncHandler<ListCrossAccountAttachmentsRequest,ListCrossAccountAttachmentsResult> asyncHandler)
AWSGlobalAcceleratorAsync
List the cross-account attachments that have been created in Global Accelerator.
listCrossAccountAttachmentsAsync
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<ListCrossAccountResourceAccountsResult> listCrossAccountResourceAccountsAsync(ListCrossAccountResourceAccountsRequest request)
AWSGlobalAcceleratorAsync
List the accounts that have cross-account resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
listCrossAccountResourceAccountsAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListCrossAccountResourceAccountsResult> listCrossAccountResourceAccountsAsync(ListCrossAccountResourceAccountsRequest request, AsyncHandler<ListCrossAccountResourceAccountsRequest,ListCrossAccountResourceAccountsResult> asyncHandler)
AWSGlobalAcceleratorAsync
List the accounts that have cross-account resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
listCrossAccountResourceAccountsAsync
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<ListCrossAccountResourcesResult> listCrossAccountResourcesAsync(ListCrossAccountResourcesRequest request)
AWSGlobalAcceleratorAsync
List the cross-account resources available to work with.
listCrossAccountResourcesAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListCrossAccountResourcesResult> listCrossAccountResourcesAsync(ListCrossAccountResourcesRequest request, AsyncHandler<ListCrossAccountResourcesRequest,ListCrossAccountResourcesResult> asyncHandler)
AWSGlobalAcceleratorAsync
List the cross-account resources available to work with.
listCrossAccountResourcesAsync
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<ListCustomRoutingAcceleratorsResult> listCustomRoutingAcceleratorsAsync(ListCustomRoutingAcceleratorsRequest request)
AWSGlobalAcceleratorAsync
List the custom routing accelerators for an Amazon Web Services account.
listCustomRoutingAcceleratorsAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListCustomRoutingAcceleratorsResult> listCustomRoutingAcceleratorsAsync(ListCustomRoutingAcceleratorsRequest request, AsyncHandler<ListCustomRoutingAcceleratorsRequest,ListCustomRoutingAcceleratorsResult> asyncHandler)
AWSGlobalAcceleratorAsync
List the custom routing accelerators for an Amazon Web Services account.
listCustomRoutingAcceleratorsAsync
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<ListCustomRoutingEndpointGroupsResult> listCustomRoutingEndpointGroupsAsync(ListCustomRoutingEndpointGroupsRequest request)
AWSGlobalAcceleratorAsync
List the endpoint groups that are associated with a listener for a custom routing accelerator.
listCustomRoutingEndpointGroupsAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListCustomRoutingEndpointGroupsResult> listCustomRoutingEndpointGroupsAsync(ListCustomRoutingEndpointGroupsRequest request, AsyncHandler<ListCustomRoutingEndpointGroupsRequest,ListCustomRoutingEndpointGroupsResult> asyncHandler)
AWSGlobalAcceleratorAsync
List the endpoint groups that are associated with a listener for a custom routing accelerator.
listCustomRoutingEndpointGroupsAsync
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<ListCustomRoutingListenersResult> listCustomRoutingListenersAsync(ListCustomRoutingListenersRequest request)
AWSGlobalAcceleratorAsync
List the listeners for a custom routing accelerator.
listCustomRoutingListenersAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListCustomRoutingListenersResult> listCustomRoutingListenersAsync(ListCustomRoutingListenersRequest request, AsyncHandler<ListCustomRoutingListenersRequest,ListCustomRoutingListenersResult> asyncHandler)
AWSGlobalAcceleratorAsync
List the listeners for a custom routing accelerator.
listCustomRoutingListenersAsync
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<ListCustomRoutingPortMappingsResult> listCustomRoutingPortMappingsAsync(ListCustomRoutingPortMappingsRequest request)
AWSGlobalAcceleratorAsync
Provides a complete mapping from the public accelerator IP address and port to destination EC2 instance IP addresses and ports in the virtual public cloud (VPC) subnet endpoint for a custom routing accelerator. For each subnet endpoint that you add, Global Accelerator creates a new static port mapping for the accelerator. The port mappings don't change after Global Accelerator generates them, so you can retrieve and cache the full mapping on your servers.
If you remove a subnet from your accelerator, Global Accelerator removes (reclaims) the port mappings. If you add a subnet to your accelerator, Global Accelerator creates new port mappings (the existing ones don't change). If you add or remove EC2 instances in your subnet, the port mappings don't change, because the mappings are created when you add the subnet to Global Accelerator.
The mappings also include a flag for each destination denoting which destination IP addresses and ports are allowed or denied traffic.
listCustomRoutingPortMappingsAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListCustomRoutingPortMappingsResult> listCustomRoutingPortMappingsAsync(ListCustomRoutingPortMappingsRequest request, AsyncHandler<ListCustomRoutingPortMappingsRequest,ListCustomRoutingPortMappingsResult> asyncHandler)
AWSGlobalAcceleratorAsync
Provides a complete mapping from the public accelerator IP address and port to destination EC2 instance IP addresses and ports in the virtual public cloud (VPC) subnet endpoint for a custom routing accelerator. For each subnet endpoint that you add, Global Accelerator creates a new static port mapping for the accelerator. The port mappings don't change after Global Accelerator generates them, so you can retrieve and cache the full mapping on your servers.
If you remove a subnet from your accelerator, Global Accelerator removes (reclaims) the port mappings. If you add a subnet to your accelerator, Global Accelerator creates new port mappings (the existing ones don't change). If you add or remove EC2 instances in your subnet, the port mappings don't change, because the mappings are created when you add the subnet to Global Accelerator.
The mappings also include a flag for each destination denoting which destination IP addresses and ports are allowed or denied traffic.
listCustomRoutingPortMappingsAsync
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<ListCustomRoutingPortMappingsByDestinationResult> listCustomRoutingPortMappingsByDestinationAsync(ListCustomRoutingPortMappingsByDestinationRequest request)
AWSGlobalAcceleratorAsync
List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint. The response is the mappings for one destination IP address. This is useful when your subnet endpoint has mappings that span multiple custom routing accelerators in your account, or for scenarios where you only want to list the port mappings for a specific destination instance.
listCustomRoutingPortMappingsByDestinationAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListCustomRoutingPortMappingsByDestinationResult> listCustomRoutingPortMappingsByDestinationAsync(ListCustomRoutingPortMappingsByDestinationRequest request, AsyncHandler<ListCustomRoutingPortMappingsByDestinationRequest,ListCustomRoutingPortMappingsByDestinationResult> asyncHandler)
AWSGlobalAcceleratorAsync
List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint. The response is the mappings for one destination IP address. This is useful when your subnet endpoint has mappings that span multiple custom routing accelerators in your account, or for scenarios where you only want to list the port mappings for a specific destination instance.
listCustomRoutingPortMappingsByDestinationAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSGlobalAcceleratorAsync
List all tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
listTagsForResourceAsync
in interface AWSGlobalAcceleratorAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSGlobalAcceleratorAsync
List all tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
listTagsForResourceAsync
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<ProvisionByoipCidrResult> provisionByoipCidrAsync(ProvisionByoipCidrRequest request)
AWSGlobalAcceleratorAsync
Provisions an IP address range to use with your Amazon Web Services resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
provisionByoipCidrAsync
in interface AWSGlobalAcceleratorAsync
public Future<ProvisionByoipCidrResult> provisionByoipCidrAsync(ProvisionByoipCidrRequest request, AsyncHandler<ProvisionByoipCidrRequest,ProvisionByoipCidrResult> asyncHandler)
AWSGlobalAcceleratorAsync
Provisions an IP address range to use with your Amazon Web Services resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
provisionByoipCidrAsync
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<RemoveCustomRoutingEndpointsResult> removeCustomRoutingEndpointsAsync(RemoveCustomRoutingEndpointsRequest request)
AWSGlobalAcceleratorAsync
Remove endpoints from a custom routing accelerator.
removeCustomRoutingEndpointsAsync
in interface AWSGlobalAcceleratorAsync
public Future<RemoveCustomRoutingEndpointsResult> removeCustomRoutingEndpointsAsync(RemoveCustomRoutingEndpointsRequest request, AsyncHandler<RemoveCustomRoutingEndpointsRequest,RemoveCustomRoutingEndpointsResult> asyncHandler)
AWSGlobalAcceleratorAsync
Remove endpoints from a custom routing accelerator.
removeCustomRoutingEndpointsAsync
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<RemoveEndpointsResult> removeEndpointsAsync(RemoveEndpointsRequest request)
AWSGlobalAcceleratorAsync
Remove endpoints from an endpoint group.
The RemoveEndpoints
API operation is the recommended option for removing endpoints. The alternative
is to remove endpoints by updating an endpoint group by using the UpdateEndpointGroup API operation. There are two advantages to using AddEndpoints
to remove
endpoints instead:
It's more convenient, because you only need to specify the endpoints that you want to remove. With the
UpdateEndpointGroup
API operation, you must specify all of the endpoints in the endpoint group
except the ones that you want to remove from the group.
It's faster, because Global Accelerator doesn't need to resolve any endpoints. With the
UpdateEndpointGroup
API operation, Global Accelerator must resolve all of the endpoints that remain
in the group.
removeEndpointsAsync
in interface AWSGlobalAcceleratorAsync
public Future<RemoveEndpointsResult> removeEndpointsAsync(RemoveEndpointsRequest request, AsyncHandler<RemoveEndpointsRequest,RemoveEndpointsResult> asyncHandler)
AWSGlobalAcceleratorAsync
Remove endpoints from an endpoint group.
The RemoveEndpoints
API operation is the recommended option for removing endpoints. The alternative
is to remove endpoints by updating an endpoint group by using the UpdateEndpointGroup API operation. There are two advantages to using AddEndpoints
to remove
endpoints instead:
It's more convenient, because you only need to specify the endpoints that you want to remove. With the
UpdateEndpointGroup
API operation, you must specify all of the endpoints in the endpoint group
except the ones that you want to remove from the group.
It's faster, because Global Accelerator doesn't need to resolve any endpoints. With the
UpdateEndpointGroup
API operation, Global Accelerator must resolve all of the endpoints that remain
in the group.
removeEndpointsAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSGlobalAcceleratorAsync
Add tags to an accelerator resource.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
tagResourceAsync
in interface AWSGlobalAcceleratorAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSGlobalAcceleratorAsync
Add tags to an accelerator resource.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
tagResourceAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSGlobalAcceleratorAsync
Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from an accelerator that was already removed.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
untagResourceAsync
in interface AWSGlobalAcceleratorAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSGlobalAcceleratorAsync
Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from an accelerator that was already removed.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
untagResourceAsync
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 to make changes, such as the following:
Change the name of the accelerator.
Disable the accelerator so that it no longer accepts or routes traffic, or so that you can delete it.
Enable the accelerator, if it is disabled.
Change the IP address type to dual-stack if it is IPv4, or change the IP address type to IPv4 if it's dual-stack.
Be aware that static IP addresses remain assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete the accelerator, you lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them.
Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you
must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for
example, specify --region us-west-2
on Amazon Web Services CLI commands.
updateAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
public Future<UpdateAcceleratorResult> updateAcceleratorAsync(UpdateAcceleratorRequest request, AsyncHandler<UpdateAcceleratorRequest,UpdateAcceleratorResult> asyncHandler)
AWSGlobalAcceleratorAsync
Update an accelerator to make changes, such as the following:
Change the name of the accelerator.
Disable the accelerator so that it no longer accepts or routes traffic, or so that you can delete it.
Enable the accelerator, if it is disabled.
Change the IP address type to dual-stack if it is IPv4, or change the IP address type to IPv4 if it's dual-stack.
Be aware that static IP addresses remain assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete the accelerator, you lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them.
Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you
must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for
example, specify --region us-west-2
on Amazon Web Services CLI commands.
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.
updateAcceleratorAttributesAsync
in interface AWSGlobalAcceleratorAsync
public Future<UpdateAcceleratorAttributesResult> updateAcceleratorAttributesAsync(UpdateAcceleratorAttributesRequest request, AsyncHandler<UpdateAcceleratorAttributesRequest,UpdateAcceleratorAttributesResult> asyncHandler)
AWSGlobalAcceleratorAsync
Update the attributes for an accelerator.
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<UpdateCrossAccountAttachmentResult> updateCrossAccountAttachmentAsync(UpdateCrossAccountAttachmentRequest request)
AWSGlobalAcceleratorAsync
Update a cross-account attachment to add or remove principals or resources. When you update an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for specific resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
updateCrossAccountAttachmentAsync
in interface AWSGlobalAcceleratorAsync
public Future<UpdateCrossAccountAttachmentResult> updateCrossAccountAttachmentAsync(UpdateCrossAccountAttachmentRequest request, AsyncHandler<UpdateCrossAccountAttachmentRequest,UpdateCrossAccountAttachmentResult> asyncHandler)
AWSGlobalAcceleratorAsync
Update a cross-account attachment to add or remove principals or resources. When you update an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for specific resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
updateCrossAccountAttachmentAsync
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<UpdateCustomRoutingAcceleratorResult> updateCustomRoutingAcceleratorAsync(UpdateCustomRoutingAcceleratorRequest request)
AWSGlobalAcceleratorAsync
Update a custom routing accelerator.
updateCustomRoutingAcceleratorAsync
in interface AWSGlobalAcceleratorAsync
public Future<UpdateCustomRoutingAcceleratorResult> updateCustomRoutingAcceleratorAsync(UpdateCustomRoutingAcceleratorRequest request, AsyncHandler<UpdateCustomRoutingAcceleratorRequest,UpdateCustomRoutingAcceleratorResult> asyncHandler)
AWSGlobalAcceleratorAsync
Update a custom routing accelerator.
updateCustomRoutingAcceleratorAsync
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<UpdateCustomRoutingAcceleratorAttributesResult> updateCustomRoutingAcceleratorAttributesAsync(UpdateCustomRoutingAcceleratorAttributesRequest request)
AWSGlobalAcceleratorAsync
Update the attributes for a custom routing accelerator.
updateCustomRoutingAcceleratorAttributesAsync
in interface AWSGlobalAcceleratorAsync
public Future<UpdateCustomRoutingAcceleratorAttributesResult> updateCustomRoutingAcceleratorAttributesAsync(UpdateCustomRoutingAcceleratorAttributesRequest request, AsyncHandler<UpdateCustomRoutingAcceleratorAttributesRequest,UpdateCustomRoutingAcceleratorAttributesResult> asyncHandler)
AWSGlobalAcceleratorAsync
Update the attributes for a custom routing accelerator.
updateCustomRoutingAcceleratorAttributesAsync
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<UpdateCustomRoutingListenerResult> updateCustomRoutingListenerAsync(UpdateCustomRoutingListenerRequest request)
AWSGlobalAcceleratorAsync
Update a listener for a custom routing accelerator.
updateCustomRoutingListenerAsync
in interface AWSGlobalAcceleratorAsync
public Future<UpdateCustomRoutingListenerResult> updateCustomRoutingListenerAsync(UpdateCustomRoutingListenerRequest request, AsyncHandler<UpdateCustomRoutingListenerRequest,UpdateCustomRoutingListenerResult> asyncHandler)
AWSGlobalAcceleratorAsync
Update a listener for a custom routing accelerator.
updateCustomRoutingListenerAsync
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. A resource must be valid and active when you add it as an endpoint.
updateEndpointGroupAsync
in interface AWSGlobalAcceleratorAsync
public Future<UpdateEndpointGroupResult> updateEndpointGroupAsync(UpdateEndpointGroupRequest request, AsyncHandler<UpdateEndpointGroupRequest,UpdateEndpointGroupResult> asyncHandler)
AWSGlobalAcceleratorAsync
Update an endpoint group. A resource must be valid and active when you add it as an endpoint.
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 Future<WithdrawByoipCidrResult> withdrawByoipCidrAsync(WithdrawByoipCidrRequest request)
AWSGlobalAcceleratorAsync
Stops advertising an address range that is provisioned as an address pool. You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time.
It can take a few minutes before traffic to the specified addresses stops routing to Amazon Web Services because of propagation delays.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
withdrawByoipCidrAsync
in interface AWSGlobalAcceleratorAsync
public Future<WithdrawByoipCidrResult> withdrawByoipCidrAsync(WithdrawByoipCidrRequest request, AsyncHandler<WithdrawByoipCidrRequest,WithdrawByoipCidrResult> asyncHandler)
AWSGlobalAcceleratorAsync
Stops advertising an address range that is provisioned as an address pool. You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time.
It can take a few minutes before traffic to the specified addresses stops routing to Amazon Web Services because of propagation delays.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
withdrawByoipCidrAsync
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 AWSGlobalAcceleratorClient