Skip to main content
Module

x/aws_api/client/mod.ts>FixedBaseEndpointResolver

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

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.

Constructors

new
FixedBaseEndpointResolver(baseUrl: string)

Properties

readonly
baseUrl: URL

Methods

resolveUrl(parameters: EndpointParameters): ResolvedEndpoint