Module

x/aws_api/client/endpoints.ts

From-scratch Typescript client for accessing AWS APIs
Extremely Popular
Go to Latest
import * as mod from "https://dotland.deno.dev/x/aws_api@v0.5.0/client/endpoints.ts";

Classes

The default resolver, designed specifically for Amazon AWS. A couple options provide for:

  • disabling IPv4/IPv6 dualstack (which is only available for S3 & EC2)
  • forcing regional endpoints (disabling the global endpoint logic) Otherwise, the URL used is determined fully automatically. The provided region is used to select the AWS partition endpoint.

A simple EndpointResolver which always uses the given base URL, unconditionally appending the given request path. Intended for 'localhost' and other small-scale API mocks.

Resolves S3 requests using a simplified regional scheme. This is tested with Vultr Objects and should be compatible with other similar offerings, such as Linode Objects. The service is expected to have regional subdomains, and support virtualhost-style bucket URLs. Requests for any other APIs such as EC2 will be rejected.