@aws-sdk/client-dynamodb-streams 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_json1_0.js +2 -2
- package/dist-es/DynamoDBStreams.js +25 -18
- package/dist-es/DynamoDBStreamsClient.js +28 -22
- package/dist-es/commands/DescribeStreamCommand.js +28 -21
- package/dist-es/commands/GetRecordsCommand.js +28 -21
- package/dist-es/commands/GetShardIteratorCommand.js +28 -21
- package/dist-es/commands/ListStreamsCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DynamoDBStreamsServiceException.js +10 -5
- package/dist-es/models/models_0.js +100 -131
- package/dist-es/protocols/Aws_json1_0.js +453 -359
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
|
@@ -1,67 +1,68 @@
|
|
|
1
|
+
import { __assign, __extends, __read } from "tslib";
|
|
1
2
|
import { DynamoDBStreamsServiceException as __BaseException } from "./DynamoDBStreamsServiceException";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
this.$fault = "server";
|
|
11
|
-
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
3
|
+
var InternalServerError = (function (_super) {
|
|
4
|
+
__extends(InternalServerError, _super);
|
|
5
|
+
function InternalServerError(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "InternalServerError", $fault: "server" }, opts)) || this;
|
|
7
|
+
_this.name = "InternalServerError";
|
|
8
|
+
_this.$fault = "server";
|
|
9
|
+
Object.setPrototypeOf(_this, InternalServerError.prototype);
|
|
10
|
+
return _this;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
return InternalServerError;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { InternalServerError };
|
|
15
|
+
var ResourceNotFoundException = (function (_super) {
|
|
16
|
+
__extends(ResourceNotFoundException, _super);
|
|
17
|
+
function ResourceNotFoundException(opts) {
|
|
18
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
19
|
+
_this.name = "ResourceNotFoundException";
|
|
20
|
+
_this.$fault = "client";
|
|
21
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
22
|
+
return _this;
|
|
24
23
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
24
|
+
return ResourceNotFoundException;
|
|
25
|
+
}(__BaseException));
|
|
26
|
+
export { ResourceNotFoundException };
|
|
27
|
+
var ExpiredIteratorException = (function (_super) {
|
|
28
|
+
__extends(ExpiredIteratorException, _super);
|
|
29
|
+
function ExpiredIteratorException(opts) {
|
|
30
|
+
var _this = _super.call(this, __assign({ name: "ExpiredIteratorException", $fault: "client" }, opts)) || this;
|
|
31
|
+
_this.name = "ExpiredIteratorException";
|
|
32
|
+
_this.$fault = "client";
|
|
33
|
+
Object.setPrototypeOf(_this, ExpiredIteratorException.prototype);
|
|
34
|
+
return _this;
|
|
36
35
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
36
|
+
return ExpiredIteratorException;
|
|
37
|
+
}(__BaseException));
|
|
38
|
+
export { ExpiredIteratorException };
|
|
39
|
+
var LimitExceededException = (function (_super) {
|
|
40
|
+
__extends(LimitExceededException, _super);
|
|
41
|
+
function LimitExceededException(opts) {
|
|
42
|
+
var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
|
|
43
|
+
_this.name = "LimitExceededException";
|
|
44
|
+
_this.$fault = "client";
|
|
45
|
+
Object.setPrototypeOf(_this, LimitExceededException.prototype);
|
|
46
|
+
return _this;
|
|
48
47
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
48
|
+
return LimitExceededException;
|
|
49
|
+
}(__BaseException));
|
|
50
|
+
export { LimitExceededException };
|
|
51
|
+
var TrimmedDataAccessException = (function (_super) {
|
|
52
|
+
__extends(TrimmedDataAccessException, _super);
|
|
53
|
+
function TrimmedDataAccessException(opts) {
|
|
54
|
+
var _this = _super.call(this, __assign({ name: "TrimmedDataAccessException", $fault: "client" }, opts)) || this;
|
|
55
|
+
_this.name = "TrimmedDataAccessException";
|
|
56
|
+
_this.$fault = "client";
|
|
57
|
+
Object.setPrototypeOf(_this, TrimmedDataAccessException.prototype);
|
|
58
|
+
return _this;
|
|
60
59
|
}
|
|
61
|
-
|
|
60
|
+
return TrimmedDataAccessException;
|
|
61
|
+
}(__BaseException));
|
|
62
|
+
export { TrimmedDataAccessException };
|
|
62
63
|
export var AttributeValue;
|
|
63
64
|
(function (AttributeValue) {
|
|
64
|
-
AttributeValue.visit = (value, visitor)
|
|
65
|
+
AttributeValue.visit = function (value, visitor) {
|
|
65
66
|
if (value.S !== undefined)
|
|
66
67
|
return visitor.S(value.S);
|
|
67
68
|
if (value.N !== undefined)
|
|
@@ -85,46 +86,21 @@ export var AttributeValue;
|
|
|
85
86
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
86
87
|
};
|
|
87
88
|
})(AttributeValue || (AttributeValue = {}));
|
|
88
|
-
export
|
|
89
|
-
|
|
90
|
-
});
|
|
91
|
-
export
|
|
92
|
-
|
|
93
|
-
});
|
|
94
|
-
export
|
|
95
|
-
|
|
96
|
-
});
|
|
97
|
-
export
|
|
98
|
-
|
|
99
|
-
});
|
|
100
|
-
export
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
export const DescribeStreamOutputFilterSensitiveLog = (obj) => ({
|
|
104
|
-
...obj,
|
|
105
|
-
});
|
|
106
|
-
export const GetRecordsInputFilterSensitiveLog = (obj) => ({
|
|
107
|
-
...obj,
|
|
108
|
-
});
|
|
109
|
-
export const IdentityFilterSensitiveLog = (obj) => ({
|
|
110
|
-
...obj,
|
|
111
|
-
});
|
|
112
|
-
export const GetShardIteratorInputFilterSensitiveLog = (obj) => ({
|
|
113
|
-
...obj,
|
|
114
|
-
});
|
|
115
|
-
export const GetShardIteratorOutputFilterSensitiveLog = (obj) => ({
|
|
116
|
-
...obj,
|
|
117
|
-
});
|
|
118
|
-
export const ListStreamsInputFilterSensitiveLog = (obj) => ({
|
|
119
|
-
...obj,
|
|
120
|
-
});
|
|
121
|
-
export const _StreamFilterSensitiveLog = (obj) => ({
|
|
122
|
-
...obj,
|
|
123
|
-
});
|
|
124
|
-
export const ListStreamsOutputFilterSensitiveLog = (obj) => ({
|
|
125
|
-
...obj,
|
|
126
|
-
});
|
|
127
|
-
export const AttributeValueFilterSensitiveLog = (obj) => {
|
|
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;
|
|
128
104
|
if (obj.S !== undefined)
|
|
129
105
|
return { S: obj.S };
|
|
130
106
|
if (obj.N !== undefined)
|
|
@@ -139,46 +115,39 @@ export const AttributeValueFilterSensitiveLog = (obj) => {
|
|
|
139
115
|
return { BS: obj.BS };
|
|
140
116
|
if (obj.M !== undefined)
|
|
141
117
|
return {
|
|
142
|
-
M: Object.entries(obj.M).reduce((acc,
|
|
143
|
-
|
|
144
|
-
[
|
|
145
|
-
|
|
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
|
+
}, {}),
|
|
146
123
|
};
|
|
147
124
|
if (obj.L !== undefined)
|
|
148
|
-
return { L: obj.L.map((item)
|
|
125
|
+
return { L: obj.L.map(function (item) { return AttributeValueFilterSensitiveLog(item); }) };
|
|
149
126
|
if (obj.NULL !== undefined)
|
|
150
127
|
return { NULL: obj.NULL };
|
|
151
128
|
if (obj.BOOL !== undefined)
|
|
152
129
|
return { BOOL: obj.BOOL };
|
|
153
130
|
if (obj.$unknown !== undefined)
|
|
154
|
-
return { [obj.$unknown[0]]
|
|
131
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
155
132
|
};
|
|
156
|
-
export
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
});
|
|
177
|
-
export const _RecordFilterSensitiveLog = (obj) => ({
|
|
178
|
-
...obj,
|
|
179
|
-
...(obj.dynamodb && { dynamodb: StreamRecordFilterSensitiveLog(obj.dynamodb) }),
|
|
180
|
-
});
|
|
181
|
-
export const GetRecordsOutputFilterSensitiveLog = (obj) => ({
|
|
182
|
-
...obj,
|
|
183
|
-
...(obj.Records && { Records: obj.Records.map((item) => _RecordFilterSensitiveLog(item)) }),
|
|
184
|
-
});
|
|
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); }) }))); };
|