@acusti/aws-signature-v4
Version:
A lightweight isomorphic module to generate request headers that fulfill the AWS SigV4 signing process
23 lines (21 loc) • 482 B
Flow
/**
* Flowtype definitions for types
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
* @flow
*/
export type AWSOptions = {|
accessKeyId: string,
region?: string,
secretAccessKey: string,
service?: string,
sessionToken?: string,
|};
export type FetchHeaders = { [key: string]: string };
export type FetchOptions = {|
...{|
headers?: FetchHeaders,
signal?: AbortSignal,
|},
...$Diff<RequestInit, { headers: any, signal: any }>,
|};