Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GlobalAccelerator

import { GlobalAccelerator } from "https://aws-api.deno.dev/v0.4/services/globalaccelerator.ts?docs=full";
class GlobalAccelerator {
constructor(apiFactory: client.ApiFactory);
async addCustomRoutingEndpoints(params: AddCustomRoutingEndpointsRequest, opts?: client.RequestOptions): Promise<AddCustomRoutingEndpointsResponse>;
async addEndpoints(params: AddEndpointsRequest, opts?: client.RequestOptions): Promise<AddEndpointsResponse>;
async advertiseByoipCidr(params: AdvertiseByoipCidrRequest, opts?: client.RequestOptions): Promise<AdvertiseByoipCidrResponse>;
async allowCustomRoutingTraffic(params: AllowCustomRoutingTrafficRequest, opts?: client.RequestOptions): Promise<void>;
async createAccelerator(params: CreateAcceleratorRequest, opts?: client.RequestOptions): Promise<CreateAcceleratorResponse>;
async createCustomRoutingAccelerator(params: CreateCustomRoutingAcceleratorRequest, opts?: client.RequestOptions): Promise<CreateCustomRoutingAcceleratorResponse>;
async createCustomRoutingEndpointGroup(params: CreateCustomRoutingEndpointGroupRequest, opts?: client.RequestOptions): Promise<CreateCustomRoutingEndpointGroupResponse>;
async createCustomRoutingListener(params: CreateCustomRoutingListenerRequest, opts?: client.RequestOptions): Promise<CreateCustomRoutingListenerResponse>;
async createEndpointGroup(params: CreateEndpointGroupRequest, opts?: client.RequestOptions): Promise<CreateEndpointGroupResponse>;
async createListener(params: CreateListenerRequest, opts?: client.RequestOptions): Promise<CreateListenerResponse>;
async deleteAccelerator(params: DeleteAcceleratorRequest, opts?: client.RequestOptions): Promise<void>;
async deleteCustomRoutingAccelerator(params: DeleteCustomRoutingAcceleratorRequest, opts?: client.RequestOptions): Promise<void>;
async deleteCustomRoutingEndpointGroup(params: DeleteCustomRoutingEndpointGroupRequest, opts?: client.RequestOptions): Promise<void>;
async deleteCustomRoutingListener(params: DeleteCustomRoutingListenerRequest, opts?: client.RequestOptions): Promise<void>;
async deleteEndpointGroup(params: DeleteEndpointGroupRequest, opts?: client.RequestOptions): Promise<void>;
async deleteListener(params: DeleteListenerRequest, opts?: client.RequestOptions): Promise<void>;
async denyCustomRoutingTraffic(params: DenyCustomRoutingTrafficRequest, opts?: client.RequestOptions): Promise<void>;
async deprovisionByoipCidr(params: DeprovisionByoipCidrRequest, opts?: client.RequestOptions): Promise<DeprovisionByoipCidrResponse>;
async describeAccelerator(params: DescribeAcceleratorRequest, opts?: client.RequestOptions): Promise<DescribeAcceleratorResponse>;
async describeAcceleratorAttributes(params: DescribeAcceleratorAttributesRequest, opts?: client.RequestOptions): Promise<DescribeAcceleratorAttributesResponse>;
async describeCustomRoutingAccelerator(params: DescribeCustomRoutingAcceleratorRequest, opts?: client.RequestOptions): Promise<DescribeCustomRoutingAcceleratorResponse>;
async describeCustomRoutingEndpointGroup(params: DescribeCustomRoutingEndpointGroupRequest, opts?: client.RequestOptions): Promise<DescribeCustomRoutingEndpointGroupResponse>;
async describeCustomRoutingListener(params: DescribeCustomRoutingListenerRequest, opts?: client.RequestOptions): Promise<DescribeCustomRoutingListenerResponse>;
async describeEndpointGroup(params: DescribeEndpointGroupRequest, opts?: client.RequestOptions): Promise<DescribeEndpointGroupResponse>;
async describeListener(params: DescribeListenerRequest, opts?: client.RequestOptions): Promise<DescribeListenerResponse>;
async listAccelerators(params?: ListAcceleratorsRequest, opts?: client.RequestOptions): Promise<ListAcceleratorsResponse>;
async listByoipCidrs(params?: ListByoipCidrsRequest, opts?: client.RequestOptions): Promise<ListByoipCidrsResponse>;
async listCustomRoutingAccelerators(params?: ListCustomRoutingAcceleratorsRequest, opts?: client.RequestOptions): Promise<ListCustomRoutingAcceleratorsResponse>;
async listCustomRoutingEndpointGroups(params: ListCustomRoutingEndpointGroupsRequest, opts?: client.RequestOptions): Promise<ListCustomRoutingEndpointGroupsResponse>;
async listCustomRoutingListeners(params: ListCustomRoutingListenersRequest, opts?: client.RequestOptions): Promise<ListCustomRoutingListenersResponse>;
async listCustomRoutingPortMappings(params: ListCustomRoutingPortMappingsRequest, opts?: client.RequestOptions): Promise<ListCustomRoutingPortMappingsResponse>;
async listEndpointGroups(params: ListEndpointGroupsRequest, opts?: client.RequestOptions): Promise<ListEndpointGroupsResponse>;
async listListeners(params: ListListenersRequest, opts?: client.RequestOptions): Promise<ListListenersResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async provisionByoipCidr(params: ProvisionByoipCidrRequest, opts?: client.RequestOptions): Promise<ProvisionByoipCidrResponse>;
async removeCustomRoutingEndpoints(params: RemoveCustomRoutingEndpointsRequest, opts?: client.RequestOptions): Promise<void>;
async removeEndpoints(params: RemoveEndpointsRequest, opts?: client.RequestOptions): Promise<void>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateAccelerator(params: UpdateAcceleratorRequest, opts?: client.RequestOptions): Promise<UpdateAcceleratorResponse>;
async updateAcceleratorAttributes(params: UpdateAcceleratorAttributesRequest, opts?: client.RequestOptions): Promise<UpdateAcceleratorAttributesResponse>;
async updateCustomRoutingAccelerator(params: UpdateCustomRoutingAcceleratorRequest, opts?: client.RequestOptions): Promise<UpdateCustomRoutingAcceleratorResponse>;
async updateCustomRoutingListener(params: UpdateCustomRoutingListenerRequest, opts?: client.RequestOptions): Promise<UpdateCustomRoutingListenerResponse>;
async updateEndpointGroup(params: UpdateEndpointGroupRequest, opts?: client.RequestOptions): Promise<UpdateEndpointGroupResponse>;
async updateListener(params: UpdateListenerRequest, opts?: client.RequestOptions): Promise<UpdateListenerResponse>;
async withdrawByoipCidr(params: WithdrawByoipCidrRequest, opts?: client.RequestOptions): Promise<WithdrawByoipCidrResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new GlobalAccelerator(apiFactory: client.ApiFactory)
[src]

§Methods

§

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.

§

Add endpoints to an endpoint group. The AddEndpoints API operation is the recommended option for adding endpoints. The alternative options are to add endpoints when you create an endpoint group (with the CreateEndpointGroup API) or when you update an endpoint group (with the UpdateEndpointGroup API).

There are two advantages to using AddEndpoints to add endpoints:

