@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface GlobalAcceleratorClient extends SdkClient
builder() method.
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 AWS 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 toGlobal 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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AddCustomRoutingEndpointsResponse |
addCustomRoutingEndpoints(AddCustomRoutingEndpointsRequest addCustomRoutingEndpointsRequest)
Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.
|
default AddCustomRoutingEndpointsResponse |
addCustomRoutingEndpoints(Consumer<AddCustomRoutingEndpointsRequest.Builder> addCustomRoutingEndpointsRequest)
Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.
|
default AddEndpointsResponse |
addEndpoints(AddEndpointsRequest addEndpointsRequest)
Add endpoints to an endpoint group.
|
default AddEndpointsResponse |
addEndpoints(Consumer<AddEndpointsRequest.Builder> addEndpointsRequest)
Add endpoints to an endpoint group.
|
default AdvertiseByoipCidrResponse |
advertiseByoipCidr(AdvertiseByoipCidrRequest advertiseByoipCidrRequest)
Advertises an IPv4 address range that is provisioned for use with your Amazon Web Services resources through
bring your own IP addresses (BYOIP).
|
default AdvertiseByoipCidrResponse |
advertiseByoipCidr(Consumer<AdvertiseByoipCidrRequest.Builder> advertiseByoipCidrRequest)
Advertises an IPv4 address range that is provisioned for use with your Amazon Web Services resources through
bring your own IP addresses (BYOIP).
|
default AllowCustomRoutingTrafficResponse |
allowCustomRoutingTraffic(AllowCustomRoutingTrafficRequest allowCustomRoutingTrafficRequest)
Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that can receive
traffic for a custom routing accelerator.
|
default AllowCustomRoutingTrafficResponse |
allowCustomRoutingTraffic(Consumer<AllowCustomRoutingTrafficRequest.Builder> allowCustomRoutingTrafficRequest)
Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that can receive
traffic for a custom routing accelerator.
|
static GlobalAcceleratorClientBuilder |
builder()
Create a builder that can be used to configure and create a
GlobalAcceleratorClient. |
static GlobalAcceleratorClient |
create()
Create a
GlobalAcceleratorClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateAcceleratorResponse |
createAccelerator(Consumer<CreateAcceleratorRequest.Builder> createAcceleratorRequest)
Create an accelerator.
|
default CreateAcceleratorResponse |
createAccelerator(CreateAcceleratorRequest createAcceleratorRequest)
Create an accelerator.
|
default CreateCustomRoutingAcceleratorResponse |
createCustomRoutingAccelerator(Consumer<CreateCustomRoutingAcceleratorRequest.Builder> createCustomRoutingAcceleratorRequest)
Create a custom routing accelerator.
|
default CreateCustomRoutingAcceleratorResponse |
createCustomRoutingAccelerator(CreateCustomRoutingAcceleratorRequest createCustomRoutingAcceleratorRequest)
Create a custom routing accelerator.
|
default CreateCustomRoutingEndpointGroupResponse |
createCustomRoutingEndpointGroup(Consumer<CreateCustomRoutingEndpointGroupRequest.Builder> createCustomRoutingEndpointGroupRequest)
Create an endpoint group for the specified listener for a custom routing accelerator.
|
default CreateCustomRoutingEndpointGroupResponse |
createCustomRoutingEndpointGroup(CreateCustomRoutingEndpointGroupRequest createCustomRoutingEndpointGroupRequest)
Create an endpoint group for the specified listener for a custom routing accelerator.
|
default CreateCustomRoutingListenerResponse |
createCustomRoutingListener(Consumer<CreateCustomRoutingListenerRequest.Builder> createCustomRoutingListenerRequest)
Create a listener to process inbound connections from clients to a custom routing accelerator.
|
default CreateCustomRoutingListenerResponse |
createCustomRoutingListener(CreateCustomRoutingListenerRequest createCustomRoutingListenerRequest)
Create a listener to process inbound connections from clients to a custom routing accelerator.
|
default CreateEndpointGroupResponse |
createEndpointGroup(Consumer<CreateEndpointGroupRequest.Builder> createEndpointGroupRequest)
Create an endpoint group for the specified listener.
|
default CreateEndpointGroupResponse |
createEndpointGroup(CreateEndpointGroupRequest createEndpointGroupRequest)
Create an endpoint group for the specified listener.
|
default CreateListenerResponse |
createListener(Consumer<CreateListenerRequest.Builder> createListenerRequest)
Create a listener to process inbound connections from clients to an accelerator.
|
default CreateListenerResponse |
createListener(CreateListenerRequest createListenerRequest)
Create a listener to process inbound connections from clients to an accelerator.
|
default DeleteAcceleratorResponse |
deleteAccelerator(Consumer<DeleteAcceleratorRequest.Builder> deleteAcceleratorRequest)
Delete an accelerator.
|
default DeleteAcceleratorResponse |
deleteAccelerator(DeleteAcceleratorRequest deleteAcceleratorRequest)
Delete an accelerator.
|
default DeleteCustomRoutingAcceleratorResponse |
deleteCustomRoutingAccelerator(Consumer<DeleteCustomRoutingAcceleratorRequest.Builder> deleteCustomRoutingAcceleratorRequest)
Delete a custom routing accelerator.
|
default DeleteCustomRoutingAcceleratorResponse |
deleteCustomRoutingAccelerator(DeleteCustomRoutingAcceleratorRequest deleteCustomRoutingAcceleratorRequest)
Delete a custom routing accelerator.
|
default DeleteCustomRoutingEndpointGroupResponse |
deleteCustomRoutingEndpointGroup(Consumer<DeleteCustomRoutingEndpointGroupRequest.Builder> deleteCustomRoutingEndpointGroupRequest)
Delete an endpoint group from a listener for a custom routing accelerator.
|
default DeleteCustomRoutingEndpointGroupResponse |
deleteCustomRoutingEndpointGroup(DeleteCustomRoutingEndpointGroupRequest deleteCustomRoutingEndpointGroupRequest)
Delete an endpoint group from a listener for a custom routing accelerator.
|
default DeleteCustomRoutingListenerResponse |
deleteCustomRoutingListener(Consumer<DeleteCustomRoutingListenerRequest.Builder> deleteCustomRoutingListenerRequest)
Delete a listener for a custom routing accelerator.
|
default DeleteCustomRoutingListenerResponse |
deleteCustomRoutingListener(DeleteCustomRoutingListenerRequest deleteCustomRoutingListenerRequest)
Delete a listener for a custom routing accelerator.
|
default DeleteEndpointGroupResponse |
deleteEndpointGroup(Consumer<DeleteEndpointGroupRequest.Builder> deleteEndpointGroupRequest)
Delete an endpoint group from a listener.
|
default DeleteEndpointGroupResponse |
deleteEndpointGroup(DeleteEndpointGroupRequest deleteEndpointGroupRequest)
Delete an endpoint group from a listener.
|
default DeleteListenerResponse |
deleteListener(Consumer<DeleteListenerRequest.Builder> deleteListenerRequest)
Delete a listener from an accelerator.
|
default DeleteListenerResponse |
deleteListener(DeleteListenerRequest deleteListenerRequest)
Delete a listener from an accelerator.
|
default DenyCustomRoutingTrafficResponse |
denyCustomRoutingTraffic(Consumer<DenyCustomRoutingTrafficRequest.Builder> denyCustomRoutingTrafficRequest)
Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that cannot
receive traffic for a custom routing accelerator.
|
default DenyCustomRoutingTrafficResponse |
denyCustomRoutingTraffic(DenyCustomRoutingTrafficRequest denyCustomRoutingTrafficRequest)
Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that cannot
receive traffic for a custom routing accelerator.
|
default DeprovisionByoipCidrResponse |
deprovisionByoipCidr(Consumer<DeprovisionByoipCidrRequest.Builder> deprovisionByoipCidrRequest)
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.
|
default DeprovisionByoipCidrResponse |
deprovisionByoipCidr(DeprovisionByoipCidrRequest deprovisionByoipCidrRequest)
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.
|
default DescribeAcceleratorResponse |
describeAccelerator(Consumer<DescribeAcceleratorRequest.Builder> describeAcceleratorRequest)
Describe an accelerator.
|
default DescribeAcceleratorResponse |
describeAccelerator(DescribeAcceleratorRequest describeAcceleratorRequest)
Describe an accelerator.
|
default DescribeAcceleratorAttributesResponse |
describeAcceleratorAttributes(Consumer<DescribeAcceleratorAttributesRequest.Builder> describeAcceleratorAttributesRequest)
Describe the attributes of an accelerator.
|
default DescribeAcceleratorAttributesResponse |
describeAcceleratorAttributes(DescribeAcceleratorAttributesRequest describeAcceleratorAttributesRequest)
Describe the attributes of an accelerator.
|
default DescribeCustomRoutingAcceleratorResponse |
describeCustomRoutingAccelerator(Consumer<DescribeCustomRoutingAcceleratorRequest.Builder> describeCustomRoutingAcceleratorRequest)
Describe a custom routing accelerator.
|
default DescribeCustomRoutingAcceleratorResponse |
describeCustomRoutingAccelerator(DescribeCustomRoutingAcceleratorRequest describeCustomRoutingAcceleratorRequest)
Describe a custom routing accelerator.
|
default DescribeCustomRoutingAcceleratorAttributesResponse |
describeCustomRoutingAcceleratorAttributes(Consumer<DescribeCustomRoutingAcceleratorAttributesRequest.Builder> describeCustomRoutingAcceleratorAttributesRequest)
Describe the attributes of a custom routing accelerator.
|
default DescribeCustomRoutingAcceleratorAttributesResponse |
describeCustomRoutingAcceleratorAttributes(DescribeCustomRoutingAcceleratorAttributesRequest describeCustomRoutingAcceleratorAttributesRequest)
Describe the attributes of a custom routing accelerator.
|
default DescribeCustomRoutingEndpointGroupResponse |
describeCustomRoutingEndpointGroup(Consumer<DescribeCustomRoutingEndpointGroupRequest.Builder> describeCustomRoutingEndpointGroupRequest)
Describe an endpoint group for a custom routing accelerator.
|
default DescribeCustomRoutingEndpointGroupResponse |
describeCustomRoutingEndpointGroup(DescribeCustomRoutingEndpointGroupRequest describeCustomRoutingEndpointGroupRequest)
Describe an endpoint group for a custom routing accelerator.
|
default DescribeCustomRoutingListenerResponse |
describeCustomRoutingListener(Consumer<DescribeCustomRoutingListenerRequest.Builder> describeCustomRoutingListenerRequest)
The description of a listener for a custom routing accelerator.
|
default DescribeCustomRoutingListenerResponse |
describeCustomRoutingListener(DescribeCustomRoutingListenerRequest describeCustomRoutingListenerRequest)
The description of a listener for a custom routing accelerator.
|
default DescribeEndpointGroupResponse |
describeEndpointGroup(Consumer<DescribeEndpointGroupRequest.Builder> describeEndpointGroupRequest)
Describe an endpoint group.
|
default DescribeEndpointGroupResponse |
describeEndpointGroup(DescribeEndpointGroupRequest describeEndpointGroupRequest)
Describe an endpoint group.
|
default DescribeListenerResponse |
describeListener(Consumer<DescribeListenerRequest.Builder> describeListenerRequest)
Describe a listener.
|
default DescribeListenerResponse |
describeListener(DescribeListenerRequest describeListenerRequest)
Describe a listener.
|
default ListAcceleratorsResponse |
listAccelerators()
List the accelerators for an Amazon Web Services account.
|
default ListAcceleratorsResponse |
listAccelerators(Consumer<ListAcceleratorsRequest.Builder> listAcceleratorsRequest)
List the accelerators for an Amazon Web Services account.
|
default ListAcceleratorsResponse |
listAccelerators(ListAcceleratorsRequest listAcceleratorsRequest)
List the accelerators for an Amazon Web Services account.
|
default ListAcceleratorsIterable |
listAcceleratorsPaginator()
List the accelerators for an Amazon Web Services account.
|
default ListAcceleratorsIterable |
listAcceleratorsPaginator(Consumer<ListAcceleratorsRequest.Builder> listAcceleratorsRequest)
List the accelerators for an Amazon Web Services account.
|
default ListAcceleratorsIterable |
listAcceleratorsPaginator(ListAcceleratorsRequest listAcceleratorsRequest)
List the accelerators for an Amazon Web Services account.
|
default ListByoipCidrsResponse |
listByoipCidrs(Consumer<ListByoipCidrsRequest.Builder> listByoipCidrsRequest)
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr,
including the current state and a history of state changes.
|
default ListByoipCidrsResponse |
listByoipCidrs(ListByoipCidrsRequest listByoipCidrsRequest)
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr,
including the current state and a history of state changes.
|
default ListByoipCidrsIterable |
listByoipCidrsPaginator(Consumer<ListByoipCidrsRequest.Builder> listByoipCidrsRequest)
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr,
including the current state and a history of state changes.
|
default ListByoipCidrsIterable |
listByoipCidrsPaginator(ListByoipCidrsRequest listByoipCidrsRequest)
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr,
including the current state and a history of state changes.
|
default ListCustomRoutingAcceleratorsResponse |
listCustomRoutingAccelerators(Consumer<ListCustomRoutingAcceleratorsRequest.Builder> listCustomRoutingAcceleratorsRequest)
List the custom routing accelerators for an Amazon Web Services account.
|
default ListCustomRoutingAcceleratorsResponse |
listCustomRoutingAccelerators(ListCustomRoutingAcceleratorsRequest listCustomRoutingAcceleratorsRequest)
List the custom routing accelerators for an Amazon Web Services account.
|
default ListCustomRoutingAcceleratorsIterable |
listCustomRoutingAcceleratorsPaginator(Consumer<ListCustomRoutingAcceleratorsRequest.Builder> listCustomRoutingAcceleratorsRequest)
List the custom routing accelerators for an Amazon Web Services account.
|
default ListCustomRoutingAcceleratorsIterable |
listCustomRoutingAcceleratorsPaginator(ListCustomRoutingAcceleratorsRequest listCustomRoutingAcceleratorsRequest)
List the custom routing accelerators for an Amazon Web Services account.
|
default ListCustomRoutingEndpointGroupsResponse |
listCustomRoutingEndpointGroups(Consumer<ListCustomRoutingEndpointGroupsRequest.Builder> listCustomRoutingEndpointGroupsRequest)
List the endpoint groups that are associated with a listener for a custom routing accelerator.
|
default ListCustomRoutingEndpointGroupsResponse |
listCustomRoutingEndpointGroups(ListCustomRoutingEndpointGroupsRequest listCustomRoutingEndpointGroupsRequest)
List the endpoint groups that are associated with a listener for a custom routing accelerator.
|
default ListCustomRoutingEndpointGroupsIterable |
listCustomRoutingEndpointGroupsPaginator(Consumer<ListCustomRoutingEndpointGroupsRequest.Builder> listCustomRoutingEndpointGroupsRequest)
List the endpoint groups that are associated with a listener for a custom routing accelerator.
|
default ListCustomRoutingEndpointGroupsIterable |
listCustomRoutingEndpointGroupsPaginator(ListCustomRoutingEndpointGroupsRequest listCustomRoutingEndpointGroupsRequest)
List the endpoint groups that are associated with a listener for a custom routing accelerator.
|
default ListCustomRoutingListenersResponse |
listCustomRoutingListeners(Consumer<ListCustomRoutingListenersRequest.Builder> listCustomRoutingListenersRequest)
List the listeners for a custom routing accelerator.
|
default ListCustomRoutingListenersResponse |
listCustomRoutingListeners(ListCustomRoutingListenersRequest listCustomRoutingListenersRequest)
List the listeners for a custom routing accelerator.
|
default ListCustomRoutingListenersIterable |
listCustomRoutingListenersPaginator(Consumer<ListCustomRoutingListenersRequest.Builder> listCustomRoutingListenersRequest)
List the listeners for a custom routing accelerator.
|
default ListCustomRoutingListenersIterable |
listCustomRoutingListenersPaginator(ListCustomRoutingListenersRequest listCustomRoutingListenersRequest)
List the listeners for a custom routing accelerator.
|
default ListCustomRoutingPortMappingsResponse |
listCustomRoutingPortMappings(Consumer<ListCustomRoutingPortMappingsRequest.Builder> listCustomRoutingPortMappingsRequest)
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.
|
default ListCustomRoutingPortMappingsResponse |
listCustomRoutingPortMappings(ListCustomRoutingPortMappingsRequest listCustomRoutingPortMappingsRequest)
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.
|
default ListCustomRoutingPortMappingsByDestinationResponse |
listCustomRoutingPortMappingsByDestination(Consumer<ListCustomRoutingPortMappingsByDestinationRequest.Builder> listCustomRoutingPortMappingsByDestinationRequest)
List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint.
|
default ListCustomRoutingPortMappingsByDestinationResponse |
listCustomRoutingPortMappingsByDestination(ListCustomRoutingPortMappingsByDestinationRequest listCustomRoutingPortMappingsByDestinationRequest)
List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint.
|
default ListCustomRoutingPortMappingsByDestinationIterable |
listCustomRoutingPortMappingsByDestinationPaginator(Consumer<ListCustomRoutingPortMappingsByDestinationRequest.Builder> listCustomRoutingPortMappingsByDestinationRequest)
List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint.
|
default ListCustomRoutingPortMappingsByDestinationIterable |
listCustomRoutingPortMappingsByDestinationPaginator(ListCustomRoutingPortMappingsByDestinationRequest listCustomRoutingPortMappingsByDestinationRequest)
List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint.
|
default ListCustomRoutingPortMappingsIterable |
listCustomRoutingPortMappingsPaginator(Consumer<ListCustomRoutingPortMappingsRequest.Builder> listCustomRoutingPortMappingsRequest)
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.
|
default ListCustomRoutingPortMappingsIterable |
listCustomRoutingPortMappingsPaginator(ListCustomRoutingPortMappingsRequest listCustomRoutingPortMappingsRequest)
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.
|
default ListEndpointGroupsResponse |
listEndpointGroups(Consumer<ListEndpointGroupsRequest.Builder> listEndpointGroupsRequest)
List the endpoint groups that are associated with a listener.
|
default ListEndpointGroupsResponse |
listEndpointGroups(ListEndpointGroupsRequest listEndpointGroupsRequest)
List the endpoint groups that are associated with a listener.
|
default ListEndpointGroupsIterable |
listEndpointGroupsPaginator(Consumer<ListEndpointGroupsRequest.Builder> listEndpointGroupsRequest)
List the endpoint groups that are associated with a listener.
|
default ListEndpointGroupsIterable |
listEndpointGroupsPaginator(ListEndpointGroupsRequest listEndpointGroupsRequest)
List the endpoint groups that are associated with a listener.
|
default ListListenersResponse |
listListeners(Consumer<ListListenersRequest.Builder> listListenersRequest)
List the listeners for an accelerator.
|
default ListListenersResponse |
listListeners(ListListenersRequest listListenersRequest)
List the listeners for an accelerator.
|
default ListListenersIterable |
listListenersPaginator(Consumer<ListListenersRequest.Builder> listListenersRequest)
List the listeners for an accelerator.
|
default ListListenersIterable |
listListenersPaginator(ListListenersRequest listListenersRequest)
List the listeners for an accelerator.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
List all tags for an accelerator.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List all tags for an accelerator.
|
default ProvisionByoipCidrResponse |
provisionByoipCidr(Consumer<ProvisionByoipCidrRequest.Builder> provisionByoipCidrRequest)
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.
|
default ProvisionByoipCidrResponse |
provisionByoipCidr(ProvisionByoipCidrRequest provisionByoipCidrRequest)
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.
|
default RemoveCustomRoutingEndpointsResponse |
removeCustomRoutingEndpoints(Consumer<RemoveCustomRoutingEndpointsRequest.Builder> removeCustomRoutingEndpointsRequest)
Remove endpoints from a custom routing accelerator.
|
default RemoveCustomRoutingEndpointsResponse |
removeCustomRoutingEndpoints(RemoveCustomRoutingEndpointsRequest removeCustomRoutingEndpointsRequest)
Remove endpoints from a custom routing accelerator.
|
default RemoveEndpointsResponse |
removeEndpoints(Consumer<RemoveEndpointsRequest.Builder> removeEndpointsRequest)
Remove endpoints from an endpoint group.
|
default RemoveEndpointsResponse |
removeEndpoints(RemoveEndpointsRequest removeEndpointsRequest)
Remove endpoints from an endpoint group.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Add tags to an accelerator resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Add tags to an accelerator resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Remove tags from a Global Accelerator resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Remove tags from a Global Accelerator resource.
|
default UpdateAcceleratorResponse |
updateAccelerator(Consumer<UpdateAcceleratorRequest.Builder> updateAcceleratorRequest)
Update an accelerator.
|
default UpdateAcceleratorResponse |
updateAccelerator(UpdateAcceleratorRequest updateAcceleratorRequest)
Update an accelerator.
|
default UpdateAcceleratorAttributesResponse |
updateAcceleratorAttributes(Consumer<UpdateAcceleratorAttributesRequest.Builder> updateAcceleratorAttributesRequest)
Update the attributes for an accelerator.
|
default UpdateAcceleratorAttributesResponse |
updateAcceleratorAttributes(UpdateAcceleratorAttributesRequest updateAcceleratorAttributesRequest)
Update the attributes for an accelerator.
|
default UpdateCustomRoutingAcceleratorResponse |
updateCustomRoutingAccelerator(Consumer<UpdateCustomRoutingAcceleratorRequest.Builder> updateCustomRoutingAcceleratorRequest)
Update a custom routing accelerator.
|
default UpdateCustomRoutingAcceleratorResponse |
updateCustomRoutingAccelerator(UpdateCustomRoutingAcceleratorRequest updateCustomRoutingAcceleratorRequest)
Update a custom routing accelerator.
|
default UpdateCustomRoutingAcceleratorAttributesResponse |
updateCustomRoutingAcceleratorAttributes(Consumer<UpdateCustomRoutingAcceleratorAttributesRequest.Builder> updateCustomRoutingAcceleratorAttributesRequest)
Update the attributes for a custom routing accelerator.
|
default UpdateCustomRoutingAcceleratorAttributesResponse |
updateCustomRoutingAcceleratorAttributes(UpdateCustomRoutingAcceleratorAttributesRequest updateCustomRoutingAcceleratorAttributesRequest)
Update the attributes for a custom routing accelerator.
|
default UpdateCustomRoutingListenerResponse |
updateCustomRoutingListener(Consumer<UpdateCustomRoutingListenerRequest.Builder> updateCustomRoutingListenerRequest)
Update a listener for a custom routing accelerator.
|
default UpdateCustomRoutingListenerResponse |
updateCustomRoutingListener(UpdateCustomRoutingListenerRequest updateCustomRoutingListenerRequest)
Update a listener for a custom routing accelerator.
|
default UpdateEndpointGroupResponse |
updateEndpointGroup(Consumer<UpdateEndpointGroupRequest.Builder> updateEndpointGroupRequest)
Update an endpoint group.
|
default UpdateEndpointGroupResponse |
updateEndpointGroup(UpdateEndpointGroupRequest updateEndpointGroupRequest)
Update an endpoint group.
|
default UpdateListenerResponse |
updateListener(Consumer<UpdateListenerRequest.Builder> updateListenerRequest)
Update a listener.
|
default UpdateListenerResponse |
updateListener(UpdateListenerRequest updateListenerRequest)
Update a listener.
|
default WithdrawByoipCidrResponse |
withdrawByoipCidr(Consumer<WithdrawByoipCidrRequest.Builder> withdrawByoipCidrRequest)
Stops advertising an address range that is provisioned as an address pool.
|
default WithdrawByoipCidrResponse |
withdrawByoipCidr(WithdrawByoipCidrRequest withdrawByoipCidrRequest)
Stops advertising an address range that is provisioned as an address pool.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static GlobalAcceleratorClient create()
GlobalAcceleratorClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static GlobalAcceleratorClientBuilder builder()
GlobalAcceleratorClient.default AddCustomRoutingEndpointsResponse addCustomRoutingEndpoints(AddCustomRoutingEndpointsRequest addCustomRoutingEndpointsRequest) throws EndpointAlreadyExistsException, EndpointGroupNotFoundException, InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
addCustomRoutingEndpointsRequest - EndpointAlreadyExistsException - The endpoint that you specified doesn't exist.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.ConflictException - You can't use both of those options.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AddCustomRoutingEndpointsResponse addCustomRoutingEndpoints(Consumer<AddCustomRoutingEndpointsRequest.Builder> addCustomRoutingEndpointsRequest) throws EndpointAlreadyExistsException, EndpointGroupNotFoundException, InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the AddCustomRoutingEndpointsRequest.Builder avoiding
the need to create one manually via AddCustomRoutingEndpointsRequest.builder()
addCustomRoutingEndpointsRequest - A Consumer that will call methods on AddCustomRoutingEndpointsRequest.Builder to create a
request.EndpointAlreadyExistsException - The endpoint that you specified doesn't exist.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.ConflictException - You can't use both of those options.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AddEndpointsResponse addEndpoints(AddEndpointsRequest addEndpointsRequest) throws TransactionInProgressException, EndpointGroupNotFoundException, InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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:
It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding.
It's more convenient, because you don't need to specify all of the current endpoints that are already in the endpoint group in addition to the new endpoints that you want to add.
addEndpointsRequest - TransactionInProgressException - There's already a transaction in progress. Another transaction can't be processed.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AddEndpointsResponse addEndpoints(Consumer<AddEndpointsRequest.Builder> addEndpointsRequest) throws TransactionInProgressException, EndpointGroupNotFoundException, InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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:
It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding.
It's more convenient, because you don't need to specify all of the current endpoints that are already in the endpoint group in addition to the new endpoints that you want to add.
This is a convenience which creates an instance of the AddEndpointsRequest.Builder avoiding the need to
create one manually via AddEndpointsRequest.builder()
addEndpointsRequest - A Consumer that will call methods on AddEndpointsRequest.Builder to create a request.TransactionInProgressException - There's already a transaction in progress. Another transaction can't be processed.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AdvertiseByoipCidrResponse advertiseByoipCidr(AdvertiseByoipCidrRequest advertiseByoipCidrRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, ByoipCidrNotFoundException, IncorrectCidrStateException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
advertiseByoipCidrRequest - InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.ByoipCidrNotFoundException - The CIDR that you specified was not found or is incorrect.IncorrectCidrStateException - The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be
incorrect for this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AdvertiseByoipCidrResponse advertiseByoipCidr(Consumer<AdvertiseByoipCidrRequest.Builder> advertiseByoipCidrRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, ByoipCidrNotFoundException, IncorrectCidrStateException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the AdvertiseByoipCidrRequest.Builder avoiding the
need to create one manually via AdvertiseByoipCidrRequest.builder()
advertiseByoipCidrRequest - A Consumer that will call methods on AdvertiseByoipCidrRequest.Builder to create a
request.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.ByoipCidrNotFoundException - The CIDR that you specified was not found or is incorrect.IncorrectCidrStateException - The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be
incorrect for this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AllowCustomRoutingTrafficResponse allowCustomRoutingTraffic(AllowCustomRoutingTrafficRequest allowCustomRoutingTrafficRequest) throws EndpointGroupNotFoundException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
allowCustomRoutingTrafficRequest - EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AllowCustomRoutingTrafficResponse allowCustomRoutingTraffic(Consumer<AllowCustomRoutingTrafficRequest.Builder> allowCustomRoutingTrafficRequest) throws EndpointGroupNotFoundException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the AllowCustomRoutingTrafficRequest.Builder avoiding
the need to create one manually via AllowCustomRoutingTrafficRequest.builder()
allowCustomRoutingTrafficRequest - A Consumer that will call methods on AllowCustomRoutingTrafficRequest.Builder to create a
request.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAcceleratorResponse createAccelerator(CreateAcceleratorRequest createAcceleratorRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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 AWS CLI commands.
createAcceleratorRequest - InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAcceleratorResponse createAccelerator(Consumer<CreateAcceleratorRequest.Builder> createAcceleratorRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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 AWS CLI commands.
This is a convenience which creates an instance of the CreateAcceleratorRequest.Builder avoiding the need
to create one manually via CreateAcceleratorRequest.builder()
createAcceleratorRequest - A Consumer that will call methods on CreateAcceleratorRequest.Builder to create a request.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateCustomRoutingAcceleratorResponse createCustomRoutingAccelerator(CreateCustomRoutingAcceleratorRequest createCustomRoutingAcceleratorRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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 AWS CLI commands.
createCustomRoutingAcceleratorRequest - InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateCustomRoutingAcceleratorResponse createCustomRoutingAccelerator(Consumer<CreateCustomRoutingAcceleratorRequest.Builder> createCustomRoutingAcceleratorRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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 AWS CLI commands.
This is a convenience which creates an instance of the CreateCustomRoutingAcceleratorRequest.Builder
avoiding the need to create one manually via CreateCustomRoutingAcceleratorRequest.builder()
createCustomRoutingAcceleratorRequest - A Consumer that will call methods on CreateCustomRoutingAcceleratorRequest.Builder to
create a request.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateCustomRoutingEndpointGroupResponse createCustomRoutingEndpointGroup(CreateCustomRoutingEndpointGroupRequest createCustomRoutingEndpointGroupRequest) throws AcceleratorNotFoundException, EndpointGroupAlreadyExistsException, ListenerNotFoundException, InternalServiceErrorException, InvalidArgumentException, InvalidPortRangeException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
createCustomRoutingEndpointGroupRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.EndpointGroupAlreadyExistsException - The endpoint group that you specified already exists.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.InvalidPortRangeException - The port numbers that you specified are not valid numbers or are not unique for this accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateCustomRoutingEndpointGroupResponse createCustomRoutingEndpointGroup(Consumer<CreateCustomRoutingEndpointGroupRequest.Builder> createCustomRoutingEndpointGroupRequest) throws AcceleratorNotFoundException, EndpointGroupAlreadyExistsException, ListenerNotFoundException, InternalServiceErrorException, InvalidArgumentException, InvalidPortRangeException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the CreateCustomRoutingEndpointGroupRequest.Builder
avoiding the need to create one manually via CreateCustomRoutingEndpointGroupRequest.builder()
createCustomRoutingEndpointGroupRequest - A Consumer that will call methods on CreateCustomRoutingEndpointGroupRequest.Builder to
create a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.EndpointGroupAlreadyExistsException - The endpoint group that you specified already exists.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.InvalidPortRangeException - The port numbers that you specified are not valid numbers or are not unique for this accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateCustomRoutingListenerResponse createCustomRoutingListener(CreateCustomRoutingListenerRequest createCustomRoutingListenerRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidPortRangeException, InternalServiceErrorException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
createCustomRoutingListenerRequest - InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidPortRangeException - The port numbers that you specified are not valid numbers or are not unique for this accelerator.InternalServiceErrorException - There was an internal error for Global Accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateCustomRoutingListenerResponse createCustomRoutingListener(Consumer<CreateCustomRoutingListenerRequest.Builder> createCustomRoutingListenerRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidPortRangeException, InternalServiceErrorException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the CreateCustomRoutingListenerRequest.Builder
avoiding the need to create one manually via CreateCustomRoutingListenerRequest.builder()
createCustomRoutingListenerRequest - A Consumer that will call methods on CreateCustomRoutingListenerRequest.Builder to create
a request.InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidPortRangeException - The port numbers that you specified are not valid numbers or are not unique for this accelerator.InternalServiceErrorException - There was an internal error for Global Accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateEndpointGroupResponse createEndpointGroup(CreateEndpointGroupRequest createEndpointGroupRequest) throws AcceleratorNotFoundException, EndpointGroupAlreadyExistsException, ListenerNotFoundException, InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
createEndpointGroupRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.EndpointGroupAlreadyExistsException - The endpoint group that you specified already exists.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateEndpointGroupResponse createEndpointGroup(Consumer<CreateEndpointGroupRequest.Builder> createEndpointGroupRequest) throws AcceleratorNotFoundException, EndpointGroupAlreadyExistsException, ListenerNotFoundException, InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the CreateEndpointGroupRequest.Builder avoiding the
need to create one manually via CreateEndpointGroupRequest.builder()
createEndpointGroupRequest - A Consumer that will call methods on CreateEndpointGroupRequest.Builder to create a
request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.EndpointGroupAlreadyExistsException - The endpoint group that you specified already exists.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateListenerResponse createListener(CreateListenerRequest createListenerRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidPortRangeException, InternalServiceErrorException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
createListenerRequest - InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidPortRangeException - The port numbers that you specified are not valid numbers or are not unique for this accelerator.InternalServiceErrorException - There was an internal error for Global Accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateListenerResponse createListener(Consumer<CreateListenerRequest.Builder> createListenerRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidPortRangeException, InternalServiceErrorException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the CreateListenerRequest.Builder avoiding the need to
create one manually via CreateListenerRequest.builder()
createListenerRequest - A Consumer that will call methods on CreateListenerRequest.Builder to create a request.InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidPortRangeException - The port numbers that you specified are not valid numbers or are not unique for this accelerator.InternalServiceErrorException - There was an internal error for Global Accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAcceleratorResponse deleteAccelerator(DeleteAcceleratorRequest deleteAcceleratorRequest) throws AcceleratorNotFoundException, AcceleratorNotDisabledException, AssociatedListenerFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
deleteAcceleratorRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.AcceleratorNotDisabledException - The accelerator that you specified could not be disabled.AssociatedListenerFoundException - The accelerator that you specified has a listener associated with it. You must remove all dependent
resources from an accelerator before you can delete it.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAcceleratorResponse deleteAccelerator(Consumer<DeleteAcceleratorRequest.Builder> deleteAcceleratorRequest) throws AcceleratorNotFoundException, AcceleratorNotDisabledException, AssociatedListenerFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the DeleteAcceleratorRequest.Builder avoiding the need
to create one manually via DeleteAcceleratorRequest.builder()
deleteAcceleratorRequest - A Consumer that will call methods on DeleteAcceleratorRequest.Builder to create a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.AcceleratorNotDisabledException - The accelerator that you specified could not be disabled.AssociatedListenerFoundException - The accelerator that you specified has a listener associated with it. You must remove all dependent
resources from an accelerator before you can delete it.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCustomRoutingAcceleratorResponse deleteCustomRoutingAccelerator(DeleteCustomRoutingAcceleratorRequest deleteCustomRoutingAcceleratorRequest) throws AcceleratorNotFoundException, AcceleratorNotDisabledException, AssociatedListenerFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
deleteCustomRoutingAcceleratorRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.AcceleratorNotDisabledException - The accelerator that you specified could not be disabled.AssociatedListenerFoundException - The accelerator that you specified has a listener associated with it. You must remove all dependent
resources from an accelerator before you can delete it.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCustomRoutingAcceleratorResponse deleteCustomRoutingAccelerator(Consumer<DeleteCustomRoutingAcceleratorRequest.Builder> deleteCustomRoutingAcceleratorRequest) throws AcceleratorNotFoundException, AcceleratorNotDisabledException, AssociatedListenerFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the DeleteCustomRoutingAcceleratorRequest.Builder
avoiding the need to create one manually via DeleteCustomRoutingAcceleratorRequest.builder()
deleteCustomRoutingAcceleratorRequest - A Consumer that will call methods on DeleteCustomRoutingAcceleratorRequest.Builder to
create a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.AcceleratorNotDisabledException - The accelerator that you specified could not be disabled.AssociatedListenerFoundException - The accelerator that you specified has a listener associated with it. You must remove all dependent
resources from an accelerator before you can delete it.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCustomRoutingEndpointGroupResponse deleteCustomRoutingEndpointGroup(DeleteCustomRoutingEndpointGroupRequest deleteCustomRoutingEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Delete an endpoint group from a listener for a custom routing accelerator.
deleteCustomRoutingEndpointGroupRequest - InvalidArgumentException - An argument that you specified is invalid.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCustomRoutingEndpointGroupResponse deleteCustomRoutingEndpointGroup(Consumer<DeleteCustomRoutingEndpointGroupRequest.Builder> deleteCustomRoutingEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Delete an endpoint group from a listener for a custom routing accelerator.
This is a convenience which creates an instance of the DeleteCustomRoutingEndpointGroupRequest.Builder
avoiding the need to create one manually via DeleteCustomRoutingEndpointGroupRequest.builder()
deleteCustomRoutingEndpointGroupRequest - A Consumer that will call methods on DeleteCustomRoutingEndpointGroupRequest.Builder to
create a request.InvalidArgumentException - An argument that you specified is invalid.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCustomRoutingListenerResponse deleteCustomRoutingListener(DeleteCustomRoutingListenerRequest deleteCustomRoutingListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, AssociatedEndpointGroupFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Delete a listener for a custom routing accelerator.
deleteCustomRoutingListenerRequest - InvalidArgumentException - An argument that you specified is invalid.ListenerNotFoundException - The listener that you specified doesn't exist.AssociatedEndpointGroupFoundException - The listener that you specified has an endpoint group associated with it. You must remove all dependent
resources from a listener before you can delete it.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCustomRoutingListenerResponse deleteCustomRoutingListener(Consumer<DeleteCustomRoutingListenerRequest.Builder> deleteCustomRoutingListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, AssociatedEndpointGroupFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Delete a listener for a custom routing accelerator.
This is a convenience which creates an instance of the DeleteCustomRoutingListenerRequest.Builder
avoiding the need to create one manually via DeleteCustomRoutingListenerRequest.builder()
deleteCustomRoutingListenerRequest - A Consumer that will call methods on DeleteCustomRoutingListenerRequest.Builder to create
a request.InvalidArgumentException - An argument that you specified is invalid.ListenerNotFoundException - The listener that you specified doesn't exist.AssociatedEndpointGroupFoundException - The listener that you specified has an endpoint group associated with it. You must remove all dependent
resources from a listener before you can delete it.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteEndpointGroupResponse deleteEndpointGroup(DeleteEndpointGroupRequest deleteEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Delete an endpoint group from a listener.
deleteEndpointGroupRequest - InvalidArgumentException - An argument that you specified is invalid.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteEndpointGroupResponse deleteEndpointGroup(Consumer<DeleteEndpointGroupRequest.Builder> deleteEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Delete an endpoint group from a listener.
This is a convenience which creates an instance of the DeleteEndpointGroupRequest.Builder avoiding the
need to create one manually via DeleteEndpointGroupRequest.builder()
deleteEndpointGroupRequest - A Consumer that will call methods on DeleteEndpointGroupRequest.Builder to create a
request.InvalidArgumentException - An argument that you specified is invalid.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteListenerResponse deleteListener(DeleteListenerRequest deleteListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, AssociatedEndpointGroupFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Delete a listener from an accelerator.
deleteListenerRequest - InvalidArgumentException - An argument that you specified is invalid.ListenerNotFoundException - The listener that you specified doesn't exist.AssociatedEndpointGroupFoundException - The listener that you specified has an endpoint group associated with it. You must remove all dependent
resources from a listener before you can delete it.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteListenerResponse deleteListener(Consumer<DeleteListenerRequest.Builder> deleteListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, AssociatedEndpointGroupFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Delete a listener from an accelerator.
This is a convenience which creates an instance of the DeleteListenerRequest.Builder avoiding the need to
create one manually via DeleteListenerRequest.builder()
deleteListenerRequest - A Consumer that will call methods on DeleteListenerRequest.Builder to create a request.InvalidArgumentException - An argument that you specified is invalid.ListenerNotFoundException - The listener that you specified doesn't exist.AssociatedEndpointGroupFoundException - The listener that you specified has an endpoint group associated with it. You must remove all dependent
resources from a listener before you can delete it.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DenyCustomRoutingTrafficResponse denyCustomRoutingTraffic(DenyCustomRoutingTrafficRequest denyCustomRoutingTrafficRequest) throws EndpointGroupNotFoundException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
denyCustomRoutingTrafficRequest - EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DenyCustomRoutingTrafficResponse denyCustomRoutingTraffic(Consumer<DenyCustomRoutingTrafficRequest.Builder> denyCustomRoutingTrafficRequest) throws EndpointGroupNotFoundException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the DenyCustomRoutingTrafficRequest.Builder avoiding
the need to create one manually via DenyCustomRoutingTrafficRequest.builder()
denyCustomRoutingTrafficRequest - A Consumer that will call methods on DenyCustomRoutingTrafficRequest.Builder to create a
request.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeprovisionByoipCidrResponse deprovisionByoipCidr(DeprovisionByoipCidrRequest deprovisionByoipCidrRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, ByoipCidrNotFoundException, IncorrectCidrStateException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
deprovisionByoipCidrRequest - InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.ByoipCidrNotFoundException - The CIDR that you specified was not found or is incorrect.IncorrectCidrStateException - The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be
incorrect for this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeprovisionByoipCidrResponse deprovisionByoipCidr(Consumer<DeprovisionByoipCidrRequest.Builder> deprovisionByoipCidrRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, ByoipCidrNotFoundException, IncorrectCidrStateException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the DeprovisionByoipCidrRequest.Builder avoiding the
need to create one manually via DeprovisionByoipCidrRequest.builder()
deprovisionByoipCidrRequest - A Consumer that will call methods on DeprovisionByoipCidrRequest.Builder to create a
request.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.ByoipCidrNotFoundException - The CIDR that you specified was not found or is incorrect.IncorrectCidrStateException - The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be
incorrect for this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAcceleratorResponse describeAccelerator(DescribeAcceleratorRequest describeAcceleratorRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe an accelerator.
describeAcceleratorRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAcceleratorResponse describeAccelerator(Consumer<DescribeAcceleratorRequest.Builder> describeAcceleratorRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe an accelerator.
This is a convenience which creates an instance of the DescribeAcceleratorRequest.Builder avoiding the
need to create one manually via DescribeAcceleratorRequest.builder()
describeAcceleratorRequest - A Consumer that will call methods on DescribeAcceleratorRequest.Builder to create a
request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAcceleratorAttributesResponse describeAcceleratorAttributes(DescribeAcceleratorAttributesRequest describeAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe the attributes of an accelerator.
describeAcceleratorAttributesRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAcceleratorAttributesResponse describeAcceleratorAttributes(Consumer<DescribeAcceleratorAttributesRequest.Builder> describeAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe the attributes of an accelerator.
This is a convenience which creates an instance of the DescribeAcceleratorAttributesRequest.Builder
avoiding the need to create one manually via DescribeAcceleratorAttributesRequest.builder()
describeAcceleratorAttributesRequest - A Consumer that will call methods on DescribeAcceleratorAttributesRequest.Builder to
create a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCustomRoutingAcceleratorResponse describeCustomRoutingAccelerator(DescribeCustomRoutingAcceleratorRequest describeCustomRoutingAcceleratorRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe a custom routing accelerator.
describeCustomRoutingAcceleratorRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCustomRoutingAcceleratorResponse describeCustomRoutingAccelerator(Consumer<DescribeCustomRoutingAcceleratorRequest.Builder> describeCustomRoutingAcceleratorRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe a custom routing accelerator.
This is a convenience which creates an instance of the DescribeCustomRoutingAcceleratorRequest.Builder
avoiding the need to create one manually via DescribeCustomRoutingAcceleratorRequest.builder()
describeCustomRoutingAcceleratorRequest - A Consumer that will call methods on DescribeCustomRoutingAcceleratorRequest.Builder to
create a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCustomRoutingAcceleratorAttributesResponse describeCustomRoutingAcceleratorAttributes(DescribeCustomRoutingAcceleratorAttributesRequest describeCustomRoutingAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe the attributes of a custom routing accelerator.
describeCustomRoutingAcceleratorAttributesRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCustomRoutingAcceleratorAttributesResponse describeCustomRoutingAcceleratorAttributes(Consumer<DescribeCustomRoutingAcceleratorAttributesRequest.Builder> describeCustomRoutingAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe the attributes of a custom routing accelerator.
This is a convenience which creates an instance of the
DescribeCustomRoutingAcceleratorAttributesRequest.Builder avoiding the need to create one manually via
DescribeCustomRoutingAcceleratorAttributesRequest.builder()
describeCustomRoutingAcceleratorAttributesRequest - A Consumer that will call methods on
DescribeCustomRoutingAcceleratorAttributesRequest.Builder to create a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCustomRoutingEndpointGroupResponse describeCustomRoutingEndpointGroup(DescribeCustomRoutingEndpointGroupRequest describeCustomRoutingEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe an endpoint group for a custom routing accelerator.
describeCustomRoutingEndpointGroupRequest - InvalidArgumentException - An argument that you specified is invalid.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCustomRoutingEndpointGroupResponse describeCustomRoutingEndpointGroup(Consumer<DescribeCustomRoutingEndpointGroupRequest.Builder> describeCustomRoutingEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe an endpoint group for a custom routing accelerator.
This is a convenience which creates an instance of the DescribeCustomRoutingEndpointGroupRequest.Builder
avoiding the need to create one manually via DescribeCustomRoutingEndpointGroupRequest.builder()
describeCustomRoutingEndpointGroupRequest - A Consumer that will call methods on DescribeCustomRoutingEndpointGroupRequest.Builder to
create a request.InvalidArgumentException - An argument that you specified is invalid.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCustomRoutingListenerResponse describeCustomRoutingListener(DescribeCustomRoutingListenerRequest describeCustomRoutingListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
The description of a listener for a custom routing accelerator.
describeCustomRoutingListenerRequest - InvalidArgumentException - An argument that you specified is invalid.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCustomRoutingListenerResponse describeCustomRoutingListener(Consumer<DescribeCustomRoutingListenerRequest.Builder> describeCustomRoutingListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
The description of a listener for a custom routing accelerator.
This is a convenience which creates an instance of the DescribeCustomRoutingListenerRequest.Builder
avoiding the need to create one manually via DescribeCustomRoutingListenerRequest.builder()
describeCustomRoutingListenerRequest - A Consumer that will call methods on DescribeCustomRoutingListenerRequest.Builder to
create a request.InvalidArgumentException - An argument that you specified is invalid.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeEndpointGroupResponse describeEndpointGroup(DescribeEndpointGroupRequest describeEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe an endpoint group.
describeEndpointGroupRequest - InvalidArgumentException - An argument that you specified is invalid.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeEndpointGroupResponse describeEndpointGroup(Consumer<DescribeEndpointGroupRequest.Builder> describeEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe an endpoint group.
This is a convenience which creates an instance of the DescribeEndpointGroupRequest.Builder avoiding the
need to create one manually via DescribeEndpointGroupRequest.builder()
describeEndpointGroupRequest - A Consumer that will call methods on DescribeEndpointGroupRequest.Builder to create a
request.InvalidArgumentException - An argument that you specified is invalid.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeListenerResponse describeListener(DescribeListenerRequest describeListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe a listener.
describeListenerRequest - InvalidArgumentException - An argument that you specified is invalid.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeListenerResponse describeListener(Consumer<DescribeListenerRequest.Builder> describeListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Describe a listener.
This is a convenience which creates an instance of the DescribeListenerRequest.Builder avoiding the need
to create one manually via DescribeListenerRequest.builder()
describeListenerRequest - A Consumer that will call methods on DescribeListenerRequest.Builder to create a request.InvalidArgumentException - An argument that you specified is invalid.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAcceleratorsResponse listAccelerators() throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the accelerators for an Amazon Web Services account.
InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistAccelerators(ListAcceleratorsRequest),
AWS API Documentationdefault ListAcceleratorsResponse listAccelerators(ListAcceleratorsRequest listAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the accelerators for an Amazon Web Services account.
listAcceleratorsRequest - InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAcceleratorsResponse listAccelerators(Consumer<ListAcceleratorsRequest.Builder> listAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the accelerators for an Amazon Web Services account.
This is a convenience which creates an instance of the ListAcceleratorsRequest.Builder avoiding the need
to create one manually via ListAcceleratorsRequest.builder()
listAcceleratorsRequest - A Consumer that will call methods on ListAcceleratorsRequest.Builder to create a request.InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAcceleratorsIterable listAcceleratorsPaginator() throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the accelerators for an Amazon Web Services account.
This is a variant of
listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client.listAcceleratorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client
.listAcceleratorsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client.listAcceleratorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)
operation.
InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistAcceleratorsPaginator(ListAcceleratorsRequest),
AWS API Documentationdefault ListAcceleratorsIterable listAcceleratorsPaginator(ListAcceleratorsRequest listAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the accelerators for an Amazon Web Services account.
This is a variant of
listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client.listAcceleratorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client
.listAcceleratorsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client.listAcceleratorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)
operation.
listAcceleratorsRequest - InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAcceleratorsIterable listAcceleratorsPaginator(Consumer<ListAcceleratorsRequest.Builder> listAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the accelerators for an Amazon Web Services account.
This is a variant of
listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client.listAcceleratorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client
.listAcceleratorsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client.listAcceleratorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)
operation.
This is a convenience which creates an instance of the ListAcceleratorsRequest.Builder avoiding the need
to create one manually via ListAcceleratorsRequest.builder()
listAcceleratorsRequest - A Consumer that will call methods on ListAcceleratorsRequest.Builder to create a request.InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListByoipCidrsResponse listByoipCidrs(ListByoipCidrsRequest listByoipCidrsRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes.
listByoipCidrsRequest - InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.InvalidNextTokenException - There isn't another item to return.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListByoipCidrsResponse listByoipCidrs(Consumer<ListByoipCidrsRequest.Builder> listByoipCidrsRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes.
This is a convenience which creates an instance of the ListByoipCidrsRequest.Builder avoiding the need to
create one manually via ListByoipCidrsRequest.builder()
listByoipCidrsRequest - A Consumer that will call methods on ListByoipCidrsRequest.Builder to create a request.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.InvalidNextTokenException - There isn't another item to return.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListByoipCidrsIterable listByoipCidrsPaginator(ListByoipCidrsRequest listByoipCidrsRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes.
This is a variant of
listByoipCidrs(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsIterable responses = client.listByoipCidrsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsIterable responses = client
.listByoipCidrsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsIterable responses = client.listByoipCidrsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listByoipCidrs(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest)
operation.
listByoipCidrsRequest - InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.InvalidNextTokenException - There isn't another item to return.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListByoipCidrsIterable listByoipCidrsPaginator(Consumer<ListByoipCidrsRequest.Builder> listByoipCidrsRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes.
This is a variant of
listByoipCidrs(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsIterable responses = client.listByoipCidrsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsIterable responses = client
.listByoipCidrsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsIterable responses = client.listByoipCidrsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listByoipCidrs(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest)
operation.
This is a convenience which creates an instance of the ListByoipCidrsRequest.Builder avoiding the need to
create one manually via ListByoipCidrsRequest.builder()
listByoipCidrsRequest - A Consumer that will call methods on ListByoipCidrsRequest.Builder to create a request.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.InvalidNextTokenException - There isn't another item to return.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingAcceleratorsResponse listCustomRoutingAccelerators(ListCustomRoutingAcceleratorsRequest listCustomRoutingAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the custom routing accelerators for an Amazon Web Services account.
listCustomRoutingAcceleratorsRequest - InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingAcceleratorsResponse listCustomRoutingAccelerators(Consumer<ListCustomRoutingAcceleratorsRequest.Builder> listCustomRoutingAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the custom routing accelerators for an Amazon Web Services account.
This is a convenience which creates an instance of the ListCustomRoutingAcceleratorsRequest.Builder
avoiding the need to create one manually via ListCustomRoutingAcceleratorsRequest.builder()
listCustomRoutingAcceleratorsRequest - A Consumer that will call methods on ListCustomRoutingAcceleratorsRequest.Builder to
create a request.InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingAcceleratorsIterable listCustomRoutingAcceleratorsPaginator(ListCustomRoutingAcceleratorsRequest listCustomRoutingAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the custom routing accelerators for an Amazon Web Services account.
This is a variant of
listCustomRoutingAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsIterable responses = client.listCustomRoutingAcceleratorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsIterable responses = client
.listCustomRoutingAcceleratorsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsIterable responses = client.listCustomRoutingAcceleratorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomRoutingAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest)
operation.
listCustomRoutingAcceleratorsRequest - InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingAcceleratorsIterable listCustomRoutingAcceleratorsPaginator(Consumer<ListCustomRoutingAcceleratorsRequest.Builder> listCustomRoutingAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the custom routing accelerators for an Amazon Web Services account.
This is a variant of
listCustomRoutingAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsIterable responses = client.listCustomRoutingAcceleratorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsIterable responses = client
.listCustomRoutingAcceleratorsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsIterable responses = client.listCustomRoutingAcceleratorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomRoutingAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest)
operation.
This is a convenience which creates an instance of the ListCustomRoutingAcceleratorsRequest.Builder
avoiding the need to create one manually via ListCustomRoutingAcceleratorsRequest.builder()
listCustomRoutingAcceleratorsRequest - A Consumer that will call methods on ListCustomRoutingAcceleratorsRequest.Builder to
create a request.InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingEndpointGroupsResponse listCustomRoutingEndpointGroups(ListCustomRoutingEndpointGroupsRequest listCustomRoutingEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the endpoint groups that are associated with a listener for a custom routing accelerator.
listCustomRoutingEndpointGroupsRequest - ListenerNotFoundException - The listener that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingEndpointGroupsResponse listCustomRoutingEndpointGroups(Consumer<ListCustomRoutingEndpointGroupsRequest.Builder> listCustomRoutingEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the endpoint groups that are associated with a listener for a custom routing accelerator.
This is a convenience which creates an instance of the ListCustomRoutingEndpointGroupsRequest.Builder
avoiding the need to create one manually via ListCustomRoutingEndpointGroupsRequest.builder()
listCustomRoutingEndpointGroupsRequest - A Consumer that will call methods on ListCustomRoutingEndpointGroupsRequest.Builder to
create a request.ListenerNotFoundException - The listener that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingEndpointGroupsIterable listCustomRoutingEndpointGroupsPaginator(ListCustomRoutingEndpointGroupsRequest listCustomRoutingEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the endpoint groups that are associated with a listener for a custom routing accelerator.
This is a variant of
listCustomRoutingEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsIterable responses = client.listCustomRoutingEndpointGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsIterable responses = client
.listCustomRoutingEndpointGroupsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsIterable responses = client.listCustomRoutingEndpointGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomRoutingEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest)
operation.
listCustomRoutingEndpointGroupsRequest - ListenerNotFoundException - The listener that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingEndpointGroupsIterable listCustomRoutingEndpointGroupsPaginator(Consumer<ListCustomRoutingEndpointGroupsRequest.Builder> listCustomRoutingEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the endpoint groups that are associated with a listener for a custom routing accelerator.
This is a variant of
listCustomRoutingEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsIterable responses = client.listCustomRoutingEndpointGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsIterable responses = client
.listCustomRoutingEndpointGroupsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsIterable responses = client.listCustomRoutingEndpointGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomRoutingEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest)
operation.
This is a convenience which creates an instance of the ListCustomRoutingEndpointGroupsRequest.Builder
avoiding the need to create one manually via ListCustomRoutingEndpointGroupsRequest.builder()
listCustomRoutingEndpointGroupsRequest - A Consumer that will call methods on ListCustomRoutingEndpointGroupsRequest.Builder to
create a request.ListenerNotFoundException - The listener that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingListenersResponse listCustomRoutingListeners(ListCustomRoutingListenersRequest listCustomRoutingListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the listeners for a custom routing accelerator.
listCustomRoutingListenersRequest - InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingListenersResponse listCustomRoutingListeners(Consumer<ListCustomRoutingListenersRequest.Builder> listCustomRoutingListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the listeners for a custom routing accelerator.
This is a convenience which creates an instance of the ListCustomRoutingListenersRequest.Builder avoiding
the need to create one manually via ListCustomRoutingListenersRequest.builder()
listCustomRoutingListenersRequest - A Consumer that will call methods on ListCustomRoutingListenersRequest.Builder to create a
request.InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingListenersIterable listCustomRoutingListenersPaginator(ListCustomRoutingListenersRequest listCustomRoutingListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the listeners for a custom routing accelerator.
This is a variant of
listCustomRoutingListeners(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersIterable responses = client.listCustomRoutingListenersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersIterable responses = client
.listCustomRoutingListenersPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersIterable responses = client.listCustomRoutingListenersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomRoutingListeners(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest)
operation.
listCustomRoutingListenersRequest - InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingListenersIterable listCustomRoutingListenersPaginator(Consumer<ListCustomRoutingListenersRequest.Builder> listCustomRoutingListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the listeners for a custom routing accelerator.
This is a variant of
listCustomRoutingListeners(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersIterable responses = client.listCustomRoutingListenersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersIterable responses = client
.listCustomRoutingListenersPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersIterable responses = client.listCustomRoutingListenersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomRoutingListeners(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest)
operation.
This is a convenience which creates an instance of the ListCustomRoutingListenersRequest.Builder avoiding
the need to create one manually via ListCustomRoutingListenersRequest.builder()
listCustomRoutingListenersRequest - A Consumer that will call methods on ListCustomRoutingListenersRequest.Builder to create a
request.InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingPortMappingsResponse listCustomRoutingPortMappings(ListCustomRoutingPortMappingsRequest listCustomRoutingPortMappingsRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointGroupNotFoundException, AcceleratorNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
listCustomRoutingPortMappingsRequest - InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingPortMappingsResponse listCustomRoutingPortMappings(Consumer<ListCustomRoutingPortMappingsRequest.Builder> listCustomRoutingPortMappingsRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointGroupNotFoundException, AcceleratorNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the ListCustomRoutingPortMappingsRequest.Builder
avoiding the need to create one manually via ListCustomRoutingPortMappingsRequest.builder()
listCustomRoutingPortMappingsRequest - A Consumer that will call methods on ListCustomRoutingPortMappingsRequest.Builder to
create a request.InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingPortMappingsIterable listCustomRoutingPortMappingsPaginator(ListCustomRoutingPortMappingsRequest listCustomRoutingPortMappingsRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointGroupNotFoundException, AcceleratorNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a variant of
listCustomRoutingPortMappings(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsIterable responses = client.listCustomRoutingPortMappingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsIterable responses = client
.listCustomRoutingPortMappingsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsIterable responses = client.listCustomRoutingPortMappingsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomRoutingPortMappings(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest)
operation.
listCustomRoutingPortMappingsRequest - InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingPortMappingsIterable listCustomRoutingPortMappingsPaginator(Consumer<ListCustomRoutingPortMappingsRequest.Builder> listCustomRoutingPortMappingsRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointGroupNotFoundException, AcceleratorNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a variant of
listCustomRoutingPortMappings(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsIterable responses = client.listCustomRoutingPortMappingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsIterable responses = client
.listCustomRoutingPortMappingsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsIterable responses = client.listCustomRoutingPortMappingsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomRoutingPortMappings(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest)
operation.
This is a convenience which creates an instance of the ListCustomRoutingPortMappingsRequest.Builder
avoiding the need to create one manually via ListCustomRoutingPortMappingsRequest.builder()
listCustomRoutingPortMappingsRequest - A Consumer that will call methods on ListCustomRoutingPortMappingsRequest.Builder to
create a request.InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingPortMappingsByDestinationResponse listCustomRoutingPortMappingsByDestination(ListCustomRoutingPortMappingsByDestinationRequest listCustomRoutingPortMappingsByDestinationRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
listCustomRoutingPortMappingsByDestinationRequest - InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.EndpointNotFoundException - The endpoint that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingPortMappingsByDestinationResponse listCustomRoutingPortMappingsByDestination(Consumer<ListCustomRoutingPortMappingsByDestinationRequest.Builder> listCustomRoutingPortMappingsByDestinationRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the
ListCustomRoutingPortMappingsByDestinationRequest.Builder avoiding the need to create one manually via
ListCustomRoutingPortMappingsByDestinationRequest.builder()
listCustomRoutingPortMappingsByDestinationRequest - A Consumer that will call methods on
ListCustomRoutingPortMappingsByDestinationRequest.Builder to create a request.InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.EndpointNotFoundException - The endpoint that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingPortMappingsByDestinationIterable listCustomRoutingPortMappingsByDestinationPaginator(ListCustomRoutingPortMappingsByDestinationRequest listCustomRoutingPortMappingsByDestinationRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a variant of
listCustomRoutingPortMappingsByDestination(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationIterable responses = client.listCustomRoutingPortMappingsByDestinationPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationIterable responses = client
.listCustomRoutingPortMappingsByDestinationPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationIterable responses = client.listCustomRoutingPortMappingsByDestinationPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomRoutingPortMappingsByDestination(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationRequest)
operation.
listCustomRoutingPortMappingsByDestinationRequest - InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.EndpointNotFoundException - The endpoint that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomRoutingPortMappingsByDestinationIterable listCustomRoutingPortMappingsByDestinationPaginator(Consumer<ListCustomRoutingPortMappingsByDestinationRequest.Builder> listCustomRoutingPortMappingsByDestinationRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a variant of
listCustomRoutingPortMappingsByDestination(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationIterable responses = client.listCustomRoutingPortMappingsByDestinationPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationIterable responses = client
.listCustomRoutingPortMappingsByDestinationPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationIterable responses = client.listCustomRoutingPortMappingsByDestinationPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomRoutingPortMappingsByDestination(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsByDestinationRequest)
operation.
This is a convenience which creates an instance of the
ListCustomRoutingPortMappingsByDestinationRequest.Builder avoiding the need to create one manually via
ListCustomRoutingPortMappingsByDestinationRequest.builder()
listCustomRoutingPortMappingsByDestinationRequest - A Consumer that will call methods on
ListCustomRoutingPortMappingsByDestinationRequest.Builder to create a request.InvalidArgumentException - An argument that you specified is invalid.InvalidNextTokenException - There isn't another item to return.EndpointNotFoundException - The endpoint that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEndpointGroupsResponse listEndpointGroups(ListEndpointGroupsRequest listEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the endpoint groups that are associated with a listener.
listEndpointGroupsRequest - ListenerNotFoundException - The listener that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEndpointGroupsResponse listEndpointGroups(Consumer<ListEndpointGroupsRequest.Builder> listEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the endpoint groups that are associated with a listener.
This is a convenience which creates an instance of the ListEndpointGroupsRequest.Builder avoiding the
need to create one manually via ListEndpointGroupsRequest.builder()
listEndpointGroupsRequest - A Consumer that will call methods on ListEndpointGroupsRequest.Builder to create a
request.ListenerNotFoundException - The listener that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEndpointGroupsIterable listEndpointGroupsPaginator(ListEndpointGroupsRequest listEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the endpoint groups that are associated with a listener.
This is a variant of
listEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsIterable responses = client.listEndpointGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsIterable responses = client
.listEndpointGroupsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsIterable responses = client.listEndpointGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest)
operation.
listEndpointGroupsRequest - ListenerNotFoundException - The listener that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEndpointGroupsIterable listEndpointGroupsPaginator(Consumer<ListEndpointGroupsRequest.Builder> listEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the endpoint groups that are associated with a listener.
This is a variant of
listEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsIterable responses = client.listEndpointGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsIterable responses = client
.listEndpointGroupsPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsIterable responses = client.listEndpointGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest)
operation.
This is a convenience which creates an instance of the ListEndpointGroupsRequest.Builder avoiding the
need to create one manually via ListEndpointGroupsRequest.builder()
listEndpointGroupsRequest - A Consumer that will call methods on ListEndpointGroupsRequest.Builder to create a
request.ListenerNotFoundException - The listener that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InvalidArgumentException - An argument that you specified is invalid.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListListenersResponse listListeners(ListListenersRequest listListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the listeners for an accelerator.
listListenersRequest - InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListListenersResponse listListeners(Consumer<ListListenersRequest.Builder> listListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the listeners for an accelerator.
This is a convenience which creates an instance of the ListListenersRequest.Builder avoiding the need to
create one manually via ListListenersRequest.builder()
listListenersRequest - A Consumer that will call methods on ListListenersRequest.Builder to create a request.InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListListenersIterable listListenersPaginator(ListListenersRequest listListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the listeners for an accelerator.
This is a variant of
listListeners(software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListListenersIterable responses = client.listListenersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListListenersIterable responses = client
.listListenersPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListListenersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListListenersIterable responses = client.listListenersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listListeners(software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest)
operation.
listListenersRequest - InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListListenersIterable listListenersPaginator(Consumer<ListListenersRequest.Builder> listListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List the listeners for an accelerator.
This is a variant of
listListeners(software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.globalaccelerator.paginators.ListListenersIterable responses = client.listListenersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.globalaccelerator.paginators.ListListenersIterable responses = client
.listListenersPaginator(request);
for (software.amazon.awssdk.services.globalaccelerator.model.ListListenersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.globalaccelerator.paginators.ListListenersIterable responses = client.listListenersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listListeners(software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest)
operation.
This is a convenience which creates an instance of the ListListenersRequest.Builder avoiding the need to
create one manually via ListListenersRequest.builder()
listListenersRequest - A Consumer that will call methods on ListListenersRequest.Builder to create a request.InvalidArgumentException - An argument that you specified is invalid.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InvalidNextTokenException - There isn't another item to return.InternalServiceErrorException - There was an internal error for Global Accelerator.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List all tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
listTagsForResourceRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
List all tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ProvisionByoipCidrResponse provisionByoipCidr(ProvisionByoipCidrRequest provisionByoipCidrRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, IncorrectCidrStateException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
provisionByoipCidrRequest - InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.IncorrectCidrStateException - The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be
incorrect for this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ProvisionByoipCidrResponse provisionByoipCidr(Consumer<ProvisionByoipCidrRequest.Builder> provisionByoipCidrRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, IncorrectCidrStateException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the ProvisionByoipCidrRequest.Builder avoiding the
need to create one manually via ProvisionByoipCidrRequest.builder()
provisionByoipCidrRequest - A Consumer that will call methods on ProvisionByoipCidrRequest.Builder to create a
request.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.IncorrectCidrStateException - The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be
incorrect for this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RemoveCustomRoutingEndpointsResponse removeCustomRoutingEndpoints(RemoveCustomRoutingEndpointsRequest removeCustomRoutingEndpointsRequest) throws EndpointGroupNotFoundException, EndpointNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Remove endpoints from a custom routing accelerator.
removeCustomRoutingEndpointsRequest - EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.EndpointNotFoundException - The endpoint that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.ConflictException - You can't use both of those options.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RemoveCustomRoutingEndpointsResponse removeCustomRoutingEndpoints(Consumer<RemoveCustomRoutingEndpointsRequest.Builder> removeCustomRoutingEndpointsRequest) throws EndpointGroupNotFoundException, EndpointNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Remove endpoints from a custom routing accelerator.
This is a convenience which creates an instance of the RemoveCustomRoutingEndpointsRequest.Builder
avoiding the need to create one manually via RemoveCustomRoutingEndpointsRequest.builder()
removeCustomRoutingEndpointsRequest - A Consumer that will call methods on RemoveCustomRoutingEndpointsRequest.Builder to create
a request.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.EndpointNotFoundException - The endpoint that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.ConflictException - You can't use both of those options.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RemoveEndpointsResponse removeEndpoints(RemoveEndpointsRequest removeEndpointsRequest) throws EndpointGroupNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
removeEndpointsRequest - EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.TransactionInProgressException - There's already a transaction in progress. Another transaction can't be processed.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RemoveEndpointsResponse removeEndpoints(Consumer<RemoveEndpointsRequest.Builder> removeEndpointsRequest) throws EndpointGroupNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the RemoveEndpointsRequest.Builder avoiding the need
to create one manually via RemoveEndpointsRequest.builder()
removeEndpointsRequest - A Consumer that will call methods on RemoveEndpointsRequest.Builder to create a request.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.TransactionInProgressException - There's already a transaction in progress. Another transaction can't be processed.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Add tags to an accelerator resource.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
tagResourceRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Add tags to an accelerator resource.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
untagResourceRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAcceleratorResponse updateAccelerator(UpdateAcceleratorRequest updateAcceleratorRequest) throws AcceleratorNotFoundException, AccessDeniedException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update an accelerator.
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 AWS CLI commands.
updateAcceleratorRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.AccessDeniedException - You don't have access permission.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAcceleratorResponse updateAccelerator(Consumer<UpdateAcceleratorRequest.Builder> updateAcceleratorRequest) throws AcceleratorNotFoundException, AccessDeniedException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update an accelerator.
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 AWS CLI commands.
This is a convenience which creates an instance of the UpdateAcceleratorRequest.Builder avoiding the need
to create one manually via UpdateAcceleratorRequest.builder()
updateAcceleratorRequest - A Consumer that will call methods on UpdateAcceleratorRequest.Builder to create a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.AccessDeniedException - You don't have access permission.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAcceleratorAttributesResponse updateAcceleratorAttributes(UpdateAcceleratorAttributesRequest updateAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update the attributes for an accelerator.
updateAcceleratorAttributesRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAcceleratorAttributesResponse updateAcceleratorAttributes(Consumer<UpdateAcceleratorAttributesRequest.Builder> updateAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update the attributes for an accelerator.
This is a convenience which creates an instance of the UpdateAcceleratorAttributesRequest.Builder
avoiding the need to create one manually via UpdateAcceleratorAttributesRequest.builder()
updateAcceleratorAttributesRequest - A Consumer that will call methods on UpdateAcceleratorAttributesRequest.Builder to create
a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCustomRoutingAcceleratorResponse updateCustomRoutingAccelerator(UpdateCustomRoutingAcceleratorRequest updateCustomRoutingAcceleratorRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update a custom routing accelerator.
updateCustomRoutingAcceleratorRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCustomRoutingAcceleratorResponse updateCustomRoutingAccelerator(Consumer<UpdateCustomRoutingAcceleratorRequest.Builder> updateCustomRoutingAcceleratorRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update a custom routing accelerator.
This is a convenience which creates an instance of the UpdateCustomRoutingAcceleratorRequest.Builder
avoiding the need to create one manually via UpdateCustomRoutingAcceleratorRequest.builder()
updateCustomRoutingAcceleratorRequest - A Consumer that will call methods on UpdateCustomRoutingAcceleratorRequest.Builder to
create a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCustomRoutingAcceleratorAttributesResponse updateCustomRoutingAcceleratorAttributes(UpdateCustomRoutingAcceleratorAttributesRequest updateCustomRoutingAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update the attributes for a custom routing accelerator.
updateCustomRoutingAcceleratorAttributesRequest - AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCustomRoutingAcceleratorAttributesResponse updateCustomRoutingAcceleratorAttributes(Consumer<UpdateCustomRoutingAcceleratorAttributesRequest.Builder> updateCustomRoutingAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update the attributes for a custom routing accelerator.
This is a convenience which creates an instance of the
UpdateCustomRoutingAcceleratorAttributesRequest.Builder avoiding the need to create one manually via
UpdateCustomRoutingAcceleratorAttributesRequest.builder()
updateCustomRoutingAcceleratorAttributesRequest - A Consumer that will call methods on
UpdateCustomRoutingAcceleratorAttributesRequest.Builder to create a request.AcceleratorNotFoundException - The accelerator that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCustomRoutingListenerResponse updateCustomRoutingListener(UpdateCustomRoutingListenerRequest updateCustomRoutingListenerRequest) throws InvalidArgumentException, InvalidPortRangeException, ListenerNotFoundException, InternalServiceErrorException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update a listener for a custom routing accelerator.
updateCustomRoutingListenerRequest - InvalidArgumentException - An argument that you specified is invalid.InvalidPortRangeException - The port numbers that you specified are not valid numbers or are not unique for this accelerator.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCustomRoutingListenerResponse updateCustomRoutingListener(Consumer<UpdateCustomRoutingListenerRequest.Builder> updateCustomRoutingListenerRequest) throws InvalidArgumentException, InvalidPortRangeException, ListenerNotFoundException, InternalServiceErrorException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update a listener for a custom routing accelerator.
This is a convenience which creates an instance of the UpdateCustomRoutingListenerRequest.Builder
avoiding the need to create one manually via UpdateCustomRoutingListenerRequest.builder()
updateCustomRoutingListenerRequest - A Consumer that will call methods on UpdateCustomRoutingListenerRequest.Builder to create
a request.InvalidArgumentException - An argument that you specified is invalid.InvalidPortRangeException - The port numbers that you specified are not valid numbers or are not unique for this accelerator.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateEndpointGroupResponse updateEndpointGroup(UpdateEndpointGroupRequest updateEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update an endpoint group. A resource must be valid and active when you add it as an endpoint.
updateEndpointGroupRequest - InvalidArgumentException - An argument that you specified is invalid.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateEndpointGroupResponse updateEndpointGroup(Consumer<UpdateEndpointGroupRequest.Builder> updateEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update an endpoint group. A resource must be valid and active when you add it as an endpoint.
This is a convenience which creates an instance of the UpdateEndpointGroupRequest.Builder avoiding the
need to create one manually via UpdateEndpointGroupRequest.builder()
updateEndpointGroupRequest - A Consumer that will call methods on UpdateEndpointGroupRequest.Builder to create a
request.InvalidArgumentException - An argument that you specified is invalid.EndpointGroupNotFoundException - The endpoint group that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.AccessDeniedException - You don't have access permission.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateListenerResponse updateListener(UpdateListenerRequest updateListenerRequest) throws InvalidArgumentException, InvalidPortRangeException, ListenerNotFoundException, InternalServiceErrorException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update a listener.
updateListenerRequest - InvalidArgumentException - An argument that you specified is invalid.InvalidPortRangeException - The port numbers that you specified are not valid numbers or are not unique for this accelerator.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateListenerResponse updateListener(Consumer<UpdateListenerRequest.Builder> updateListenerRequest) throws InvalidArgumentException, InvalidPortRangeException, ListenerNotFoundException, InternalServiceErrorException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException
Update a listener.
This is a convenience which creates an instance of the UpdateListenerRequest.Builder avoiding the need to
create one manually via UpdateListenerRequest.builder()
updateListenerRequest - A Consumer that will call methods on UpdateListenerRequest.Builder to create a request.InvalidArgumentException - An argument that you specified is invalid.InvalidPortRangeException - The port numbers that you specified are not valid numbers or are not unique for this accelerator.ListenerNotFoundException - The listener that you specified doesn't exist.InternalServiceErrorException - There was an internal error for Global Accelerator.LimitExceededException - Processing your request would cause you to exceed an Global Accelerator limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault WithdrawByoipCidrResponse withdrawByoipCidr(WithdrawByoipCidrRequest withdrawByoipCidrRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, ByoipCidrNotFoundException, IncorrectCidrStateException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
withdrawByoipCidrRequest - InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.ByoipCidrNotFoundException - The CIDR that you specified was not found or is incorrect.IncorrectCidrStateException - The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be
incorrect for this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault WithdrawByoipCidrResponse withdrawByoipCidr(Consumer<WithdrawByoipCidrRequest.Builder> withdrawByoipCidrRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, ByoipCidrNotFoundException, IncorrectCidrStateException, AwsServiceException, SdkClientException, GlobalAcceleratorException
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.
This is a convenience which creates an instance of the WithdrawByoipCidrRequest.Builder avoiding the need
to create one manually via WithdrawByoipCidrRequest.builder()
withdrawByoipCidrRequest - A Consumer that will call methods on WithdrawByoipCidrRequest.Builder to create a request.InternalServiceErrorException - There was an internal error for Global Accelerator.InvalidArgumentException - An argument that you specified is invalid.AccessDeniedException - You don't have access permission.ByoipCidrNotFoundException - The CIDR that you specified was not found or is incorrect.IncorrectCidrStateException - The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be
incorrect for this action.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GlobalAcceleratorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.