Skip to main content
Module

x/aws_api/client/mod.ts>AwsEndpointResolver

From-scratch Typescript client for accessing AWS APIs
Extremely Popular
Go to Latest
class AwsEndpointResolver
implements EndpointResolver
Re-export
import { AwsEndpointResolver } from "https://deno.land/x/aws_api@v0.7.0/client/mod.ts";

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

  • disabling ambitious IPv4/IPv6 dualstack (in case you have broken IPv6)
  • 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.

Several services have separate dual-stack (IPv6-ready) hostnames available. This library will use the dual-stack hostnames whenever they are known. More info on AWS API IPv6: https://danopia.net/posts/2021/aws-endpoints-with-ipv6.html

Constructors

new
AwsEndpointResolver(unnamed 0?)

Properties

forceRegional: boolean
useDualstack: boolean

Methods

resolveUrl(parameters: EndpointParameters): ResolvedEndpoint