@aws-sdk/types
Version:
Types for the AWS SDK
18 lines (17 loc) • 439 B
TypeScript
import { HttpResponse } from "@smithy/types";
export {
Endpoint,
HeaderBag,
HttpHandlerOptions,
HttpMessage,
HttpRequest,
HttpResponse,
QueryParameterBag,
} from "@smithy/types";
export interface Headers extends Map<string, string> {
withHeader(headerName: string, headerValue: string): Headers;
withoutHeader(headerName: string): Headers;
}
export interface ResolvedHttpResponse extends HttpResponse {
body: string;
}