  • It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding.
  • It's more convenient, because you don't need to specify all of the current endpoints that are already in the endpoint group in addition to the new endpoints that you want to add.
§

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.

§
allowCustomRoutingTraffic(params: AllowCustomRoutingTrafficRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§

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.

! IMPORTANT: ! Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. ! That is, for example, specify --region us-west-2 on AWS CLI commands.

§

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.

! IMPORTANT: ! Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. ! That is, for example, specify --region us-west-2 on AWS CLI commands.

§

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.

§

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.

§

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.

§

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.

§
deleteAccelerator(params: DeleteAcceleratorRequest, opts?: client.RequestOptions): Promise<void>
[src]

Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled to false.

! IMPORTANT: ! 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.

§
deleteCustomRoutingAccelerator(params: DeleteCustomRoutingAcceleratorRequest, opts?: client.RequestOptions): Promise<void>
[src]

Delete a custom routing accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled to false.

! IMPORTANT: ! 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.

§
deleteCustomRoutingEndpointGroup(params: DeleteCustomRoutingEndpointGroupRequest, opts?: client.RequestOptions): Promise<void>
[src]

Delete an endpoint group from a listener for a custom routing accelerator.

§
deleteCustomRoutingListener(params: DeleteCustomRoutingListenerRequest, opts?: client.RequestOptions): Promise<void>
[src]

Delete a listener for a custom routing accelerator.

§
deleteEndpointGroup(params: DeleteEndpointGroupRequest, opts?: client.RequestOptions): Promise<void>
[src]

Delete an endpoint group from a listener.

§
deleteListener(params: DeleteListenerRequest, opts?: client.RequestOptions): Promise<void>
[src]

Delete a listener from an accelerator.

§
denyCustomRoutingTraffic(params: DenyCustomRoutingTrafficRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§

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.

§

Describe an accelerator.

§

Describe the attributes of an accelerator.

§

Describe a custom routing accelerator.

§

Describe the attributes of a custom routing accelerator.

§

Describe an endpoint group for a custom routing accelerator.

§

The description of a listener for a custom routing accelerator.

§

Describe an endpoint group.

§

Describe a listener.

§

List the accelerators for an Amazon Web Services account.

§

Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes.

§

List the custom routing accelerators for an Amazon Web Services account.

§

List the endpoint groups that are associated with a listener for a custom routing accelerator.

§

List the listeners for a custom routing accelerator.

§

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.

§

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.

§

List the endpoint groups that are associated with a listener.

§

List the listeners for an accelerator.

§

List all tags for an accelerator.

For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

§

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.

§
removeCustomRoutingEndpoints(params: RemoveCustomRoutingEndpointsRequest, opts?: client.RequestOptions): Promise<void>
[src]

Remove endpoints from a custom routing accelerator.

§
removeEndpoints(params: RemoveEndpointsRequest, opts?: client.RequestOptions): Promise<void>
[src]

Remove endpoints from an endpoint group.

The RemoveEndpoints API operation is the recommended option for removing endpoints. The alternative is to remove endpoints by updating an endpoint group by using the UpdateEndpointGroup API operation. There are two advantages to using AddEndpoints to remove endpoints instead:

  • It's more convenient, because you only need to specify the endpoints that you want to remove. With the UpdateEndpointGroup API operation, you must specify all of the endpoints in the endpoint group except the ones that you want to remove from the group.
  • It's faster, because Global Accelerator doesn't need to resolve any endpoints. With the UpdateEndpointGroup API operation, Global Accelerator must resolve all of the endpoints that remain in the group.
§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Add tags to an accelerator resource.

For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§

Update an accelerator.

! IMPORTANT: ! Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. ! That is, for example, specify --region us-west-2 on AWS CLI commands.

§

Update the attributes for an accelerator.

§

Update a custom routing accelerator.

§

Update the attributes for a custom routing accelerator.

§

Update a listener for a custom routing accelerator.

§

Update an endpoint group. A resource must be valid and active when you add it as an endpoint.

§

Update a listener.

§

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.

§Static Properties