UNPKG

@aws-sdk/middleware-endpoint-discovery

Version:

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-endpoint-discovery/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-endpoint-discovery) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-endpoint-discovery.s

10 lines (9 loc) 320 B
import { AwsCredentialIdentity, Provider } from "@smithy/types"; /** * Generate key to index the endpoints in the cache */ export declare const getCacheKey: (commandName: string, config: { credentials: Provider<AwsCredentialIdentity>; }, options: { identifiers?: Record<string, string>; }) => Promise<string>;