@aws-sdk/client-dynamodb-streams 3.131.0 → 3.137.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 CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
7
+
8
+
9
+ ### Features
10
+
11
+ * **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-dynamodb-streams
@@ -20,8 +20,8 @@ class DescribeStreamCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeStreamInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeStreamOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeStreamInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeStreamOutputFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class GetRecordsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.GetRecordsInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.GetRecordsOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.GetRecordsInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetRecordsOutputFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class GetShardIteratorCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.GetShardIteratorInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.GetShardIteratorOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.GetShardIteratorInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetShardIteratorOutputFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class ListStreamsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListStreamsInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListStreamsOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.ListStreamsInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListStreamsOutputFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,43 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetRecordsOutput = exports._Record = exports.StreamRecord = exports.AttributeValue = exports.ListStreamsOutput = exports._Stream = exports.ListStreamsInput = exports.GetShardIteratorOutput = exports.GetShardIteratorInput = exports.TrimmedDataAccessException = exports.LimitExceededException = exports.Identity = exports.GetRecordsInput = exports.ExpiredIteratorException = exports.ResourceNotFoundException = exports.InternalServerError = exports.DescribeStreamOutput = exports.StreamDescription = exports.Shard = exports.SequenceNumberRange = exports.KeySchemaElement = exports.DescribeStreamInput = void 0;
3
+ exports.GetRecordsOutputFilterSensitiveLog = exports._RecordFilterSensitiveLog = exports.StreamRecordFilterSensitiveLog = exports.AttributeValueFilterSensitiveLog = exports.ListStreamsOutputFilterSensitiveLog = exports._StreamFilterSensitiveLog = exports.ListStreamsInputFilterSensitiveLog = exports.GetShardIteratorOutputFilterSensitiveLog = exports.GetShardIteratorInputFilterSensitiveLog = exports.IdentityFilterSensitiveLog = exports.GetRecordsInputFilterSensitiveLog = exports.DescribeStreamOutputFilterSensitiveLog = exports.StreamDescriptionFilterSensitiveLog = exports.ShardFilterSensitiveLog = exports.SequenceNumberRangeFilterSensitiveLog = exports.KeySchemaElementFilterSensitiveLog = exports.DescribeStreamInputFilterSensitiveLog = exports.AttributeValue = exports.TrimmedDataAccessException = exports.LimitExceededException = exports.ExpiredIteratorException = exports.ResourceNotFoundException = exports.InternalServerError = void 0;
4
4
  const DynamoDBStreamsServiceException_1 = require("./DynamoDBStreamsServiceException");
