@aws-sdk/types 3.289.0 → 3.290.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/http.d.ts +6 -0
- package/package.json +1 -1
package/dist-types/http.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export interface Headers extends Map<string, string> {
|
|
|
40
40
|
* The SDK may at any point during processing remove one of the object
|
|
41
41
|
* properties in favor of the other. The headers may or may not be combined, and
|
|
42
42
|
* the SDK will not deterministically select which header candidate to use.
|
|
43
|
+
*
|
|
44
|
+
* @deprecated Replaced by implementation Fields in @aws-sdk/protocol-http.
|
|
43
45
|
*/
|
|
44
46
|
export declare type HeaderBag = Record<string, string>;
|
|
45
47
|
/**
|
|
@@ -47,6 +49,8 @@ export declare type HeaderBag = Record<string, string>;
|
|
|
47
49
|
*
|
|
48
50
|
* Represents an HTTP message with headers and an optional static or streaming
|
|
49
51
|
* body. bode: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream;
|
|
52
|
+
*
|
|
53
|
+
* @deprecated Replaced by implementation HttpRequest/HttpResponse in @aws-sdk/protocol-http.
|
|
50
54
|
*/
|
|
51
55
|
export interface HttpMessage {
|
|
52
56
|
headers: HeaderBag;
|
|
@@ -77,6 +81,8 @@ export interface Endpoint {
|
|
|
77
81
|
*
|
|
78
82
|
* Interface an HTTP request class. Contains
|
|
79
83
|
* addressing information in addition to standard message properties.
|
|
84
|
+
*
|
|
85
|
+
* @deprecated Replaced by implementation HttpRequest in @aws-sdk/protocol-http.
|
|
80
86
|
*/
|
|
81
87
|
export interface HttpRequest extends HttpMessage, Endpoint {
|
|
82
88
|
method: string;
|