Skip to main content
Module

x/aws_api/client/mod.ts

From-scratch Typescript client for accessing AWS APIs
Extremely Popular
Latest
import * as awsApi from "https://deno.land/x/aws_api@v0.8.1/client/mod.ts";

Classes

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

  • disabling upgrades to newer endpoints (on .aws TLS and/or IPv6-enabled)
  • 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.

Interfaces

The HTTP contract expected by all service API implementations

The AWS credentials to use for signing.