5
- var DescribeStreamInput;
6
- (function (DescribeStreamInput) {
7
- DescribeStreamInput.filterSensitiveLog = (obj) => ({
8
- ...obj,
9
- });
10
- })(DescribeStreamInput = exports.DescribeStreamInput || (exports.DescribeStreamInput = {}));
11
- var KeySchemaElement;
12
- (function (KeySchemaElement) {
13
- KeySchemaElement.filterSensitiveLog = (obj) => ({
14
- ...obj,
15
- });
16
- })(KeySchemaElement = exports.KeySchemaElement || (exports.KeySchemaElement = {}));
17
- var SequenceNumberRange;
18
- (function (SequenceNumberRange) {
19
- SequenceNumberRange.filterSensitiveLog = (obj) => ({
20
- ...obj,
21
- });
22
- })(SequenceNumberRange = exports.SequenceNumberRange || (exports.SequenceNumberRange = {}));
23
- var Shard;
24
- (function (Shard) {
25
- Shard.filterSensitiveLog = (obj) => ({
26
- ...obj,
27
- });
28
- })(Shard = exports.Shard || (exports.Shard = {}));
29
- var StreamDescription;
30
- (function (StreamDescription) {
31
- StreamDescription.filterSensitiveLog = (obj) => ({
32
- ...obj,
33
- });
34
- })(StreamDescription = exports.StreamDescription || (exports.StreamDescription = {}));
35
- var DescribeStreamOutput;
36
- (function (DescribeStreamOutput) {
37
- DescribeStreamOutput.filterSensitiveLog = (obj) => ({
38
- ...obj,
39
- });
40
- })(DescribeStreamOutput = exports.DescribeStreamOutput || (exports.DescribeStreamOutput = {}));
41
5
  class InternalServerError extends DynamoDBStreamsServiceException_1.DynamoDBStreamsServiceException {
42
6
  constructor(opts) {
43
7
  super({
@@ -77,18 +41,6 @@ class ExpiredIteratorException extends DynamoDBStreamsServiceException_1.DynamoD
77
41
  }
78
42
  }
79
43
  exports.ExpiredIteratorException = ExpiredIteratorException;
80
- var GetRecordsInput;
81
- (function (GetRecordsInput) {
82
- GetRecordsInput.filterSensitiveLog = (obj) => ({
83
- ...obj,
84
- });
85
- })(GetRecordsInput = exports.GetRecordsInput || (exports.GetRecordsInput = {}));
86
- var Identity;
87
- (function (Identity) {
88
- Identity.filterSensitiveLog = (obj) => ({
89
- ...obj,
90
- });
91
- })(Identity = exports.Identity || (exports.Identity = {}));
92
44
  class LimitExceededException extends DynamoDBStreamsServiceException_1.DynamoDBStreamsServiceException {
93
45
  constructor(opts) {
94
46
  super({
@@ -115,36 +67,6 @@ class TrimmedDataAccessException extends DynamoDBStreamsServiceException_1.Dynam
115
67
  }
116
68
  }
117
69
  exports.TrimmedDataAccessException = TrimmedDataAccessException;
118
- var GetShardIteratorInput;
119
- (function (GetShardIteratorInput) {
120
- GetShardIteratorInput.filterSensitiveLog = (obj) => ({
121
- ...obj,
122
- });
123
- })(GetShardIteratorInput = exports.GetShardIteratorInput || (exports.GetShardIteratorInput = {}));
124
- var GetShardIteratorOutput;
125
- (function (GetShardIteratorOutput) {
126
- GetShardIteratorOutput.filterSensitiveLog = (obj) => ({
127
- ...obj,
128
- });
129
- })(GetShardIteratorOutput = exports.GetShardIteratorOutput || (exports.GetShardIteratorOutput = {}));
130
- var ListStreamsInput;
131
- (function (ListStreamsInput) {
132
- ListStreamsInput.filterSensitiveLog = (obj) => ({
133
- ...obj,
134
- });
135
- })(ListStreamsInput = exports.ListStreamsInput || (exports.ListStreamsInput = {}));
136
- var _Stream;
137
- (function (_Stream) {
138
- _Stream.filterSensitiveLog = (obj) => ({
139
- ...obj,
140
- });
141
- })(_Stream = exports._Stream || (exports._Stream = {}));
142
- var ListStreamsOutput;
143
- (function (ListStreamsOutput) {
144
- ListStreamsOutput.filterSensitiveLog = (obj) => ({
145
- ...obj,
146
- });
147
- })(ListStreamsOutput = exports.ListStreamsOutput || (exports.ListStreamsOutput = {}));
148
70
  var AttributeValue;
149
71
  (function (AttributeValue) {
150
72
  AttributeValue.visit = (value, visitor) => {
@@ -170,71 +92,118 @@ var AttributeValue;
170
92
  return visitor.BOOL(value.BOOL);
171
93
  return visitor._(value.$unknown[0], value.$unknown[1]);
172
94
  };
173
- AttributeValue.filterSensitiveLog = (obj) => {
174
- if (obj.S !== undefined)
175
- return { S: obj.S };
176
- if (obj.N !== undefined)
177
- return { N: obj.N };
178
- if (obj.B !== undefined)
179
- return { B: obj.B };
180
- if (obj.SS !== undefined)
181
- return { SS: obj.SS };
182
- if (obj.NS !== undefined)
183
- return { NS: obj.NS };
184
- if (obj.BS !== undefined)
185
- return { BS: obj.BS };
186
- if (obj.M !== undefined)
187
- return {
188
- M: Object.entries(obj.M).reduce((acc, [key, value]) => ({
189
- ...acc,
190
- [key]: AttributeValue.filterSensitiveLog(value),
191
- }), {}),
192
- };
193
- if (obj.L !== undefined)
194
- return { L: obj.L.map((item) => AttributeValue.filterSensitiveLog(item)) };
195
- if (obj.NULL !== undefined)
196
- return { NULL: obj.NULL };
197
- if (obj.BOOL !== undefined)
198
- return { BOOL: obj.BOOL };
199
- if (obj.$unknown !== undefined)
200
- return { [obj.$unknown[0]]: "UNKNOWN" };
201
- };
202
95
  })(AttributeValue = exports.AttributeValue || (exports.AttributeValue = {}));
203
- var StreamRecord;
204
- (function (StreamRecord) {
205
- StreamRecord.filterSensitiveLog = (obj) => ({
206
- ...obj,
207
- ...(obj.Keys && {
208
- Keys: Object.entries(obj.Keys).reduce((acc, [key, value]) => ({
209
- ...acc,
210
- [key]: AttributeValue.filterSensitiveLog(value),
211
- }), {}),
212
- }),
213
- ...(obj.NewImage && {
214
- NewImage: Object.entries(obj.NewImage).reduce((acc, [key, value]) => ({
215
- ...acc,
216
- [key]: AttributeValue.filterSensitiveLog(value),
217
- }), {}),
218
- }),
219
- ...(obj.OldImage && {
220
- OldImage: Object.entries(obj.OldImage).reduce((acc, [key, value]) => ({
96
+ const DescribeStreamInputFilterSensitiveLog = (obj) => ({
97
+ ...obj,
98
+ });
99
+ exports.DescribeStreamInputFilterSensitiveLog = DescribeStreamInputFilterSensitiveLog;
100
+ const KeySchemaElementFilterSensitiveLog = (obj) => ({
101
+ ...obj,
102
+ });
103
+ exports.KeySchemaElementFilterSensitiveLog = KeySchemaElementFilterSensitiveLog;
104
+ const SequenceNumberRangeFilterSensitiveLog = (obj) => ({
105
+ ...obj,
106
+ });
107
+ exports.SequenceNumberRangeFilterSensitiveLog = SequenceNumberRangeFilterSensitiveLog;
108
+ const ShardFilterSensitiveLog = (obj) => ({
109
+ ...obj,
110
+ });
111
+ exports.ShardFilterSensitiveLog = ShardFilterSensitiveLog;
112
+ const StreamDescriptionFilterSensitiveLog = (obj) => ({
113
+ ...obj,
114
+ });
115
+ exports.StreamDescriptionFilterSensitiveLog = StreamDescriptionFilterSensitiveLog;
116
+ const DescribeStreamOutputFilterSensitiveLog = (obj) => ({
117
+ ...obj,
118
+ });
119
+ exports.DescribeStreamOutputFilterSensitiveLog = DescribeStreamOutputFilterSensitiveLog;
120
+ const GetRecordsInputFilterSensitiveLog = (obj) => ({
121
+ ...obj,
122
+ });
123
+ exports.GetRecordsInputFilterSensitiveLog = GetRecordsInputFilterSensitiveLog;
124
+ const IdentityFilterSensitiveLog = (obj) => ({
125
+ ...obj,
126
+ });
127
+ exports.IdentityFilterSensitiveLog = IdentityFilterSensitiveLog;
128
+ const GetShardIteratorInputFilterSensitiveLog = (obj) => ({
129
+ ...obj,
130
+ });
131
+ exports.GetShardIteratorInputFilterSensitiveLog = GetShardIteratorInputFilterSensitiveLog;
132
+ const GetShardIteratorOutputFilterSensitiveLog = (obj) => ({
133
+ ...obj,
134
+ });
135
+ exports.GetShardIteratorOutputFilterSensitiveLog = GetShardIteratorOutputFilterSensitiveLog;
136
+ const ListStreamsInputFilterSensitiveLog = (obj) => ({
137
+ ...obj,
138
+ });
139
+ exports.ListStreamsInputFilterSensitiveLog = ListStreamsInputFilterSensitiveLog;
140
+ const _StreamFilterSensitiveLog = (obj) => ({
141
+ ...obj,
142
+ });
143
+ exports._StreamFilterSensitiveLog = _StreamFilterSensitiveLog;
144
+ const ListStreamsOutputFilterSensitiveLog = (obj) => ({
145
+ ...obj,
146
+ });
147
+ exports.ListStreamsOutputFilterSensitiveLog = ListStreamsOutputFilterSensitiveLog;
148
+ const AttributeValueFilterSensitiveLog = (obj) => {
149
+ if (obj.S !== undefined)
150
+ return { S: obj.S };
151
+ if (obj.N !== undefined)
152
+ return { N: obj.N };
153
+ if (obj.B !== undefined)
154
+ return { B: obj.B };
155
+ if (obj.SS !== undefined)
156
+ return { SS: obj.SS };
157
+ if (obj.NS !== undefined)
158
+ return { NS: obj.NS };
159
+ if (obj.BS !== undefined)
160
+ return { BS: obj.BS };
161
+ if (obj.M !== undefined)
162
+ return {
163
+ M: Object.entries(obj.M).reduce((acc, [key, value]) => ({
221
164
  ...acc,
222
- [key]: AttributeValue.filterSensitiveLog(value),
165
+ [key]: (0, exports.AttributeValueFilterSensitiveLog)(value),
223
166
  }), {}),
224
- }),
225
- });
226
- })(StreamRecord = exports.StreamRecord || (exports.StreamRecord = {}));
227
- var _Record;
228
- (function (_Record) {
229
- _Record.filterSensitiveLog = (obj) => ({
230
- ...obj,
231
- ...(obj.dynamodb && { dynamodb: StreamRecord.filterSensitiveLog(obj.dynamodb) }),
232
- });
233
- })(_Record = exports._Record || (exports._Record = {}));
234
- var GetRecordsOutput;
235
- (function (GetRecordsOutput) {
236
- GetRecordsOutput.filterSensitiveLog = (obj) => ({
237
- ...obj,
238
- ...(obj.Records && { Records: obj.Records.map((item) => _Record.filterSensitiveLog(item)) }),
239
- });
240
- })(GetRecordsOutput = exports.GetRecordsOutput || (exports.GetRecordsOutput = {}));
167
+ };
168
+ if (obj.L !== undefined)
169
+ return { L: obj.L.map((item) => (0, exports.AttributeValueFilterSensitiveLog)(item)) };
170
+ if (obj.NULL !== undefined)
171
+ return { NULL: obj.NULL };
172
+ if (obj.BOOL !== undefined)
173
+ return { BOOL: obj.BOOL };
174
+ if (obj.$unknown !== undefined)
175
+ return { [obj.$unknown[0]]: "UNKNOWN" };
176
+ };
177
+ exports.AttributeValueFilterSensitiveLog = AttributeValueFilterSensitiveLog;
178
+ const StreamRecordFilterSensitiveLog = (obj) => ({
179
+ ...obj,
180
+ ...(obj.Keys && {
181
+ Keys: Object.entries(obj.Keys).reduce((acc, [key, value]) => ({
182
+ ...acc,
183
+ [key]: (0, exports.AttributeValueFilterSensitiveLog)(value),
184
+ }), {}),
185
+ }),
186
+ ...(obj.NewImage && {
187
+ NewImage: Object.entries(obj.NewImage).reduce((acc, [key, value]) => ({
188
+ ...acc,
189
+ [key]: (0, exports.AttributeValueFilterSensitiveLog)(value),
190
+ }), {}),
191
+ }),
192
+ ...(obj.OldImage && {
193
+ OldImage: Object.entries(obj.OldImage).reduce((acc, [key, value]) => ({
194
+ ...acc,
195
+ [key]: (0, exports.AttributeValueFilterSensitiveLog)(value),
196
+ }), {}),
197
+ }),
198
+ });
199
+ exports.StreamRecordFilterSensitiveLog = StreamRecordFilterSensitiveLog;
200
+ const _RecordFilterSensitiveLog = (obj) => ({
201
+ ...obj,
202
+ ...(obj.dynamodb && { dynamodb: (0, exports.StreamRecordFilterSensitiveLog)(obj.dynamodb) }),
203
+ });
204
+ exports._RecordFilterSensitiveLog = _RecordFilterSensitiveLog;
205
+ const GetRecordsOutputFilterSensitiveLog = (obj) => ({
206
+ ...obj,
207
+ ...(obj.Records && { Records: obj.Records.map((item) => (0, exports._RecordFilterSensitiveLog)(item)) }),
208
+ });
209
+ exports.GetRecordsOutputFilterSensitiveLog = GetRecordsOutputFilterSensitiveLog;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeStreamInput, DescribeStreamOutput } from "../models/models_0";
4
+ import { DescribeStreamInputFilterSensitiveLog, DescribeStreamOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0DescribeStreamCommand, serializeAws_json1_0DescribeStreamCommand, } from "../protocols/Aws_json1_0";
6
6
  var DescribeStreamCommand = (function (_super) {
7
7
  __extends(DescribeStreamCommand, _super);
@@ -20,8 +20,8 @@ var DescribeStreamCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DescribeStreamInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: DescribeStreamOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DescribeStreamInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeStreamOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetRecordsInput, GetRecordsOutput } from "../models/models_0";
4
+ import { GetRecordsInputFilterSensitiveLog, GetRecordsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0GetRecordsCommand, serializeAws_json1_0GetRecordsCommand, } from "../protocols/Aws_json1_0";
6
6
  var GetRecordsCommand = (function (_super) {
7
7
  __extends(GetRecordsCommand, _super);
@@ -20,8 +20,8 @@ var GetRecordsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetRecordsInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetRecordsOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetRecordsInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetRecordsOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetShardIteratorInput, GetShardIteratorOutput } from "../models/models_0";
4
+ import { GetShardIteratorInputFilterSensitiveLog, GetShardIteratorOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0GetShardIteratorCommand, serializeAws_json1_0GetShardIteratorCommand, } from "../protocols/Aws_json1_0";
6
6
  var GetShardIteratorCommand = (function (_super) {
7
7
  __extends(GetShardIteratorCommand, _super);
@@ -20,8 +20,8 @@ var GetShardIteratorCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetShardIteratorInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetShardIteratorOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetShardIteratorInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetShardIteratorOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListStreamsInput, ListStreamsOutput } from "../models/models_0";
4
+ import { ListStreamsInputFilterSensitiveLog, ListStreamsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0ListStreamsCommand, serializeAws_json1_0ListStreamsCommand, } from "../protocols/Aws_json1_0";
6
6
  var ListStreamsCommand = (function (_super) {
7
7
  __extends(ListStreamsCommand, _super);
@@ -20,8 +20,8 @@ var ListStreamsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListStreamsInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListStreamsOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListStreamsInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListStreamsOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -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 StreamRecord;
173
- (function (StreamRecord) {
174
- StreamRecord.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.Keys && {
175
- Keys: Object.entries(obj.Keys).reduce(function (acc, _a) {
176
- var _b;
177
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
178
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValue.filterSensitiveLog(value), _b)));
179
- }, {}),
180
- })), (obj.NewImage && {
181
- NewImage: Object.entries(obj.NewImage).reduce(function (acc, _a) {
182
- var _b;
183
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
184
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValue.filterSensitiveLog(value), _b)));
185
- }, {}),
186
- })), (obj.OldImage && {
187
- OldImage: Object.entries(obj.OldImage).reduce(function (acc, _a) {
188
- var _b;
189
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
190
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValue.filterSensitiveLog(value), _b)));
191
- }, {}),
192
- }))); };
193
- })(StreamRecord || (StreamRecord = {}));
194
- export var _Record;
195
- (function (_Record) {
196
- _Record.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.dynamodb && { dynamodb: StreamRecord.filterSensitiveLog(obj.dynamodb) }))); };
197
- })(_Record || (_Record = {}));
198
- export var GetRecordsOutput;
199
- (function (GetRecordsOutput) {
200
- GetRecordsOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Records && { Records: obj.Records.map(function (item) { return _Record.filterSensitiveLog(item); }) }))); };
201
- })(GetRecordsOutput || (GetRecordsOutput = {}));
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); }) }))); };
@@ -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
- export declare namespace GetRecordsOutput {
883
- /**
884
- * @internal
885
- */
886
- const filterSensitiveLog: (obj: GetRecordsOutput) => any;
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;
@@ -9,10 +9,6 @@ export interface DescribeStreamInput {
9
9
 
10
10
  ExclusiveStartShardId?: string;
11
11
  }
12
- export declare namespace DescribeStreamInput {
13
-
14
- const filterSensitiveLog: (obj: DescribeStreamInput) => any;
15
- }
16
12
  export declare type KeyType = "HASH" | "RANGE";
17
13
 
18
14
  export interface KeySchemaElement {
@@ -21,10 +17,6 @@ export interface KeySchemaElement {
21
17
 
22
18
  KeyType: KeyType | string | undefined;
23
19
  }
24
- export declare namespace KeySchemaElement {
25
-
26
- const filterSensitiveLog: (obj: KeySchemaElement) => any;
27
- }
28
20
 
29
21
  export interface SequenceNumberRange {
30
22
 
@@ -32,10 +24,6 @@ export interface SequenceNumberRange {
32
24
 
33
25
  EndingSequenceNumber?: string;
34
26
  }
35
- export declare namespace SequenceNumberRange {
36
-
37
- const filterSensitiveLog: (obj: SequenceNumberRange) => any;
38
- }
39
27
 
40
28
  export interface Shard {
41
29
 
@@ -45,10 +33,6 @@ export interface Shard {
45
33
 
46
34
  ParentShardId?: string;
47
35
  }
48
- export declare namespace Shard {
49
-
50
- const filterSensitiveLog: (obj: Shard) => any;
51
- }
52
36
  export declare type StreamStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING";
53
37
  export declare type StreamViewType = "KEYS_ONLY" | "NEW_AND_OLD_IMAGES" | "NEW_IMAGE" | "OLD_IMAGE";
54
38
 
@@ -72,19 +56,11 @@ export interface StreamDescription {
72
56
 
73
57
  LastEvaluatedShardId?: string;
74
58
  }
75
- export declare namespace StreamDescription {
76
-
77
- const filterSensitiveLog: (obj: StreamDescription) => any;
78
- }
79
59
 
80
60
  export interface DescribeStreamOutput {
81
61
 
82
62
  StreamDescription?: StreamDescription;
83
63
  }
84
- export declare namespace DescribeStreamOutput {
85
-
86
- const filterSensitiveLog: (obj: DescribeStreamOutput) => any;
87
- }
88
64
 
89
65
  export declare class InternalServerError extends __BaseException {
90
66
  readonly name: "InternalServerError";
@@ -113,10 +89,6 @@ export interface GetRecordsInput {
113
89
 
114
90
  Limit?: number;
115
91
  }
116
- export declare namespace GetRecordsInput {
117
-
118
- const filterSensitiveLog: (obj: GetRecordsInput) => any;
119
- }
120
92
  export declare type OperationType = "INSERT" | "MODIFY" | "REMOVE";
121
93
 
122
94
  export interface Identity {
@@ -125,10 +97,6 @@ export interface Identity {
125
97
 
126
98
  Type?: string;
127
99
  }
128
- export declare namespace Identity {
129
-
130
- const filterSensitiveLog: (obj: Identity) => any;
131
- }
132
100
 
133
101
  export declare class LimitExceededException extends __BaseException {
134
102
  readonly name: "LimitExceededException";
@@ -155,19 +123,11 @@ export interface GetShardIteratorInput {
155
123
 
156
124
  SequenceNumber?: string;
157
125
  }
158
- export declare namespace GetShardIteratorInput {
159
-
160
- const filterSensitiveLog: (obj: GetShardIteratorInput) => any;
161
- }
162
126
 
163
127
  export interface GetShardIteratorOutput {
164
128
 
165
129
  ShardIterator?: string;
166
130
  }
167
- export declare namespace GetShardIteratorOutput {
168
-
169
- const filterSensitiveLog: (obj: GetShardIteratorOutput) => any;
170
- }
171
131
 
172
132
  export interface ListStreamsInput {
173
133
 
@@ -177,10 +137,6 @@ export interface ListStreamsInput {
177
137
 
178
138
  ExclusiveStartStreamArn?: string;
179
139
  }
180
- export declare namespace ListStreamsInput {
181
-
182
- const filterSensitiveLog: (obj: ListStreamsInput) => any;
183
- }
184
140
 
185
141
  export interface _Stream {
186
142
 
@@ -190,10 +146,6 @@ export interface _Stream {
190
146
 
191
147
  StreamLabel?: string;
192
148
  }
193
- export declare namespace _Stream {
194
-
195
- const filterSensitiveLog: (obj: _Stream) => any;
196
- }
197
149
 
198
150
  export interface ListStreamsOutput {
199
151
 
@@ -201,10 +153,6 @@ export interface ListStreamsOutput {
201
153
 
202
154
  LastEvaluatedStreamArn?: string;
203
155
  }
204
- export declare namespace ListStreamsOutput {
205
-
206
- const filterSensitiveLog: (obj: ListStreamsOutput) => any;
207
- }
208
156
 
209
157
  export declare type AttributeValue = AttributeValue.BMember | AttributeValue.BOOLMember | AttributeValue.BSMember | AttributeValue.LMember | AttributeValue.MMember | AttributeValue.NMember | AttributeValue.NSMember | AttributeValue.NULLMember | AttributeValue.SMember | AttributeValue.SSMember | AttributeValue.$UnknownMember;
210
158
  export declare namespace AttributeValue {
@@ -378,8 +326,6 @@ export declare namespace AttributeValue {
378
326
  _: (name: string, value: any) => T;
379
327
  }
380
328
  const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
381
-
382
- const filterSensitiveLog: (obj: AttributeValue) => any;
383
329
  }
384
330
 
385
331
  export interface StreamRecord {
@@ -398,10 +344,6 @@ export interface StreamRecord {
398
344
 
399
345
  StreamViewType?: StreamViewType | string;
400
346
  }
401
- export declare namespace StreamRecord {
402
-
403
- const filterSensitiveLog: (obj: StreamRecord) => any;
404
- }
405
347
 
406
348
  export interface _Record {
407
349
 
@@ -419,10 +361,6 @@ export interface _Record {
419
361
 
420
362
  userIdentity?: Identity;
421
363
  }
422
- export declare namespace _Record {
423
-
424
- const filterSensitiveLog: (obj: _Record) => any;
425
- }
426
364
 
427
365
  export interface GetRecordsOutput {
428
366
 
@@ -430,7 +368,37 @@ export interface GetRecordsOutput {
430
368
 
431
369
  NextShardIterator?: string;
432
370
  }
433
- export declare namespace GetRecordsOutput {
434
-
435
- const filterSensitiveLog: (obj: GetRecordsOutput) => any;
436
- }
371
+
372
+ export declare const DescribeStreamInputFilterSensitiveLog: (obj: DescribeStreamInput) => any;
373
+
374
+ export declare const KeySchemaElementFilterSensitiveLog: (obj: KeySchemaElement) => any;
375
+
376
+ export declare const SequenceNumberRangeFilterSensitiveLog: (obj: SequenceNumberRange) => any;
377
+
378
+ export declare const ShardFilterSensitiveLog: (obj: Shard) => any;
379
+
380
+ export declare const StreamDescriptionFilterSensitiveLog: (obj: StreamDescription) => any;
381
+
382
+ export declare const DescribeStreamOutputFilterSensitiveLog: (obj: DescribeStreamOutput) => any;
383
+
384
+ export declare const GetRecordsInputFilterSensitiveLog: (obj: GetRecordsInput) => any;
385
+
386
+ export declare const IdentityFilterSensitiveLog: (obj: Identity) => any;
387
+
388
+ export declare const GetShardIteratorInputFilterSensitiveLog: (obj: GetShardIteratorInput) => any;
389
+
390
+ export declare const GetShardIteratorOutputFilterSensitiveLog: (obj: GetShardIteratorOutput) => any;
391
+
392
+ export declare const ListStreamsInputFilterSensitiveLog: (obj: ListStreamsInput) => any;
393
+
394
+ export declare const _StreamFilterSensitiveLog: (obj: _Stream) => any;
395
+
396
+ export declare const ListStreamsOutputFilterSensitiveLog: (obj: ListStreamsOutput) => any;
397
+
398
+ export declare const AttributeValueFilterSensitiveLog: (obj: AttributeValue) => any;
399
+
400
+ export declare const StreamRecordFilterSensitiveLog: (obj: StreamRecord) => any;
401
+
402
+ export declare const _RecordFilterSensitiveLog: (obj: _Record) => any;
403
+
404
+ export declare const GetRecordsOutputFilterSensitiveLog: (obj: GetRecordsOutput) => 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.131.0",
4
+ "version": "3.137.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.131.0",
21
+ "@aws-sdk/client-sts": "3.137.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.131.0",
23
+ "@aws-sdk/credential-provider-node": "3.137.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -36,15 +36,15 @@
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
37
37
  "@aws-sdk/node-http-handler": "3.127.0",
38
38
  "@aws-sdk/protocol-http": "3.127.0",
39
- "@aws-sdk/smithy-client": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.137.0",
40
40
  "@aws-sdk/types": "3.127.0",
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.130.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.137.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.137.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",