Interface GlobalAcceleratorClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,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 Amazon Web Services CLI commands.
By default, Global Accelerator provides you with static IP addresses that you associate with your accelerator. The static IP addresses are anycast from the Amazon Web Services edge network. For IPv4, Global Accelerator provides two static IPv4 addresses. For dual-stack, Global Accelerator provides a total of four addresses: two static IPv4 addresses and two static IPv6 addresses. With a standard accelerator for IPv4, instead of using the addresses that Global Accelerator provides, you can configure these entry points to be IPv4 addresses from your own IP address ranges that you bring to Global Accelerator (BYOIP).
For a standard accelerator, they distribute incoming application traffic across multiple endpoint resources in multiple Amazon Web Services Regions , which increases the availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers, Amazon EC2 instances, or Elastic IP addresses that are located in one Amazon Web Services Region or multiple Amazon Web Services Regions. For custom routing accelerators, you map traffic that arrives to the static IP addresses to specific Amazon EC2 servers in endpoints that are virtual private cloud (VPC) subnets.
The static IP addresses remain assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them. You can use IAM policies like tag-based permissions with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Tag-based policies.
For standard accelerators, Global Accelerator uses the Amazon Web Services global network to route traffic to the optimal regional endpoint based on health, client location, and policies that you configure. The service reacts instantly to changes in health or configuration to ensure that internet traffic from clients is always directed to healthy endpoints.
For more information about understanding and using Global Accelerator, see the Global Accelerator Developer Guide.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionaddCustomRoutingEndpoints(Consumer<AddCustomRoutingEndpointsRequest.Builder> addCustomRoutingEndpointsRequest) Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.addCustomRoutingEndpoints(AddCustomRoutingEndpointsRequest addCustomRoutingEndpointsRequest) Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.default AddEndpointsResponseaddEndpoints(Consumer<AddEndpointsRequest.Builder> addEndpointsRequest) Add endpoints to an endpoint group.default AddEndpointsResponseaddEndpoints(AddEndpointsRequest addEndpointsRequest) Add endpoints to an endpoint group.default AdvertiseByoipCidrResponseadvertiseByoipCidr(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 AdvertiseByoipCidrResponseadvertiseByoipCidr(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).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.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.builder()Create a builder that can be used to configure and create aGlobalAcceleratorClient.static GlobalAcceleratorClientcreate()Create aGlobalAcceleratorClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAcceleratorResponsecreateAccelerator(Consumer<CreateAcceleratorRequest.Builder> createAcceleratorRequest) Create an accelerator.default CreateAcceleratorResponsecreateAccelerator(CreateAcceleratorRequest createAcceleratorRequest) Create an accelerator.createCrossAccountAttachment(Consumer<CreateCrossAccountAttachmentRequest.Builder> createCrossAccountAttachmentRequest) Create a cross-account attachment in Global Accelerator.createCrossAccountAttachment(CreateCrossAccountAttachmentRequest createCrossAccountAttachmentRequest) Create a cross-account attachment in Global Accelerator.createCustomRoutingAccelerator(Consumer<CreateCustomRoutingAcceleratorRequest.Builder> createCustomRoutingAcceleratorRequest) Create a custom routing accelerator.createCustomRoutingAccelerator(CreateCustomRoutingAcceleratorRequest createCustomRoutingAcceleratorRequest) Create a custom routing accelerator.createCustomRoutingEndpointGroup(Consumer<CreateCustomRoutingEndpointGroupRequest.Builder> createCustomRoutingEndpointGroupRequest) Create an endpoint group for the specified listener for a custom routing accelerator.createCustomRoutingEndpointGroup(CreateCustomRoutingEndpointGroupRequest createCustomRoutingEndpointGroupRequest) Create an endpoint group for the specified listener for a custom routing accelerator.createCustomRoutingListener(Consumer<CreateCustomRoutingListenerRequest.Builder> createCustomRoutingListenerRequest) Create a listener to process inbound connections from clients to a custom routing accelerator.createCustomRoutingListener(CreateCustomRoutingListenerRequest createCustomRoutingListenerRequest) Create a listener to process inbound connections from clients to a custom routing accelerator.default CreateEndpointGroupResponsecreateEndpointGroup(Consumer<CreateEndpointGroupRequest.Builder> createEndpointGroupRequest) Create an endpoint group for the specified listener.default CreateEndpointGroupResponsecreateEndpointGroup(CreateEndpointGroupRequest createEndpointGroupRequest) Create an endpoint group for the specified listener.default CreateListenerResponsecreateListener(Consumer<CreateListenerRequest.Builder> createListenerRequest) Create a listener to process inbound connections from clients to an accelerator.default CreateListenerResponsecreateListener(CreateListenerRequest createListenerRequest) Create a listener to process inbound connections from clients to an accelerator.default DeleteAcceleratorResponsedeleteAccelerator(Consumer<DeleteAcceleratorRequest.Builder> deleteAcceleratorRequest) Delete an accelerator.default DeleteAcceleratorResponsedeleteAccelerator(DeleteAcceleratorRequest deleteAcceleratorRequest) Delete an accelerator.deleteCrossAccountAttachment(Consumer<DeleteCrossAccountAttachmentRequest.Builder> deleteCrossAccountAttachmentRequest) Delete a cross-account attachment.deleteCrossAccountAttachment(DeleteCrossAccountAttachmentRequest deleteCrossAccountAttachmentRequest) Delete a cross-account attachment.deleteCustomRoutingAccelerator(Consumer<DeleteCustomRoutingAcceleratorRequest.Builder> deleteCustomRoutingAcceleratorRequest) Delete a custom routing accelerator.deleteCustomRoutingAccelerator(DeleteCustomRoutingAcceleratorRequest deleteCustomRoutingAcceleratorRequest) Delete a custom routing accelerator.deleteCustomRoutingEndpointGroup(Consumer<DeleteCustomRoutingEndpointGroupRequest.Builder> deleteCustomRoutingEndpointGroupRequest) Delete an endpoint group from a listener for a custom routing accelerator.deleteCustomRoutingEndpointGroup(DeleteCustomRoutingEndpointGroupRequest deleteCustomRoutingEndpointGroupRequest) Delete an endpoint group from a listener for a custom routing accelerator.deleteCustomRoutingListener(Consumer<DeleteCustomRoutingListenerRequest.Builder> deleteCustomRoutingListenerRequest) Delete a listener for a custom routing accelerator.deleteCustomRoutingListener(DeleteCustomRoutingListenerRequest deleteCustomRoutingListenerRequest) Delete a listener for a custom routing accelerator.default DeleteEndpointGroupResponsedeleteEndpointGroup(Consumer<DeleteEndpointGroupRequest.Builder> deleteEndpointGroupRequest) Delete an endpoint group from a listener.default DeleteEndpointGroupResponsedeleteEndpointGroup(DeleteEndpointGroupRequest deleteEndpointGroupRequest) Delete an endpoint group from a listener.default DeleteListenerResponsedeleteListener(Consumer<DeleteListenerRequest.Builder> deleteListenerRequest) Delete a listener from an accelerator.default DeleteListenerResponsedeleteListener(DeleteListenerRequest deleteListenerRequest) Delete a listener from an accelerator.default DenyCustomRoutingTrafficResponsedenyCustomRoutingTraffic(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 DenyCustomRoutingTrafficResponsedenyCustomRoutingTraffic(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 DeprovisionByoipCidrResponsedeprovisionByoipCidr(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 DeprovisionByoipCidrResponsedeprovisionByoipCidr(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 DescribeAcceleratorResponsedescribeAccelerator(Consumer<DescribeAcceleratorRequest.Builder> describeAcceleratorRequest) Describe an accelerator.default DescribeAcceleratorResponsedescribeAccelerator(DescribeAcceleratorRequest describeAcceleratorRequest) Describe an accelerator.describeAcceleratorAttributes(Consumer<DescribeAcceleratorAttributesRequest.Builder> describeAcceleratorAttributesRequest) Describe the attributes of an accelerator.describeAcceleratorAttributes(DescribeAcceleratorAttributesRequest describeAcceleratorAttributesRequest) Describe the attributes of an accelerator.describeCrossAccountAttachment(Consumer<DescribeCrossAccountAttachmentRequest.Builder> describeCrossAccountAttachmentRequest) Gets configuration information about a cross-account attachment.describeCrossAccountAttachment(DescribeCrossAccountAttachmentRequest describeCrossAccountAttachmentRequest) Gets configuration information about a cross-account attachment.describeCustomRoutingAccelerator(Consumer<DescribeCustomRoutingAcceleratorRequest.Builder> describeCustomRoutingAcceleratorRequest) Describe a custom routing accelerator.describeCustomRoutingAccelerator(DescribeCustomRoutingAcceleratorRequest describeCustomRoutingAcceleratorRequest) Describe a custom routing accelerator.describeCustomRoutingAcceleratorAttributes(Consumer<DescribeCustomRoutingAcceleratorAttributesRequest.Builder> describeCustomRoutingAcceleratorAttributesRequest) Describe the attributes of a custom routing accelerator.describeCustomRoutingAcceleratorAttributes(DescribeCustomRoutingAcceleratorAttributesRequest describeCustomRoutingAcceleratorAttributesRequest) Describe the attributes of a custom routing accelerator.describeCustomRoutingEndpointGroup(Consumer<DescribeCustomRoutingEndpointGroupRequest.Builder> describeCustomRoutingEndpointGroupRequest) Describe an endpoint group for a custom routing accelerator.describeCustomRoutingEndpointGroup(DescribeCustomRoutingEndpointGroupRequest describeCustomRoutingEndpointGroupRequest) Describe an endpoint group for a custom routing accelerator.describeCustomRoutingListener(Consumer<DescribeCustomRoutingListenerRequest.Builder> describeCustomRoutingListenerRequest) The description of a listener for a custom routing accelerator.describeCustomRoutingListener(DescribeCustomRoutingListenerRequest describeCustomRoutingListenerRequest) The description of a listener for a custom routing accelerator.default DescribeEndpointGroupResponsedescribeEndpointGroup(Consumer<DescribeEndpointGroupRequest.Builder> describeEndpointGroupRequest) Describe an endpoint group.default DescribeEndpointGroupResponsedescribeEndpointGroup(DescribeEndpointGroupRequest describeEndpointGroupRequest) Describe an endpoint group.default DescribeListenerResponsedescribeListener(Consumer<DescribeListenerRequest.Builder> describeListenerRequest) Describe a listener.default DescribeListenerResponsedescribeListener(DescribeListenerRequest describeListenerRequest) Describe a listener.default ListAcceleratorsResponseList the accelerators for an Amazon Web Services account.default ListAcceleratorsResponselistAccelerators(Consumer<ListAcceleratorsRequest.Builder> listAcceleratorsRequest) List the accelerators for an Amazon Web Services account.default ListAcceleratorsResponselistAccelerators(ListAcceleratorsRequest listAcceleratorsRequest) List the accelerators for an Amazon Web Services account.default ListAcceleratorsIterableThis is a variant oflistAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)operation.default ListAcceleratorsIterablelistAcceleratorsPaginator(Consumer<ListAcceleratorsRequest.Builder> listAcceleratorsRequest) This is a variant oflistAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)operation.default ListAcceleratorsIterablelistAcceleratorsPaginator(ListAcceleratorsRequest listAcceleratorsRequest) This is a variant oflistAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListAcceleratorsRequest)operation.default ListByoipCidrsResponselistByoipCidrs(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 ListByoipCidrsResponselistByoipCidrs(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 ListByoipCidrsIterablelistByoipCidrsPaginator(Consumer<ListByoipCidrsRequest.Builder> listByoipCidrsRequest) This is a variant oflistByoipCidrs(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest)operation.default ListByoipCidrsIterablelistByoipCidrsPaginator(ListByoipCidrsRequest listByoipCidrsRequest) This is a variant oflistByoipCidrs(software.amazon.awssdk.services.globalaccelerator.model.ListByoipCidrsRequest)operation.listCrossAccountAttachments(Consumer<ListCrossAccountAttachmentsRequest.Builder> listCrossAccountAttachmentsRequest) List the cross-account attachments that have been created in Global Accelerator.listCrossAccountAttachments(ListCrossAccountAttachmentsRequest listCrossAccountAttachmentsRequest) List the cross-account attachments that have been created in Global Accelerator.listCrossAccountAttachmentsPaginator(Consumer<ListCrossAccountAttachmentsRequest.Builder> listCrossAccountAttachmentsRequest) This is a variant oflistCrossAccountAttachments(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest)operation.listCrossAccountAttachmentsPaginator(ListCrossAccountAttachmentsRequest listCrossAccountAttachmentsRequest) This is a variant oflistCrossAccountAttachments(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest)operation.listCrossAccountResourceAccounts(Consumer<ListCrossAccountResourceAccountsRequest.Builder> listCrossAccountResourceAccountsRequest) List the accounts that have cross-account resources.listCrossAccountResourceAccounts(ListCrossAccountResourceAccountsRequest listCrossAccountResourceAccountsRequest) List the accounts that have cross-account resources.listCrossAccountResources(Consumer<ListCrossAccountResourcesRequest.Builder> listCrossAccountResourcesRequest) List the cross-account resources available to work with.listCrossAccountResources(ListCrossAccountResourcesRequest listCrossAccountResourcesRequest) List the cross-account resources available to work with.listCrossAccountResourcesPaginator(Consumer<ListCrossAccountResourcesRequest.Builder> listCrossAccountResourcesRequest) This is a variant oflistCrossAccountResources(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest)operation.listCrossAccountResourcesPaginator(ListCrossAccountResourcesRequest listCrossAccountResourcesRequest) This is a variant oflistCrossAccountResources(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest)operation.listCustomRoutingAccelerators(Consumer<ListCustomRoutingAcceleratorsRequest.Builder> listCustomRoutingAcceleratorsRequest) List the custom routing accelerators for an Amazon Web Services account.listCustomRoutingAccelerators(ListCustomRoutingAcceleratorsRequest listCustomRoutingAcceleratorsRequest) List the custom routing accelerators for an Amazon Web Services account.listCustomRoutingAcceleratorsPaginator(Consumer<ListCustomRoutingAcceleratorsRequest.Builder> listCustomRoutingAcceleratorsRequest) This is a variant oflistCustomRoutingAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest)operation.listCustomRoutingAcceleratorsPaginator(ListCustomRoutingAcceleratorsRequest listCustomRoutingAcceleratorsRequest) This is a variant oflistCustomRoutingAccelerators(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingAcceleratorsRequest)operation.listCustomRoutingEndpointGroups(Consumer<ListCustomRoutingEndpointGroupsRequest.Builder> listCustomRoutingEndpointGroupsRequest) List the endpoint groups that are associated with a listener for a custom routing accelerator.listCustomRoutingEndpointGroups(ListCustomRoutingEndpointGroupsRequest listCustomRoutingEndpointGroupsRequest) List the endpoint groups that are associated with a listener for a custom routing accelerator.listCustomRoutingEndpointGroupsPaginator(Consumer<ListCustomRoutingEndpointGroupsRequest.Builder> listCustomRoutingEndpointGroupsRequest) This is a variant oflistCustomRoutingEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest)operation.listCustomRoutingEndpointGroupsPaginator(ListCustomRoutingEndpointGroupsRequest listCustomRoutingEndpointGroupsRequest) This is a variant oflistCustomRoutingEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingEndpointGroupsRequest)operation.listCustomRoutingListeners(Consumer<ListCustomRoutingListenersRequest.Builder> listCustomRoutingListenersRequest) List the listeners for a custom routing accelerator.listCustomRoutingListeners(ListCustomRoutingListenersRequest listCustomRoutingListenersRequest) List the listeners for a custom routing accelerator.listCustomRoutingListenersPaginator(Consumer<ListCustomRoutingListenersRequest.Builder> listCustomRoutingListenersRequest) This is a variant oflistCustomRoutingListeners(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest)operation.listCustomRoutingListenersPaginator(ListCustomRoutingListenersRequest listCustomRoutingListenersRequest) This is a variant oflistCustomRoutingListeners(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingListenersRequest)operation.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.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.listCustomRoutingPortMappingsByDestination(Consumer<ListCustomRoutingPortMappingsByDestinationRequest.Builder> listCustomRoutingPortMappingsByDestinationRequest) List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint.listCustomRoutingPortMappingsByDestination(ListCustomRoutingPortMappingsByDestinationRequest listCustomRoutingPortMappingsByDestinationRequest) List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint.listCustomRoutingPortMappingsByDestinationPaginator(Consumer<ListCustomRoutingPortMappingsByDestinationRequest.Builder> listCustomRoutingPortMappingsByDestinationRequest) listCustomRoutingPortMappingsByDestinationPaginator(ListCustomRoutingPortMappingsByDestinationRequest listCustomRoutingPortMappingsByDestinationRequest) listCustomRoutingPortMappingsPaginator(Consumer<ListCustomRoutingPortMappingsRequest.Builder> listCustomRoutingPortMappingsRequest) This is a variant oflistCustomRoutingPortMappings(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest)operation.listCustomRoutingPortMappingsPaginator(ListCustomRoutingPortMappingsRequest listCustomRoutingPortMappingsRequest) This is a variant oflistCustomRoutingPortMappings(software.amazon.awssdk.services.globalaccelerator.model.ListCustomRoutingPortMappingsRequest)operation.default ListEndpointGroupsResponselistEndpointGroups(Consumer<ListEndpointGroupsRequest.Builder> listEndpointGroupsRequest) List the endpoint groups that are associated with a listener.default ListEndpointGroupsResponselistEndpointGroups(ListEndpointGroupsRequest listEndpointGroupsRequest) List the endpoint groups that are associated with a listener.default ListEndpointGroupsIterablelistEndpointGroupsPaginator(Consumer<ListEndpointGroupsRequest.Builder> listEndpointGroupsRequest) This is a variant oflistEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest)operation.default ListEndpointGroupsIterablelistEndpointGroupsPaginator(ListEndpointGroupsRequest listEndpointGroupsRequest) This is a variant oflistEndpointGroups(software.amazon.awssdk.services.globalaccelerator.model.ListEndpointGroupsRequest)operation.default ListListenersResponselistListeners(Consumer<ListListenersRequest.Builder> listListenersRequest) List the listeners for an accelerator.default ListListenersResponselistListeners(ListListenersRequest listListenersRequest) List the listeners for an accelerator.default ListListenersIterablelistListenersPaginator(Consumer<ListListenersRequest.Builder> listListenersRequest) This is a variant oflistListeners(software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest)operation.default ListListenersIterablelistListenersPaginator(ListListenersRequest listListenersRequest) This is a variant oflistListeners(software.amazon.awssdk.services.globalaccelerator.model.ListListenersRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all tags for an accelerator.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List all tags for an accelerator.default ProvisionByoipCidrResponseprovisionByoipCidr(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 ProvisionByoipCidrResponseprovisionByoipCidr(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.removeCustomRoutingEndpoints(Consumer<RemoveCustomRoutingEndpointsRequest.Builder> removeCustomRoutingEndpointsRequest) Remove endpoints from a custom routing accelerator.removeCustomRoutingEndpoints(RemoveCustomRoutingEndpointsRequest removeCustomRoutingEndpointsRequest) Remove endpoints from a custom routing accelerator.default RemoveEndpointsResponseremoveEndpoints(Consumer<RemoveEndpointsRequest.Builder> removeEndpointsRequest) Remove endpoints from an endpoint group.default RemoveEndpointsResponseremoveEndpoints(RemoveEndpointsRequest removeEndpointsRequest) Remove endpoints from an endpoint group.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add tags to an accelerator resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Add tags to an accelerator resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove tags from a Global Accelerator resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Remove tags from a Global Accelerator resource.default UpdateAcceleratorResponseupdateAccelerator(Consumer<UpdateAcceleratorRequest.Builder> updateAcceleratorRequest) Update an accelerator to make changes, such as the following:default UpdateAcceleratorResponseupdateAccelerator(UpdateAcceleratorRequest updateAcceleratorRequest) Update an accelerator to make changes, such as the following:updateAcceleratorAttributes(Consumer<UpdateAcceleratorAttributesRequest.Builder> updateAcceleratorAttributesRequest) Update the attributes for an accelerator.updateAcceleratorAttributes(UpdateAcceleratorAttributesRequest updateAcceleratorAttributesRequest) Update the attributes for an accelerator.updateCrossAccountAttachment(Consumer<UpdateCrossAccountAttachmentRequest.Builder> updateCrossAccountAttachmentRequest) Update a cross-account attachment to add or remove principals or resources.updateCrossAccountAttachment(UpdateCrossAccountAttachmentRequest updateCrossAccountAttachmentRequest) Update a cross-account attachment to add or remove principals or resources.updateCustomRoutingAccelerator(Consumer<UpdateCustomRoutingAcceleratorRequest.Builder> updateCustomRoutingAcceleratorRequest) Update a custom routing accelerator.updateCustomRoutingAccelerator(UpdateCustomRoutingAcceleratorRequest updateCustomRoutingAcceleratorRequest) Update a custom routing accelerator.updateCustomRoutingAcceleratorAttributes(Consumer<UpdateCustomRoutingAcceleratorAttributesRequest.Builder> updateCustomRoutingAcceleratorAttributesRequest) Update the attributes for a custom routing accelerator.updateCustomRoutingAcceleratorAttributes(UpdateCustomRoutingAcceleratorAttributesRequest updateCustomRoutingAcceleratorAttributesRequest) Update the attributes for a custom routing accelerator.updateCustomRoutingListener(Consumer<UpdateCustomRoutingListenerRequest.Builder> updateCustomRoutingListenerRequest) Update a listener for a custom routing accelerator.updateCustomRoutingListener(UpdateCustomRoutingListenerRequest updateCustomRoutingListenerRequest) Update a listener for a custom routing accelerator.default UpdateEndpointGroupResponseupdateEndpointGroup(Consumer<UpdateEndpointGroupRequest.Builder> updateEndpointGroupRequest) Update an endpoint group.default UpdateEndpointGroupResponseupdateEndpointGroup(UpdateEndpointGroupRequest updateEndpointGroupRequest) Update an endpoint group.default UpdateListenerResponseupdateListener(Consumer<UpdateListenerRequest.Builder> updateListenerRequest) Update a listener.default UpdateListenerResponseupdateListener(UpdateListenerRequest updateListenerRequest) Update a listener.default WithdrawByoipCidrResponsewithdrawByoipCidr(Consumer<WithdrawByoipCidrRequest.Builder> withdrawByoipCidrRequest) Stops advertising an address range that is provisioned as an address pool.default WithdrawByoipCidrResponsewithdrawByoipCidr(WithdrawByoipCidrRequest withdrawByoipCidrRequest) Stops advertising an address range that is provisioned as an address pool.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
addCustomRoutingEndpoints
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.
- Parameters:
addCustomRoutingEndpointsRequest-- Returns:
- Result of the AddCustomRoutingEndpoints operation returned by the service.
- See Also:
-
addCustomRoutingEndpoints
default 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.Builderavoiding the need to create one manually viaAddCustomRoutingEndpointsRequest.builder()- Parameters:
addCustomRoutingEndpointsRequest- AConsumerthat will call methods onAddCustomRoutingEndpointsRequest.Builderto create a request.- Returns:
- Result of the AddCustomRoutingEndpoints operation returned by the service.
- See Also:
-
addEndpoints
default AddEndpointsResponse addEndpoints(AddEndpointsRequest addEndpointsRequest) throws TransactionInProgressException, EndpointGroupNotFoundException, InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException Add endpoints to an endpoint group. The
AddEndpointsAPI 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
AddEndpointsto add endpoints in Global Accelerator:-
It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding, rather than resolving new and existing endpoints.
-
It's more convenient, because you don't need to specify the current endpoints that are already in the endpoint group, in addition to the new endpoints that you want to add.
For information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators in the Global Accelerator Developer Guide.
- Parameters:
addEndpointsRequest-- Returns:
- Result of the AddEndpoints operation returned by the service.
- See Also:
-
-
addEndpoints
default AddEndpointsResponse addEndpoints(Consumer<AddEndpointsRequest.Builder> addEndpointsRequest) throws TransactionInProgressException, EndpointGroupNotFoundException, InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, GlobalAcceleratorException Add endpoints to an endpoint group. The
AddEndpointsAPI 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
AddEndpointsto add endpoints in Global Accelerator:-
It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding, rather than resolving new and existing endpoints.
-
It's more convenient, because you don't need to specify the current endpoints that are already in the endpoint group, in addition to the new endpoints that you want to add.
For information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators in the Global Accelerator Developer Guide.
This is a convenience which creates an instance of the
AddEndpointsRequest.Builderavoiding the need to create one manually viaAddEndpointsRequest.builder()- Parameters:
addEndpointsRequest- AConsumerthat will call methods onAddEndpointsRequest.Builderto create a request.- Returns:
- Result of the AddEndpoints operation returned by the service.
- See Also:
-
-
advertiseByoipCidr
default 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.
- Parameters:
advertiseByoipCidrRequest-- Returns:
- Result of the AdvertiseByoipCidr operation returned by the service.
- See Also:
-
advertiseByoipCidr
default 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.Builderavoiding the need to create one manually viaAdvertiseByoipCidrRequest.builder()- Parameters:
advertiseByoipCidrRequest- AConsumerthat will call methods onAdvertiseByoipCidrRequest.Builderto create a request.- Returns:
- Result of the AdvertiseByoipCidr operation returned by the service.
- See Also:
-
allowCustomRoutingTraffic
default 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.
- Parameters:
allowCustomRoutingTrafficRequest-- Returns:
- Result of the AllowCustomRoutingTraffic operation returned by the service.
- See Also:
-
allowCustomRoutingTraffic
default 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.Builderavoiding the need to create one manually viaAllowCustomRoutingTrafficRequest.builder()- Parameters:
allowCustomRoutingTrafficRequest- AConsumerthat will call methods onAllowCustomRoutingTrafficRequest.Builderto create a request.- Returns:
- Result of the AllowCustomRoutingTraffic operation returned by the service.
- See Also:
-
createAccelerator
default CreateAcceleratorResponse createAccelerator(CreateAcceleratorRequest createAcceleratorRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, TransactionInProgressException, 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-2on Amazon Web Services CLI commands.- Parameters:
createAcceleratorRequest-- Returns:
- Result of the CreateAccelerator operation returned by the service.
- See Also:
-
createAccelerator
default CreateAcceleratorResponse createAccelerator(Consumer<CreateAcceleratorRequest.Builder> createAcceleratorRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, TransactionInProgressException, 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-2on Amazon Web Services CLI commands.
This is a convenience which creates an instance of the
CreateAcceleratorRequest.Builderavoiding the need to create one manually viaCreateAcceleratorRequest.builder()- Parameters:
createAcceleratorRequest- AConsumerthat will call methods onCreateAcceleratorRequest.Builderto create a request.- Returns:
- Result of the CreateAccelerator operation returned by the service.
- See Also:
-
createCrossAccountAttachment
default CreateCrossAccountAttachmentResponse createCrossAccountAttachment(CreateCrossAccountAttachmentRequest createCrossAccountAttachmentRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to specify the principals who have permission to work with resources in accelerators in their own account. You specify, in the same attachment, the resources that are shared.
A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator. For account numbers that are listed as principals, to work with a resource listed in the attachment, you must sign in to an account specified as a principal. Then, you can work with resources that are listed, with any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with permission to make updates to the accelerator can work with resources that are listed in the attachment.
Specify each principal and resource separately. To specify two CIDR address pools, list them individually under
Resources, and so on. For a command line operation, for example, you might use a statement like the following:"Resources": [{"Cidr": "169.254.60.0/24"},{"Cidr": "169.254.59.0/24"}]For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
- Parameters:
createCrossAccountAttachmentRequest-- Returns:
- Result of the CreateCrossAccountAttachment operation returned by the service.
- See Also:
-
createCrossAccountAttachment
default CreateCrossAccountAttachmentResponse createCrossAccountAttachment(Consumer<CreateCrossAccountAttachmentRequest.Builder> createCrossAccountAttachmentRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to specify the principals who have permission to work with resources in accelerators in their own account. You specify, in the same attachment, the resources that are shared.
A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator. For account numbers that are listed as principals, to work with a resource listed in the attachment, you must sign in to an account specified as a principal. Then, you can work with resources that are listed, with any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with permission to make updates to the accelerator can work with resources that are listed in the attachment.
Specify each principal and resource separately. To specify two CIDR address pools, list them individually under
Resources, and so on. For a command line operation, for example, you might use a statement like the following:"Resources": [{"Cidr": "169.254.60.0/24"},{"Cidr": "169.254.59.0/24"}]For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
This is a convenience which creates an instance of the
CreateCrossAccountAttachmentRequest.Builderavoiding the need to create one manually viaCreateCrossAccountAttachmentRequest.builder()- Parameters:
createCrossAccountAttachmentRequest- AConsumerthat will call methods onCreateCrossAccountAttachmentRequest.Builderto create a request.- Returns:
- Result of the CreateCrossAccountAttachment operation returned by the service.
- See Also:
-
createCustomRoutingAccelerator
default CreateCustomRoutingAcceleratorResponse createCustomRoutingAccelerator(CreateCustomRoutingAcceleratorRequest createCustomRoutingAcceleratorRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, TransactionInProgressException, 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-2on Amazon Web Services CLI commands.- Parameters:
createCustomRoutingAcceleratorRequest-- Returns:
- Result of the CreateCustomRoutingAccelerator operation returned by the service.
- See Also:
-
createCustomRoutingAccelerator
default CreateCustomRoutingAcceleratorResponse createCustomRoutingAccelerator(Consumer<CreateCustomRoutingAcceleratorRequest.Builder> createCustomRoutingAcceleratorRequest) throws InternalServiceErrorException, InvalidArgumentException, LimitExceededException, AccessDeniedException, TransactionInProgressException, 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-2on Amazon Web Services CLI commands.
This is a convenience which creates an instance of the
CreateCustomRoutingAcceleratorRequest.Builderavoiding the need to create one manually viaCreateCustomRoutingAcceleratorRequest.builder()- Parameters:
createCustomRoutingAcceleratorRequest- AConsumerthat will call methods onCreateCustomRoutingAcceleratorRequest.Builderto create a request.- Returns:
- Result of the CreateCustomRoutingAccelerator operation returned by the service.
- See Also:
-
createCustomRoutingEndpointGroup
default 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.
- Parameters:
createCustomRoutingEndpointGroupRequest-- Returns:
- Result of the CreateCustomRoutingEndpointGroup operation returned by the service.
- See Also:
-
createCustomRoutingEndpointGroup
default 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.Builderavoiding the need to create one manually viaCreateCustomRoutingEndpointGroupRequest.builder()- Parameters:
createCustomRoutingEndpointGroupRequest- AConsumerthat will call methods onCreateCustomRoutingEndpointGroupRequest.Builderto create a request.- Returns:
- Result of the CreateCustomRoutingEndpointGroup operation returned by the service.
- See Also:
-
createCustomRoutingListener
default 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.
- Parameters:
createCustomRoutingListenerRequest-- Returns:
- Result of the CreateCustomRoutingListener operation returned by the service.
- See Also:
-
createCustomRoutingListener
default 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.Builderavoiding the need to create one manually viaCreateCustomRoutingListenerRequest.builder()- Parameters:
createCustomRoutingListenerRequest- AConsumerthat will call methods onCreateCustomRoutingListenerRequest.Builderto create a request.- Returns:
- Result of the CreateCustomRoutingListener operation returned by the service.
- See Also:
-
createEndpointGroup
default 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.
For more information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators in the Global Accelerator Developer Guide.
- Parameters:
createEndpointGroupRequest-- Returns:
- Result of the CreateEndpointGroup operation returned by the service.
- See Also:
-
createEndpointGroup
default 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.
For more information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators in the Global Accelerator Developer Guide.
This is a convenience which creates an instance of the
CreateEndpointGroupRequest.Builderavoiding the need to create one manually viaCreateEndpointGroupRequest.builder()- Parameters:
createEndpointGroupRequest- AConsumerthat will call methods onCreateEndpointGroupRequest.Builderto create a request.- Returns:
- Result of the CreateEndpointGroup operation returned by the service.
- See Also:
-
createListener
default 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.
- Parameters:
createListenerRequest-- Returns:
- Result of the CreateListener operation returned by the service.
- See Also:
-
createListener
default 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.Builderavoiding the need to create one manually viaCreateListenerRequest.builder()- Parameters:
createListenerRequest- AConsumerthat will call methods onCreateListenerRequest.Builderto create a request.- Returns:
- Result of the CreateListener operation returned by the service.
- See Also:
-
deleteAccelerator
default DeleteAcceleratorResponse deleteAccelerator(DeleteAcceleratorRequest deleteAcceleratorRequest) throws AcceleratorNotFoundException, AcceleratorNotDisabledException, AssociatedListenerFoundException, InternalServiceErrorException, InvalidArgumentException, TransactionInProgressException, 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
Enabledto 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.
- Parameters:
deleteAcceleratorRequest-- Returns:
- Result of the DeleteAccelerator operation returned by the service.
- See Also:
-
deleteAccelerator
default DeleteAcceleratorResponse deleteAccelerator(Consumer<DeleteAcceleratorRequest.Builder> deleteAcceleratorRequest) throws AcceleratorNotFoundException, AcceleratorNotDisabledException, AssociatedListenerFoundException, InternalServiceErrorException, InvalidArgumentException, TransactionInProgressException, 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
Enabledto 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.Builderavoiding the need to create one manually viaDeleteAcceleratorRequest.builder()- Parameters:
deleteAcceleratorRequest- AConsumerthat will call methods onDeleteAcceleratorRequest.Builderto create a request.- Returns:
- Result of the DeleteAccelerator operation returned by the service.
- See Also:
-
deleteCrossAccountAttachment
default DeleteCrossAccountAttachmentResponse deleteCrossAccountAttachment(DeleteCrossAccountAttachmentRequest deleteCrossAccountAttachmentRequest) throws AttachmentNotFoundException, AccessDeniedException, InternalServiceErrorException, InvalidArgumentException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to use the resources in the attachment from all principals in the list of principals. Global Accelerator revokes the permission for specific resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
- Parameters:
deleteCrossAccountAttachmentRequest-- Returns:
- Result of the DeleteCrossAccountAttachment operation returned by the service.
- See Also:
-
deleteCrossAccountAttachment
default DeleteCrossAccountAttachmentResponse deleteCrossAccountAttachment(Consumer<DeleteCrossAccountAttachmentRequest.Builder> deleteCrossAccountAttachmentRequest) throws AttachmentNotFoundException, AccessDeniedException, InternalServiceErrorException, InvalidArgumentException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to use the resources in the attachment from all principals in the list of principals. Global Accelerator revokes the permission for specific resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
This is a convenience which creates an instance of the
DeleteCrossAccountAttachmentRequest.Builderavoiding the need to create one manually viaDeleteCrossAccountAttachmentRequest.builder()- Parameters:
deleteCrossAccountAttachmentRequest- AConsumerthat will call methods onDeleteCrossAccountAttachmentRequest.Builderto create a request.- Returns:
- Result of the DeleteCrossAccountAttachment operation returned by the service.
- See Also:
-
deleteCustomRoutingAccelerator
default DeleteCustomRoutingAcceleratorResponse deleteCustomRoutingAccelerator(DeleteCustomRoutingAcceleratorRequest deleteCustomRoutingAcceleratorRequest) throws AcceleratorNotFoundException, AcceleratorNotDisabledException, AssociatedListenerFoundException, InternalServiceErrorException, InvalidArgumentException, TransactionInProgressException, 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
Enabledto 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.
- Parameters:
deleteCustomRoutingAcceleratorRequest-- Returns:
- Result of the DeleteCustomRoutingAccelerator operation returned by the service.
- See Also:
-
deleteCustomRoutingAccelerator
default DeleteCustomRoutingAcceleratorResponse deleteCustomRoutingAccelerator(Consumer<DeleteCustomRoutingAcceleratorRequest.Builder> deleteCustomRoutingAcceleratorRequest) throws AcceleratorNotFoundException, AcceleratorNotDisabledException, AssociatedListenerFoundException, InternalServiceErrorException, InvalidArgumentException, TransactionInProgressException, 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
Enabledto 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.Builderavoiding the need to create one manually viaDeleteCustomRoutingAcceleratorRequest.builder()- Parameters:
deleteCustomRoutingAcceleratorRequest- AConsumerthat will call methods onDeleteCustomRoutingAcceleratorRequest.Builderto create a request.- Returns:
- Result of the DeleteCustomRoutingAccelerator operation returned by the service.
- See Also:
-
deleteCustomRoutingEndpointGroup
default DeleteCustomRoutingEndpointGroupResponse deleteCustomRoutingEndpointGroup(DeleteCustomRoutingEndpointGroupRequest deleteCustomRoutingEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException Delete an endpoint group from a listener for a custom routing accelerator.
- Parameters:
deleteCustomRoutingEndpointGroupRequest-- Returns:
- Result of the DeleteCustomRoutingEndpointGroup operation returned by the service.
- See Also:
-
deleteCustomRoutingEndpointGroup
default 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.Builderavoiding the need to create one manually viaDeleteCustomRoutingEndpointGroupRequest.builder()- Parameters:
deleteCustomRoutingEndpointGroupRequest- AConsumerthat will call methods onDeleteCustomRoutingEndpointGroupRequest.Builderto create a request.- Returns:
- Result of the DeleteCustomRoutingEndpointGroup operation returned by the service.
- See Also:
-
deleteCustomRoutingListener
default DeleteCustomRoutingListenerResponse deleteCustomRoutingListener(DeleteCustomRoutingListenerRequest deleteCustomRoutingListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, AssociatedEndpointGroupFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException Delete a listener for a custom routing accelerator.
- Parameters:
deleteCustomRoutingListenerRequest-- Returns:
- Result of the DeleteCustomRoutingListener operation returned by the service.
- See Also:
-
deleteCustomRoutingListener
default 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.Builderavoiding the need to create one manually viaDeleteCustomRoutingListenerRequest.builder()- Parameters:
deleteCustomRoutingListenerRequest- AConsumerthat will call methods onDeleteCustomRoutingListenerRequest.Builderto create a request.- Returns:
- Result of the DeleteCustomRoutingListener operation returned by the service.
- See Also:
-
deleteEndpointGroup
default DeleteEndpointGroupResponse deleteEndpointGroup(DeleteEndpointGroupRequest deleteEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException Delete an endpoint group from a listener.
- Parameters:
deleteEndpointGroupRequest-- Returns:
- Result of the DeleteEndpointGroup operation returned by the service.
- See Also:
-
deleteEndpointGroup
default 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.Builderavoiding the need to create one manually viaDeleteEndpointGroupRequest.builder()- Parameters:
deleteEndpointGroupRequest- AConsumerthat will call methods onDeleteEndpointGroupRequest.Builderto create a request.- Returns:
- Result of the DeleteEndpointGroup operation returned by the service.
- See Also:
-
deleteListener
default DeleteListenerResponse deleteListener(DeleteListenerRequest deleteListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, AssociatedEndpointGroupFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException Delete a listener from an accelerator.
- Parameters:
deleteListenerRequest-- Returns:
- Result of the DeleteListener operation returned by the service.
- See Also:
-
deleteListener
default 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.Builderavoiding the need to create one manually viaDeleteListenerRequest.builder()- Parameters:
deleteListenerRequest- AConsumerthat will call methods onDeleteListenerRequest.Builderto create a request.- Returns:
- Result of the DeleteListener operation returned by the service.
- See Also:
-
denyCustomRoutingTraffic
default 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.
- Parameters:
denyCustomRoutingTrafficRequest-- Returns:
- Result of the DenyCustomRoutingTraffic operation returned by the service.
- See Also:
-
denyCustomRoutingTraffic
default 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.Builderavoiding the need to create one manually viaDenyCustomRoutingTrafficRequest.builder()- Parameters:
denyCustomRoutingTrafficRequest- AConsumerthat will call methods onDenyCustomRoutingTrafficRequest.Builderto create a request.- Returns:
- Result of the DenyCustomRoutingTraffic operation returned by the service.
- See Also:
-
deprovisionByoipCidr
default 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.
- Parameters:
deprovisionByoipCidrRequest-- Returns:
- Result of the DeprovisionByoipCidr operation returned by the service.
- See Also:
-
deprovisionByoipCidr
default 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.Builderavoiding the need to create one manually viaDeprovisionByoipCidrRequest.builder()- Parameters:
deprovisionByoipCidrRequest- AConsumerthat will call methods onDeprovisionByoipCidrRequest.Builderto create a request.- Returns:
- Result of the DeprovisionByoipCidr operation returned by the service.
- See Also:
-
describeAccelerator
default DescribeAcceleratorResponse describeAccelerator(DescribeAcceleratorRequest describeAcceleratorRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException Describe an accelerator.
- Parameters:
describeAcceleratorRequest-- Returns:
- Result of the DescribeAccelerator operation returned by the service.
- See Also:
-
describeAccelerator
default 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.Builderavoiding the need to create one manually viaDescribeAcceleratorRequest.builder()- Parameters:
describeAcceleratorRequest- AConsumerthat will call methods onDescribeAcceleratorRequest.Builderto create a request.- Returns:
- Result of the DescribeAccelerator operation returned by the service.
- See Also:
-
describeAcceleratorAttributes
default DescribeAcceleratorAttributesResponse describeAcceleratorAttributes(DescribeAcceleratorAttributesRequest describeAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException Describe the attributes of an accelerator.
- Parameters:
describeAcceleratorAttributesRequest-- Returns:
- Result of the DescribeAcceleratorAttributes operation returned by the service.
- See Also:
-
describeAcceleratorAttributes
default 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.Builderavoiding the need to create one manually viaDescribeAcceleratorAttributesRequest.builder()- Parameters:
describeAcceleratorAttributesRequest- AConsumerthat will call methods onDescribeAcceleratorAttributesRequest.Builderto create a request.- Returns:
- Result of the DescribeAcceleratorAttributes operation returned by the service.
- See Also:
-
describeCrossAccountAttachment
default DescribeCrossAccountAttachmentResponse describeCrossAccountAttachment(DescribeCrossAccountAttachmentRequest describeCrossAccountAttachmentRequest) throws AttachmentNotFoundException, AccessDeniedException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException Gets configuration information about a cross-account attachment.
- Parameters:
describeCrossAccountAttachmentRequest-- Returns:
- Result of the DescribeCrossAccountAttachment operation returned by the service.
- See Also:
-
describeCrossAccountAttachment
default DescribeCrossAccountAttachmentResponse describeCrossAccountAttachment(Consumer<DescribeCrossAccountAttachmentRequest.Builder> describeCrossAccountAttachmentRequest) throws AttachmentNotFoundException, AccessDeniedException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException Gets configuration information about a cross-account attachment.
This is a convenience which creates an instance of the
DescribeCrossAccountAttachmentRequest.Builderavoiding the need to create one manually viaDescribeCrossAccountAttachmentRequest.builder()- Parameters:
describeCrossAccountAttachmentRequest- AConsumerthat will call methods onDescribeCrossAccountAttachmentRequest.Builderto create a request.- Returns:
- Result of the DescribeCrossAccountAttachment operation returned by the service.
- See Also:
-
describeCustomRoutingAccelerator
default DescribeCustomRoutingAcceleratorResponse describeCustomRoutingAccelerator(DescribeCustomRoutingAcceleratorRequest describeCustomRoutingAcceleratorRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException Describe a custom routing accelerator.
- Parameters:
describeCustomRoutingAcceleratorRequest-- Returns:
- Result of the DescribeCustomRoutingAccelerator operation returned by the service.
- See Also:
-
describeCustomRoutingAccelerator
default 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.Builderavoiding the need to create one manually viaDescribeCustomRoutingAcceleratorRequest.builder()- Parameters:
describeCustomRoutingAcceleratorRequest- AConsumerthat will call methods onDescribeCustomRoutingAcceleratorRequest.Builderto create a request.- Returns:
- Result of the DescribeCustomRoutingAccelerator operation returned by the service.
- See Also:
-
describeCustomRoutingAcceleratorAttributes
default DescribeCustomRoutingAcceleratorAttributesResponse describeCustomRoutingAcceleratorAttributes(DescribeCustomRoutingAcceleratorAttributesRequest describeCustomRoutingAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AwsServiceException, SdkClientException, GlobalAcceleratorException Describe the attributes of a custom routing accelerator.
- Parameters:
describeCustomRoutingAcceleratorAttributesRequest-- Returns:
- Result of the DescribeCustomRoutingAcceleratorAttributes operation returned by the service.
- See Also:
-
describeCustomRoutingAcceleratorAttributes
default 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.Builderavoiding the need to create one manually viaDescribeCustomRoutingAcceleratorAttributesRequest.builder()- Parameters:
describeCustomRoutingAcceleratorAttributesRequest- AConsumerthat will call methods onDescribeCustomRoutingAcceleratorAttributesRequest.Builderto create a request.- Returns:
- Result of the DescribeCustomRoutingAcceleratorAttributes operation returned by the service.
- See Also:
-
describeCustomRoutingEndpointGroup
default DescribeCustomRoutingEndpointGroupResponse describeCustomRoutingEndpointGroup(DescribeCustomRoutingEndpointGroupRequest describeCustomRoutingEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException Describe an endpoint group for a custom routing accelerator.
- Parameters:
describeCustomRoutingEndpointGroupRequest-- Returns:
- Result of the DescribeCustomRoutingEndpointGroup operation returned by the service.
- See Also:
-
describeCustomRoutingEndpointGroup
default 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.Builderavoiding the need to create one manually viaDescribeCustomRoutingEndpointGroupRequest.builder()- Parameters:
describeCustomRoutingEndpointGroupRequest- AConsumerthat will call methods onDescribeCustomRoutingEndpointGroupRequest.Builderto create a request.- Returns:
- Result of the DescribeCustomRoutingEndpointGroup operation returned by the service.
- See Also:
-
describeCustomRoutingListener
default DescribeCustomRoutingListenerResponse describeCustomRoutingListener(DescribeCustomRoutingListenerRequest describeCustomRoutingListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException The description of a listener for a custom routing accelerator.
- Parameters:
describeCustomRoutingListenerRequest-- Returns:
- Result of the DescribeCustomRoutingListener operation returned by the service.
- See Also:
-
describeCustomRoutingListener
default 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.Builderavoiding the need to create one manually viaDescribeCustomRoutingListenerRequest.builder()- Parameters:
describeCustomRoutingListenerRequest- AConsumerthat will call methods onDescribeCustomRoutingListenerRequest.Builderto create a request.- Returns:
- Result of the DescribeCustomRoutingListener operation returned by the service.
- See Also:
-
describeEndpointGroup
default DescribeEndpointGroupResponse describeEndpointGroup(DescribeEndpointGroupRequest describeEndpointGroupRequest) throws InvalidArgumentException, EndpointGroupNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException Describe an endpoint group.
- Parameters:
describeEndpointGroupRequest-- Returns:
- Result of the DescribeEndpointGroup operation returned by the service.
- See Also:
-
describeEndpointGroup
default 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.Builderavoiding the need to create one manually viaDescribeEndpointGroupRequest.builder()- Parameters:
describeEndpointGroupRequest- AConsumerthat will call methods onDescribeEndpointGroupRequest.Builderto create a request.- Returns:
- Result of the DescribeEndpointGroup operation returned by the service.
- See Also:
-
describeListener
default DescribeListenerResponse describeListener(DescribeListenerRequest describeListenerRequest) throws InvalidArgumentException, ListenerNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException Describe a listener.
- Parameters:
describeListenerRequest-- Returns:
- Result of the DescribeListener operation returned by the service.
- See Also:
-
describeListener
default 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.Builderavoiding the need to create one manually viaDescribeListenerRequest.builder()- Parameters:
describeListenerRequest- AConsumerthat will call methods onDescribeListenerRequest.Builderto create a request.- Returns:
- Result of the DescribeListener operation returned by the service.
- See Also:
-
listAccelerators
default ListAcceleratorsResponse listAccelerators(ListAcceleratorsRequest listAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException List the accelerators for an Amazon Web Services account.
- Parameters:
listAcceleratorsRequest-- Returns:
- Result of the ListAccelerators operation returned by the service.
- See Also:
-
listAccelerators
default 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.Builderavoiding the need to create one manually viaListAcceleratorsRequest.builder()- Parameters:
listAcceleratorsRequest- AConsumerthat will call methods onListAcceleratorsRequest.Builderto create a request.- Returns:
- Result of the ListAccelerators operation returned by the service.
- See Also:
-
listAccelerators
default ListAcceleratorsResponse listAccelerators() throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorExceptionList the accelerators for an Amazon Web Services account.
- Returns:
- Result of the ListAccelerators operation returned by the service.
- See Also:
-
listAcceleratorsPaginator
default ListAcceleratorsIterable listAcceleratorsPaginator() throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorExceptionThis 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client.listAcceleratorsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAcceleratorsPaginator
default ListAcceleratorsIterable listAcceleratorsPaginator(ListAcceleratorsRequest listAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client.listAcceleratorsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listAcceleratorsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAcceleratorsPaginator
default ListAcceleratorsIterable listAcceleratorsPaginator(Consumer<ListAcceleratorsRequest.Builder> listAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListAcceleratorsIterable responses = client.listAcceleratorsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListAcceleratorsRequest.builder()- Parameters:
listAcceleratorsRequest- AConsumerthat will call methods onListAcceleratorsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listByoipCidrs
default 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.
- Parameters:
listByoipCidrsRequest-- Returns:
- Result of the ListByoipCidrs operation returned by the service.
- See Also:
-
listByoipCidrs
default 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.Builderavoiding the need to create one manually viaListByoipCidrsRequest.builder()- Parameters:
listByoipCidrsRequest- AConsumerthat will call methods onListByoipCidrsRequest.Builderto create a request.- Returns:
- Result of the ListByoipCidrs operation returned by the service.
- See Also:
-
listByoipCidrsPaginator
default ListByoipCidrsIterable listByoipCidrsPaginator(ListByoipCidrsRequest listByoipCidrsRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsIterable responses = client.listByoipCidrsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listByoipCidrsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listByoipCidrsPaginator
default ListByoipCidrsIterable listByoipCidrsPaginator(Consumer<ListByoipCidrsRequest.Builder> listByoipCidrsRequest) throws InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, InvalidNextTokenException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListByoipCidrsIterable responses = client.listByoipCidrsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListByoipCidrsRequest.builder()- Parameters:
listByoipCidrsRequest- AConsumerthat will call methods onListByoipCidrsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCrossAccountAttachments
default ListCrossAccountAttachmentsResponse listCrossAccountAttachments(ListCrossAccountAttachmentsRequest listCrossAccountAttachmentsRequest) throws AccessDeniedException, InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException List the cross-account attachments that have been created in Global Accelerator.
- Parameters:
listCrossAccountAttachmentsRequest-- Returns:
- Result of the ListCrossAccountAttachments operation returned by the service.
- See Also:
-
listCrossAccountAttachments
default ListCrossAccountAttachmentsResponse listCrossAccountAttachments(Consumer<ListCrossAccountAttachmentsRequest.Builder> listCrossAccountAttachmentsRequest) throws AccessDeniedException, InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException List the cross-account attachments that have been created in Global Accelerator.
This is a convenience which creates an instance of the
ListCrossAccountAttachmentsRequest.Builderavoiding the need to create one manually viaListCrossAccountAttachmentsRequest.builder()- Parameters:
listCrossAccountAttachmentsRequest- AConsumerthat will call methods onListCrossAccountAttachmentsRequest.Builderto create a request.- Returns:
- Result of the ListCrossAccountAttachments operation returned by the service.
- See Also:
-
listCrossAccountAttachmentsPaginator
default ListCrossAccountAttachmentsIterable listCrossAccountAttachmentsPaginator(ListCrossAccountAttachmentsRequest listCrossAccountAttachmentsRequest) throws AccessDeniedException, InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException This is a variant of
listCrossAccountAttachments(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountAttachmentsIterable responses = client.listCrossAccountAttachmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountAttachmentsIterable responses = client .listCrossAccountAttachmentsPaginator(request); for (software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountAttachmentsIterable responses = client.listCrossAccountAttachmentsPaginator(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
listCrossAccountAttachments(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest)operation.- Parameters:
listCrossAccountAttachmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCrossAccountAttachmentsPaginator
default ListCrossAccountAttachmentsIterable listCrossAccountAttachmentsPaginator(Consumer<ListCrossAccountAttachmentsRequest.Builder> listCrossAccountAttachmentsRequest) throws AccessDeniedException, InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException This is a variant of
listCrossAccountAttachments(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountAttachmentsIterable responses = client.listCrossAccountAttachmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountAttachmentsIterable responses = client .listCrossAccountAttachmentsPaginator(request); for (software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountAttachmentsIterable responses = client.listCrossAccountAttachmentsPaginator(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
listCrossAccountAttachments(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountAttachmentsRequest)operation.
This is a convenience which creates an instance of the
ListCrossAccountAttachmentsRequest.Builderavoiding the need to create one manually viaListCrossAccountAttachmentsRequest.builder()- Parameters:
listCrossAccountAttachmentsRequest- AConsumerthat will call methods onListCrossAccountAttachmentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCrossAccountResourceAccounts
default ListCrossAccountResourceAccountsResponse listCrossAccountResourceAccounts(ListCrossAccountResourceAccountsRequest listCrossAccountResourceAccountsRequest) throws AccessDeniedException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException List the accounts that have cross-account resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
- Parameters:
listCrossAccountResourceAccountsRequest-- Returns:
- Result of the ListCrossAccountResourceAccounts operation returned by the service.
- See Also:
-
listCrossAccountResourceAccounts
default ListCrossAccountResourceAccountsResponse listCrossAccountResourceAccounts(Consumer<ListCrossAccountResourceAccountsRequest.Builder> listCrossAccountResourceAccountsRequest) throws AccessDeniedException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException List the accounts that have cross-account resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
This is a convenience which creates an instance of the
ListCrossAccountResourceAccountsRequest.Builderavoiding the need to create one manually viaListCrossAccountResourceAccountsRequest.builder()- Parameters:
listCrossAccountResourceAccountsRequest- AConsumerthat will call methods onListCrossAccountResourceAccountsRequest.Builderto create a request.- Returns:
- Result of the ListCrossAccountResourceAccounts operation returned by the service.
- See Also:
-
listCrossAccountResources
default ListCrossAccountResourcesResponse listCrossAccountResources(ListCrossAccountResourcesRequest listCrossAccountResourcesRequest) throws InternalServiceErrorException, InvalidArgumentException, InvalidNextTokenException, AccessDeniedException, AcceleratorNotFoundException, AwsServiceException, SdkClientException, GlobalAcceleratorException List the cross-account resources available to work with.
- Parameters:
listCrossAccountResourcesRequest-- Returns:
- Result of the ListCrossAccountResources operation returned by the service.
- See Also:
-
listCrossAccountResources
default ListCrossAccountResourcesResponse listCrossAccountResources(Consumer<ListCrossAccountResourcesRequest.Builder> listCrossAccountResourcesRequest) throws InternalServiceErrorException, InvalidArgumentException, InvalidNextTokenException, AccessDeniedException, AcceleratorNotFoundException, AwsServiceException, SdkClientException, GlobalAcceleratorException List the cross-account resources available to work with.
This is a convenience which creates an instance of the
ListCrossAccountResourcesRequest.Builderavoiding the need to create one manually viaListCrossAccountResourcesRequest.builder()- Parameters:
listCrossAccountResourcesRequest- AConsumerthat will call methods onListCrossAccountResourcesRequest.Builderto create a request.- Returns:
- Result of the ListCrossAccountResources operation returned by the service.
- See Also:
-
listCrossAccountResourcesPaginator
default ListCrossAccountResourcesIterable listCrossAccountResourcesPaginator(ListCrossAccountResourcesRequest listCrossAccountResourcesRequest) throws InternalServiceErrorException, InvalidArgumentException, InvalidNextTokenException, AccessDeniedException, AcceleratorNotFoundException, AwsServiceException, SdkClientException, GlobalAcceleratorException This is a variant of
listCrossAccountResources(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest)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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountResourcesIterable responses = client.listCrossAccountResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountResourcesIterable responses = client .listCrossAccountResourcesPaginator(request); for (software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountResourcesIterable responses = client.listCrossAccountResourcesPaginator(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
listCrossAccountResources(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest)operation.- Parameters:
listCrossAccountResourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCrossAccountResourcesPaginator
default ListCrossAccountResourcesIterable listCrossAccountResourcesPaginator(Consumer<ListCrossAccountResourcesRequest.Builder> listCrossAccountResourcesRequest) throws InternalServiceErrorException, InvalidArgumentException, InvalidNextTokenException, AccessDeniedException, AcceleratorNotFoundException, AwsServiceException, SdkClientException, GlobalAcceleratorException This is a variant of
listCrossAccountResources(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest)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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountResourcesIterable responses = client.listCrossAccountResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountResourcesIterable responses = client .listCrossAccountResourcesPaginator(request); for (software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCrossAccountResourcesIterable responses = client.listCrossAccountResourcesPaginator(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
listCrossAccountResources(software.amazon.awssdk.services.globalaccelerator.model.ListCrossAccountResourcesRequest)operation.
This is a convenience which creates an instance of the
ListCrossAccountResourcesRequest.Builderavoiding the need to create one manually viaListCrossAccountResourcesRequest.builder()- Parameters:
listCrossAccountResourcesRequest- AConsumerthat will call methods onListCrossAccountResourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomRoutingAccelerators
default ListCustomRoutingAcceleratorsResponse listCustomRoutingAccelerators(ListCustomRoutingAcceleratorsRequest listCustomRoutingAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException List the custom routing accelerators for an Amazon Web Services account.
- Parameters:
listCustomRoutingAcceleratorsRequest-- Returns:
- Result of the ListCustomRoutingAccelerators operation returned by the service.
- See Also:
-
listCustomRoutingAccelerators
default 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.Builderavoiding the need to create one manually viaListCustomRoutingAcceleratorsRequest.builder()- Parameters:
listCustomRoutingAcceleratorsRequest- AConsumerthat will call methods onListCustomRoutingAcceleratorsRequest.Builderto create a request.- Returns:
- Result of the ListCustomRoutingAccelerators operation returned by the service.
- See Also:
-
listCustomRoutingAcceleratorsPaginator
default ListCustomRoutingAcceleratorsIterable listCustomRoutingAcceleratorsPaginator(ListCustomRoutingAcceleratorsRequest listCustomRoutingAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsIterable responses = client.listCustomRoutingAcceleratorsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listCustomRoutingAcceleratorsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomRoutingAcceleratorsPaginator
default ListCustomRoutingAcceleratorsIterable listCustomRoutingAcceleratorsPaginator(Consumer<ListCustomRoutingAcceleratorsRequest.Builder> listCustomRoutingAcceleratorsRequest) throws InvalidArgumentException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingAcceleratorsIterable responses = client.listCustomRoutingAcceleratorsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListCustomRoutingAcceleratorsRequest.builder()- Parameters:
listCustomRoutingAcceleratorsRequest- AConsumerthat will call methods onListCustomRoutingAcceleratorsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomRoutingEndpointGroups
default 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.
- Parameters:
listCustomRoutingEndpointGroupsRequest-- Returns:
- Result of the ListCustomRoutingEndpointGroups operation returned by the service.
- See Also:
-
listCustomRoutingEndpointGroups
default 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.Builderavoiding the need to create one manually viaListCustomRoutingEndpointGroupsRequest.builder()- Parameters:
listCustomRoutingEndpointGroupsRequest- AConsumerthat will call methods onListCustomRoutingEndpointGroupsRequest.Builderto create a request.- Returns:
- Result of the ListCustomRoutingEndpointGroups operation returned by the service.
- See Also:
-
listCustomRoutingEndpointGroupsPaginator
default ListCustomRoutingEndpointGroupsIterable listCustomRoutingEndpointGroupsPaginator(ListCustomRoutingEndpointGroupsRequest listCustomRoutingEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsIterable responses = client.listCustomRoutingEndpointGroupsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listCustomRoutingEndpointGroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomRoutingEndpointGroupsPaginator
default ListCustomRoutingEndpointGroupsIterable listCustomRoutingEndpointGroupsPaginator(Consumer<ListCustomRoutingEndpointGroupsRequest.Builder> listCustomRoutingEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingEndpointGroupsIterable responses = client.listCustomRoutingEndpointGroupsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListCustomRoutingEndpointGroupsRequest.builder()- Parameters:
listCustomRoutingEndpointGroupsRequest- AConsumerthat will call methods onListCustomRoutingEndpointGroupsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomRoutingListeners
default ListCustomRoutingListenersResponse listCustomRoutingListeners(ListCustomRoutingListenersRequest listCustomRoutingListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException List the listeners for a custom routing accelerator.
- Parameters:
listCustomRoutingListenersRequest-- Returns:
- Result of the ListCustomRoutingListeners operation returned by the service.
- See Also:
-
listCustomRoutingListeners
default 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.Builderavoiding the need to create one manually viaListCustomRoutingListenersRequest.builder()- Parameters:
listCustomRoutingListenersRequest- AConsumerthat will call methods onListCustomRoutingListenersRequest.Builderto create a request.- Returns:
- Result of the ListCustomRoutingListeners operation returned by the service.
- See Also:
-
listCustomRoutingListenersPaginator
default ListCustomRoutingListenersIterable listCustomRoutingListenersPaginator(ListCustomRoutingListenersRequest listCustomRoutingListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersIterable responses = client.listCustomRoutingListenersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listCustomRoutingListenersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomRoutingListenersPaginator
default ListCustomRoutingListenersIterable listCustomRoutingListenersPaginator(Consumer<ListCustomRoutingListenersRequest.Builder> listCustomRoutingListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingListenersIterable responses = client.listCustomRoutingListenersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListCustomRoutingListenersRequest.builder()- Parameters:
listCustomRoutingListenersRequest- AConsumerthat will call methods onListCustomRoutingListenersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomRoutingPortMappings
default 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.
- Parameters:
listCustomRoutingPortMappingsRequest-- Returns:
- Result of the ListCustomRoutingPortMappings operation returned by the service.
- See Also:
-
listCustomRoutingPortMappings
default 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.Builderavoiding the need to create one manually viaListCustomRoutingPortMappingsRequest.builder()- Parameters:
listCustomRoutingPortMappingsRequest- AConsumerthat will call methods onListCustomRoutingPortMappingsRequest.Builderto create a request.- Returns:
- Result of the ListCustomRoutingPortMappings operation returned by the service.
- See Also:
-
listCustomRoutingPortMappingsPaginator
default ListCustomRoutingPortMappingsIterable listCustomRoutingPortMappingsPaginator(ListCustomRoutingPortMappingsRequest listCustomRoutingPortMappingsRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointGroupNotFoundException, AcceleratorNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsIterable responses = client.listCustomRoutingPortMappingsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listCustomRoutingPortMappingsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomRoutingPortMappingsPaginator
default ListCustomRoutingPortMappingsIterable listCustomRoutingPortMappingsPaginator(Consumer<ListCustomRoutingPortMappingsRequest.Builder> listCustomRoutingPortMappingsRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointGroupNotFoundException, AcceleratorNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsIterable responses = client.listCustomRoutingPortMappingsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListCustomRoutingPortMappingsRequest.builder()- Parameters:
listCustomRoutingPortMappingsRequest- AConsumerthat will call methods onListCustomRoutingPortMappingsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomRoutingPortMappingsByDestination
default 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.
- Parameters:
listCustomRoutingPortMappingsByDestinationRequest-- Returns:
- Result of the ListCustomRoutingPortMappingsByDestination operation returned by the service.
- See Also:
-
listCustomRoutingPortMappingsByDestination
default 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.Builderavoiding the need to create one manually viaListCustomRoutingPortMappingsByDestinationRequest.builder()- Parameters:
listCustomRoutingPortMappingsByDestinationRequest- AConsumerthat will call methods onListCustomRoutingPortMappingsByDestinationRequest.Builderto create a request.- Returns:
- Result of the ListCustomRoutingPortMappingsByDestination operation returned by the service.
- See Also:
-
listCustomRoutingPortMappingsByDestinationPaginator
default ListCustomRoutingPortMappingsByDestinationIterable listCustomRoutingPortMappingsByDestinationPaginator(ListCustomRoutingPortMappingsByDestinationRequest listCustomRoutingPortMappingsByDestinationRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationIterable responses = client.listCustomRoutingPortMappingsByDestinationPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listCustomRoutingPortMappingsByDestinationRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomRoutingPortMappingsByDestinationPaginator
default ListCustomRoutingPortMappingsByDestinationIterable listCustomRoutingPortMappingsByDestinationPaginator(Consumer<ListCustomRoutingPortMappingsByDestinationRequest.Builder> listCustomRoutingPortMappingsByDestinationRequest) throws InvalidArgumentException, InvalidNextTokenException, EndpointNotFoundException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListCustomRoutingPortMappingsByDestinationIterable responses = client.listCustomRoutingPortMappingsByDestinationPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListCustomRoutingPortMappingsByDestinationRequest.builder()- Parameters:
listCustomRoutingPortMappingsByDestinationRequest- AConsumerthat will call methods onListCustomRoutingPortMappingsByDestinationRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEndpointGroups
default ListEndpointGroupsResponse listEndpointGroups(ListEndpointGroupsRequest listEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException List the endpoint groups that are associated with a listener.
- Parameters:
listEndpointGroupsRequest-- Returns:
- Result of the ListEndpointGroups operation returned by the service.
- See Also:
-
listEndpointGroups
default 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.Builderavoiding the need to create one manually viaListEndpointGroupsRequest.builder()- Parameters:
listEndpointGroupsRequest- AConsumerthat will call methods onListEndpointGroupsRequest.Builderto create a request.- Returns:
- Result of the ListEndpointGroups operation returned by the service.
- See Also:
-
listEndpointGroupsPaginator
default ListEndpointGroupsIterable listEndpointGroupsPaginator(ListEndpointGroupsRequest listEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsIterable responses = client.listEndpointGroupsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listEndpointGroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEndpointGroupsPaginator
default ListEndpointGroupsIterable listEndpointGroupsPaginator(Consumer<ListEndpointGroupsRequest.Builder> listEndpointGroupsRequest) throws ListenerNotFoundException, InvalidNextTokenException, InvalidArgumentException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListEndpointGroupsIterable responses = client.listEndpointGroupsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListEndpointGroupsRequest.builder()- Parameters:
listEndpointGroupsRequest- AConsumerthat will call methods onListEndpointGroupsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listListeners
default ListListenersResponse listListeners(ListListenersRequest listListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException List the listeners for an accelerator.
- Parameters:
listListenersRequest-- Returns:
- Result of the ListListeners operation returned by the service.
- See Also:
-
listListeners
default 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.Builderavoiding the need to create one manually viaListListenersRequest.builder()- Parameters:
listListenersRequest- AConsumerthat will call methods onListListenersRequest.Builderto create a request.- Returns:
- Result of the ListListeners operation returned by the service.
- See Also:
-
listListenersPaginator
default ListListenersIterable listListenersPaginator(ListListenersRequest listListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListListenersIterable responses = client.listListenersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listListenersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listListenersPaginator
default ListListenersIterable listListenersPaginator(Consumer<ListListenersRequest.Builder> listListenersRequest) throws InvalidArgumentException, AcceleratorNotFoundException, InvalidNextTokenException, InternalServiceErrorException, AwsServiceException, SdkClientException, GlobalAcceleratorException 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
2) Using For loopsoftware.amazon.awssdk.services.globalaccelerator.paginators.ListListenersIterable responses = client.listListenersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListListenersRequest.builder()- Parameters:
listListenersRequest- AConsumerthat will call methods onListListenersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AcceleratorNotFoundException, AttachmentNotFoundException, EndpointGroupNotFoundException, ListenerNotFoundException, 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.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AcceleratorNotFoundException, AttachmentNotFoundException, EndpointGroupNotFoundException, ListenerNotFoundException, 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
provisionByoipCidr
default 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.
- Parameters:
provisionByoipCidrRequest-- Returns:
- Result of the ProvisionByoipCidr operation returned by the service.
- See Also:
-
provisionByoipCidr
default 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.Builderavoiding the need to create one manually viaProvisionByoipCidrRequest.builder()- Parameters:
provisionByoipCidrRequest- AConsumerthat will call methods onProvisionByoipCidrRequest.Builderto create a request.- Returns:
- Result of the ProvisionByoipCidr operation returned by the service.
- See Also:
-
removeCustomRoutingEndpoints
default RemoveCustomRoutingEndpointsResponse removeCustomRoutingEndpoints(RemoveCustomRoutingEndpointsRequest removeCustomRoutingEndpointsRequest) throws EndpointGroupNotFoundException, EndpointNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, ConflictException, AwsServiceException, SdkClientException, GlobalAcceleratorException Remove endpoints from a custom routing accelerator.
- Parameters:
removeCustomRoutingEndpointsRequest-- Returns:
- Result of the RemoveCustomRoutingEndpoints operation returned by the service.
- See Also:
-
removeCustomRoutingEndpoints
default 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.Builderavoiding the need to create one manually viaRemoveCustomRoutingEndpointsRequest.builder()- Parameters:
removeCustomRoutingEndpointsRequest- AConsumerthat will call methods onRemoveCustomRoutingEndpointsRequest.Builderto create a request.- Returns:
- Result of the RemoveCustomRoutingEndpoints operation returned by the service.
- See Also:
-
removeEndpoints
default RemoveEndpointsResponse removeEndpoints(RemoveEndpointsRequest removeEndpointsRequest) throws EndpointGroupNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Remove endpoints from an endpoint group.
The
RemoveEndpointsAPI 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 usingAddEndpointsto remove endpoints instead:-
It's more convenient, because you only need to specify the endpoints that you want to remove. With the
UpdateEndpointGroupAPI 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
UpdateEndpointGroupAPI operation, Global Accelerator must resolve all of the endpoints that remain in the group.
- Parameters:
removeEndpointsRequest-- Returns:
- Result of the RemoveEndpoints operation returned by the service.
- See Also:
-
-
removeEndpoints
default RemoveEndpointsResponse removeEndpoints(Consumer<RemoveEndpointsRequest.Builder> removeEndpointsRequest) throws EndpointGroupNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Remove endpoints from an endpoint group.
The
RemoveEndpointsAPI 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 usingAddEndpointsto remove endpoints instead:-
It's more convenient, because you only need to specify the endpoints that you want to remove. With the
UpdateEndpointGroupAPI 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
UpdateEndpointGroupAPI 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.Builderavoiding the need to create one manually viaRemoveEndpointsRequest.builder()- Parameters:
removeEndpointsRequest- AConsumerthat will call methods onRemoveEndpointsRequest.Builderto create a request.- Returns:
- Result of the RemoveEndpoints operation returned by the service.
- See Also:
-
-
tagResource
default 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.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default 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.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateAccelerator
default UpdateAcceleratorResponse updateAccelerator(UpdateAcceleratorRequest updateAcceleratorRequest) throws AcceleratorNotFoundException, AccessDeniedException, InternalServiceErrorException, InvalidArgumentException, TransactionInProgressException, ConflictException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update an accelerator to make changes, such as the following:
-
Change the name of the accelerator.
-
Disable the accelerator so that it no longer accepts or routes traffic, or so that you can delete it.
-
Enable the accelerator, if it is disabled.
-
Change the IP address type to dual-stack if it is IPv4, or change the IP address type to IPv4 if it's dual-stack.
Be aware that static IP addresses remain assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete the accelerator, you lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them.
Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify
--region us-west-2on Amazon Web Services CLI commands.- Parameters:
updateAcceleratorRequest-- Returns:
- Result of the UpdateAccelerator operation returned by the service.
- See Also:
-
-
updateAccelerator
default UpdateAcceleratorResponse updateAccelerator(Consumer<UpdateAcceleratorRequest.Builder> updateAcceleratorRequest) throws AcceleratorNotFoundException, AccessDeniedException, InternalServiceErrorException, InvalidArgumentException, TransactionInProgressException, ConflictException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update an accelerator to make changes, such as the following:
-
Change the name of the accelerator.
-
Disable the accelerator so that it no longer accepts or routes traffic, or so that you can delete it.
-
Enable the accelerator, if it is disabled.
-
Change the IP address type to dual-stack if it is IPv4, or change the IP address type to IPv4 if it's dual-stack.
Be aware that static IP addresses remain assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete the accelerator, you lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them.
Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify
--region us-west-2on Amazon Web Services CLI commands.
This is a convenience which creates an instance of the
UpdateAcceleratorRequest.Builderavoiding the need to create one manually viaUpdateAcceleratorRequest.builder()- Parameters:
updateAcceleratorRequest- AConsumerthat will call methods onUpdateAcceleratorRequest.Builderto create a request.- Returns:
- Result of the UpdateAccelerator operation returned by the service.
- See Also:
-
-
updateAcceleratorAttributes
default UpdateAcceleratorAttributesResponse updateAcceleratorAttributes(UpdateAcceleratorAttributesRequest updateAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update the attributes for an accelerator.
- Parameters:
updateAcceleratorAttributesRequest-- Returns:
- Result of the UpdateAcceleratorAttributes operation returned by the service.
- See Also:
-
updateAcceleratorAttributes
default UpdateAcceleratorAttributesResponse updateAcceleratorAttributes(Consumer<UpdateAcceleratorAttributesRequest.Builder> updateAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update the attributes for an accelerator.
This is a convenience which creates an instance of the
UpdateAcceleratorAttributesRequest.Builderavoiding the need to create one manually viaUpdateAcceleratorAttributesRequest.builder()- Parameters:
updateAcceleratorAttributesRequest- AConsumerthat will call methods onUpdateAcceleratorAttributesRequest.Builderto create a request.- Returns:
- Result of the UpdateAcceleratorAttributes operation returned by the service.
- See Also:
-
updateCrossAccountAttachment
default UpdateCrossAccountAttachmentResponse updateCrossAccountAttachment(UpdateCrossAccountAttachmentRequest updateCrossAccountAttachmentRequest) throws AttachmentNotFoundException, AccessDeniedException, InternalServiceErrorException, InvalidArgumentException, LimitExceededException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update a cross-account attachment to add or remove principals or resources. When you update an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for specific resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
- Parameters:
updateCrossAccountAttachmentRequest-- Returns:
- Result of the UpdateCrossAccountAttachment operation returned by the service.
- See Also:
-
updateCrossAccountAttachment
default UpdateCrossAccountAttachmentResponse updateCrossAccountAttachment(Consumer<UpdateCrossAccountAttachmentRequest.Builder> updateCrossAccountAttachmentRequest) throws AttachmentNotFoundException, AccessDeniedException, InternalServiceErrorException, InvalidArgumentException, LimitExceededException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update a cross-account attachment to add or remove principals or resources. When you update an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for specific resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
This is a convenience which creates an instance of the
UpdateCrossAccountAttachmentRequest.Builderavoiding the need to create one manually viaUpdateCrossAccountAttachmentRequest.builder()- Parameters:
updateCrossAccountAttachmentRequest- AConsumerthat will call methods onUpdateCrossAccountAttachmentRequest.Builderto create a request.- Returns:
- Result of the UpdateCrossAccountAttachment operation returned by the service.
- See Also:
-
updateCustomRoutingAccelerator
default UpdateCustomRoutingAcceleratorResponse updateCustomRoutingAccelerator(UpdateCustomRoutingAcceleratorRequest updateCustomRoutingAcceleratorRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, TransactionInProgressException, ConflictException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update a custom routing accelerator.
- Parameters:
updateCustomRoutingAcceleratorRequest-- Returns:
- Result of the UpdateCustomRoutingAccelerator operation returned by the service.
- See Also:
-
updateCustomRoutingAccelerator
default UpdateCustomRoutingAcceleratorResponse updateCustomRoutingAccelerator(Consumer<UpdateCustomRoutingAcceleratorRequest.Builder> updateCustomRoutingAcceleratorRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, TransactionInProgressException, ConflictException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update a custom routing accelerator.
This is a convenience which creates an instance of the
UpdateCustomRoutingAcceleratorRequest.Builderavoiding the need to create one manually viaUpdateCustomRoutingAcceleratorRequest.builder()- Parameters:
updateCustomRoutingAcceleratorRequest- AConsumerthat will call methods onUpdateCustomRoutingAcceleratorRequest.Builderto create a request.- Returns:
- Result of the UpdateCustomRoutingAccelerator operation returned by the service.
- See Also:
-
updateCustomRoutingAcceleratorAttributes
default UpdateCustomRoutingAcceleratorAttributesResponse updateCustomRoutingAcceleratorAttributes(UpdateCustomRoutingAcceleratorAttributesRequest updateCustomRoutingAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update the attributes for a custom routing accelerator.
- Parameters:
updateCustomRoutingAcceleratorAttributesRequest-- Returns:
- Result of the UpdateCustomRoutingAcceleratorAttributes operation returned by the service.
- See Also:
-
updateCustomRoutingAcceleratorAttributes
default UpdateCustomRoutingAcceleratorAttributesResponse updateCustomRoutingAcceleratorAttributes(Consumer<UpdateCustomRoutingAcceleratorAttributesRequest.Builder> updateCustomRoutingAcceleratorAttributesRequest) throws AcceleratorNotFoundException, InternalServiceErrorException, InvalidArgumentException, AccessDeniedException, TransactionInProgressException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update the attributes for a custom routing accelerator.
This is a convenience which creates an instance of the
UpdateCustomRoutingAcceleratorAttributesRequest.Builderavoiding the need to create one manually viaUpdateCustomRoutingAcceleratorAttributesRequest.builder()- Parameters:
updateCustomRoutingAcceleratorAttributesRequest- AConsumerthat will call methods onUpdateCustomRoutingAcceleratorAttributesRequest.Builderto create a request.- Returns:
- Result of the UpdateCustomRoutingAcceleratorAttributes operation returned by the service.
- See Also:
-
updateCustomRoutingListener
default UpdateCustomRoutingListenerResponse updateCustomRoutingListener(UpdateCustomRoutingListenerRequest updateCustomRoutingListenerRequest) throws InvalidArgumentException, InvalidPortRangeException, ListenerNotFoundException, InternalServiceErrorException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update a listener for a custom routing accelerator.
- Parameters:
updateCustomRoutingListenerRequest-- Returns:
- Result of the UpdateCustomRoutingListener operation returned by the service.
- See Also:
-
updateCustomRoutingListener
default 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.Builderavoiding the need to create one manually viaUpdateCustomRoutingListenerRequest.builder()- Parameters:
updateCustomRoutingListenerRequest- AConsumerthat will call methods onUpdateCustomRoutingListenerRequest.Builderto create a request.- Returns:
- Result of the UpdateCustomRoutingListener operation returned by the service.
- See Also:
-
updateEndpointGroup
default 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.
- Parameters:
updateEndpointGroupRequest-- Returns:
- Result of the UpdateEndpointGroup operation returned by the service.
- See Also:
-
updateEndpointGroup
default 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.Builderavoiding the need to create one manually viaUpdateEndpointGroupRequest.builder()- Parameters:
updateEndpointGroupRequest- AConsumerthat will call methods onUpdateEndpointGroupRequest.Builderto create a request.- Returns:
- Result of the UpdateEndpointGroup operation returned by the service.
- See Also:
-
updateListener
default UpdateListenerResponse updateListener(UpdateListenerRequest updateListenerRequest) throws InvalidArgumentException, InvalidPortRangeException, ListenerNotFoundException, InternalServiceErrorException, LimitExceededException, AwsServiceException, SdkClientException, GlobalAcceleratorException Update a listener.
- Parameters:
updateListenerRequest-- Returns:
- Result of the UpdateListener operation returned by the service.
- See Also:
-
updateListener
default 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.Builderavoiding the need to create one manually viaUpdateListenerRequest.builder()- Parameters:
updateListenerRequest- AConsumerthat will call methods onUpdateListenerRequest.Builderto create a request.- Returns:
- Result of the UpdateListener operation returned by the service.
- See Also:
-
withdrawByoipCidr
default 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.
- Parameters:
withdrawByoipCidrRequest-- Returns:
- Result of the WithdrawByoipCidr operation returned by the service.
- See Also:
-
withdrawByoipCidr
default 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.Builderavoiding the need to create one manually viaWithdrawByoipCidrRequest.builder()- Parameters:
withdrawByoipCidrRequest- AConsumerthat will call methods onWithdrawByoipCidrRequest.Builderto create a request.- Returns:
- Result of the WithdrawByoipCidr operation returned by the service.
- See Also:
-
create
Create aGlobalAcceleratorClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aGlobalAcceleratorClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-