@aws-sdk/client-dynamodb-streams 3.131.0 → 3.142.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/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/DescribeStreamCommand.js +2 -2
- package/dist-cjs/commands/GetRecordsCommand.js +2 -2
- package/dist-cjs/commands/GetShardIteratorCommand.js +2 -2
- package/dist-cjs/commands/ListStreamsCommand.js +2 -2
- package/dist-cjs/models/models_0.js +113 -144
- package/dist-cjs/protocols/Aws_json1_0.js +26 -38
- package/dist-es/commands/DescribeStreamCommand.js +3 -3
- package/dist-es/commands/GetRecordsCommand.js +3 -3
- package/dist-es/commands/GetShardIteratorCommand.js +3 -3
- package/dist-es/commands/ListStreamsCommand.js +3 -3
- package/dist-es/models/models_0.js +65 -113
- package/dist-es/protocols/Aws_json1_0.js +39 -39
- package/dist-types/models/models_0.d.ts +68 -100
- package/dist-types/ts3.4/models/models_0.d.ts +34 -66
- package/package.json +6 -6
|
@@ -1,29 +1,5 @@
|
|
|
1
1
|
import { __assign, __extends, __read } from "tslib";
|
|
2
2
|
import { DynamoDBStreamsServiceException as __BaseException } from "./DynamoDBStreamsServiceException";
|
|
3
|
-
export var DescribeStreamInput;
|
|
4
|
-
(function (DescribeStreamInput) {
|
|
5
|
-
DescribeStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
-
})(DescribeStreamInput || (DescribeStreamInput = {}));
|
|
7
|
-
export var KeySchemaElement;
|
|
8
|
-
(function (KeySchemaElement) {
|
|
9
|
-
KeySchemaElement.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
|
-
})(KeySchemaElement || (KeySchemaElement = {}));
|
|
11
|
-
export var SequenceNumberRange;
|
|
12
|
-
(function (SequenceNumberRange) {
|
|
13
|
-
SequenceNumberRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
14
|
-
})(SequenceNumberRange || (SequenceNumberRange = {}));
|
|
15
|
-
export var Shard;
|
|
16
|
-
(function (Shard) {
|
|
17
|
-
Shard.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
18
|
-
})(Shard || (Shard = {}));
|
|
19
|
-
export var StreamDescription;
|
|
20
|
-
(function (StreamDescription) {
|
|
21
|
-
StreamDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
22
|
-
})(StreamDescription || (StreamDescription = {}));
|
|
23
|
-
export var DescribeStreamOutput;
|
|
24
|
-
(function (DescribeStreamOutput) {
|
|
25
|
-
DescribeStreamOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
26
|
-
})(DescribeStreamOutput || (DescribeStreamOutput = {}));
|
|
27
3
|
var InternalServerError = (function (_super) {
|
|
28
4
|
__extends(InternalServerError, _super);
|
|
29
5
|
function InternalServerError(opts) {
|
|
@@ -60,14 +36,6 @@ var ExpiredIteratorException = (function (_super) {
|
|
|
60
36
|
return ExpiredIteratorException;
|
|
61
37
|
}(__BaseException));
|
|
62
38
|
export { ExpiredIteratorException };
|
|
63
|
-
export var GetRecordsInput;
|
|
64
|
-
(function (GetRecordsInput) {
|
|
65
|
-
GetRecordsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
66
|
-
})(GetRecordsInput || (GetRecordsInput = {}));
|
|
67
|
-
export var Identity;
|
|
68
|
-
(function (Identity) {
|
|
69
|
-
Identity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
70
|
-
})(Identity || (Identity = {}));
|
|
71
39
|
var LimitExceededException = (function (_super) {
|
|
72
40
|
__extends(LimitExceededException, _super);
|
|
73
41
|
function LimitExceededException(opts) {
|
|
@@ -92,26 +60,6 @@ var TrimmedDataAccessException = (function (_super) {
|
|
|
92
60
|
return TrimmedDataAccessException;
|
|
93
61
|
}(__BaseException));
|
|
94
62
|
export { TrimmedDataAccessException };
|
|
95
|
-
export var GetShardIteratorInput;
|
|
96
|
-
(function (GetShardIteratorInput) {
|
|
97
|
-
GetShardIteratorInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
98
|
-
})(GetShardIteratorInput || (GetShardIteratorInput = {}));
|
|
99
|
-
export var GetShardIteratorOutput;
|
|
100
|
-
(function (GetShardIteratorOutput) {
|
|
101
|
-
GetShardIteratorOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
-
})(GetShardIteratorOutput || (GetShardIteratorOutput = {}));
|
|
103
|
-
export var ListStreamsInput;
|
|
104
|
-
(function (ListStreamsInput) {
|
|
105
|
-
ListStreamsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
106
|
-
})(ListStreamsInput || (ListStreamsInput = {}));
|
|
107
|
-
export var _Stream;
|
|
108
|
-
(function (_Stream) {
|
|
109
|
-
_Stream.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
|
-
})(_Stream || (_Stream = {}));
|
|
111
|
-
export var ListStreamsOutput;
|
|
112
|
-
(function (ListStreamsOutput) {
|
|
113
|
-
ListStreamsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
|
-
})(ListStreamsOutput || (ListStreamsOutput = {}));
|
|
115
63
|
export var AttributeValue;
|
|
116
64
|
(function (AttributeValue) {
|
|
117
65
|
AttributeValue.visit = function (value, visitor) {
|
|
@@ -137,65 +85,69 @@ export var AttributeValue;
|
|
|
137
85
|
return visitor.BOOL(value.BOOL);
|
|
138
86
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
139
87
|
};
|
|
140
|
-
AttributeValue.filterSensitiveLog = function (obj) {
|
|
141
|
-
var _a;
|
|
142
|
-
if (obj.S !== undefined)
|
|
143
|
-
return { S: obj.S };
|
|
144
|
-
if (obj.N !== undefined)
|
|
145
|
-
return { N: obj.N };
|
|
146
|
-
if (obj.B !== undefined)
|
|
147
|
-
return { B: obj.B };
|
|
148
|
-
if (obj.SS !== undefined)
|
|
149
|
-
return { SS: obj.SS };
|
|
150
|
-
if (obj.NS !== undefined)
|
|
151
|
-
return { NS: obj.NS };
|
|
152
|
-
if (obj.BS !== undefined)
|
|
153
|
-
return { BS: obj.BS };
|
|
154
|
-
if (obj.M !== undefined)
|
|
155
|
-
return {
|
|
156
|
-
M: Object.entries(obj.M).reduce(function (acc, _a) {
|
|
157
|
-
var _b;
|
|
158
|
-
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
159
|
-
return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValue.filterSensitiveLog(value), _b)));
|
|
160
|
-
}, {}),
|
|
161
|
-
};
|
|
162
|
-
if (obj.L !== undefined)
|
|
163
|
-
return { L: obj.L.map(function (item) { return AttributeValue.filterSensitiveLog(item); }) };
|
|
164
|
-
if (obj.NULL !== undefined)
|
|
165
|
-
return { NULL: obj.NULL };
|
|
166
|
-
if (obj.BOOL !== undefined)
|
|
167
|
-
return { BOOL: obj.BOOL };
|
|
168
|
-
if (obj.$unknown !== undefined)
|
|
169
|
-
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
170
|
-
};
|
|
171
88
|
})(AttributeValue || (AttributeValue = {}));
|
|
172
|
-
export var
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
(
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
(
|
|
200
|
-
|
|
201
|
-
|
|
89
|
+
export var DescribeStreamInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
90
|
+
export var KeySchemaElementFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
91
|
+
export var SequenceNumberRangeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
|
+
export var ShardFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
+
export var StreamDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
94
|
+
export var DescribeStreamOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
95
|
+
export var GetRecordsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
96
|
+
export var IdentityFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
+
export var GetShardIteratorInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
98
|
+
export var GetShardIteratorOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
|
+
export var ListStreamsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
100
|
+
export var _StreamFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
|
+
export var ListStreamsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
+
export var AttributeValueFilterSensitiveLog = function (obj) {
|
|
103
|
+
var _a;
|
|
104
|
+
if (obj.S !== undefined)
|
|
105
|
+
return { S: obj.S };
|
|
106
|
+
if (obj.N !== undefined)
|
|
107
|
+
return { N: obj.N };
|
|
108
|
+
if (obj.B !== undefined)
|
|
109
|
+
return { B: obj.B };
|
|
110
|
+
if (obj.SS !== undefined)
|
|
111
|
+
return { SS: obj.SS };
|
|
112
|
+
if (obj.NS !== undefined)
|
|
113
|
+
return { NS: obj.NS };
|
|
114
|
+
if (obj.BS !== undefined)
|
|
115
|
+
return { BS: obj.BS };
|
|
116
|
+
if (obj.M !== undefined)
|
|
117
|
+
return {
|
|
118
|
+
M: Object.entries(obj.M).reduce(function (acc, _a) {
|
|
119
|
+
var _b;
|
|
120
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
121
|
+
return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
|
|
122
|
+
}, {}),
|
|
123
|
+
};
|
|
124
|
+
if (obj.L !== undefined)
|
|
125
|
+
return { L: obj.L.map(function (item) { return AttributeValueFilterSensitiveLog(item); }) };
|
|
126
|
+
if (obj.NULL !== undefined)
|
|
127
|
+
return { NULL: obj.NULL };
|
|
128
|
+
if (obj.BOOL !== undefined)
|
|
129
|
+
return { BOOL: obj.BOOL };
|
|
130
|
+
if (obj.$unknown !== undefined)
|
|
131
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
132
|
+
};
|
|
133
|
+
export var StreamRecordFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.Keys && {
|
|
134
|
+
Keys: Object.entries(obj.Keys).reduce(function (acc, _a) {
|
|
135
|
+
var _b;
|
|
136
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
137
|
+
return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
|
|
138
|
+
}, {}),
|
|
139
|
+
})), (obj.NewImage && {
|
|
140
|
+
NewImage: Object.entries(obj.NewImage).reduce(function (acc, _a) {
|
|
141
|
+
var _b;
|
|
142
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
143
|
+
return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
|
|
144
|
+
}, {}),
|
|
145
|
+
})), (obj.OldImage && {
|
|
146
|
+
OldImage: Object.entries(obj.OldImage).reduce(function (acc, _a) {
|
|
147
|
+
var _b;
|
|
148
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
149
|
+
return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
|
|
150
|
+
}, {}),
|
|
151
|
+
}))); };
|
|
152
|
+
export var _RecordFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.dynamodb && { dynamodb: StreamRecordFilterSensitiveLog(obj.dynamodb) }))); };
|
|
153
|
+
export var GetRecordsOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Records && { Records: obj.Records.map(function (item) { return _RecordFilterSensitiveLog(item); }) }))); };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { DynamoDBStreamsServiceException as __BaseException } from "../models/DynamoDBStreamsServiceException";
|
|
5
5
|
import { ExpiredIteratorException, InternalServerError, LimitExceededException, ResourceNotFoundException, TrimmedDataAccessException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_0DescribeStreamCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -66,7 +66,7 @@ export var deserializeAws_json1_0DescribeStreamCommand = function (output, conte
|
|
|
66
66
|
});
|
|
67
67
|
}); };
|
|
68
68
|
var deserializeAws_json1_0DescribeStreamCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var parsedOutput, _a,
|
|
69
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
70
70
|
var _c;
|
|
71
71
|
return __generator(this, function (_d) {
|
|
72
72
|
switch (_d.label) {
|
|
@@ -91,14 +91,14 @@ var deserializeAws_json1_0DescribeStreamCommandError = function (output, context
|
|
|
91
91
|
case 5: throw _d.sent();
|
|
92
92
|
case 6:
|
|
93
93
|
parsedBody = parsedOutput.body;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
$metadata: $metadata,
|
|
94
|
+
throwDefaultError({
|
|
95
|
+
output: output,
|
|
96
|
+
parsedBody: parsedBody,
|
|
97
|
+
exceptionCtor: __BaseException,
|
|
98
|
+
errorCode: errorCode,
|
|
100
99
|
});
|
|
101
|
-
|
|
100
|
+
_d.label = 7;
|
|
101
|
+
case 7: return [2];
|
|
102
102
|
}
|
|
103
103
|
});
|
|
104
104
|
}); };
|
|
@@ -121,7 +121,7 @@ export var deserializeAws_json1_0GetRecordsCommand = function (output, context)
|
|
|
121
121
|
});
|
|
122
122
|
}); };
|
|
123
123
|
var deserializeAws_json1_0GetRecordsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
124
|
-
var parsedOutput, _a,
|
|
124
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
125
125
|
var _c;
|
|
126
126
|
return __generator(this, function (_d) {
|
|
127
127
|
switch (_d.label) {
|
|
@@ -158,14 +158,14 @@ var deserializeAws_json1_0GetRecordsCommandError = function (output, context) {
|
|
|
158
158
|
case 11: throw _d.sent();
|
|
159
159
|
case 12:
|
|
160
160
|
parsedBody = parsedOutput.body;
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
$metadata: $metadata,
|
|
161
|
+
throwDefaultError({
|
|
162
|
+
output: output,
|
|
163
|
+
parsedBody: parsedBody,
|
|
164
|
+
exceptionCtor: __BaseException,
|
|
165
|
+
errorCode: errorCode,
|
|
167
166
|
});
|
|
168
|
-
|
|
167
|
+
_d.label = 13;
|
|
168
|
+
case 13: return [2];
|
|
169
169
|
}
|
|
170
170
|
});
|
|
171
171
|
}); };
|
|
@@ -188,7 +188,7 @@ export var deserializeAws_json1_0GetShardIteratorCommand = function (output, con
|
|
|
188
188
|
});
|
|
189
189
|
}); };
|
|
190
190
|
var deserializeAws_json1_0GetShardIteratorCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
191
|
-
var parsedOutput, _a,
|
|
191
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
192
192
|
var _c;
|
|
193
193
|
return __generator(this, function (_d) {
|
|
194
194
|
switch (_d.label) {
|
|
@@ -217,14 +217,14 @@ var deserializeAws_json1_0GetShardIteratorCommandError = function (output, conte
|
|
|
217
217
|
case 7: throw _d.sent();
|
|
218
218
|
case 8:
|
|
219
219
|
parsedBody = parsedOutput.body;
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
$metadata: $metadata,
|
|
220
|
+
throwDefaultError({
|
|
221
|
+
output: output,
|
|
222
|
+
parsedBody: parsedBody,
|
|
223
|
+
exceptionCtor: __BaseException,
|
|
224
|
+
errorCode: errorCode,
|
|
226
225
|
});
|
|
227
|
-
|
|
226
|
+
_d.label = 9;
|
|
227
|
+
case 9: return [2];
|
|
228
228
|
}
|
|
229
229
|
});
|
|
230
230
|
}); };
|
|
@@ -247,7 +247,7 @@ export var deserializeAws_json1_0ListStreamsCommand = function (output, context)
|
|
|
247
247
|
});
|
|
248
248
|
}); };
|
|
249
249
|
var deserializeAws_json1_0ListStreamsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
250
|
-
var parsedOutput, _a,
|
|
250
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
251
251
|
var _c;
|
|
252
252
|
return __generator(this, function (_d) {
|
|
253
253
|
switch (_d.label) {
|
|
@@ -272,14 +272,14 @@ var deserializeAws_json1_0ListStreamsCommandError = function (output, context) {
|
|
|
272
272
|
case 5: throw _d.sent();
|
|
273
273
|
case 6:
|
|
274
274
|
parsedBody = parsedOutput.body;
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
$metadata: $metadata,
|
|
275
|
+
throwDefaultError({
|
|
276
|
+
output: output,
|
|
277
|
+
parsedBody: parsedBody,
|
|
278
|
+
exceptionCtor: __BaseException,
|
|
279
|
+
errorCode: errorCode,
|
|
281
280
|
});
|
|
282
|
-
|
|
281
|
+
_d.label = 7;
|
|
282
|
+
case 7: return [2];
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
}); };
|
|
@@ -351,7 +351,7 @@ var deserializeAws_json1_0AttributeMap = function (output, context) {
|
|
|
351
351
|
}, {});
|
|
352
352
|
};
|
|
353
353
|
var deserializeAws_json1_0AttributeValue = function (output, context) {
|
|
354
|
-
if (output.B
|
|
354
|
+
if (output.B != null) {
|
|
355
355
|
return {
|
|
356
356
|
B: context.base64Decoder(output.B),
|
|
357
357
|
};
|
|
@@ -359,17 +359,17 @@ var deserializeAws_json1_0AttributeValue = function (output, context) {
|
|
|
359
359
|
if (__expectBoolean(output.BOOL) !== undefined) {
|
|
360
360
|
return { BOOL: __expectBoolean(output.BOOL) };
|
|
361
361
|
}
|
|
362
|
-
if (output.BS
|
|
362
|
+
if (output.BS != null) {
|
|
363
363
|
return {
|
|
364
364
|
BS: deserializeAws_json1_0BinarySetAttributeValue(output.BS, context),
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
|
-
if (output.L
|
|
367
|
+
if (output.L != null) {
|
|
368
368
|
return {
|
|
369
369
|
L: deserializeAws_json1_0ListAttributeValue(output.L, context),
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
|
-
if (output.M
|
|
372
|
+
if (output.M != null) {
|
|
373
373
|
return {
|
|
374
374
|
M: deserializeAws_json1_0MapAttributeValue(output.M, context),
|
|
375
375
|
};
|
|
@@ -377,7 +377,7 @@ var deserializeAws_json1_0AttributeValue = function (output, context) {
|
|
|
377
377
|
if (__expectString(output.N) !== undefined) {
|
|
378
378
|
return { N: __expectString(output.N) };
|
|
379
379
|
}
|
|
380
|
-
if (output.NS
|
|
380
|
+
if (output.NS != null) {
|
|
381
381
|
return {
|
|
382
382
|
NS: deserializeAws_json1_0NumberSetAttributeValue(output.NS, context),
|
|
383
383
|
};
|
|
@@ -388,7 +388,7 @@ var deserializeAws_json1_0AttributeValue = function (output, context) {
|
|
|
388
388
|
if (__expectString(output.S) !== undefined) {
|
|
389
389
|
return { S: __expectString(output.S) };
|
|
390
390
|
}
|
|
391
|
-
if (output.SS
|
|
391
|
+
if (output.SS != null) {
|
|
392
392
|
return {
|
|
393
393
|
SS: deserializeAws_json1_0StringSetAttributeValue(output.SS, context),
|
|
394
394
|
};
|
|
@@ -18,12 +18,6 @@ export interface DescribeStreamInput {
|
|
|
18
18
|
*/
|
|
19
19
|
ExclusiveStartShardId?: string;
|
|
20
20
|
}
|
|
21
|
-
export declare namespace DescribeStreamInput {
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
*/
|
|
25
|
-
const filterSensitiveLog: (obj: DescribeStreamInput) => any;
|
|
26
|
-
}
|
|
27
21
|
export declare type KeyType = "HASH" | "RANGE";
|
|
28
22
|
/**
|
|
29
23
|
* <p>Represents <i>a single element</i> of a key schema. A key schema specifies
|
|
@@ -68,12 +62,6 @@ export interface KeySchemaElement {
|
|
|
68
62
|
*/
|
|
69
63
|
KeyType: KeyType | string | undefined;
|
|
70
64
|
}
|
|
71
|
-
export declare namespace KeySchemaElement {
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
const filterSensitiveLog: (obj: KeySchemaElement) => any;
|
|
76
|
-
}
|
|
77
65
|
/**
|
|
78
66
|
* <p>The beginning and ending sequence numbers for the stream records contained within a shard.</p>
|
|
79
67
|
*/
|
|
@@ -87,12 +75,6 @@ export interface SequenceNumberRange {
|
|
|
87
75
|
*/
|
|
88
76
|
EndingSequenceNumber?: string;
|
|
89
77
|
}
|
|
90
|
-
export declare namespace SequenceNumberRange {
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
const filterSensitiveLog: (obj: SequenceNumberRange) => any;
|
|
95
|
-
}
|
|
96
78
|
/**
|
|
97
79
|
* <p>A uniquely identified group of stream records within a stream.</p>
|
|
98
80
|
*/
|
|
@@ -110,12 +92,6 @@ export interface Shard {
|
|
|
110
92
|
*/
|
|
111
93
|
ParentShardId?: string;
|
|
112
94
|
}
|
|
113
|
-
export declare namespace Shard {
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
|
-
const filterSensitiveLog: (obj: Shard) => any;
|
|
118
|
-
}
|
|
119
95
|
export declare type StreamStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING";
|
|
120
96
|
export declare type StreamViewType = "KEYS_ONLY" | "NEW_AND_OLD_IMAGES" | "NEW_IMAGE" | "OLD_IMAGE";
|
|
121
97
|
/**
|
|
@@ -215,12 +191,6 @@ export interface StreamDescription {
|
|
|
215
191
|
*/
|
|
216
192
|
LastEvaluatedShardId?: string;
|
|
217
193
|
}
|
|
218
|
-
export declare namespace StreamDescription {
|
|
219
|
-
/**
|
|
220
|
-
* @internal
|
|
221
|
-
*/
|
|
222
|
-
const filterSensitiveLog: (obj: StreamDescription) => any;
|
|
223
|
-
}
|
|
224
194
|
/**
|
|
225
195
|
* <p>Represents the output of a <code>DescribeStream</code> operation.</p>
|
|
226
196
|
*/
|
|
@@ -230,12 +200,6 @@ export interface DescribeStreamOutput {
|
|
|
230
200
|
*/
|
|
231
201
|
StreamDescription?: StreamDescription;
|
|
232
202
|
}
|
|
233
|
-
export declare namespace DescribeStreamOutput {
|
|
234
|
-
/**
|
|
235
|
-
* @internal
|
|
236
|
-
*/
|
|
237
|
-
const filterSensitiveLog: (obj: DescribeStreamOutput) => any;
|
|
238
|
-
}
|
|
239
203
|
/**
|
|
240
204
|
* <p>An error occurred on the server side.</p>
|
|
241
205
|
*/
|
|
@@ -286,12 +250,6 @@ export interface GetRecordsInput {
|
|
|
286
250
|
*/
|
|
287
251
|
Limit?: number;
|
|
288
252
|
}
|
|
289
|
-
export declare namespace GetRecordsInput {
|
|
290
|
-
/**
|
|
291
|
-
* @internal
|
|
292
|
-
*/
|
|
293
|
-
const filterSensitiveLog: (obj: GetRecordsInput) => any;
|
|
294
|
-
}
|
|
295
253
|
export declare type OperationType = "INSERT" | "MODIFY" | "REMOVE";
|
|
296
254
|
/**
|
|
297
255
|
* <p>Contains details about the type of identity that made the request.</p>
|
|
@@ -307,12 +265,6 @@ export interface Identity {
|
|
|
307
265
|
*/
|
|
308
266
|
Type?: string;
|
|
309
267
|
}
|
|
310
|
-
export declare namespace Identity {
|
|
311
|
-
/**
|
|
312
|
-
* @internal
|
|
313
|
-
*/
|
|
314
|
-
const filterSensitiveLog: (obj: Identity) => any;
|
|
315
|
-
}
|
|
316
268
|
/**
|
|
317
269
|
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
318
270
|
* <p>Up to 500 simultaneous table operations are allowed per account. These operations
|
|
@@ -401,12 +353,6 @@ export interface GetShardIteratorInput {
|
|
|
401
353
|
*/
|
|
402
354
|
SequenceNumber?: string;
|
|
403
355
|
}
|
|
404
|
-
export declare namespace GetShardIteratorInput {
|
|
405
|
-
/**
|
|
406
|
-
* @internal
|
|
407
|
-
*/
|
|
408
|
-
const filterSensitiveLog: (obj: GetShardIteratorInput) => any;
|
|
409
|
-
}
|
|
410
356
|
/**
|
|
411
357
|
* <p>Represents the output of a <code>GetShardIterator</code> operation.</p>
|
|
412
358
|
*/
|
|
@@ -416,12 +362,6 @@ export interface GetShardIteratorOutput {
|
|
|
416
362
|
*/
|
|
417
363
|
ShardIterator?: string;
|
|
418
364
|
}
|
|
419
|
-
export declare namespace GetShardIteratorOutput {
|
|
420
|
-
/**
|
|
421
|
-
* @internal
|
|
422
|
-
*/
|
|
423
|
-
const filterSensitiveLog: (obj: GetShardIteratorOutput) => any;
|
|
424
|
-
}
|
|
425
365
|
/**
|
|
426
366
|
* <p>Represents the input of a <code>ListStreams</code> operation.</p>
|
|
427
367
|
*/
|
|
@@ -441,12 +381,6 @@ export interface ListStreamsInput {
|
|
|
441
381
|
*/
|
|
442
382
|
ExclusiveStartStreamArn?: string;
|
|
443
383
|
}
|
|
444
|
-
export declare namespace ListStreamsInput {
|
|
445
|
-
/**
|
|
446
|
-
* @internal
|
|
447
|
-
*/
|
|
448
|
-
const filterSensitiveLog: (obj: ListStreamsInput) => any;
|
|
449
|
-
}
|
|
450
384
|
/**
|
|
451
385
|
* <p>Represents all of the data describing a particular stream.</p>
|
|
452
386
|
*/
|
|
@@ -479,12 +413,6 @@ export interface _Stream {
|
|
|
479
413
|
*/
|
|
480
414
|
StreamLabel?: string;
|
|
481
415
|
}
|
|
482
|
-
export declare namespace _Stream {
|
|
483
|
-
/**
|
|
484
|
-
* @internal
|
|
485
|
-
*/
|
|
486
|
-
const filterSensitiveLog: (obj: _Stream) => any;
|
|
487
|
-
}
|
|
488
416
|
/**
|
|
489
417
|
* <p>Represents the output of a <code>ListStreams</code> operation.</p>
|
|
490
418
|
*/
|
|
@@ -503,12 +431,6 @@ export interface ListStreamsOutput {
|
|
|
503
431
|
*/
|
|
504
432
|
LastEvaluatedStreamArn?: string;
|
|
505
433
|
}
|
|
506
|
-
export declare namespace ListStreamsOutput {
|
|
507
|
-
/**
|
|
508
|
-
* @internal
|
|
509
|
-
*/
|
|
510
|
-
const filterSensitiveLog: (obj: ListStreamsOutput) => any;
|
|
511
|
-
}
|
|
512
434
|
/**
|
|
513
435
|
* <p>Represents the data for an attribute.</p>
|
|
514
436
|
* <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p>
|
|
@@ -736,10 +658,6 @@ export declare namespace AttributeValue {
|
|
|
736
658
|
_: (name: string, value: any) => T;
|
|
737
659
|
}
|
|
738
660
|
const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
|
|
739
|
-
/**
|
|
740
|
-
* @internal
|
|
741
|
-
*/
|
|
742
|
-
const filterSensitiveLog: (obj: AttributeValue) => any;
|
|
743
661
|
}
|
|
744
662
|
/**
|
|
745
663
|
* <p>A description of a single data modification that was performed on an item in a DynamoDB table.</p>
|
|
@@ -792,12 +710,6 @@ export interface StreamRecord {
|
|
|
792
710
|
*/
|
|
793
711
|
StreamViewType?: StreamViewType | string;
|
|
794
712
|
}
|
|
795
|
-
export declare namespace StreamRecord {
|
|
796
|
-
/**
|
|
797
|
-
* @internal
|
|
798
|
-
*/
|
|
799
|
-
const filterSensitiveLog: (obj: StreamRecord) => any;
|
|
800
|
-
}
|
|
801
713
|
/**
|
|
802
714
|
* <p>A description of a unique event within a stream.</p>
|
|
803
715
|
*/
|
|
@@ -858,12 +770,6 @@ export interface _Record {
|
|
|
858
770
|
*/
|
|
859
771
|
userIdentity?: Identity;
|
|
860
772
|
}
|
|
861
|
-
export declare namespace _Record {
|
|
862
|
-
/**
|
|
863
|
-
* @internal
|
|
864
|
-
*/
|
|
865
|
-
const filterSensitiveLog: (obj: _Record) => any;
|
|
866
|
-
}
|
|
867
773
|
/**
|
|
868
774
|
* <p>Represents the output of a <code>GetRecords</code> operation.</p>
|
|
869
775
|
*/
|
|
@@ -879,9 +785,71 @@ export interface GetRecordsOutput {
|
|
|
879
785
|
*/
|
|
880
786
|
NextShardIterator?: string;
|
|
881
787
|
}
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
788
|
+
/**
|
|
789
|
+
* @internal
|
|
790
|
+
*/
|
|
791
|
+
export declare const DescribeStreamInputFilterSensitiveLog: (obj: DescribeStreamInput) => any;
|
|
792
|
+
/**
|
|
793
|
+
* @internal
|
|
794
|
+
*/
|
|
795
|
+
export declare const KeySchemaElementFilterSensitiveLog: (obj: KeySchemaElement) => any;
|
|
796
|
+
/**
|
|
797
|
+
* @internal
|
|
798
|
+
*/
|
|
799
|
+
export declare const SequenceNumberRangeFilterSensitiveLog: (obj: SequenceNumberRange) => any;
|
|
800
|
+
/**
|
|
801
|
+
* @internal
|
|
802
|
+
*/
|
|
803
|
+
export declare const ShardFilterSensitiveLog: (obj: Shard) => any;
|
|
804
|
+
/**
|
|
805
|
+
* @internal
|
|
806
|
+
*/
|
|
807
|
+
export declare const StreamDescriptionFilterSensitiveLog: (obj: StreamDescription) => any;
|
|
808
|
+
/**
|
|
809
|
+
* @internal
|
|
810
|
+
*/
|
|
811
|
+
export declare const DescribeStreamOutputFilterSensitiveLog: (obj: DescribeStreamOutput) => any;
|
|
812
|
+
/**
|
|
813
|
+
* @internal
|
|
814
|
+
*/
|
|
815
|
+
export declare const GetRecordsInputFilterSensitiveLog: (obj: GetRecordsInput) => any;
|
|
816
|
+
/**
|
|
817
|
+
* @internal
|
|
818
|
+
*/
|
|
819
|
+
export declare const IdentityFilterSensitiveLog: (obj: Identity) => any;
|
|
820
|
+
/**
|
|
821
|
+
* @internal
|
|
822
|
+
*/
|
|
823
|
+
export declare const GetShardIteratorInputFilterSensitiveLog: (obj: GetShardIteratorInput) => any;
|
|
824
|
+
/**
|
|
825
|
+
* @internal
|
|
826
|
+
*/
|
|
827
|
+
export declare const GetShardIteratorOutputFilterSensitiveLog: (obj: GetShardIteratorOutput) => any;
|
|
828
|
+
/**
|
|
829
|
+
* @internal
|
|
830
|
+
*/
|
|
831
|
+
export declare const ListStreamsInputFilterSensitiveLog: (obj: ListStreamsInput) => any;
|
|
832
|
+
/**
|
|
833
|
+
* @internal
|
|
834
|
+
*/
|
|
835
|
+
export declare const _StreamFilterSensitiveLog: (obj: _Stream) => any;
|
|
836
|
+
/**
|
|
837
|
+
* @internal
|
|
838
|
+
*/
|
|
839
|
+
export declare const ListStreamsOutputFilterSensitiveLog: (obj: ListStreamsOutput) => any;
|
|
840
|
+
/**
|
|
841
|
+
* @internal
|
|
842
|
+
*/
|
|
843
|
+
export declare const AttributeValueFilterSensitiveLog: (obj: AttributeValue) => any;
|
|
844
|
+
/**
|
|
845
|
+
* @internal
|
|
846
|
+
*/
|
|
847
|
+
export declare const StreamRecordFilterSensitiveLog: (obj: StreamRecord) => any;
|
|
848
|
+
/**
|
|
849
|
+
* @internal
|
|
850
|
+
*/
|
|
851
|
+
export declare const _RecordFilterSensitiveLog: (obj: _Record) => any;
|
|
852
|
+
/**
|
|
853
|
+
* @internal
|
|
854
|
+
*/
|
|
855
|
+
export declare const GetRecordsOutputFilterSensitiveLog: (obj: GetRecordsOutput) => any;
|