@aws-sdk/types 3.370.0 → 3.387.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.
@@ -1,22 +1,2 @@
1
- import { RuntimeBlobTypes } from "./runtime-blob-types.node";
2
- /**
3
- * @public
4
- *
5
- * A union of types that can be used as inputs for the service model
6
- * "blob" type when it represents the request's entire payload or body.
7
- *
8
- * For example, in Lambda::invoke, the payload is modeled as a blob type
9
- * and this union applies to it.
10
- * In contrast, in Lambda::createFunction the Zip file option is a blob type,
11
- * but is not the (entire) payload and this union does not apply.
12
- *
13
- * Note: not all types are signable by the standard SignatureV4 signer when
14
- * used as the request body. For example, in Node.js a Readable stream
15
- * is not signable by the default signer.
16
- * They are included in the union because it may work in some cases,
17
- * but the expected types are primarily string and Uint8Array.
18
- *
19
- * Additional details may be found in the internal
20
- * function "getPayloadHash" in the SignatureV4 module.
21
- */
22
- export type BlobTypes = string | ArrayBuffer | ArrayBufferView | Uint8Array | RuntimeBlobTypes;
1
+ import { BlobTypes } from '@smithy/types';
2
+ export { BlobTypes };
@@ -1,7 +1,2 @@
1
- import { RuntimeBlobTypes } from "./runtime-blob-types.node";
2
- export type BlobTypes =
3
- | string
4
- | ArrayBuffer
5
- | ArrayBufferView
6
- | Uint8Array
7
- | RuntimeBlobTypes;
1
+ import { BlobTypes } from "@smithy/types";
2
+ export { BlobTypes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.370.0",
3
+ "version": "3.387.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -41,7 +41,7 @@
41
41
  "directory": "packages/types"
42
42
  },
43
43
  "dependencies": {
44
- "@smithy/types": "^1.1.0",
44
+ "@smithy/types": "^2.1.0",
45
45
  "tslib": "^2.5.0"
46
46
  },
47
47
  "devDependencies": {