@aws-sdk/client-dynamodb-streams 3.297.0 → 3.299.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-cjs/commands/DescribeStreamCommand.js +2 -3
- package/dist-cjs/commands/GetRecordsCommand.js +2 -3
- package/dist-cjs/commands/GetShardIteratorCommand.js +2 -3
- package/dist-cjs/commands/ListStreamsCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -103
- package/dist-es/commands/DescribeStreamCommand.js +2 -3
- package/dist-es/commands/GetRecordsCommand.js +2 -3
- package/dist-es/commands/GetShardIteratorCommand.js +2 -3
- package/dist-es/commands/ListStreamsCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -85
- package/dist-types/models/models_0.d.ts +0 -68
- package/dist-types/ts3.4/models/models_0.d.ts +0 -41
- package/package.json +11 -10
|
@@ -4,7 +4,6 @@ exports.DescribeStreamCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
8
|
class DescribeStreamCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class DescribeStreamCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.GetRecordsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
8
|
class GetRecordsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetRecordsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.GetShardIteratorCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
8
|
class GetShardIteratorCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetShardIteratorCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.ListStreamsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
8
|
class ListStreamsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class ListStreamsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.AttributeValue = exports.ShardIteratorType = exports.TrimmedDataAccessException = exports.LimitExceededException = exports.OperationType = exports.ExpiredIteratorException = exports.ResourceNotFoundException = exports.InternalServerError = exports.StreamViewType = exports.StreamStatus = exports.KeyType = void 0;
|
|
4
4
|
const DynamoDBStreamsServiceException_1 = require("./DynamoDBStreamsServiceException");
|
|
5
5
|
var KeyType;
|
|
6
6
|
(function (KeyType) {
|
|
@@ -125,105 +125,3 @@ var AttributeValue;
|
|
|
125
125
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
126
126
|
};
|
|
127
127
|
})(AttributeValue = exports.AttributeValue || (exports.AttributeValue = {}));
|
|
128
|
-
const DescribeStreamInputFilterSensitiveLog = (obj) => ({
|
|
129
|
-
...obj,
|
|
130
|
-
});
|
|
131
|
-
exports.DescribeStreamInputFilterSensitiveLog = DescribeStreamInputFilterSensitiveLog;
|
|
132
|
-
const KeySchemaElementFilterSensitiveLog = (obj) => ({
|
|
133
|
-
...obj,
|
|
134
|
-
});
|
|
135
|
-
exports.KeySchemaElementFilterSensitiveLog = KeySchemaElementFilterSensitiveLog;
|
|
136
|
-
const SequenceNumberRangeFilterSensitiveLog = (obj) => ({
|
|
137
|
-
...obj,
|
|
138
|
-
});
|
|
139
|
-
exports.SequenceNumberRangeFilterSensitiveLog = SequenceNumberRangeFilterSensitiveLog;
|
|
140
|
-
const ShardFilterSensitiveLog = (obj) => ({
|
|
141
|
-
...obj,
|
|
142
|
-
});
|
|
143
|
-
exports.ShardFilterSensitiveLog = ShardFilterSensitiveLog;
|
|
144
|
-
const StreamDescriptionFilterSensitiveLog = (obj) => ({
|
|
145
|
-
...obj,
|
|
146
|
-
});
|
|
147
|
-
exports.StreamDescriptionFilterSensitiveLog = StreamDescriptionFilterSensitiveLog;
|
|
148
|
-
const DescribeStreamOutputFilterSensitiveLog = (obj) => ({
|
|
149
|
-
...obj,
|
|
150
|
-
});
|
|
151
|
-
exports.DescribeStreamOutputFilterSensitiveLog = DescribeStreamOutputFilterSensitiveLog;
|
|
152
|
-
const GetRecordsInputFilterSensitiveLog = (obj) => ({
|
|
153
|
-
...obj,
|
|
154
|
-
});
|
|
155
|
-
exports.GetRecordsInputFilterSensitiveLog = GetRecordsInputFilterSensitiveLog;
|
|
156
|
-
const IdentityFilterSensitiveLog = (obj) => ({
|
|
157
|
-
...obj,
|
|
158
|
-
});
|
|
159
|
-
exports.IdentityFilterSensitiveLog = IdentityFilterSensitiveLog;
|
|
160
|
-
const GetShardIteratorInputFilterSensitiveLog = (obj) => ({
|
|
161
|
-
...obj,
|
|
162
|
-
});
|
|
163
|
-
exports.GetShardIteratorInputFilterSensitiveLog = GetShardIteratorInputFilterSensitiveLog;
|
|
164
|
-
const GetShardIteratorOutputFilterSensitiveLog = (obj) => ({
|
|
165
|
-
...obj,
|
|
166
|
-
});
|
|
167
|
-
exports.GetShardIteratorOutputFilterSensitiveLog = GetShardIteratorOutputFilterSensitiveLog;
|
|
168
|
-
const ListStreamsInputFilterSensitiveLog = (obj) => ({
|
|
169
|
-
...obj,
|
|
170
|
-
});
|
|
171
|
-
exports.ListStreamsInputFilterSensitiveLog = ListStreamsInputFilterSensitiveLog;
|
|
172
|
-
const _StreamFilterSensitiveLog = (obj) => ({
|
|
173
|
-
...obj,
|
|
174
|
-
});
|
|
175
|
-
exports._StreamFilterSensitiveLog = _StreamFilterSensitiveLog;
|
|
176
|
-
const ListStreamsOutputFilterSensitiveLog = (obj) => ({
|
|
177
|
-
...obj,
|
|
178
|
-
});
|
|
179
|
-
exports.ListStreamsOutputFilterSensitiveLog = ListStreamsOutputFilterSensitiveLog;
|
|
180
|
-
const AttributeValueFilterSensitiveLog = (obj) => {
|
|
181
|
-
if (obj.S !== undefined)
|
|
182
|
-
return { S: obj.S };
|
|
183
|
-
if (obj.N !== undefined)
|
|
184
|
-
return { N: obj.N };
|
|
185
|
-
if (obj.B !== undefined)
|
|
186
|
-
return { B: obj.B };
|
|
187
|
-
if (obj.SS !== undefined)
|
|
188
|
-
return { SS: obj.SS };
|
|
189
|
-
if (obj.NS !== undefined)
|
|
190
|
-
return { NS: obj.NS };
|
|
191
|
-
if (obj.BS !== undefined)
|
|
192
|
-
return { BS: obj.BS };
|
|
193
|
-
if (obj.M !== undefined)
|
|
194
|
-
return {
|
|
195
|
-
M: Object.entries(obj.M).reduce((acc, [key, value]) => ((acc[key] = (0, exports.AttributeValueFilterSensitiveLog)(value)), acc), {}),
|
|
196
|
-
};
|
|
197
|
-
if (obj.L !== undefined)
|
|
198
|
-
return { L: obj.L.map((item) => (0, exports.AttributeValueFilterSensitiveLog)(item)) };
|
|
199
|
-
if (obj.NULL !== undefined)
|
|
200
|
-
return { NULL: obj.NULL };
|
|
201
|
-
if (obj.BOOL !== undefined)
|
|
202
|
-
return { BOOL: obj.BOOL };
|
|
203
|
-
if (obj.$unknown !== undefined)
|
|
204
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
205
|
-
};
|
|
206
|
-
exports.AttributeValueFilterSensitiveLog = AttributeValueFilterSensitiveLog;
|
|
207
|
-
const StreamRecordFilterSensitiveLog = (obj) => ({
|
|
208
|
-
...obj,
|
|
209
|
-
...(obj.Keys && {
|
|
210
|
-
Keys: Object.entries(obj.Keys).reduce((acc, [key, value]) => ((acc[key] = (0, exports.AttributeValueFilterSensitiveLog)(value)), acc), {}),
|
|
211
|
-
}),
|
|
212
|
-
...(obj.NewImage && {
|
|
213
|
-
NewImage: Object.entries(obj.NewImage).reduce((acc, [key, value]) => ((acc[key] = (0, exports.AttributeValueFilterSensitiveLog)(value)), acc), {}),
|
|
214
|
-
}),
|
|
215
|
-
...(obj.OldImage && {
|
|
216
|
-
OldImage: Object.entries(obj.OldImage).reduce((acc, [key, value]) => ((acc[key] = (0, exports.AttributeValueFilterSensitiveLog)(value)), acc), {}),
|
|
217
|
-
}),
|
|
218
|
-
});
|
|
219
|
-
exports.StreamRecordFilterSensitiveLog = StreamRecordFilterSensitiveLog;
|
|
220
|
-
const _RecordFilterSensitiveLog = (obj) => ({
|
|
221
|
-
...obj,
|
|
222
|
-
...(obj.dynamodb && { dynamodb: (0, exports.StreamRecordFilterSensitiveLog)(obj.dynamodb) }),
|
|
223
|
-
});
|
|
224
|
-
exports._RecordFilterSensitiveLog = _RecordFilterSensitiveLog;
|
|
225
|
-
const GetRecordsOutputFilterSensitiveLog = (obj) => ({
|
|
226
|
-
...obj,
|
|
227
|
-
...(obj.Records && { Records: obj.Records.map((item) => (0, exports._RecordFilterSensitiveLog)(item)) }),
|
|
228
|
-
});
|
|
229
|
-
exports.GetRecordsOutputFilterSensitiveLog = GetRecordsOutputFilterSensitiveLog;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeStreamInputFilterSensitiveLog, DescribeStreamOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_0DescribeStreamCommand, serializeAws_json1_0DescribeStreamCommand, } from "../protocols/Aws_json1_0";
|
|
6
5
|
export class DescribeStreamCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DescribeStreamCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetRecordsInputFilterSensitiveLog, GetRecordsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_0GetRecordsCommand, serializeAws_json1_0GetRecordsCommand, } from "../protocols/Aws_json1_0";
|
|
6
5
|
export class GetRecordsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class GetRecordsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetShardIteratorInputFilterSensitiveLog, GetShardIteratorOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_0GetShardIteratorCommand, serializeAws_json1_0GetShardIteratorCommand, } from "../protocols/Aws_json1_0";
|
|
6
5
|
export class GetShardIteratorCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class GetShardIteratorCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListStreamsInputFilterSensitiveLog, ListStreamsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_0ListStreamsCommand, serializeAws_json1_0ListStreamsCommand, } from "../protocols/Aws_json1_0";
|
|
6
5
|
export class ListStreamsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListStreamsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -117,88 +117,3 @@ export var AttributeValue;
|
|
|
117
117
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
118
118
|
};
|
|
119
119
|
})(AttributeValue || (AttributeValue = {}));
|
|
120
|
-
export const DescribeStreamInputFilterSensitiveLog = (obj) => ({
|
|
121
|
-
...obj,
|
|
122
|
-
});
|
|
123
|
-
export const KeySchemaElementFilterSensitiveLog = (obj) => ({
|
|
124
|
-
...obj,
|
|
125
|
-
});
|
|
126
|
-
export const SequenceNumberRangeFilterSensitiveLog = (obj) => ({
|
|
127
|
-
...obj,
|
|
128
|
-
});
|
|
129
|
-
export const ShardFilterSensitiveLog = (obj) => ({
|
|
130
|
-
...obj,
|
|
131
|
-
});
|
|
132
|
-
export const StreamDescriptionFilterSensitiveLog = (obj) => ({
|
|
133
|
-
...obj,
|
|
134
|
-
});
|
|
135
|
-
export const DescribeStreamOutputFilterSensitiveLog = (obj) => ({
|
|
136
|
-
...obj,
|
|
137
|
-
});
|
|
138
|
-
export const GetRecordsInputFilterSensitiveLog = (obj) => ({
|
|
139
|
-
...obj,
|
|
140
|
-
});
|
|
141
|
-
export const IdentityFilterSensitiveLog = (obj) => ({
|
|
142
|
-
...obj,
|
|
143
|
-
});
|
|
144
|
-
export const GetShardIteratorInputFilterSensitiveLog = (obj) => ({
|
|
145
|
-
...obj,
|
|
146
|
-
});
|
|
147
|
-
export const GetShardIteratorOutputFilterSensitiveLog = (obj) => ({
|
|
148
|
-
...obj,
|
|
149
|
-
});
|
|
150
|
-
export const ListStreamsInputFilterSensitiveLog = (obj) => ({
|
|
151
|
-
...obj,
|
|
152
|
-
});
|
|
153
|
-
export const _StreamFilterSensitiveLog = (obj) => ({
|
|
154
|
-
...obj,
|
|
155
|
-
});
|
|
156
|
-
export const ListStreamsOutputFilterSensitiveLog = (obj) => ({
|
|
157
|
-
...obj,
|
|
158
|
-
});
|
|
159
|
-
export const AttributeValueFilterSensitiveLog = (obj) => {
|
|
160
|
-
if (obj.S !== undefined)
|
|
161
|
-
return { S: obj.S };
|
|
162
|
-
if (obj.N !== undefined)
|
|
163
|
-
return { N: obj.N };
|
|
164
|
-
if (obj.B !== undefined)
|
|
165
|
-
return { B: obj.B };
|
|
166
|
-
if (obj.SS !== undefined)
|
|
167
|
-
return { SS: obj.SS };
|
|
168
|
-
if (obj.NS !== undefined)
|
|
169
|
-
return { NS: obj.NS };
|
|
170
|
-
if (obj.BS !== undefined)
|
|
171
|
-
return { BS: obj.BS };
|
|
172
|
-
if (obj.M !== undefined)
|
|
173
|
-
return {
|
|
174
|
-
M: Object.entries(obj.M).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
175
|
-
};
|
|
176
|
-
if (obj.L !== undefined)
|
|
177
|
-
return { L: obj.L.map((item) => AttributeValueFilterSensitiveLog(item)) };
|
|
178
|
-
if (obj.NULL !== undefined)
|
|
179
|
-
return { NULL: obj.NULL };
|
|
180
|
-
if (obj.BOOL !== undefined)
|
|
181
|
-
return { BOOL: obj.BOOL };
|
|
182
|
-
if (obj.$unknown !== undefined)
|
|
183
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
184
|
-
};
|
|
185
|
-
export const StreamRecordFilterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
...(obj.Keys && {
|
|
188
|
-
Keys: Object.entries(obj.Keys).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
189
|
-
}),
|
|
190
|
-
...(obj.NewImage && {
|
|
191
|
-
NewImage: Object.entries(obj.NewImage).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
192
|
-
}),
|
|
193
|
-
...(obj.OldImage && {
|
|
194
|
-
OldImage: Object.entries(obj.OldImage).reduce((acc, [key, value]) => ((acc[key] = AttributeValueFilterSensitiveLog(value)), acc), {}),
|
|
195
|
-
}),
|
|
196
|
-
});
|
|
197
|
-
export const _RecordFilterSensitiveLog = (obj) => ({
|
|
198
|
-
...obj,
|
|
199
|
-
...(obj.dynamodb && { dynamodb: StreamRecordFilterSensitiveLog(obj.dynamodb) }),
|
|
200
|
-
});
|
|
201
|
-
export const GetRecordsOutputFilterSensitiveLog = (obj) => ({
|
|
202
|
-
...obj,
|
|
203
|
-
...(obj.Records && { Records: obj.Records.map((item) => _RecordFilterSensitiveLog(item)) }),
|
|
204
|
-
});
|
|
@@ -848,71 +848,3 @@ export interface GetRecordsOutput {
|
|
|
848
848
|
*/
|
|
849
849
|
NextShardIterator?: string;
|
|
850
850
|
}
|
|
851
|
-
/**
|
|
852
|
-
* @internal
|
|
853
|
-
*/
|
|
854
|
-
export declare const DescribeStreamInputFilterSensitiveLog: (obj: DescribeStreamInput) => any;
|
|
855
|
-
/**
|
|
856
|
-
* @internal
|
|
857
|
-
*/
|
|
858
|
-
export declare const KeySchemaElementFilterSensitiveLog: (obj: KeySchemaElement) => any;
|
|
859
|
-
/**
|
|
860
|
-
* @internal
|
|
861
|
-
*/
|
|
862
|
-
export declare const SequenceNumberRangeFilterSensitiveLog: (obj: SequenceNumberRange) => any;
|
|
863
|
-
/**
|
|
864
|
-
* @internal
|
|
865
|
-
*/
|
|
866
|
-
export declare const ShardFilterSensitiveLog: (obj: Shard) => any;
|
|
867
|
-
/**
|
|
868
|
-
* @internal
|
|
869
|
-
*/
|
|
870
|
-
export declare const StreamDescriptionFilterSensitiveLog: (obj: StreamDescription) => any;
|
|
871
|
-
/**
|
|
872
|
-
* @internal
|
|
873
|
-
*/
|
|
874
|
-
export declare const DescribeStreamOutputFilterSensitiveLog: (obj: DescribeStreamOutput) => any;
|
|
875
|
-
/**
|
|
876
|
-
* @internal
|
|
877
|
-
*/
|
|
878
|
-
export declare const GetRecordsInputFilterSensitiveLog: (obj: GetRecordsInput) => any;
|
|
879
|
-
/**
|
|
880
|
-
* @internal
|
|
881
|
-
*/
|
|
882
|
-
export declare const IdentityFilterSensitiveLog: (obj: Identity) => any;
|
|
883
|
-
/**
|
|
884
|
-
* @internal
|
|
885
|
-
*/
|
|
886
|
-
export declare const GetShardIteratorInputFilterSensitiveLog: (obj: GetShardIteratorInput) => any;
|
|
887
|
-
/**
|
|
888
|
-
* @internal
|
|
889
|
-
*/
|
|
890
|
-
export declare const GetShardIteratorOutputFilterSensitiveLog: (obj: GetShardIteratorOutput) => any;
|
|
891
|
-
/**
|
|
892
|
-
* @internal
|
|
893
|
-
*/
|
|
894
|
-
export declare const ListStreamsInputFilterSensitiveLog: (obj: ListStreamsInput) => any;
|
|
895
|
-
/**
|
|
896
|
-
* @internal
|
|
897
|
-
*/
|
|
898
|
-
export declare const _StreamFilterSensitiveLog: (obj: _Stream) => any;
|
|
899
|
-
/**
|
|
900
|
-
* @internal
|
|
901
|
-
*/
|
|
902
|
-
export declare const ListStreamsOutputFilterSensitiveLog: (obj: ListStreamsOutput) => any;
|
|
903
|
-
/**
|
|
904
|
-
* @internal
|
|
905
|
-
*/
|
|
906
|
-
export declare const AttributeValueFilterSensitiveLog: (obj: AttributeValue) => any;
|
|
907
|
-
/**
|
|
908
|
-
* @internal
|
|
909
|
-
*/
|
|
910
|
-
export declare const StreamRecordFilterSensitiveLog: (obj: StreamRecord) => any;
|
|
911
|
-
/**
|
|
912
|
-
* @internal
|
|
913
|
-
*/
|
|
914
|
-
export declare const _RecordFilterSensitiveLog: (obj: _Record) => any;
|
|
915
|
-
/**
|
|
916
|
-
* @internal
|
|
917
|
-
*/
|
|
918
|
-
export declare const GetRecordsOutputFilterSensitiveLog: (obj: GetRecordsOutput) => any;
|
|
@@ -318,44 +318,3 @@ export interface GetRecordsOutput {
|
|
|
318
318
|
Records?: _Record[];
|
|
319
319
|
NextShardIterator?: string;
|
|
320
320
|
}
|
|
321
|
-
export declare const DescribeStreamInputFilterSensitiveLog: (
|
|
322
|
-
obj: DescribeStreamInput
|
|
323
|
-
) => any;
|
|
324
|
-
export declare const KeySchemaElementFilterSensitiveLog: (
|
|
325
|
-
obj: KeySchemaElement
|
|
326
|
-
) => any;
|
|
327
|
-
export declare const SequenceNumberRangeFilterSensitiveLog: (
|
|
328
|
-
obj: SequenceNumberRange
|
|
329
|
-
) => any;
|
|
330
|
-
export declare const ShardFilterSensitiveLog: (obj: Shard) => any;
|
|
331
|
-
export declare const StreamDescriptionFilterSensitiveLog: (
|
|
332
|
-
obj: StreamDescription
|
|
333
|
-
) => any;
|
|
334
|
-
export declare const DescribeStreamOutputFilterSensitiveLog: (
|
|
335
|
-
obj: DescribeStreamOutput
|
|
336
|
-
) => any;
|
|
337
|
-
export declare const GetRecordsInputFilterSensitiveLog: (
|
|
338
|
-
obj: GetRecordsInput
|
|
339
|
-
) => any;
|
|
340
|
-
export declare const IdentityFilterSensitiveLog: (obj: Identity) => any;
|
|
341
|
-
export declare const GetShardIteratorInputFilterSensitiveLog: (
|
|
342
|
-
obj: GetShardIteratorInput
|
|
343
|
-
) => any;
|
|
344
|
-
export declare const GetShardIteratorOutputFilterSensitiveLog: (
|
|
345
|
-
obj: GetShardIteratorOutput
|
|
346
|
-
) => any;
|
|
347
|
-
export declare const ListStreamsInputFilterSensitiveLog: (
|
|
348
|
-
obj: ListStreamsInput
|
|
349
|
-
) => any;
|
|
350
|
-
export declare const _StreamFilterSensitiveLog: (obj: _Stream) => any;
|
|
351
|
-
export declare const ListStreamsOutputFilterSensitiveLog: (
|
|
352
|
-
obj: ListStreamsOutput
|
|
353
|
-
) => any;
|
|
354
|
-
export declare const AttributeValueFilterSensitiveLog: (
|
|
355
|
-
obj: AttributeValue
|
|
356
|
-
) => any;
|
|
357
|
-
export declare const StreamRecordFilterSensitiveLog: (obj: StreamRecord) => any;
|
|
358
|
-
export declare const _RecordFilterSensitiveLog: (obj: _Record) => any;
|
|
359
|
-
export declare const GetRecordsOutputFilterSensitiveLog: (
|
|
360
|
-
obj: GetRecordsOutput
|
|
361
|
-
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb-streams",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb Streams Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.299.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
14
15
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo dynamodb-streams"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -20,22 +21,22 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.299.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.299.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.299.0",
|
|
26
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
31
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
35
|
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
37
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
39
40
|
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
@@ -46,11 +47,11 @@
|
|
|
46
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.299.0",
|
|
50
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.299.0",
|
|
54
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
56
|
"tslib": "^2.5.0"
|
|
56
57
|
},
|