@aws-sdk/types 3.257.0 → 3.266.1

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-cjs/index.js CHANGED
@@ -16,6 +16,7 @@ tslib_1.__exportStar(require("./logger"), exports);
16
16
  tslib_1.__exportStar(require("./middleware"), exports);
17
17
  tslib_1.__exportStar(require("./pagination"), exports);
18
18
  tslib_1.__exportStar(require("./profile"), exports);
19
+ tslib_1.__exportStar(require("./request"), exports);
19
20
  tslib_1.__exportStar(require("./response"), exports);
20
21
  tslib_1.__exportStar(require("./retry"), exports);
21
22
  tslib_1.__exportStar(require("./serde"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist-es/index.js CHANGED
@@ -13,6 +13,7 @@ export * from "./logger";
13
13
  export * from "./middleware";
14
14
  export * from "./pagination";
15
15
  export * from "./profile";
16
+ export * from "./request";
16
17
  export * from "./response";
17
18
  export * from "./retry";
18
19
  export * from "./serde";
@@ -0,0 +1 @@
1
+ export {};
@@ -13,6 +13,7 @@ export * from "./logger";
13
13
  export * from "./middleware";
14
14
  export * from "./pagination";
15
15
  export * from "./profile";
16
+ export * from "./request";
16
17
  export * from "./response";
17
18
  export * from "./retry";
18
19
  export * from "./serde";
@@ -0,0 +1,4 @@
1
+ export interface Request {
2
+ destination: URL;
3
+ body?: any;
4
+ }
@@ -32,3 +32,6 @@ export interface MetadataBearer {
32
32
  */
33
33
  $metadata: ResponseMetadata;
34
34
  }
35
+ export interface Response {
36
+ body: any;
37
+ }
@@ -48,17 +48,19 @@ export interface ResponseDeserializer<OutputType, ResponseType = any, Context =
48
48
  (output: ResponseType, context: Context): Promise<OutputType>;
49
49
  }
50
50
  /**
51
- * Declare ReadableStream in case dom.d.ts is not added to the tsconfig lib causing
52
- * ReadableStream interface is not defined. For developers with dom.d.ts added,
53
- * the ReadableStream interface will be merged correctly.
51
+ * Declare DOM interfaces in case dom.d.ts is not added to the tsconfig lib, causing
52
+ * interfaces to not be defined. For developers with dom.d.ts added, the interfaces will
53
+ * be merged correctly.
54
54
  *
55
- * This is also required for any clients with streaming interface where ReadableStream
56
- * type is also referred. The type is only declared here once since this @aws-sdk/types
55
+ * This is also required for any clients with streaming interfaces where the corresponding
56
+ * types are also referred. The type is only declared here once since this @aws-sdk/types
57
57
  * is depended by all @aws-sdk packages.
58
58
  */
59
59
  declare global {
60
60
  export interface ReadableStream {
61
61
  }
62
+ export interface Blob {
63
+ }
62
64
  }
63
65
  /**
64
66
  * The interface contains mix-in utility functions to transfer the runtime-specific
@@ -13,6 +13,7 @@ export * from "./logger";
13
13
  export * from "./middleware";
14
14
  export * from "./pagination";
15
15
  export * from "./profile";
16
+ export * from "./request";
16
17
  export * from "./response";
17
18
  export * from "./retry";
18
19
  export * from "./serde";
@@ -0,0 +1,4 @@
1
+ export interface Request {
2
+ destination: URL;
3
+ body?: any;
4
+ }
@@ -9,3 +9,6 @@ export interface ResponseMetadata {
9
9
  export interface MetadataBearer {
10
10
  $metadata: ResponseMetadata;
11
11
  }
12
+ export interface Response {
13
+ body: any;
14
+ }
@@ -31,6 +31,7 @@ export interface ResponseDeserializer<
31
31
  }
32
32
  declare global {
33
33
  export interface ReadableStream {}
34
+ export interface Blob {}
34
35
  }
35
36
  export interface SdkStreamMixin {
36
37
  transformToByteArray: () => Promise<Uint8Array>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.257.0",
3
+ "version": "3.266.1",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",