forked from aws/aws-sdk-js-v3
/
configuration.ts
33 lines (28 loc) · 876 Bytes
/
configuration.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { Encoder, HashConstructor, StreamHasher } from "@aws-sdk/types";
export interface PreviouslyResolved {
/**
* The function that will be used to convert binary data to a base64-encoded string.
* @internal
*/
base64Encoder: Encoder;
/**
* A constructor for a class implementing the {@link Hash} interface that computes MD5 hashes.
* @internal
*/
md5: HashConstructor;
/**
* A constructor for a class implementing the {@link Hash} interface that computes SHA1 hashes.
* @internal
*/
sha1: HashConstructor;
/**
* A constructor for a class implementing the {@link Hash} interface that computes SHA256 hashes.
* @internal
*/
sha256: HashConstructor;
/**
* A function that, given a hash constructor and a stream, calculates the hash of the streamed value.
* @internal
*/
streamHasher: StreamHasher<any>;
}