@aws-sdk/client-kinesis 3.529.1 → 3.533.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.
@@ -97,7 +97,7 @@ declare const GetRecordsCommand_base: {
97
97
  * // { // Record
98
98
  * // SequenceNumber: "STRING_VALUE", // required
99
99
  * // ApproximateArrivalTimestamp: new Date("TIMESTAMP"),
100
- * // Data: "BLOB_VALUE", // required
100
+ * // Data: new Uint8Array(), // required
101
101
  * // PartitionKey: "STRING_VALUE", // required
102
102
  * // EncryptionType: "NONE" || "KMS",
103
103
  * // },
@@ -75,7 +75,7 @@ declare const PutRecordCommand_base: {
75
75
  * const client = new KinesisClient(config);
76
76
  * const input = { // PutRecordInput
77
77
  * StreamName: "STRING_VALUE",
78
- * Data: "BLOB_VALUE", // required
78
+ * Data: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
79
79
  * PartitionKey: "STRING_VALUE", // required
80
80
  * ExplicitHashKey: "STRING_VALUE",
81
81
  * SequenceNumberForOrdering: "STRING_VALUE",
@@ -96,7 +96,7 @@ declare const PutRecordsCommand_base: {
96
96
  * const input = { // PutRecordsInput
97
97
  * Records: [ // PutRecordsRequestEntryList // required
98
98
  * { // PutRecordsRequestEntry
99
- * Data: "BLOB_VALUE", // required
99
+ * Data: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
100
100
  * ExplicitHashKey: "STRING_VALUE",
101
101
  * PartitionKey: "STRING_VALUE", // required
102
102
  * },
@@ -73,7 +73,7 @@ declare const SubscribeToShardCommand_base: {
73
73
  * // { // Record
74
74
  * // SequenceNumber: "STRING_VALUE", // required
75
75
  * // ApproximateArrivalTimestamp: new Date("TIMESTAMP"),
76
- * // Data: "BLOB_VALUE", // required
76
+ * // Data: new Uint8Array(), // required
77
77
  * // PartitionKey: "STRING_VALUE", // required
78
78
  * // EncryptionType: "NONE" || "KMS",
79
79
  * // },
@@ -21,9 +21,9 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
21
21
  apiVersion: string;
22
22
  urlParser: import("@smithy/types").UrlParser;
23
23
  base64Decoder: import("@smithy/types").Decoder;
24
- base64Encoder: import("@smithy/types").Encoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
25
  utf8Decoder: import("@smithy/types").Decoder;
26
- utf8Encoder: import("@smithy/types").Encoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
29
  logger: import("@smithy/types").Logger;
@@ -21,9 +21,9 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
21
21
  apiVersion: string;
22
22
  urlParser: import("@smithy/types").UrlParser;
23
23
  base64Decoder: import("@smithy/types").Decoder;
24
- base64Encoder: import("@smithy/types").Encoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
25
  utf8Decoder: import("@smithy/types").Decoder;
26
- utf8Encoder: import("@smithy/types").Encoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
29
  logger: import("@smithy/types").Logger;
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
12
  streamCollector: import("@smithy/types").StreamCollector;
13
13
  base64Decoder: import("@smithy/types").Decoder;
14
- base64Encoder: import("@smithy/types").Encoder;
14
+ base64Encoder: (_input: string | Uint8Array) => string;
15
15
  utf8Decoder: import("@smithy/types").Decoder;
16
- utf8Encoder: import("@smithy/types").Encoder;
16
+ utf8Encoder: (input: string | Uint8Array) => string;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -5,7 +5,7 @@ import { KinesisClientConfig } from "./KinesisClient";
5
5
  export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: import("@smithy/types").Encoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@smithy/types").Logger | undefined;
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
@@ -26,9 +26,9 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
26
26
  apiVersion: string;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
- base64Encoder: import("@smithy/types").Encoder;
29
+ base64Encoder: (_input: string | Uint8Array) => string;
30
30
  utf8Decoder: import("@smithy/types").Decoder;
31
- utf8Encoder: import("@smithy/types").Encoder;
31
+ utf8Encoder: (input: string | Uint8Array) => string;
32
32
  disableHostPrefix: boolean;
33
33
  serviceId: string;
34
34
  logger: import("@smithy/types").Logger;
@@ -30,9 +30,9 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
30
30
  apiVersion: string;
31
31
  urlParser: import("@smithy/types").UrlParser;
32
32
  base64Decoder: import("@smithy/types").Decoder;
33
- base64Encoder: import("@smithy/types").Encoder;
33
+ base64Encoder: (_input: string | Uint8Array) => string;
34
34
  utf8Decoder: import("@smithy/types").Decoder;
35
- utf8Encoder: import("@smithy/types").Encoder;
35
+ utf8Encoder: (input: string | Uint8Array) => string;
36
36
  disableHostPrefix: boolean;
37
37
  serviceId: string;
38
38
  logger: import("@smithy/types").Logger;
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
13
13
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
14
  streamCollector: import("@smithy/types").StreamCollector;
15
15
  base64Decoder: import("@smithy/types").Decoder;
16
- base64Encoder: import("@smithy/types").Encoder;
16
+ base64Encoder: (_input: string | Uint8Array) => string;
17
17
  utf8Decoder: import("@smithy/types").Decoder;
18
- utf8Encoder: import("@smithy/types").Encoder;
18
+ utf8Encoder: (input: string | Uint8Array) => string;
19
19
  disableHostPrefix: boolean;
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -2,7 +2,7 @@ import { KinesisClientConfig } from "./KinesisClient";
2
2
  export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
3
3
  apiVersion: string;
4
4
  base64Decoder: import("@smithy/types").Decoder;
5
- base64Encoder: import("@smithy/types").Encoder;
5
+ base64Encoder: (_input: string | Uint8Array) => string;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis",
3
3
  "description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
4
- "version": "3.529.1",
4
+ "version": "3.533.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-kinesis",
@@ -21,47 +21,47 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.529.1",
25
- "@aws-sdk/core": "3.529.1",
26
- "@aws-sdk/credential-provider-node": "3.529.1",
27
- "@aws-sdk/middleware-host-header": "3.523.0",
28
- "@aws-sdk/middleware-logger": "3.523.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.523.0",
30
- "@aws-sdk/middleware-user-agent": "3.525.0",
31
- "@aws-sdk/region-config-resolver": "3.525.0",
32
- "@aws-sdk/types": "3.523.0",
33
- "@aws-sdk/util-endpoints": "3.525.0",
34
- "@aws-sdk/util-user-agent-browser": "3.523.0",
35
- "@aws-sdk/util-user-agent-node": "3.525.0",
36
- "@smithy/config-resolver": "^2.1.4",
37
- "@smithy/core": "^1.3.5",
38
- "@smithy/eventstream-serde-browser": "^2.1.3",
39
- "@smithy/eventstream-serde-config-resolver": "^2.1.3",
40
- "@smithy/eventstream-serde-node": "^2.1.3",
41
- "@smithy/fetch-http-handler": "^2.4.3",
42
- "@smithy/hash-node": "^2.1.3",
43
- "@smithy/invalid-dependency": "^2.1.3",
44
- "@smithy/middleware-content-length": "^2.1.3",
45
- "@smithy/middleware-endpoint": "^2.4.4",
46
- "@smithy/middleware-retry": "^2.1.4",
47
- "@smithy/middleware-serde": "^2.1.3",
48
- "@smithy/middleware-stack": "^2.1.3",
49
- "@smithy/node-config-provider": "^2.2.4",
50
- "@smithy/node-http-handler": "^2.4.1",
51
- "@smithy/protocol-http": "^3.2.1",
52
- "@smithy/smithy-client": "^2.4.2",
53
- "@smithy/types": "^2.10.1",
54
- "@smithy/url-parser": "^2.1.3",
55
- "@smithy/util-base64": "^2.1.1",
24
+ "@aws-sdk/client-sts": "3.533.0",
25
+ "@aws-sdk/core": "3.533.0",
26
+ "@aws-sdk/credential-provider-node": "3.533.0",
27
+ "@aws-sdk/middleware-host-header": "3.533.0",
28
+ "@aws-sdk/middleware-logger": "3.533.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.533.0",
30
+ "@aws-sdk/middleware-user-agent": "3.533.0",
31
+ "@aws-sdk/region-config-resolver": "3.533.0",
32
+ "@aws-sdk/types": "3.533.0",
33
+ "@aws-sdk/util-endpoints": "3.533.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.533.0",
35
+ "@aws-sdk/util-user-agent-node": "3.533.0",
36
+ "@smithy/config-resolver": "^2.1.5",
37
+ "@smithy/core": "^1.3.8",
38
+ "@smithy/eventstream-serde-browser": "^2.1.4",
39
+ "@smithy/eventstream-serde-config-resolver": "^2.1.4",
40
+ "@smithy/eventstream-serde-node": "^2.1.4",
41
+ "@smithy/fetch-http-handler": "^2.4.5",
42
+ "@smithy/hash-node": "^2.1.4",
43
+ "@smithy/invalid-dependency": "^2.1.4",
44
+ "@smithy/middleware-content-length": "^2.1.4",
45
+ "@smithy/middleware-endpoint": "^2.4.6",
46
+ "@smithy/middleware-retry": "^2.1.7",
47
+ "@smithy/middleware-serde": "^2.2.1",
48
+ "@smithy/middleware-stack": "^2.1.4",
49
+ "@smithy/node-config-provider": "^2.2.5",
50
+ "@smithy/node-http-handler": "^2.4.3",
51
+ "@smithy/protocol-http": "^3.2.2",
52
+ "@smithy/smithy-client": "^2.4.5",
53
+ "@smithy/types": "^2.11.0",
54
+ "@smithy/url-parser": "^2.1.4",
55
+ "@smithy/util-base64": "^2.2.1",
56
56
  "@smithy/util-body-length-browser": "^2.1.1",
57
- "@smithy/util-body-length-node": "^2.2.1",
58
- "@smithy/util-defaults-mode-browser": "^2.1.4",
59
- "@smithy/util-defaults-mode-node": "^2.2.3",
60
- "@smithy/util-endpoints": "^1.1.4",
61
- "@smithy/util-middleware": "^2.1.3",
62
- "@smithy/util-retry": "^2.1.3",
63
- "@smithy/util-utf8": "^2.1.1",
64
- "@smithy/util-waiter": "^2.1.3",
57
+ "@smithy/util-body-length-node": "^2.2.2",
58
+ "@smithy/util-defaults-mode-browser": "^2.1.7",
59
+ "@smithy/util-defaults-mode-node": "^2.2.7",
60
+ "@smithy/util-endpoints": "^1.1.5",
61
+ "@smithy/util-middleware": "^2.1.4",
62
+ "@smithy/util-retry": "^2.1.4",
63
+ "@smithy/util-utf8": "^2.2.0",
64
+ "@smithy/util-waiter": "^2.1.4",
65
65
  "tslib": "^2.5.0"
66
66
  },
67
67
  "devDependencies": {