@aws-sdk/client-dynamodb 3.180.0 → 3.183.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.
Files changed (74) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +59 -53
  3. package/dist-es/DynamoDB.js +214 -221
  4. package/dist-es/DynamoDBClient.js +23 -29
  5. package/dist-es/commands/BatchExecuteStatementCommand.js +21 -28
  6. package/dist-es/commands/BatchGetItemCommand.js +21 -28
  7. package/dist-es/commands/BatchWriteItemCommand.js +21 -28
  8. package/dist-es/commands/CreateBackupCommand.js +21 -28
  9. package/dist-es/commands/CreateGlobalTableCommand.js +21 -28
  10. package/dist-es/commands/CreateTableCommand.js +21 -28
  11. package/dist-es/commands/DeleteBackupCommand.js +21 -28
  12. package/dist-es/commands/DeleteItemCommand.js +21 -28
  13. package/dist-es/commands/DeleteTableCommand.js +21 -28
  14. package/dist-es/commands/DescribeBackupCommand.js +21 -28
  15. package/dist-es/commands/DescribeContinuousBackupsCommand.js +21 -28
  16. package/dist-es/commands/DescribeContributorInsightsCommand.js +21 -28
  17. package/dist-es/commands/DescribeEndpointsCommand.js +21 -28
  18. package/dist-es/commands/DescribeExportCommand.js +21 -28
  19. package/dist-es/commands/DescribeGlobalTableCommand.js +21 -28
  20. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +21 -28
  21. package/dist-es/commands/DescribeImportCommand.js +21 -28
  22. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +21 -28
  23. package/dist-es/commands/DescribeLimitsCommand.js +21 -28
  24. package/dist-es/commands/DescribeTableCommand.js +21 -28
  25. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +21 -28
  26. package/dist-es/commands/DescribeTimeToLiveCommand.js +21 -28
  27. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +21 -28
  28. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +21 -28
  29. package/dist-es/commands/ExecuteStatementCommand.js +21 -28
  30. package/dist-es/commands/ExecuteTransactionCommand.js +21 -28
  31. package/dist-es/commands/ExportTableToPointInTimeCommand.js +21 -28
  32. package/dist-es/commands/GetItemCommand.js +21 -28
  33. package/dist-es/commands/ImportTableCommand.js +21 -28
  34. package/dist-es/commands/ListBackupsCommand.js +21 -28
  35. package/dist-es/commands/ListContributorInsightsCommand.js +21 -28
  36. package/dist-es/commands/ListExportsCommand.js +21 -28
  37. package/dist-es/commands/ListGlobalTablesCommand.js +21 -28
  38. package/dist-es/commands/ListImportsCommand.js +21 -28
  39. package/dist-es/commands/ListTablesCommand.js +21 -28
  40. package/dist-es/commands/ListTagsOfResourceCommand.js +21 -28
  41. package/dist-es/commands/PutItemCommand.js +21 -28
  42. package/dist-es/commands/QueryCommand.js +21 -28
  43. package/dist-es/commands/RestoreTableFromBackupCommand.js +21 -28
  44. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +21 -28
  45. package/dist-es/commands/ScanCommand.js +21 -28
  46. package/dist-es/commands/TagResourceCommand.js +22 -29
  47. package/dist-es/commands/TransactGetItemsCommand.js +21 -28
  48. package/dist-es/commands/TransactWriteItemsCommand.js +21 -28
  49. package/dist-es/commands/UntagResourceCommand.js +22 -29
  50. package/dist-es/commands/UpdateContinuousBackupsCommand.js +21 -28
  51. package/dist-es/commands/UpdateContributorInsightsCommand.js +21 -28
  52. package/dist-es/commands/UpdateGlobalTableCommand.js +21 -28
  53. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +21 -28
  54. package/dist-es/commands/UpdateItemCommand.js +21 -28
  55. package/dist-es/commands/UpdateTableCommand.js +21 -28
  56. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +21 -28
  57. package/dist-es/commands/UpdateTimeToLiveCommand.js +21 -28
  58. package/dist-es/endpoints.js +8 -8
  59. package/dist-es/models/DynamoDBServiceException.js +5 -10
  60. package/dist-es/models/models_0.js +1314 -900
  61. package/dist-es/pagination/ListContributorInsightsPaginator.js +25 -68
  62. package/dist-es/pagination/ListExportsPaginator.js +25 -68
  63. package/dist-es/pagination/ListImportsPaginator.js +25 -68
  64. package/dist-es/pagination/ListTablesPaginator.js +25 -68
  65. package/dist-es/pagination/QueryPaginator.js +25 -68
  66. package/dist-es/pagination/ScanPaginator.js +25 -68
  67. package/dist-es/protocols/Aws_json1_0.js +4593 -5355
  68. package/dist-es/runtimeConfig.browser.js +27 -12
  69. package/dist-es/runtimeConfig.js +31 -12
  70. package/dist-es/runtimeConfig.native.js +8 -5
  71. package/dist-es/runtimeConfig.shared.js +8 -11
  72. package/dist-es/waiters/waitForTableExists.js +30 -50
  73. package/dist-es/waiters/waitForTableNotExists.js +22 -42
  74. package/package.json +35 -35
@@ -1,4 +1,3 @@
1
- import { __assign, __extends, __read } from "tslib";
2
1
  import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException";
3
2
  export var BackupType;
4
3
  (function (BackupType) {
@@ -6,30 +5,30 @@ export var BackupType;
6
5
  BackupType["SYSTEM"] = "SYSTEM";
7
6
  BackupType["USER"] = "USER";
8
7
  })(BackupType || (BackupType = {}));
9
- var BackupInUseException = (function (_super) {
10
- __extends(BackupInUseException, _super);
11
- function BackupInUseException(opts) {
12
- var _this = _super.call(this, __assign({ name: "BackupInUseException", $fault: "client" }, opts)) || this;
13
- _this.name = "BackupInUseException";
14
- _this.$fault = "client";
15
- Object.setPrototypeOf(_this, BackupInUseException.prototype);
16
- return _this;
8
+ export class BackupInUseException extends __BaseException {
9
+ constructor(opts) {
10
+ super({
11
+ name: "BackupInUseException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ this.name = "BackupInUseException";
16
+ this.$fault = "client";
17
+ Object.setPrototypeOf(this, BackupInUseException.prototype);
17
18
  }
18
- return BackupInUseException;
19
- }(__BaseException));
20
- export { BackupInUseException };
21
- var BackupNotFoundException = (function (_super) {
22
- __extends(BackupNotFoundException, _super);
23
- function BackupNotFoundException(opts) {
24
- var _this = _super.call(this, __assign({ name: "BackupNotFoundException", $fault: "client" }, opts)) || this;
25
- _this.name = "BackupNotFoundException";
26
- _this.$fault = "client";
27
- Object.setPrototypeOf(_this, BackupNotFoundException.prototype);
28
- return _this;
19
+ }
20
+ export class BackupNotFoundException extends __BaseException {
21
+ constructor(opts) {
22
+ super({
23
+ name: "BackupNotFoundException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ this.name = "BackupNotFoundException";
28
+ this.$fault = "client";
29
+ Object.setPrototypeOf(this, BackupNotFoundException.prototype);
29
30
  }
30
- return BackupNotFoundException;
31
- }(__BaseException));
32
- export { BackupNotFoundException };
31
+ }
33
32
  export var BackupTypeFilter;
34
33
  (function (BackupTypeFilter) {
35
34
  BackupTypeFilter["ALL"] = "ALL";
@@ -51,180 +50,180 @@ export var BatchStatementErrorCodeEnum;
51
50
  BatchStatementErrorCodeEnum["TransactionConflict"] = "TransactionConflict";
52
51
  BatchStatementErrorCodeEnum["ValidationError"] = "ValidationError";
53
52
  })(BatchStatementErrorCodeEnum || (BatchStatementErrorCodeEnum = {}));
54
- var InternalServerError = (function (_super) {
55
- __extends(InternalServerError, _super);
56
- function InternalServerError(opts) {
57
- var _this = _super.call(this, __assign({ name: "InternalServerError", $fault: "server" }, opts)) || this;
58
- _this.name = "InternalServerError";
59
- _this.$fault = "server";
60
- Object.setPrototypeOf(_this, InternalServerError.prototype);
61
- return _this;
53
+ export class InternalServerError extends __BaseException {
54
+ constructor(opts) {
55
+ super({
56
+ name: "InternalServerError",
57
+ $fault: "server",
58
+ ...opts,
59
+ });
60
+ this.name = "InternalServerError";
61
+ this.$fault = "server";
62
+ Object.setPrototypeOf(this, InternalServerError.prototype);
62
63
  }
63
- return InternalServerError;
64
- }(__BaseException));
65
- export { InternalServerError };
66
- var RequestLimitExceeded = (function (_super) {
67
- __extends(RequestLimitExceeded, _super);
68
- function RequestLimitExceeded(opts) {
69
- var _this = _super.call(this, __assign({ name: "RequestLimitExceeded", $fault: "client" }, opts)) || this;
70
- _this.name = "RequestLimitExceeded";
71
- _this.$fault = "client";
72
- Object.setPrototypeOf(_this, RequestLimitExceeded.prototype);
73
- return _this;
64
+ }
65
+ export class RequestLimitExceeded extends __BaseException {
66
+ constructor(opts) {
67
+ super({
68
+ name: "RequestLimitExceeded",
69
+ $fault: "client",
70
+ ...opts,
71
+ });
72
+ this.name = "RequestLimitExceeded";
73
+ this.$fault = "client";
74
+ Object.setPrototypeOf(this, RequestLimitExceeded.prototype);
74
75
  }
75
- return RequestLimitExceeded;
76
- }(__BaseException));
77
- export { RequestLimitExceeded };
78
- var InvalidEndpointException = (function (_super) {
79
- __extends(InvalidEndpointException, _super);
80
- function InvalidEndpointException(opts) {
81
- var _this = _super.call(this, __assign({ name: "InvalidEndpointException", $fault: "client" }, opts)) || this;
82
- _this.name = "InvalidEndpointException";
83
- _this.$fault = "client";
84
- Object.setPrototypeOf(_this, InvalidEndpointException.prototype);
85
- _this.Message = opts.Message;
86
- return _this;
76
+ }
77
+ export class InvalidEndpointException extends __BaseException {
78
+ constructor(opts) {
79
+ super({
80
+ name: "InvalidEndpointException",
81
+ $fault: "client",
82
+ ...opts,
83
+ });
84
+ this.name = "InvalidEndpointException";
85
+ this.$fault = "client";
86
+ Object.setPrototypeOf(this, InvalidEndpointException.prototype);
87
+ this.Message = opts.Message;
87
88
  }
88
- return InvalidEndpointException;
89
- }(__BaseException));
90
- export { InvalidEndpointException };
91
- var ProvisionedThroughputExceededException = (function (_super) {
92
- __extends(ProvisionedThroughputExceededException, _super);
93
- function ProvisionedThroughputExceededException(opts) {
94
- var _this = _super.call(this, __assign({ name: "ProvisionedThroughputExceededException", $fault: "client" }, opts)) || this;
95
- _this.name = "ProvisionedThroughputExceededException";
96
- _this.$fault = "client";
97
- Object.setPrototypeOf(_this, ProvisionedThroughputExceededException.prototype);
98
- return _this;
89
+ }
90
+ export class ProvisionedThroughputExceededException extends __BaseException {
91
+ constructor(opts) {
92
+ super({
93
+ name: "ProvisionedThroughputExceededException",
94
+ $fault: "client",
95
+ ...opts,
96
+ });
97
+ this.name = "ProvisionedThroughputExceededException";
98
+ this.$fault = "client";
99
+ Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
99
100
  }
100
- return ProvisionedThroughputExceededException;
101
- }(__BaseException));
102
- export { ProvisionedThroughputExceededException };
103
- var ResourceNotFoundException = (function (_super) {
104
- __extends(ResourceNotFoundException, _super);
105
- function ResourceNotFoundException(opts) {
106
- var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
107
- _this.name = "ResourceNotFoundException";
108
- _this.$fault = "client";
109
- Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
110
- return _this;
101
+ }
102
+ export class ResourceNotFoundException extends __BaseException {
103
+ constructor(opts) {
104
+ super({
105
+ name: "ResourceNotFoundException",
106
+ $fault: "client",
107
+ ...opts,
108
+ });
109
+ this.name = "ResourceNotFoundException";
110
+ this.$fault = "client";
111
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
111
112
  }
112
- return ResourceNotFoundException;
113
- }(__BaseException));
114
- export { ResourceNotFoundException };
115
- var ItemCollectionSizeLimitExceededException = (function (_super) {
116
- __extends(ItemCollectionSizeLimitExceededException, _super);
117
- function ItemCollectionSizeLimitExceededException(opts) {
118
- var _this = _super.call(this, __assign({ name: "ItemCollectionSizeLimitExceededException", $fault: "client" }, opts)) || this;
119
- _this.name = "ItemCollectionSizeLimitExceededException";
120
- _this.$fault = "client";
121
- Object.setPrototypeOf(_this, ItemCollectionSizeLimitExceededException.prototype);
122
- return _this;
113
+ }
114
+ export class ItemCollectionSizeLimitExceededException extends __BaseException {
115
+ constructor(opts) {
116
+ super({
117
+ name: "ItemCollectionSizeLimitExceededException",
118
+ $fault: "client",
119
+ ...opts,
120
+ });
121
+ this.name = "ItemCollectionSizeLimitExceededException";
122
+ this.$fault = "client";
123
+ Object.setPrototypeOf(this, ItemCollectionSizeLimitExceededException.prototype);
123
124
  }
124
- return ItemCollectionSizeLimitExceededException;
125
- }(__BaseException));
126
- export { ItemCollectionSizeLimitExceededException };
127
- var ConditionalCheckFailedException = (function (_super) {
128
- __extends(ConditionalCheckFailedException, _super);
129
- function ConditionalCheckFailedException(opts) {
130
- var _this = _super.call(this, __assign({ name: "ConditionalCheckFailedException", $fault: "client" }, opts)) || this;
131
- _this.name = "ConditionalCheckFailedException";
132
- _this.$fault = "client";
133
- Object.setPrototypeOf(_this, ConditionalCheckFailedException.prototype);
134
- return _this;
125
+ }
126
+ export class ConditionalCheckFailedException extends __BaseException {
127
+ constructor(opts) {
128
+ super({
129
+ name: "ConditionalCheckFailedException",
130
+ $fault: "client",
131
+ ...opts,
132
+ });
133
+ this.name = "ConditionalCheckFailedException";
134
+ this.$fault = "client";
135
+ Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
135
136
  }
136
- return ConditionalCheckFailedException;
137
- }(__BaseException));
138
- export { ConditionalCheckFailedException };
139
- var ContinuousBackupsUnavailableException = (function (_super) {
140
- __extends(ContinuousBackupsUnavailableException, _super);
141
- function ContinuousBackupsUnavailableException(opts) {
142
- var _this = _super.call(this, __assign({ name: "ContinuousBackupsUnavailableException", $fault: "client" }, opts)) || this;
143
- _this.name = "ContinuousBackupsUnavailableException";
144
- _this.$fault = "client";
145
- Object.setPrototypeOf(_this, ContinuousBackupsUnavailableException.prototype);
146
- return _this;
137
+ }
138
+ export class ContinuousBackupsUnavailableException extends __BaseException {
139
+ constructor(opts) {
140
+ super({
141
+ name: "ContinuousBackupsUnavailableException",
142
+ $fault: "client",
143
+ ...opts,
144
+ });
145
+ this.name = "ContinuousBackupsUnavailableException";
146
+ this.$fault = "client";
147
+ Object.setPrototypeOf(this, ContinuousBackupsUnavailableException.prototype);
147
148
  }
148
- return ContinuousBackupsUnavailableException;
149
- }(__BaseException));
150
- export { ContinuousBackupsUnavailableException };
151
- var LimitExceededException = (function (_super) {
152
- __extends(LimitExceededException, _super);
153
- function LimitExceededException(opts) {
154
- var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
155
- _this.name = "LimitExceededException";
156
- _this.$fault = "client";
157
- Object.setPrototypeOf(_this, LimitExceededException.prototype);
158
- return _this;
149
+ }
150
+ export class LimitExceededException extends __BaseException {
151
+ constructor(opts) {
152
+ super({
153
+ name: "LimitExceededException",
154
+ $fault: "client",
155
+ ...opts,
156
+ });
157
+ this.name = "LimitExceededException";
158
+ this.$fault = "client";
159
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
159
160
  }
160
- return LimitExceededException;
161
- }(__BaseException));
162
- export { LimitExceededException };
163
- var TableInUseException = (function (_super) {
164
- __extends(TableInUseException, _super);
165
- function TableInUseException(opts) {
166
- var _this = _super.call(this, __assign({ name: "TableInUseException", $fault: "client" }, opts)) || this;
167
- _this.name = "TableInUseException";
168
- _this.$fault = "client";
169
- Object.setPrototypeOf(_this, TableInUseException.prototype);
170
- return _this;
161
+ }
162
+ export class TableInUseException extends __BaseException {
163
+ constructor(opts) {
164
+ super({
165
+ name: "TableInUseException",
166
+ $fault: "client",
167
+ ...opts,
168
+ });
169
+ this.name = "TableInUseException";
170
+ this.$fault = "client";
171
+ Object.setPrototypeOf(this, TableInUseException.prototype);
171
172
  }
172
- return TableInUseException;
173
- }(__BaseException));
174
- export { TableInUseException };
175
- var TableNotFoundException = (function (_super) {
176
- __extends(TableNotFoundException, _super);
177
- function TableNotFoundException(opts) {
178
- var _this = _super.call(this, __assign({ name: "TableNotFoundException", $fault: "client" }, opts)) || this;
179
- _this.name = "TableNotFoundException";
180
- _this.$fault = "client";
181
- Object.setPrototypeOf(_this, TableNotFoundException.prototype);
182
- return _this;
173
+ }
174
+ export class TableNotFoundException extends __BaseException {
175
+ constructor(opts) {
176
+ super({
177
+ name: "TableNotFoundException",
178
+ $fault: "client",
179
+ ...opts,
180
+ });
181
+ this.name = "TableNotFoundException";
182
+ this.$fault = "client";
183
+ Object.setPrototypeOf(this, TableNotFoundException.prototype);
183
184
  }
184
- return TableNotFoundException;
185
- }(__BaseException));
186
- export { TableNotFoundException };
185
+ }
187
186
  export var TableClass;
188
187
  (function (TableClass) {
189
188
  TableClass["STANDARD"] = "STANDARD";
190
189
  TableClass["STANDARD_INFREQUENT_ACCESS"] = "STANDARD_INFREQUENT_ACCESS";
191
190
  })(TableClass || (TableClass = {}));
192
- var GlobalTableAlreadyExistsException = (function (_super) {
193
- __extends(GlobalTableAlreadyExistsException, _super);
194
- function GlobalTableAlreadyExistsException(opts) {
195
- var _this = _super.call(this, __assign({ name: "GlobalTableAlreadyExistsException", $fault: "client" }, opts)) || this;
196
- _this.name = "GlobalTableAlreadyExistsException";
197
- _this.$fault = "client";
198
- Object.setPrototypeOf(_this, GlobalTableAlreadyExistsException.prototype);
199
- return _this;
191
+ export class GlobalTableAlreadyExistsException extends __BaseException {
192
+ constructor(opts) {
193
+ super({
194
+ name: "GlobalTableAlreadyExistsException",
195
+ $fault: "client",
196
+ ...opts,
197
+ });
198
+ this.name = "GlobalTableAlreadyExistsException";
199
+ this.$fault = "client";
200
+ Object.setPrototypeOf(this, GlobalTableAlreadyExistsException.prototype);
200
201
  }
201
- return GlobalTableAlreadyExistsException;
202
- }(__BaseException));
203
- export { GlobalTableAlreadyExistsException };
204
- var ResourceInUseException = (function (_super) {
205
- __extends(ResourceInUseException, _super);
206
- function ResourceInUseException(opts) {
207
- var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
208
- _this.name = "ResourceInUseException";
209
- _this.$fault = "client";
210
- Object.setPrototypeOf(_this, ResourceInUseException.prototype);
211
- return _this;
202
+ }
203
+ export class ResourceInUseException extends __BaseException {
204
+ constructor(opts) {
205
+ super({
206
+ name: "ResourceInUseException",
207
+ $fault: "client",
208
+ ...opts,
209
+ });
210
+ this.name = "ResourceInUseException";
211
+ this.$fault = "client";
212
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
212
213
  }
213
- return ResourceInUseException;
214
- }(__BaseException));
215
- export { ResourceInUseException };
216
- var TransactionConflictException = (function (_super) {
217
- __extends(TransactionConflictException, _super);
218
- function TransactionConflictException(opts) {
219
- var _this = _super.call(this, __assign({ name: "TransactionConflictException", $fault: "client" }, opts)) || this;
220
- _this.name = "TransactionConflictException";
221
- _this.$fault = "client";
222
- Object.setPrototypeOf(_this, TransactionConflictException.prototype);
223
- return _this;
214
+ }
215
+ export class TransactionConflictException extends __BaseException {
216
+ constructor(opts) {
217
+ super({
218
+ name: "TransactionConflictException",
219
+ $fault: "client",
220
+ ...opts,
221
+ });
222
+ this.name = "TransactionConflictException";
223
+ this.$fault = "client";
224
+ Object.setPrototypeOf(this, TransactionConflictException.prototype);
224
225
  }
225
- return TransactionConflictException;
226
- }(__BaseException));
227
- export { TransactionConflictException };
226
+ }
228
227
  export var ExportFormat;
229
228
  (function (ExportFormat) {
230
229
  ExportFormat["DYNAMODB_JSON"] = "DYNAMODB_JSON";
@@ -236,30 +235,30 @@ export var ExportStatus;
236
235
  ExportStatus["FAILED"] = "FAILED";
237
236
  ExportStatus["IN_PROGRESS"] = "IN_PROGRESS";
238
237
  })(ExportStatus || (ExportStatus = {}));
239
- var ExportNotFoundException = (function (_super) {
240
- __extends(ExportNotFoundException, _super);
241
- function ExportNotFoundException(opts) {
242
- var _this = _super.call(this, __assign({ name: "ExportNotFoundException", $fault: "client" }, opts)) || this;
243
- _this.name = "ExportNotFoundException";
244
- _this.$fault = "client";
245
- Object.setPrototypeOf(_this, ExportNotFoundException.prototype);
246
- return _this;
238
+ export class ExportNotFoundException extends __BaseException {
239
+ constructor(opts) {
240
+ super({
241
+ name: "ExportNotFoundException",
242
+ $fault: "client",
243
+ ...opts,
244
+ });
245
+ this.name = "ExportNotFoundException";
246
+ this.$fault = "client";
247
+ Object.setPrototypeOf(this, ExportNotFoundException.prototype);
247
248
  }
248
- return ExportNotFoundException;
249
- }(__BaseException));
250
- export { ExportNotFoundException };
251
- var GlobalTableNotFoundException = (function (_super) {
252
- __extends(GlobalTableNotFoundException, _super);
253
- function GlobalTableNotFoundException(opts) {
254
- var _this = _super.call(this, __assign({ name: "GlobalTableNotFoundException", $fault: "client" }, opts)) || this;
255
- _this.name = "GlobalTableNotFoundException";
256
- _this.$fault = "client";
257
- Object.setPrototypeOf(_this, GlobalTableNotFoundException.prototype);
258
- return _this;
249
+ }
250
+ export class GlobalTableNotFoundException extends __BaseException {
251
+ constructor(opts) {
252
+ super({
253
+ name: "GlobalTableNotFoundException",
254
+ $fault: "client",
255
+ ...opts,
256
+ });
257
+ this.name = "GlobalTableNotFoundException";
258
+ this.$fault = "client";
259
+ Object.setPrototypeOf(this, GlobalTableNotFoundException.prototype);
259
260
  }
260
- return GlobalTableNotFoundException;
261
- }(__BaseException));
262
- export { GlobalTableNotFoundException };
261
+ }
263
262
  export var ImportStatus;
264
263
  (function (ImportStatus) {
265
264
  ImportStatus["CANCELLED"] = "CANCELLED";
@@ -280,167 +279,167 @@ export var InputFormat;
280
279
  InputFormat["DYNAMODB_JSON"] = "DYNAMODB_JSON";
281
280
  InputFormat["ION"] = "ION";
282
281
  })(InputFormat || (InputFormat = {}));
283
- var ImportNotFoundException = (function (_super) {
284
- __extends(ImportNotFoundException, _super);
285
- function ImportNotFoundException(opts) {
286
- var _this = _super.call(this, __assign({ name: "ImportNotFoundException", $fault: "client" }, opts)) || this;
287
- _this.name = "ImportNotFoundException";
288
- _this.$fault = "client";
289
- Object.setPrototypeOf(_this, ImportNotFoundException.prototype);
290
- return _this;
282
+ export class ImportNotFoundException extends __BaseException {
283
+ constructor(opts) {
284
+ super({
285
+ name: "ImportNotFoundException",
286
+ $fault: "client",
287
+ ...opts,
288
+ });
289
+ this.name = "ImportNotFoundException";
290
+ this.$fault = "client";
291
+ Object.setPrototypeOf(this, ImportNotFoundException.prototype);
291
292
  }
292
- return ImportNotFoundException;
293
- }(__BaseException));
294
- export { ImportNotFoundException };
295
- var DuplicateItemException = (function (_super) {
296
- __extends(DuplicateItemException, _super);
297
- function DuplicateItemException(opts) {
298
- var _this = _super.call(this, __assign({ name: "DuplicateItemException", $fault: "client" }, opts)) || this;
299
- _this.name = "DuplicateItemException";
300
- _this.$fault = "client";
301
- Object.setPrototypeOf(_this, DuplicateItemException.prototype);
302
- return _this;
293
+ }
294
+ export class DuplicateItemException extends __BaseException {
295
+ constructor(opts) {
296
+ super({
297
+ name: "DuplicateItemException",
298
+ $fault: "client",
299
+ ...opts,
300
+ });
301
+ this.name = "DuplicateItemException";
302
+ this.$fault = "client";
303
+ Object.setPrototypeOf(this, DuplicateItemException.prototype);
303
304
  }
304
- return DuplicateItemException;
305
- }(__BaseException));
306
- export { DuplicateItemException };
307
- var IdempotentParameterMismatchException = (function (_super) {
308
- __extends(IdempotentParameterMismatchException, _super);
309
- function IdempotentParameterMismatchException(opts) {
310
- var _this = _super.call(this, __assign({ name: "IdempotentParameterMismatchException", $fault: "client" }, opts)) || this;
311
- _this.name = "IdempotentParameterMismatchException";
312
- _this.$fault = "client";
313
- Object.setPrototypeOf(_this, IdempotentParameterMismatchException.prototype);
314
- _this.Message = opts.Message;
315
- return _this;
305
+ }
306
+ export class IdempotentParameterMismatchException extends __BaseException {
307
+ constructor(opts) {
308
+ super({
309
+ name: "IdempotentParameterMismatchException",
310
+ $fault: "client",
311
+ ...opts,
312
+ });
313
+ this.name = "IdempotentParameterMismatchException";
314
+ this.$fault = "client";
315
+ Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
316
+ this.Message = opts.Message;
316
317
  }
317
- return IdempotentParameterMismatchException;
318
- }(__BaseException));
319
- export { IdempotentParameterMismatchException };
320
- var TransactionInProgressException = (function (_super) {
321
- __extends(TransactionInProgressException, _super);
322
- function TransactionInProgressException(opts) {
323
- var _this = _super.call(this, __assign({ name: "TransactionInProgressException", $fault: "client" }, opts)) || this;
324
- _this.name = "TransactionInProgressException";
325
- _this.$fault = "client";
326
- Object.setPrototypeOf(_this, TransactionInProgressException.prototype);
327
- _this.Message = opts.Message;
328
- return _this;
318
+ }
319
+ export class TransactionInProgressException extends __BaseException {
320
+ constructor(opts) {
321
+ super({
322
+ name: "TransactionInProgressException",
323
+ $fault: "client",
324
+ ...opts,
325
+ });
326
+ this.name = "TransactionInProgressException";
327
+ this.$fault = "client";
328
+ Object.setPrototypeOf(this, TransactionInProgressException.prototype);
329
+ this.Message = opts.Message;
329
330
  }
330
- return TransactionInProgressException;
331
- }(__BaseException));
332
- export { TransactionInProgressException };
333
- var ExportConflictException = (function (_super) {
334
- __extends(ExportConflictException, _super);
335
- function ExportConflictException(opts) {
336
- var _this = _super.call(this, __assign({ name: "ExportConflictException", $fault: "client" }, opts)) || this;
337
- _this.name = "ExportConflictException";
338
- _this.$fault = "client";
339
- Object.setPrototypeOf(_this, ExportConflictException.prototype);
340
- return _this;
331
+ }
332
+ export class ExportConflictException extends __BaseException {
333
+ constructor(opts) {
334
+ super({
335
+ name: "ExportConflictException",
336
+ $fault: "client",
337
+ ...opts,
338
+ });
339
+ this.name = "ExportConflictException";
340
+ this.$fault = "client";
341
+ Object.setPrototypeOf(this, ExportConflictException.prototype);
341
342
  }
342
- return ExportConflictException;
343
- }(__BaseException));
344
- export { ExportConflictException };
345
- var InvalidExportTimeException = (function (_super) {
346
- __extends(InvalidExportTimeException, _super);
347
- function InvalidExportTimeException(opts) {
348
- var _this = _super.call(this, __assign({ name: "InvalidExportTimeException", $fault: "client" }, opts)) || this;
349
- _this.name = "InvalidExportTimeException";
350
- _this.$fault = "client";
351
- Object.setPrototypeOf(_this, InvalidExportTimeException.prototype);
352
- return _this;
343
+ }
344
+ export class InvalidExportTimeException extends __BaseException {
345
+ constructor(opts) {
346
+ super({
347
+ name: "InvalidExportTimeException",
348
+ $fault: "client",
349
+ ...opts,
350
+ });
351
+ this.name = "InvalidExportTimeException";
352
+ this.$fault = "client";
353
+ Object.setPrototypeOf(this, InvalidExportTimeException.prototype);
353
354
  }
354
- return InvalidExportTimeException;
355
- }(__BaseException));
356
- export { InvalidExportTimeException };
357
- var PointInTimeRecoveryUnavailableException = (function (_super) {
358
- __extends(PointInTimeRecoveryUnavailableException, _super);
359
- function PointInTimeRecoveryUnavailableException(opts) {
360
- var _this = _super.call(this, __assign({ name: "PointInTimeRecoveryUnavailableException", $fault: "client" }, opts)) || this;
361
- _this.name = "PointInTimeRecoveryUnavailableException";
362
- _this.$fault = "client";
363
- Object.setPrototypeOf(_this, PointInTimeRecoveryUnavailableException.prototype);
364
- return _this;
355
+ }
356
+ export class PointInTimeRecoveryUnavailableException extends __BaseException {
357
+ constructor(opts) {
358
+ super({
359
+ name: "PointInTimeRecoveryUnavailableException",
360
+ $fault: "client",
361
+ ...opts,
362
+ });
363
+ this.name = "PointInTimeRecoveryUnavailableException";
364
+ this.$fault = "client";
365
+ Object.setPrototypeOf(this, PointInTimeRecoveryUnavailableException.prototype);
365
366
  }
366
- return PointInTimeRecoveryUnavailableException;
367
- }(__BaseException));
368
- export { PointInTimeRecoveryUnavailableException };
369
- var ImportConflictException = (function (_super) {
370
- __extends(ImportConflictException, _super);
371
- function ImportConflictException(opts) {
372
- var _this = _super.call(this, __assign({ name: "ImportConflictException", $fault: "client" }, opts)) || this;
373
- _this.name = "ImportConflictException";
374
- _this.$fault = "client";
375
- Object.setPrototypeOf(_this, ImportConflictException.prototype);
376
- return _this;
367
+ }
368
+ export class ImportConflictException extends __BaseException {
369
+ constructor(opts) {
370
+ super({
371
+ name: "ImportConflictException",
372
+ $fault: "client",
373
+ ...opts,
374
+ });
375
+ this.name = "ImportConflictException";
376
+ this.$fault = "client";
377
+ Object.setPrototypeOf(this, ImportConflictException.prototype);
377
378
  }
378
- return ImportConflictException;
379
- }(__BaseException));
380
- export { ImportConflictException };
381
- var TableAlreadyExistsException = (function (_super) {
382
- __extends(TableAlreadyExistsException, _super);
383
- function TableAlreadyExistsException(opts) {
384
- var _this = _super.call(this, __assign({ name: "TableAlreadyExistsException", $fault: "client" }, opts)) || this;
385
- _this.name = "TableAlreadyExistsException";
386
- _this.$fault = "client";
387
- Object.setPrototypeOf(_this, TableAlreadyExistsException.prototype);
388
- return _this;
379
+ }
380
+ export class TableAlreadyExistsException extends __BaseException {
381
+ constructor(opts) {
382
+ super({
383
+ name: "TableAlreadyExistsException",
384
+ $fault: "client",
385
+ ...opts,
386
+ });
387
+ this.name = "TableAlreadyExistsException";
388
+ this.$fault = "client";
389
+ Object.setPrototypeOf(this, TableAlreadyExistsException.prototype);
389
390
  }
390
- return TableAlreadyExistsException;
391
- }(__BaseException));
392
- export { TableAlreadyExistsException };
393
- var InvalidRestoreTimeException = (function (_super) {
394
- __extends(InvalidRestoreTimeException, _super);
395
- function InvalidRestoreTimeException(opts) {
396
- var _this = _super.call(this, __assign({ name: "InvalidRestoreTimeException", $fault: "client" }, opts)) || this;
397
- _this.name = "InvalidRestoreTimeException";
398
- _this.$fault = "client";
399
- Object.setPrototypeOf(_this, InvalidRestoreTimeException.prototype);
400
- return _this;
391
+ }
392
+ export class InvalidRestoreTimeException extends __BaseException {
393
+ constructor(opts) {
394
+ super({
395
+ name: "InvalidRestoreTimeException",
396
+ $fault: "client",
397
+ ...opts,
398
+ });
399
+ this.name = "InvalidRestoreTimeException";
400
+ this.$fault = "client";
401
+ Object.setPrototypeOf(this, InvalidRestoreTimeException.prototype);
401
402
  }
402
- return InvalidRestoreTimeException;
403
- }(__BaseException));
404
- export { InvalidRestoreTimeException };
405
- var ReplicaAlreadyExistsException = (function (_super) {
406
- __extends(ReplicaAlreadyExistsException, _super);
407
- function ReplicaAlreadyExistsException(opts) {
408
- var _this = _super.call(this, __assign({ name: "ReplicaAlreadyExistsException", $fault: "client" }, opts)) || this;
409
- _this.name = "ReplicaAlreadyExistsException";
410
- _this.$fault = "client";
411
- Object.setPrototypeOf(_this, ReplicaAlreadyExistsException.prototype);
412
- return _this;
403
+ }
404
+ export class ReplicaAlreadyExistsException extends __BaseException {
405
+ constructor(opts) {
406
+ super({
407
+ name: "ReplicaAlreadyExistsException",
408
+ $fault: "client",
409
+ ...opts,
410
+ });
411
+ this.name = "ReplicaAlreadyExistsException";
412
+ this.$fault = "client";
413
+ Object.setPrototypeOf(this, ReplicaAlreadyExistsException.prototype);
413
414
  }
414
- return ReplicaAlreadyExistsException;
415
- }(__BaseException));
416
- export { ReplicaAlreadyExistsException };
417
- var ReplicaNotFoundException = (function (_super) {
418
- __extends(ReplicaNotFoundException, _super);
419
- function ReplicaNotFoundException(opts) {
420
- var _this = _super.call(this, __assign({ name: "ReplicaNotFoundException", $fault: "client" }, opts)) || this;
421
- _this.name = "ReplicaNotFoundException";
422
- _this.$fault = "client";
423
- Object.setPrototypeOf(_this, ReplicaNotFoundException.prototype);
424
- return _this;
415
+ }
416
+ export class ReplicaNotFoundException extends __BaseException {
417
+ constructor(opts) {
418
+ super({
419
+ name: "ReplicaNotFoundException",
420
+ $fault: "client",
421
+ ...opts,
422
+ });
423
+ this.name = "ReplicaNotFoundException";
424
+ this.$fault = "client";
425
+ Object.setPrototypeOf(this, ReplicaNotFoundException.prototype);
425
426
  }
426
- return ReplicaNotFoundException;
427
- }(__BaseException));
428
- export { ReplicaNotFoundException };
429
- var IndexNotFoundException = (function (_super) {
430
- __extends(IndexNotFoundException, _super);
431
- function IndexNotFoundException(opts) {
432
- var _this = _super.call(this, __assign({ name: "IndexNotFoundException", $fault: "client" }, opts)) || this;
433
- _this.name = "IndexNotFoundException";
434
- _this.$fault = "client";
435
- Object.setPrototypeOf(_this, IndexNotFoundException.prototype);
436
- return _this;
427
+ }
428
+ export class IndexNotFoundException extends __BaseException {
429
+ constructor(opts) {
430
+ super({
431
+ name: "IndexNotFoundException",
432
+ $fault: "client",
433
+ ...opts,
434
+ });
435
+ this.name = "IndexNotFoundException";
436
+ this.$fault = "client";
437
+ Object.setPrototypeOf(this, IndexNotFoundException.prototype);
437
438
  }
438
- return IndexNotFoundException;
439
- }(__BaseException));
440
- export { IndexNotFoundException };
439
+ }
441
440
  export var AttributeValue;
442
441
  (function (AttributeValue) {
443
- AttributeValue.visit = function (value, visitor) {
442
+ AttributeValue.visit = (value, visitor) => {
444
443
  if (value.S !== undefined)
445
444
  return visitor.S(value.S);
446
445
  if (value.N !== undefined)
@@ -464,178 +463,489 @@ export var AttributeValue;
464
463
  return visitor._(value.$unknown[0], value.$unknown[1]);
465
464
  };
466
465
  })(AttributeValue || (AttributeValue = {}));
467
- var TransactionCanceledException = (function (_super) {
468
- __extends(TransactionCanceledException, _super);
469
- function TransactionCanceledException(opts) {
470
- var _this = _super.call(this, __assign({ name: "TransactionCanceledException", $fault: "client" }, opts)) || this;
471
- _this.name = "TransactionCanceledException";
472
- _this.$fault = "client";
473
- Object.setPrototypeOf(_this, TransactionCanceledException.prototype);
474
- _this.Message = opts.Message;
475
- _this.CancellationReasons = opts.CancellationReasons;
476
- return _this;
466
+ export class TransactionCanceledException extends __BaseException {
467
+ constructor(opts) {
468
+ super({
469
+ name: "TransactionCanceledException",
470
+ $fault: "client",
471
+ ...opts,
472
+ });
473
+ this.name = "TransactionCanceledException";
474
+ this.$fault = "client";
475
+ Object.setPrototypeOf(this, TransactionCanceledException.prototype);
476
+ this.Message = opts.Message;
477
+ this.CancellationReasons = opts.CancellationReasons;
477
478
  }
478
- return TransactionCanceledException;
479
- }(__BaseException));
480
- export { TransactionCanceledException };
481
- export var ArchivalSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
482
- export var AttributeDefinitionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
483
- export var AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
484
- export var AutoScalingPolicyDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
485
- export var AutoScalingTargetTrackingScalingPolicyConfigurationUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
486
- export var AutoScalingPolicyUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
487
- export var AutoScalingSettingsDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
488
- export var AutoScalingSettingsUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
489
- export var BackupDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
490
- export var KeySchemaElementFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
491
- export var ProvisionedThroughputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
492
- export var SourceTableDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
493
- export var ProjectionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
494
- export var GlobalSecondaryIndexInfoFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
495
- export var LocalSecondaryIndexInfoFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
496
- export var SSEDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
497
- export var StreamSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
498
- export var TimeToLiveDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
499
- export var SourceTableFeatureDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
500
- export var BackupDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
501
- export var BackupSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
502
- export var CapacityFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
503
- export var ConsumedCapacityFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
504
- export var BatchStatementErrorFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
505
- export var BillingModeSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
506
- export var PointInTimeRecoveryDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
507
- export var ContinuousBackupsDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
508
- export var ContributorInsightsSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
509
- export var CreateBackupInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
510
- export var CreateBackupOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
511
- export var CreateGlobalSecondaryIndexActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
512
- export var ReplicaFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
513
- export var CreateGlobalTableInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
514
- export var ProvisionedThroughputOverrideFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
515
- export var ReplicaGlobalSecondaryIndexDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
516
- export var TableClassSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
517
- export var ReplicaDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
518
- export var GlobalTableDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
519
- export var CreateGlobalTableOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
520
- export var CreateReplicaActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
521
- export var ReplicaGlobalSecondaryIndexFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
522
- export var CreateReplicationGroupMemberActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
523
- export var GlobalSecondaryIndexFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
524
- export var LocalSecondaryIndexFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
525
- export var SSESpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
526
- export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
527
- export var CreateTableInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
528
- export var ProvisionedThroughputDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
529
- export var GlobalSecondaryIndexDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
530
- export var LocalSecondaryIndexDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
531
- export var RestoreSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
532
- export var TableDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
533
- export var CreateTableOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
534
- export var CsvOptionsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
535
- export var DeleteBackupInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
536
- export var DeleteBackupOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
537
- export var DeleteGlobalSecondaryIndexActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
538
- export var DeleteReplicaActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
539
- export var DeleteReplicationGroupMemberActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
540
- export var DeleteTableInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
541
- export var DeleteTableOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
542
- export var DescribeBackupInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
543
- export var DescribeBackupOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
544
- export var DescribeContinuousBackupsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
545
- export var DescribeContinuousBackupsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
546
- export var DescribeContributorInsightsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
547
- export var FailureExceptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
548
- export var DescribeContributorInsightsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
549
- export var DescribeEndpointsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
550
- export var EndpointFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
551
- export var DescribeEndpointsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
552
- export var DescribeExportInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
553
- export var ExportDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
554
- export var DescribeExportOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
555
- export var DescribeGlobalTableInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
556
- export var DescribeGlobalTableOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
557
- export var DescribeGlobalTableSettingsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
558
- export var ReplicaGlobalSecondaryIndexSettingsDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
559
- export var ReplicaSettingsDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
560
- export var DescribeGlobalTableSettingsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
561
- export var DescribeImportInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
562
- export var InputFormatOptionsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
563
- export var S3BucketSourceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
564
- export var TableCreationParametersFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
565
- export var ImportTableDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
566
- export var DescribeImportOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
567
- export var DescribeKinesisStreamingDestinationInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
568
- export var KinesisDataStreamDestinationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
569
- export var DescribeKinesisStreamingDestinationOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
570
- export var DescribeLimitsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
571
- export var DescribeLimitsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
572
- export var DescribeTableInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
573
- export var DescribeTableOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
574
- export var DescribeTableReplicaAutoScalingInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
575
- export var ReplicaGlobalSecondaryIndexAutoScalingDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
576
- export var ReplicaAutoScalingDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
577
- export var TableAutoScalingDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
578
- export var DescribeTableReplicaAutoScalingOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
579
- export var DescribeTimeToLiveInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
580
- export var DescribeTimeToLiveOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
581
- export var KinesisStreamingDestinationInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
582
- export var KinesisStreamingDestinationOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
583
- export var ExportTableToPointInTimeInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
584
- export var ExportTableToPointInTimeOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
585
- export var ImportTableInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
586
- export var ImportTableOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
587
- export var ListBackupsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
588
- export var ListBackupsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
589
- export var ListContributorInsightsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
590
- export var ListContributorInsightsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
591
- export var ListExportsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
592
- export var ExportSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
593
- export var ListExportsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
594
- export var ListGlobalTablesInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
595
- export var GlobalTableFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
596
- export var ListGlobalTablesOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
597
- export var ListImportsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
598
- export var ImportSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
599
- export var ListImportsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
600
- export var ListTablesInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
601
- export var ListTablesOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
602
- export var ListTagsOfResourceInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
603
- export var ListTagsOfResourceOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
604
- export var RestoreTableFromBackupInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
605
- export var RestoreTableFromBackupOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
606
- export var RestoreTableToPointInTimeInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
607
- export var RestoreTableToPointInTimeOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
608
- export var TagResourceInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
609
- export var UntagResourceInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
610
- export var PointInTimeRecoverySpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
611
- export var UpdateContinuousBackupsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
612
- export var UpdateContinuousBackupsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
613
- export var UpdateContributorInsightsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
614
- export var UpdateContributorInsightsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
615
- export var ReplicaUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
616
- export var UpdateGlobalTableInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
617
- export var UpdateGlobalTableOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
618
- export var GlobalTableGlobalSecondaryIndexSettingsUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
619
- export var ReplicaGlobalSecondaryIndexSettingsUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
620
- export var ReplicaSettingsUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
621
- export var UpdateGlobalTableSettingsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
622
- export var UpdateGlobalTableSettingsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
623
- export var UpdateGlobalSecondaryIndexActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
624
- export var GlobalSecondaryIndexUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
625
- export var UpdateReplicationGroupMemberActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
626
- export var ReplicationGroupUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
627
- export var UpdateTableInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
628
- export var UpdateTableOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
629
- export var GlobalSecondaryIndexAutoScalingUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
630
- export var ReplicaGlobalSecondaryIndexAutoScalingUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
631
- export var ReplicaAutoScalingUpdateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
632
- export var UpdateTableReplicaAutoScalingInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
633
- export var UpdateTableReplicaAutoScalingOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
634
- export var TimeToLiveSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
635
- export var UpdateTimeToLiveInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
636
- export var UpdateTimeToLiveOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
637
- export var AttributeValueFilterSensitiveLog = function (obj) {
638
- var _a;
479
+ }
480
+ export const ArchivalSummaryFilterSensitiveLog = (obj) => ({
481
+ ...obj,
482
+ });
483
+ export const AttributeDefinitionFilterSensitiveLog = (obj) => ({
484
+ ...obj,
485
+ });
486
+ export const AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionFilterSensitiveLog = (obj) => ({
487
+ ...obj,
488
+ });
489
+ export const AutoScalingPolicyDescriptionFilterSensitiveLog = (obj) => ({
490
+ ...obj,
491
+ });
492
+ export const AutoScalingTargetTrackingScalingPolicyConfigurationUpdateFilterSensitiveLog = (obj) => ({
493
+ ...obj,
494
+ });
495
+ export const AutoScalingPolicyUpdateFilterSensitiveLog = (obj) => ({
496
+ ...obj,
497
+ });
498
+ export const AutoScalingSettingsDescriptionFilterSensitiveLog = (obj) => ({
499
+ ...obj,
500
+ });
501
+ export const AutoScalingSettingsUpdateFilterSensitiveLog = (obj) => ({
502
+ ...obj,
503
+ });
504
+ export const BackupDetailsFilterSensitiveLog = (obj) => ({
505
+ ...obj,
506
+ });
507
+ export const KeySchemaElementFilterSensitiveLog = (obj) => ({
508
+ ...obj,
509
+ });
510
+ export const ProvisionedThroughputFilterSensitiveLog = (obj) => ({
511
+ ...obj,
512
+ });
513
+ export const SourceTableDetailsFilterSensitiveLog = (obj) => ({
514
+ ...obj,
515
+ });
516
+ export const ProjectionFilterSensitiveLog = (obj) => ({
517
+ ...obj,
518
+ });
519
+ export const GlobalSecondaryIndexInfoFilterSensitiveLog = (obj) => ({
520
+ ...obj,
521
+ });
522
+ export const LocalSecondaryIndexInfoFilterSensitiveLog = (obj) => ({
523
+ ...obj,
524
+ });
525
+ export const SSEDescriptionFilterSensitiveLog = (obj) => ({
526
+ ...obj,
527
+ });
528
+ export const StreamSpecificationFilterSensitiveLog = (obj) => ({
529
+ ...obj,
530
+ });
531
+ export const TimeToLiveDescriptionFilterSensitiveLog = (obj) => ({
532
+ ...obj,
533
+ });
534
+ export const SourceTableFeatureDetailsFilterSensitiveLog = (obj) => ({
535
+ ...obj,
536
+ });
537
+ export const BackupDescriptionFilterSensitiveLog = (obj) => ({
538
+ ...obj,
539
+ });
540
+ export const BackupSummaryFilterSensitiveLog = (obj) => ({
541
+ ...obj,
542
+ });
543
+ export const CapacityFilterSensitiveLog = (obj) => ({
544
+ ...obj,
545
+ });
546
+ export const ConsumedCapacityFilterSensitiveLog = (obj) => ({
547
+ ...obj,
548
+ });
549
+ export const BatchStatementErrorFilterSensitiveLog = (obj) => ({
550
+ ...obj,
551
+ });
552
+ export const BillingModeSummaryFilterSensitiveLog = (obj) => ({
553
+ ...obj,
554
+ });
555
+ export const PointInTimeRecoveryDescriptionFilterSensitiveLog = (obj) => ({
556
+ ...obj,
557
+ });
558
+ export const ContinuousBackupsDescriptionFilterSensitiveLog = (obj) => ({
559
+ ...obj,
560
+ });
561
+ export const ContributorInsightsSummaryFilterSensitiveLog = (obj) => ({
562
+ ...obj,
563
+ });
564
+ export const CreateBackupInputFilterSensitiveLog = (obj) => ({
565
+ ...obj,
566
+ });
567
+ export const CreateBackupOutputFilterSensitiveLog = (obj) => ({
568
+ ...obj,
569
+ });
570
+ export const CreateGlobalSecondaryIndexActionFilterSensitiveLog = (obj) => ({
571
+ ...obj,
572
+ });
573
+ export const ReplicaFilterSensitiveLog = (obj) => ({
574
+ ...obj,
575
+ });
576
+ export const CreateGlobalTableInputFilterSensitiveLog = (obj) => ({
577
+ ...obj,
578
+ });
579
+ export const ProvisionedThroughputOverrideFilterSensitiveLog = (obj) => ({
580
+ ...obj,
581
+ });
582
+ export const ReplicaGlobalSecondaryIndexDescriptionFilterSensitiveLog = (obj) => ({
583
+ ...obj,
584
+ });
585
+ export const TableClassSummaryFilterSensitiveLog = (obj) => ({
586
+ ...obj,
587
+ });
588
+ export const ReplicaDescriptionFilterSensitiveLog = (obj) => ({
589
+ ...obj,
590
+ });
591
+ export const GlobalTableDescriptionFilterSensitiveLog = (obj) => ({
592
+ ...obj,
593
+ });
594
+ export const CreateGlobalTableOutputFilterSensitiveLog = (obj) => ({
595
+ ...obj,
596
+ });
597
+ export const CreateReplicaActionFilterSensitiveLog = (obj) => ({
598
+ ...obj,
599
+ });
600
+ export const ReplicaGlobalSecondaryIndexFilterSensitiveLog = (obj) => ({
601
+ ...obj,
602
+ });
603
+ export const CreateReplicationGroupMemberActionFilterSensitiveLog = (obj) => ({
604
+ ...obj,
605
+ });
606
+ export const GlobalSecondaryIndexFilterSensitiveLog = (obj) => ({
607
+ ...obj,
608
+ });
609
+ export const LocalSecondaryIndexFilterSensitiveLog = (obj) => ({
610
+ ...obj,
611
+ });
612
+ export const SSESpecificationFilterSensitiveLog = (obj) => ({
613
+ ...obj,
614
+ });
615
+ export const TagFilterSensitiveLog = (obj) => ({
616
+ ...obj,
617
+ });
618
+ export const CreateTableInputFilterSensitiveLog = (obj) => ({
619
+ ...obj,
620
+ });
621
+ export const ProvisionedThroughputDescriptionFilterSensitiveLog = (obj) => ({
622
+ ...obj,
623
+ });
624
+ export const GlobalSecondaryIndexDescriptionFilterSensitiveLog = (obj) => ({
625
+ ...obj,
626
+ });
627
+ export const LocalSecondaryIndexDescriptionFilterSensitiveLog = (obj) => ({
628
+ ...obj,
629
+ });
630
+ export const RestoreSummaryFilterSensitiveLog = (obj) => ({
631
+ ...obj,
632
+ });
633
+ export const TableDescriptionFilterSensitiveLog = (obj) => ({
634
+ ...obj,
635
+ });
636
+ export const CreateTableOutputFilterSensitiveLog = (obj) => ({
637
+ ...obj,
638
+ });
639
+ export const CsvOptionsFilterSensitiveLog = (obj) => ({
640
+ ...obj,
641
+ });
642
+ export const DeleteBackupInputFilterSensitiveLog = (obj) => ({
643
+ ...obj,
644
+ });
645
+ export const DeleteBackupOutputFilterSensitiveLog = (obj) => ({
646
+ ...obj,
647
+ });
648
+ export const DeleteGlobalSecondaryIndexActionFilterSensitiveLog = (obj) => ({
649
+ ...obj,
650
+ });
651
+ export const DeleteReplicaActionFilterSensitiveLog = (obj) => ({
652
+ ...obj,
653
+ });
654
+ export const DeleteReplicationGroupMemberActionFilterSensitiveLog = (obj) => ({
655
+ ...obj,
656
+ });
657
+ export const DeleteTableInputFilterSensitiveLog = (obj) => ({
658
+ ...obj,
659
+ });
660
+ export const DeleteTableOutputFilterSensitiveLog = (obj) => ({
661
+ ...obj,
662
+ });
663
+ export const DescribeBackupInputFilterSensitiveLog = (obj) => ({
664
+ ...obj,
665
+ });
666
+ export const DescribeBackupOutputFilterSensitiveLog = (obj) => ({
667
+ ...obj,
668
+ });
669
+ export const DescribeContinuousBackupsInputFilterSensitiveLog = (obj) => ({
670
+ ...obj,
671
+ });
672
+ export const DescribeContinuousBackupsOutputFilterSensitiveLog = (obj) => ({
673
+ ...obj,
674
+ });
675
+ export const DescribeContributorInsightsInputFilterSensitiveLog = (obj) => ({
676
+ ...obj,
677
+ });
678
+ export const FailureExceptionFilterSensitiveLog = (obj) => ({
679
+ ...obj,
680
+ });
681
+ export const DescribeContributorInsightsOutputFilterSensitiveLog = (obj) => ({
682
+ ...obj,
683
+ });
684
+ export const DescribeEndpointsRequestFilterSensitiveLog = (obj) => ({
685
+ ...obj,
686
+ });
687
+ export const EndpointFilterSensitiveLog = (obj) => ({
688
+ ...obj,
689
+ });
690
+ export const DescribeEndpointsResponseFilterSensitiveLog = (obj) => ({
691
+ ...obj,
692
+ });
693
+ export const DescribeExportInputFilterSensitiveLog = (obj) => ({
694
+ ...obj,
695
+ });
696
+ export const ExportDescriptionFilterSensitiveLog = (obj) => ({
697
+ ...obj,
698
+ });
699
+ export const DescribeExportOutputFilterSensitiveLog = (obj) => ({
700
+ ...obj,
701
+ });
702
+ export const DescribeGlobalTableInputFilterSensitiveLog = (obj) => ({
703
+ ...obj,
704
+ });
705
+ export const DescribeGlobalTableOutputFilterSensitiveLog = (obj) => ({
706
+ ...obj,
707
+ });
708
+ export const DescribeGlobalTableSettingsInputFilterSensitiveLog = (obj) => ({
709
+ ...obj,
710
+ });
711
+ export const ReplicaGlobalSecondaryIndexSettingsDescriptionFilterSensitiveLog = (obj) => ({
712
+ ...obj,
713
+ });
714
+ export const ReplicaSettingsDescriptionFilterSensitiveLog = (obj) => ({
715
+ ...obj,
716
+ });
717
+ export const DescribeGlobalTableSettingsOutputFilterSensitiveLog = (obj) => ({
718
+ ...obj,
719
+ });
720
+ export const DescribeImportInputFilterSensitiveLog = (obj) => ({
721
+ ...obj,
722
+ });
723
+ export const InputFormatOptionsFilterSensitiveLog = (obj) => ({
724
+ ...obj,
725
+ });
726
+ export const S3BucketSourceFilterSensitiveLog = (obj) => ({
727
+ ...obj,
728
+ });
729
+ export const TableCreationParametersFilterSensitiveLog = (obj) => ({
730
+ ...obj,
731
+ });
732
+ export const ImportTableDescriptionFilterSensitiveLog = (obj) => ({
733
+ ...obj,
734
+ });
735
+ export const DescribeImportOutputFilterSensitiveLog = (obj) => ({
736
+ ...obj,
737
+ });
738
+ export const DescribeKinesisStreamingDestinationInputFilterSensitiveLog = (obj) => ({
739
+ ...obj,
740
+ });
741
+ export const KinesisDataStreamDestinationFilterSensitiveLog = (obj) => ({
742
+ ...obj,
743
+ });
744
+ export const DescribeKinesisStreamingDestinationOutputFilterSensitiveLog = (obj) => ({
745
+ ...obj,
746
+ });
747
+ export const DescribeLimitsInputFilterSensitiveLog = (obj) => ({
748
+ ...obj,
749
+ });
750
+ export const DescribeLimitsOutputFilterSensitiveLog = (obj) => ({
751
+ ...obj,
752
+ });
753
+ export const DescribeTableInputFilterSensitiveLog = (obj) => ({
754
+ ...obj,
755
+ });
756
+ export const DescribeTableOutputFilterSensitiveLog = (obj) => ({
757
+ ...obj,
758
+ });
759
+ export const DescribeTableReplicaAutoScalingInputFilterSensitiveLog = (obj) => ({
760
+ ...obj,
761
+ });
762
+ export const ReplicaGlobalSecondaryIndexAutoScalingDescriptionFilterSensitiveLog = (obj) => ({
763
+ ...obj,
764
+ });
765
+ export const ReplicaAutoScalingDescriptionFilterSensitiveLog = (obj) => ({
766
+ ...obj,
767
+ });
768
+ export const TableAutoScalingDescriptionFilterSensitiveLog = (obj) => ({
769
+ ...obj,
770
+ });
771
+ export const DescribeTableReplicaAutoScalingOutputFilterSensitiveLog = (obj) => ({
772
+ ...obj,
773
+ });
774
+ export const DescribeTimeToLiveInputFilterSensitiveLog = (obj) => ({
775
+ ...obj,
776
+ });
777
+ export const DescribeTimeToLiveOutputFilterSensitiveLog = (obj) => ({
778
+ ...obj,
779
+ });
780
+ export const KinesisStreamingDestinationInputFilterSensitiveLog = (obj) => ({
781
+ ...obj,
782
+ });
783
+ export const KinesisStreamingDestinationOutputFilterSensitiveLog = (obj) => ({
784
+ ...obj,
785
+ });
786
+ export const ExportTableToPointInTimeInputFilterSensitiveLog = (obj) => ({
787
+ ...obj,
788
+ });
789
+ export const ExportTableToPointInTimeOutputFilterSensitiveLog = (obj) => ({
790
+ ...obj,
791
+ });
792
+ export const ImportTableInputFilterSensitiveLog = (obj) => ({
793
+ ...obj,
794
+ });
795
+ export const ImportTableOutputFilterSensitiveLog = (obj) => ({
796
+ ...obj,
797
+ });
798
+ export const ListBackupsInputFilterSensitiveLog = (obj) => ({
799
+ ...obj,
800
+ });
801
+ export const ListBackupsOutputFilterSensitiveLog = (obj) => ({
802
+ ...obj,
803
+ });
804
+ export const ListContributorInsightsInputFilterSensitiveLog = (obj) => ({
805
+ ...obj,
806
+ });
807
+ export const ListContributorInsightsOutputFilterSensitiveLog = (obj) => ({
808
+ ...obj,
809
+ });
810
+ export const ListExportsInputFilterSensitiveLog = (obj) => ({
811
+ ...obj,
812
+ });
813
+ export const ExportSummaryFilterSensitiveLog = (obj) => ({
814
+ ...obj,
815
+ });
816
+ export const ListExportsOutputFilterSensitiveLog = (obj) => ({
817
+ ...obj,
818
+ });
819
+ export const ListGlobalTablesInputFilterSensitiveLog = (obj) => ({
820
+ ...obj,
821
+ });
822
+ export const GlobalTableFilterSensitiveLog = (obj) => ({
823
+ ...obj,
824
+ });
825
+ export const ListGlobalTablesOutputFilterSensitiveLog = (obj) => ({
826
+ ...obj,
827
+ });
828
+ export const ListImportsInputFilterSensitiveLog = (obj) => ({
829
+ ...obj,
830
+ });
831
+ export const ImportSummaryFilterSensitiveLog = (obj) => ({
832
+ ...obj,
833
+ });
834
+ export const ListImportsOutputFilterSensitiveLog = (obj) => ({
835
+ ...obj,
836
+ });
837
+ export const ListTablesInputFilterSensitiveLog = (obj) => ({
838
+ ...obj,
839
+ });
840
+ export const ListTablesOutputFilterSensitiveLog = (obj) => ({
841
+ ...obj,
842
+ });
843
+ export const ListTagsOfResourceInputFilterSensitiveLog = (obj) => ({
844
+ ...obj,
845
+ });
846
+ export const ListTagsOfResourceOutputFilterSensitiveLog = (obj) => ({
847
+ ...obj,
848
+ });
849
+ export const RestoreTableFromBackupInputFilterSensitiveLog = (obj) => ({
850
+ ...obj,
851
+ });
852
+ export const RestoreTableFromBackupOutputFilterSensitiveLog = (obj) => ({
853
+ ...obj,
854
+ });
855
+ export const RestoreTableToPointInTimeInputFilterSensitiveLog = (obj) => ({
856
+ ...obj,
857
+ });
858
+ export const RestoreTableToPointInTimeOutputFilterSensitiveLog = (obj) => ({
859
+ ...obj,
860
+ });
861
+ export const TagResourceInputFilterSensitiveLog = (obj) => ({
862
+ ...obj,
863
+ });
864
+ export const UntagResourceInputFilterSensitiveLog = (obj) => ({
865
+ ...obj,
866
+ });
867
+ export const PointInTimeRecoverySpecificationFilterSensitiveLog = (obj) => ({
868
+ ...obj,
869
+ });
870
+ export const UpdateContinuousBackupsInputFilterSensitiveLog = (obj) => ({
871
+ ...obj,
872
+ });
873
+ export const UpdateContinuousBackupsOutputFilterSensitiveLog = (obj) => ({
874
+ ...obj,
875
+ });
876
+ export const UpdateContributorInsightsInputFilterSensitiveLog = (obj) => ({
877
+ ...obj,
878
+ });
879
+ export const UpdateContributorInsightsOutputFilterSensitiveLog = (obj) => ({
880
+ ...obj,
881
+ });
882
+ export const ReplicaUpdateFilterSensitiveLog = (obj) => ({
883
+ ...obj,
884
+ });
885
+ export const UpdateGlobalTableInputFilterSensitiveLog = (obj) => ({
886
+ ...obj,
887
+ });
888
+ export const UpdateGlobalTableOutputFilterSensitiveLog = (obj) => ({
889
+ ...obj,
890
+ });
891
+ export const GlobalTableGlobalSecondaryIndexSettingsUpdateFilterSensitiveLog = (obj) => ({
892
+ ...obj,
893
+ });
894
+ export const ReplicaGlobalSecondaryIndexSettingsUpdateFilterSensitiveLog = (obj) => ({
895
+ ...obj,
896
+ });
897
+ export const ReplicaSettingsUpdateFilterSensitiveLog = (obj) => ({
898
+ ...obj,
899
+ });
900
+ export const UpdateGlobalTableSettingsInputFilterSensitiveLog = (obj) => ({
901
+ ...obj,
902
+ });
903
+ export const UpdateGlobalTableSettingsOutputFilterSensitiveLog = (obj) => ({
904
+ ...obj,
905
+ });
906
+ export const UpdateGlobalSecondaryIndexActionFilterSensitiveLog = (obj) => ({
907
+ ...obj,
908
+ });
909
+ export const GlobalSecondaryIndexUpdateFilterSensitiveLog = (obj) => ({
910
+ ...obj,
911
+ });
912
+ export const UpdateReplicationGroupMemberActionFilterSensitiveLog = (obj) => ({
913
+ ...obj,
914
+ });
915
+ export const ReplicationGroupUpdateFilterSensitiveLog = (obj) => ({
916
+ ...obj,
917
+ });
918
+ export const UpdateTableInputFilterSensitiveLog = (obj) => ({
919
+ ...obj,
920
+ });
921
+ export const UpdateTableOutputFilterSensitiveLog = (obj) => ({
922
+ ...obj,
923
+ });
924
+ export const GlobalSecondaryIndexAutoScalingUpdateFilterSensitiveLog = (obj) => ({
925
+ ...obj,
926
+ });
927
+ export const ReplicaGlobalSecondaryIndexAutoScalingUpdateFilterSensitiveLog = (obj) => ({
928
+ ...obj,
929
+ });
930
+ export const ReplicaAutoScalingUpdateFilterSensitiveLog = (obj) => ({
931
+ ...obj,
932
+ });
933
+ export const UpdateTableReplicaAutoScalingInputFilterSensitiveLog = (obj) => ({
934
+ ...obj,
935
+ });
936
+ export const UpdateTableReplicaAutoScalingOutputFilterSensitiveLog = (obj) => ({
937
+ ...obj,
938
+ });
939
+ export const TimeToLiveSpecificationFilterSensitiveLog = (obj) => ({
940
+ ...obj,
941
+ });
942
+ export const UpdateTimeToLiveInputFilterSensitiveLog = (obj) => ({
943
+ ...obj,
944
+ });
945
+ export const UpdateTimeToLiveOutputFilterSensitiveLog = (obj) => ({
946
+ ...obj,
947
+ });
948
+ export const AttributeValueFilterSensitiveLog = (obj) => {
639
949
  if (obj.S !== undefined)
640
950
  return { S: obj.S };
641
951
  if (obj.N !== undefined)
@@ -650,398 +960,502 @@ export var AttributeValueFilterSensitiveLog = function (obj) {
650
960
  return { BS: obj.BS };
651
961
  if (obj.M !== undefined)
652
962
  return {
653
- M: Object.entries(obj.M).reduce(function (acc, _a) {
654
- var _b;
655
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
656
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
657
- }, {}),
963
+ M: Object.entries(obj.M).reduce((acc, [key, value]) => ({
964
+ ...acc,
965
+ [key]: AttributeValueFilterSensitiveLog(value),
966
+ }), {}),
658
967
  };
659
968
  if (obj.L !== undefined)
660
- return { L: obj.L.map(function (item) { return AttributeValueFilterSensitiveLog(item); }) };
969
+ return { L: obj.L.map((item) => AttributeValueFilterSensitiveLog(item)) };
661
970
  if (obj.NULL !== undefined)
662
971
  return { NULL: obj.NULL };
663
972
  if (obj.BOOL !== undefined)
664
973
  return { BOOL: obj.BOOL };
665
974
  if (obj.$unknown !== undefined)
666
- return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
975
+ return { [obj.$unknown[0]]: "UNKNOWN" };
667
976
  };
668
- export var AttributeValueUpdateFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Value && { Value: AttributeValueFilterSensitiveLog(obj.Value) }))); };
669
- export var BatchStatementRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: obj.Parameters.map(function (item) { return AttributeValueFilterSensitiveLog(item); }) }))); };
670
- export var BatchStatementResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Item && {
671
- Item: Object.entries(obj.Item).reduce(function (acc, _a) {
672
- var _b;
673
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
674
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
675
- }, {}),
676
- }))); };
677
- export var CancellationReasonFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Item && {
678
- Item: Object.entries(obj.Item).reduce(function (acc, _a) {
679
- var _b;
680
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
681
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
682
- }, {}),
683
- }))); };
684
- export var ConditionFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AttributeValueList && {
685
- AttributeValueList: obj.AttributeValueList.map(function (item) { return AttributeValueFilterSensitiveLog(item); }),
686
- }))); };
687
- export var DeleteRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Key && {
688
- Key: Object.entries(obj.Key).reduce(function (acc, _a) {
689
- var _b;
690
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
691
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
692
- }, {}),
693
- }))); };
694
- export var ExecuteStatementInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: obj.Parameters.map(function (item) { return AttributeValueFilterSensitiveLog(item); }) }))); };
695
- export var GetFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Key && {
696
- Key: Object.entries(obj.Key).reduce(function (acc, _a) {
697
- var _b;
698
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
699
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
700
- }, {}),
701
- }))); };
702
- export var GetItemInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Key && {
703
- Key: Object.entries(obj.Key).reduce(function (acc, _a) {
704
- var _b;
705
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
706
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
707
- }, {}),
708
- }))); };
709
- export var GetItemOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Item && {
710
- Item: Object.entries(obj.Item).reduce(function (acc, _a) {
711
- var _b;
712
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
713
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
714
- }, {}),
715
- }))); };
716
- export var ItemCollectionMetricsFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ItemCollectionKey && {
717
- ItemCollectionKey: Object.entries(obj.ItemCollectionKey).reduce(function (acc, _a) {
718
- var _b;
719
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
720
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
721
- }, {}),
722
- }))); };
723
- export var ItemResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Item && {
724
- Item: Object.entries(obj.Item).reduce(function (acc, _a) {
725
- var _b;
726
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
727
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
728
- }, {}),
729
- }))); };
730
- export var ParameterizedStatementFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: obj.Parameters.map(function (item) { return AttributeValueFilterSensitiveLog(item); }) }))); };
731
- export var PutRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Item && {
732
- Item: Object.entries(obj.Item).reduce(function (acc, _a) {
733
- var _b;
734
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
735
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
736
- }, {}),
737
- }))); };
738
- export var KeysAndAttributesFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Keys && {
739
- Keys: obj.Keys.map(function (item) {
740
- return Object.entries(item).reduce(function (acc, _a) {
741
- var _b;
742
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
743
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
744
- }, {});
977
+ export const AttributeValueUpdateFilterSensitiveLog = (obj) => ({
978
+ ...obj,
979
+ ...(obj.Value && { Value: AttributeValueFilterSensitiveLog(obj.Value) }),
980
+ });
981
+ export const BatchStatementRequestFilterSensitiveLog = (obj) => ({
982
+ ...obj,
983
+ ...(obj.Parameters && { Parameters: obj.Parameters.map((item) => AttributeValueFilterSensitiveLog(item)) }),
984
+ });
985
+ export const BatchStatementResponseFilterSensitiveLog = (obj) => ({
986
+ ...obj,
987
+ ...(obj.Item && {
988
+ Item: Object.entries(obj.Item).reduce((acc, [key, value]) => ({
989
+ ...acc,
990
+ [key]: AttributeValueFilterSensitiveLog(value),
991
+ }), {}),
745
992
  }),
746
- }))); };
747
- export var TransactGetItemFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Get && { Get: GetFilterSensitiveLog(obj.Get) }))); };
748
- export var BatchExecuteStatementInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Statements && { Statements: obj.Statements.map(function (item) { return BatchStatementRequestFilterSensitiveLog(item); }) }))); };
749
- export var BatchExecuteStatementOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Responses && { Responses: obj.Responses.map(function (item) { return BatchStatementResponseFilterSensitiveLog(item); }) }))); };
750
- export var ExecuteTransactionInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TransactStatements && {
751
- TransactStatements: obj.TransactStatements.map(function (item) { return ParameterizedStatementFilterSensitiveLog(item); }),
752
- }))); };
753
- export var ExecuteTransactionOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Responses && { Responses: obj.Responses.map(function (item) { return ItemResponseFilterSensitiveLog(item); }) }))); };
754
- export var TransactGetItemsOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Responses && { Responses: obj.Responses.map(function (item) { return ItemResponseFilterSensitiveLog(item); }) }))); };
755
- export var BatchGetItemInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.RequestItems && {
756
- RequestItems: Object.entries(obj.RequestItems).reduce(function (acc, _a) {
757
- var _b;
758
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
759
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = KeysAndAttributesFilterSensitiveLog(value), _b)));
760
- }, {}),
761
- }))); };
762
- export var ExpectedAttributeValueFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Value && { Value: AttributeValueFilterSensitiveLog(obj.Value) })), (obj.AttributeValueList && {
763
- AttributeValueList: obj.AttributeValueList.map(function (item) { return AttributeValueFilterSensitiveLog(item); }),
764
- }))); };
765
- export var TransactGetItemsInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TransactItems && { TransactItems: obj.TransactItems.map(function (item) { return TransactGetItemFilterSensitiveLog(item); }) }))); };
766
- export var TransactWriteItemsOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ItemCollectionMetrics && {
767
- ItemCollectionMetrics: Object.entries(obj.ItemCollectionMetrics).reduce(function (acc, _a) {
768
- var _b;
769
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
770
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = value.map(function (item) { return ItemCollectionMetricsFilterSensitiveLog(item); }), _b)));
771
- }, {}),
772
- }))); };
773
- export var ConditionCheckFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Key && {
774
- Key: Object.entries(obj.Key).reduce(function (acc, _a) {
775
- var _b;
776
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
777
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
778
- }, {}),
779
- })), (obj.ExpressionAttributeValues && {
780
- ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce(function (acc, _a) {
781
- var _b;
782
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
783
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
784
- }, {}),
785
- }))); };
786
- export var DeleteFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Key && {
787
- Key: Object.entries(obj.Key).reduce(function (acc, _a) {
788
- var _b;
789
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
790
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
791
- }, {}),
792
- })), (obj.ExpressionAttributeValues && {
793
- ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce(function (acc, _a) {
794
- var _b;
795
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
796
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
797
- }, {}),
798
- }))); };
799
- export var PutFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Item && {
800
- Item: Object.entries(obj.Item).reduce(function (acc, _a) {
801
- var _b;
802
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
803
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
804
- }, {}),
805
- })), (obj.ExpressionAttributeValues && {
806
- ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce(function (acc, _a) {
807
- var _b;
808
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
809
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
810
- }, {}),
811
- }))); };
812
- export var UpdateFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Key && {
813
- Key: Object.entries(obj.Key).reduce(function (acc, _a) {
814
- var _b;
815
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
816
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
817
- }, {}),
818
- })), (obj.ExpressionAttributeValues && {
819
- ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce(function (acc, _a) {
820
- var _b;
821
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
822
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
823
- }, {}),
824
- }))); };
825
- export var DeleteItemOutputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Attributes && {
826
- Attributes: Object.entries(obj.Attributes).reduce(function (acc, _a) {
827
- var _b;
828
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
829
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
830
- }, {}),
831
- })), (obj.ItemCollectionMetrics && {
832
- ItemCollectionMetrics: ItemCollectionMetricsFilterSensitiveLog(obj.ItemCollectionMetrics),
833
- }))); };
834
- export var ExecuteStatementOutputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Items && {
835
- Items: obj.Items.map(function (item) {
836
- return Object.entries(item).reduce(function (acc, _a) {
837
- var _b;
838
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
839
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
840
- }, {});
993
+ });
994
+ export const CancellationReasonFilterSensitiveLog = (obj) => ({
995
+ ...obj,
996
+ ...(obj.Item && {
997
+ Item: Object.entries(obj.Item).reduce((acc, [key, value]) => ({
998
+ ...acc,
999
+ [key]: AttributeValueFilterSensitiveLog(value),
1000
+ }), {}),
841
1001
  }),
842
- })), (obj.LastEvaluatedKey && {
843
- LastEvaluatedKey: Object.entries(obj.LastEvaluatedKey).reduce(function (acc, _a) {
844
- var _b;
845
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
846
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
847
- }, {}),
848
- }))); };
849
- export var PutItemOutputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Attributes && {
850
- Attributes: Object.entries(obj.Attributes).reduce(function (acc, _a) {
851
- var _b;
852
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
853
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
854
- }, {}),
855
- })), (obj.ItemCollectionMetrics && {
856
- ItemCollectionMetrics: ItemCollectionMetricsFilterSensitiveLog(obj.ItemCollectionMetrics),
857
- }))); };
858
- export var QueryOutputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Items && {
859
- Items: obj.Items.map(function (item) {
860
- return Object.entries(item).reduce(function (acc, _a) {
861
- var _b;
862
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
863
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
864
- }, {});
1002
+ });
1003
+ export const ConditionFilterSensitiveLog = (obj) => ({
1004
+ ...obj,
1005
+ ...(obj.AttributeValueList && {
1006
+ AttributeValueList: obj.AttributeValueList.map((item) => AttributeValueFilterSensitiveLog(item)),
865
1007
  }),
866
- })), (obj.LastEvaluatedKey && {
867
- LastEvaluatedKey: Object.entries(obj.LastEvaluatedKey).reduce(function (acc, _a) {
868
- var _b;
869
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
870
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
871
- }, {}),
872
- }))); };
873
- export var ScanOutputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Items && {
874
- Items: obj.Items.map(function (item) {
875
- return Object.entries(item).reduce(function (acc, _a) {
876
- var _b;
877
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
878
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
879
- }, {});
1008
+ });
1009
+ export const DeleteRequestFilterSensitiveLog = (obj) => ({
1010
+ ...obj,
1011
+ ...(obj.Key && {
1012
+ Key: Object.entries(obj.Key).reduce((acc, [key, value]) => ({
1013
+ ...acc,
1014
+ [key]: AttributeValueFilterSensitiveLog(value),
1015
+ }), {}),
880
1016
  }),
881
- })), (obj.LastEvaluatedKey && {
882
- LastEvaluatedKey: Object.entries(obj.LastEvaluatedKey).reduce(function (acc, _a) {
883
- var _b;
884
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
885
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
886
- }, {}),
887
- }))); };
888
- export var UpdateItemOutputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Attributes && {
889
- Attributes: Object.entries(obj.Attributes).reduce(function (acc, _a) {
890
- var _b;
891
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
892
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
893
- }, {}),
894
- })), (obj.ItemCollectionMetrics && {
895
- ItemCollectionMetrics: ItemCollectionMetricsFilterSensitiveLog(obj.ItemCollectionMetrics),
896
- }))); };
897
- export var WriteRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.PutRequest && { PutRequest: PutRequestFilterSensitiveLog(obj.PutRequest) })), (obj.DeleteRequest && { DeleteRequest: DeleteRequestFilterSensitiveLog(obj.DeleteRequest) }))); };
898
- export var BatchGetItemOutputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Responses && {
899
- Responses: Object.entries(obj.Responses).reduce(function (acc, _a) {
900
- var _b;
901
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
902
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = value.map(function (item) {
903
- return Object.entries(item).reduce(function (acc, _a) {
904
- var _b;
905
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
906
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
907
- }, {});
908
- }), _b)));
909
- }, {}),
910
- })), (obj.UnprocessedKeys && {
911
- UnprocessedKeys: Object.entries(obj.UnprocessedKeys).reduce(function (acc, _a) {
912
- var _b;
913
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
914
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = KeysAndAttributesFilterSensitiveLog(value), _b)));
915
- }, {}),
916
- }))); };
917
- export var ScanInputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.ScanFilter && {
918
- ScanFilter: Object.entries(obj.ScanFilter).reduce(function (acc, _a) {
919
- var _b;
920
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
921
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = ConditionFilterSensitiveLog(value), _b)));
922
- }, {}),
923
- })), (obj.ExclusiveStartKey && {
924
- ExclusiveStartKey: Object.entries(obj.ExclusiveStartKey).reduce(function (acc, _a) {
925
- var _b;
926
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
927
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
928
- }, {}),
929
- })), (obj.ExpressionAttributeValues && {
930
- ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce(function (acc, _a) {
931
- var _b;
932
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
933
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
934
- }, {}),
935
- }))); };
936
- export var BatchWriteItemInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.RequestItems && {
937
- RequestItems: Object.entries(obj.RequestItems).reduce(function (acc, _a) {
938
- var _b;
939
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
940
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = value.map(function (item) { return WriteRequestFilterSensitiveLog(item); }), _b)));
941
- }, {}),
942
- }))); };
943
- export var DeleteItemInputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.Key && {
944
- Key: Object.entries(obj.Key).reduce(function (acc, _a) {
945
- var _b;
946
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
947
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
948
- }, {}),
949
- })), (obj.Expected && {
950
- Expected: Object.entries(obj.Expected).reduce(function (acc, _a) {
951
- var _b;
952
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
953
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = ExpectedAttributeValueFilterSensitiveLog(value), _b)));
954
- }, {}),
955
- })), (obj.ExpressionAttributeValues && {
956
- ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce(function (acc, _a) {
957
- var _b;
958
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
959
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
960
- }, {}),
961
- }))); };
962
- export var PutItemInputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.Item && {
963
- Item: Object.entries(obj.Item).reduce(function (acc, _a) {
964
- var _b;
965
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
966
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
967
- }, {}),
968
- })), (obj.Expected && {
969
- Expected: Object.entries(obj.Expected).reduce(function (acc, _a) {
970
- var _b;
971
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
972
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = ExpectedAttributeValueFilterSensitiveLog(value), _b)));
973
- }, {}),
974
- })), (obj.ExpressionAttributeValues && {
975
- ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce(function (acc, _a) {
976
- var _b;
977
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
978
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
979
- }, {}),
980
- }))); };
981
- export var QueryInputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.KeyConditions && {
982
- KeyConditions: Object.entries(obj.KeyConditions).reduce(function (acc, _a) {
983
- var _b;
984
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
985
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = ConditionFilterSensitiveLog(value), _b)));
986
- }, {}),
987
- })), (obj.QueryFilter && {
988
- QueryFilter: Object.entries(obj.QueryFilter).reduce(function (acc, _a) {
989
- var _b;
990
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
991
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = ConditionFilterSensitiveLog(value), _b)));
992
- }, {}),
993
- })), (obj.ExclusiveStartKey && {
994
- ExclusiveStartKey: Object.entries(obj.ExclusiveStartKey).reduce(function (acc, _a) {
995
- var _b;
996
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
997
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
998
- }, {}),
999
- })), (obj.ExpressionAttributeValues && {
1000
- ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce(function (acc, _a) {
1001
- var _b;
1002
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
1003
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
1004
- }, {}),
1005
- }))); };
1006
- export var BatchWriteItemOutputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.UnprocessedItems && {
1007
- UnprocessedItems: Object.entries(obj.UnprocessedItems).reduce(function (acc, _a) {
1008
- var _b;
1009
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
1010
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = value.map(function (item) { return WriteRequestFilterSensitiveLog(item); }), _b)));
1011
- }, {}),
1012
- })), (obj.ItemCollectionMetrics && {
1013
- ItemCollectionMetrics: Object.entries(obj.ItemCollectionMetrics).reduce(function (acc, _a) {
1014
- var _b;
1015
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
1016
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = value.map(function (item) { return ItemCollectionMetricsFilterSensitiveLog(item); }), _b)));
1017
- }, {}),
1018
- }))); };
1019
- export var UpdateItemInputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.Key && {
1020
- Key: Object.entries(obj.Key).reduce(function (acc, _a) {
1021
- var _b;
1022
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
1023
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
1024
- }, {}),
1025
- })), (obj.AttributeUpdates && {
1026
- AttributeUpdates: Object.entries(obj.AttributeUpdates).reduce(function (acc, _a) {
1027
- var _b;
1028
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
1029
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueUpdateFilterSensitiveLog(value), _b)));
1030
- }, {}),
1031
- })), (obj.Expected && {
1032
- Expected: Object.entries(obj.Expected).reduce(function (acc, _a) {
1033
- var _b;
1034
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
1035
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = ExpectedAttributeValueFilterSensitiveLog(value), _b)));
1036
- }, {}),
1037
- })), (obj.ExpressionAttributeValues && {
1038
- ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce(function (acc, _a) {
1039
- var _b;
1040
- var _c = __read(_a, 2), key = _c[0], value = _c[1];
1041
- return (__assign(__assign({}, acc), (_b = {}, _b[key] = AttributeValueFilterSensitiveLog(value), _b)));
1042
- }, {}),
1043
- }))); };
1044
- export var TransactWriteItemFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.ConditionCheck && { ConditionCheck: ConditionCheckFilterSensitiveLog(obj.ConditionCheck) })), (obj.Put && { Put: PutFilterSensitiveLog(obj.Put) })), (obj.Delete && { Delete: DeleteFilterSensitiveLog(obj.Delete) })), (obj.Update && { Update: UpdateFilterSensitiveLog(obj.Update) }))); };
1045
- export var TransactWriteItemsInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TransactItems && {
1046
- TransactItems: obj.TransactItems.map(function (item) { return TransactWriteItemFilterSensitiveLog(item); }),
1047
- }))); };
1017
+ });
1018
+ export const ExecuteStatementInputFilterSensitiveLog = (obj) => ({
1019
+ ...obj,
1020
+ ...(obj.Parameters && { Parameters: obj.Parameters.map((item) => AttributeValueFilterSensitiveLog(item)) }),
1021
+ });
1022
+ export const GetFilterSensitiveLog = (obj) => ({
1023
+ ...obj,
1024
+ ...(obj.Key && {
1025
+ Key: Object.entries(obj.Key).reduce((acc, [key, value]) => ({
1026
+ ...acc,
1027
+ [key]: AttributeValueFilterSensitiveLog(value),
1028
+ }), {}),
1029
+ }),
1030
+ });
1031
+ export const GetItemInputFilterSensitiveLog = (obj) => ({
1032
+ ...obj,
1033
+ ...(obj.Key && {
1034
+ Key: Object.entries(obj.Key).reduce((acc, [key, value]) => ({
1035
+ ...acc,
1036
+ [key]: AttributeValueFilterSensitiveLog(value),
1037
+ }), {}),
1038
+ }),
1039
+ });
1040
+ export const GetItemOutputFilterSensitiveLog = (obj) => ({
1041
+ ...obj,
1042
+ ...(obj.Item && {
1043
+ Item: Object.entries(obj.Item).reduce((acc, [key, value]) => ({
1044
+ ...acc,
1045
+ [key]: AttributeValueFilterSensitiveLog(value),
1046
+ }), {}),
1047
+ }),
1048
+ });
1049
+ export const ItemCollectionMetricsFilterSensitiveLog = (obj) => ({
1050
+ ...obj,
1051
+ ...(obj.ItemCollectionKey && {
1052
+ ItemCollectionKey: Object.entries(obj.ItemCollectionKey).reduce((acc, [key, value]) => ({
1053
+ ...acc,
1054
+ [key]: AttributeValueFilterSensitiveLog(value),
1055
+ }), {}),
1056
+ }),
1057
+ });
1058
+ export const ItemResponseFilterSensitiveLog = (obj) => ({
1059
+ ...obj,
1060
+ ...(obj.Item && {
1061
+ Item: Object.entries(obj.Item).reduce((acc, [key, value]) => ({
1062
+ ...acc,
1063
+ [key]: AttributeValueFilterSensitiveLog(value),
1064
+ }), {}),
1065
+ }),
1066
+ });
1067
+ export const ParameterizedStatementFilterSensitiveLog = (obj) => ({
1068
+ ...obj,
1069
+ ...(obj.Parameters && { Parameters: obj.Parameters.map((item) => AttributeValueFilterSensitiveLog(item)) }),
1070
+ });
1071
+ export const PutRequestFilterSensitiveLog = (obj) => ({
1072
+ ...obj,
1073
+ ...(obj.Item && {
1074
+ Item: Object.entries(obj.Item).reduce((acc, [key, value]) => ({
1075
+ ...acc,
1076
+ [key]: AttributeValueFilterSensitiveLog(value),
1077
+ }), {}),
1078
+ }),
1079
+ });
1080
+ export const KeysAndAttributesFilterSensitiveLog = (obj) => ({
1081
+ ...obj,
1082
+ ...(obj.Keys && {
1083
+ Keys: obj.Keys.map((item) => Object.entries(item).reduce((acc, [key, value]) => ({
1084
+ ...acc,
1085
+ [key]: AttributeValueFilterSensitiveLog(value),
1086
+ }), {})),
1087
+ }),
1088
+ });
1089
+ export const TransactGetItemFilterSensitiveLog = (obj) => ({
1090
+ ...obj,
1091
+ ...(obj.Get && { Get: GetFilterSensitiveLog(obj.Get) }),
1092
+ });
1093
+ export const BatchExecuteStatementInputFilterSensitiveLog = (obj) => ({
1094
+ ...obj,
1095
+ ...(obj.Statements && { Statements: obj.Statements.map((item) => BatchStatementRequestFilterSensitiveLog(item)) }),
1096
+ });
1097
+ export const BatchExecuteStatementOutputFilterSensitiveLog = (obj) => ({
1098
+ ...obj,
1099
+ ...(obj.Responses && { Responses: obj.Responses.map((item) => BatchStatementResponseFilterSensitiveLog(item)) }),
1100
+ });
1101
+ export const ExecuteTransactionInputFilterSensitiveLog = (obj) => ({
1102
+ ...obj,
1103
+ ...(obj.TransactStatements && {
1104
+ TransactStatements: obj.TransactStatements.map((item) => ParameterizedStatementFilterSensitiveLog(item)),
1105
+ }),
1106
+ });
1107
+ export const ExecuteTransactionOutputFilterSensitiveLog = (obj) => ({
1108
+ ...obj,
1109
+ ...(obj.Responses && { Responses: obj.Responses.map((item) => ItemResponseFilterSensitiveLog(item)) }),
1110
+ });
1111
+ export const TransactGetItemsOutputFilterSensitiveLog = (obj) => ({
1112
+ ...obj,
1113
+ ...(obj.Responses && { Responses: obj.Responses.map((item) => ItemResponseFilterSensitiveLog(item)) }),
1114
+ });
1115
+ export const BatchGetItemInputFilterSensitiveLog = (obj) => ({
1116
+ ...obj,
1117
+ ...(obj.RequestItems && {
1118
+ RequestItems: Object.entries(obj.RequestItems).reduce((acc, [key, value]) => ({
1119
+ ...acc,
1120
+ [key]: KeysAndAttributesFilterSensitiveLog(value),
1121
+ }), {}),
1122
+ }),
1123
+ });
1124
+ export const ExpectedAttributeValueFilterSensitiveLog = (obj) => ({
1125
+ ...obj,
1126
+ ...(obj.Value && { Value: AttributeValueFilterSensitiveLog(obj.Value) }),
1127
+ ...(obj.AttributeValueList && {
1128
+ AttributeValueList: obj.AttributeValueList.map((item) => AttributeValueFilterSensitiveLog(item)),
1129
+ }),
1130
+ });
1131
+ export const TransactGetItemsInputFilterSensitiveLog = (obj) => ({
1132
+ ...obj,
1133
+ ...(obj.TransactItems && { TransactItems: obj.TransactItems.map((item) => TransactGetItemFilterSensitiveLog(item)) }),
1134
+ });
1135
+ export const TransactWriteItemsOutputFilterSensitiveLog = (obj) => ({
1136
+ ...obj,
1137
+ ...(obj.ItemCollectionMetrics && {
1138
+ ItemCollectionMetrics: Object.entries(obj.ItemCollectionMetrics).reduce((acc, [key, value]) => ({
1139
+ ...acc,
1140
+ [key]: value.map((item) => ItemCollectionMetricsFilterSensitiveLog(item)),
1141
+ }), {}),
1142
+ }),
1143
+ });
1144
+ export const ConditionCheckFilterSensitiveLog = (obj) => ({
1145
+ ...obj,
1146
+ ...(obj.Key && {
1147
+ Key: Object.entries(obj.Key).reduce((acc, [key, value]) => ({
1148
+ ...acc,
1149
+ [key]: AttributeValueFilterSensitiveLog(value),
1150
+ }), {}),
1151
+ }),
1152
+ ...(obj.ExpressionAttributeValues && {
1153
+ ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce((acc, [key, value]) => ({
1154
+ ...acc,
1155
+ [key]: AttributeValueFilterSensitiveLog(value),
1156
+ }), {}),
1157
+ }),
1158
+ });
1159
+ export const DeleteFilterSensitiveLog = (obj) => ({
1160
+ ...obj,
1161
+ ...(obj.Key && {
1162
+ Key: Object.entries(obj.Key).reduce((acc, [key, value]) => ({
1163
+ ...acc,
1164
+ [key]: AttributeValueFilterSensitiveLog(value),
1165
+ }), {}),
1166
+ }),
1167
+ ...(obj.ExpressionAttributeValues && {
1168
+ ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce((acc, [key, value]) => ({
1169
+ ...acc,
1170
+ [key]: AttributeValueFilterSensitiveLog(value),
1171
+ }), {}),
1172
+ }),
1173
+ });
1174
+ export const PutFilterSensitiveLog = (obj) => ({
1175
+ ...obj,
1176
+ ...(obj.Item && {
1177
+ Item: Object.entries(obj.Item).reduce((acc, [key, value]) => ({
1178
+ ...acc,
1179
+ [key]: AttributeValueFilterSensitiveLog(value),
1180
+ }), {}),
1181
+ }),
1182
+ ...(obj.ExpressionAttributeValues && {
1183
+ ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce((acc, [key, value]) => ({
1184
+ ...acc,
1185
+ [key]: AttributeValueFilterSensitiveLog(value),
1186
+ }), {}),
1187
+ }),
1188
+ });
1189
+ export const UpdateFilterSensitiveLog = (obj) => ({
1190
+ ...obj,
1191
+ ...(obj.Key && {
1192
+ Key: Object.entries(obj.Key).reduce((acc, [key, value]) => ({
1193
+ ...acc,
1194
+ [key]: AttributeValueFilterSensitiveLog(value),
1195
+ }), {}),
1196
+ }),
1197
+ ...(obj.ExpressionAttributeValues && {
1198
+ ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce((acc, [key, value]) => ({
1199
+ ...acc,
1200
+ [key]: AttributeValueFilterSensitiveLog(value),
1201
+ }), {}),
1202
+ }),
1203
+ });
1204
+ export const DeleteItemOutputFilterSensitiveLog = (obj) => ({
1205
+ ...obj,
1206
+ ...(obj.Attributes && {
1207
+ Attributes: Object.entries(obj.Attributes).reduce((acc, [key, value]) => ({
1208
+ ...acc,
1209
+ [key]: AttributeValueFilterSensitiveLog(value),
1210
+ }), {}),
1211
+ }),
1212
+ ...(obj.ItemCollectionMetrics && {
1213
+ ItemCollectionMetrics: ItemCollectionMetricsFilterSensitiveLog(obj.ItemCollectionMetrics),
1214
+ }),
1215
+ });
1216
+ export const ExecuteStatementOutputFilterSensitiveLog = (obj) => ({
1217
+ ...obj,
1218
+ ...(obj.Items && {
1219
+ Items: obj.Items.map((item) => Object.entries(item).reduce((acc, [key, value]) => ({
1220
+ ...acc,
1221
+ [key]: AttributeValueFilterSensitiveLog(value),
1222
+ }), {})),
1223
+ }),
1224
+ ...(obj.LastEvaluatedKey && {
1225
+ LastEvaluatedKey: Object.entries(obj.LastEvaluatedKey).reduce((acc, [key, value]) => ({
1226
+ ...acc,
1227
+ [key]: AttributeValueFilterSensitiveLog(value),
1228
+ }), {}),
1229
+ }),
1230
+ });
1231
+ export const PutItemOutputFilterSensitiveLog = (obj) => ({
1232
+ ...obj,
1233
+ ...(obj.Attributes && {
1234
+ Attributes: Object.entries(obj.Attributes).reduce((acc, [key, value]) => ({
1235
+ ...acc,
1236
+ [key]: AttributeValueFilterSensitiveLog(value),
1237
+ }), {}),
1238
+ }),
1239
+ ...(obj.ItemCollectionMetrics && {
1240
+ ItemCollectionMetrics: ItemCollectionMetricsFilterSensitiveLog(obj.ItemCollectionMetrics),
1241
+ }),
1242
+ });
1243
+ export const QueryOutputFilterSensitiveLog = (obj) => ({
1244
+ ...obj,
1245
+ ...(obj.Items && {
1246
+ Items: obj.Items.map((item) => Object.entries(item).reduce((acc, [key, value]) => ({
1247
+ ...acc,
1248
+ [key]: AttributeValueFilterSensitiveLog(value),
1249
+ }), {})),
1250
+ }),
1251
+ ...(obj.LastEvaluatedKey && {
1252
+ LastEvaluatedKey: Object.entries(obj.LastEvaluatedKey).reduce((acc, [key, value]) => ({
1253
+ ...acc,
1254
+ [key]: AttributeValueFilterSensitiveLog(value),
1255
+ }), {}),
1256
+ }),
1257
+ });
1258
+ export const ScanOutputFilterSensitiveLog = (obj) => ({
1259
+ ...obj,
1260
+ ...(obj.Items && {
1261
+ Items: obj.Items.map((item) => Object.entries(item).reduce((acc, [key, value]) => ({
1262
+ ...acc,
1263
+ [key]: AttributeValueFilterSensitiveLog(value),
1264
+ }), {})),
1265
+ }),
1266
+ ...(obj.LastEvaluatedKey && {
1267
+ LastEvaluatedKey: Object.entries(obj.LastEvaluatedKey).reduce((acc, [key, value]) => ({
1268
+ ...acc,
1269
+ [key]: AttributeValueFilterSensitiveLog(value),
1270
+ }), {}),
1271
+ }),
1272
+ });
1273
+ export const UpdateItemOutputFilterSensitiveLog = (obj) => ({
1274
+ ...obj,
1275
+ ...(obj.Attributes && {
1276
+ Attributes: Object.entries(obj.Attributes).reduce((acc, [key, value]) => ({
1277
+ ...acc,
1278
+ [key]: AttributeValueFilterSensitiveLog(value),
1279
+ }), {}),
1280
+ }),
1281
+ ...(obj.ItemCollectionMetrics && {
1282
+ ItemCollectionMetrics: ItemCollectionMetricsFilterSensitiveLog(obj.ItemCollectionMetrics),
1283
+ }),
1284
+ });
1285
+ export const WriteRequestFilterSensitiveLog = (obj) => ({
1286
+ ...obj,
1287
+ ...(obj.PutRequest && { PutRequest: PutRequestFilterSensitiveLog(obj.PutRequest) }),
1288
+ ...(obj.DeleteRequest && { DeleteRequest: DeleteRequestFilterSensitiveLog(obj.DeleteRequest) }),
1289
+ });
1290
+ export const BatchGetItemOutputFilterSensitiveLog = (obj) => ({
1291
+ ...obj,
1292
+ ...(obj.Responses && {
1293
+ Responses: Object.entries(obj.Responses).reduce((acc, [key, value]) => ({
1294
+ ...acc,
1295
+ [key]: value.map((item) => Object.entries(item).reduce((acc, [key, value]) => ({
1296
+ ...acc,
1297
+ [key]: AttributeValueFilterSensitiveLog(value),
1298
+ }), {})),
1299
+ }), {}),
1300
+ }),
1301
+ ...(obj.UnprocessedKeys && {
1302
+ UnprocessedKeys: Object.entries(obj.UnprocessedKeys).reduce((acc, [key, value]) => ({
1303
+ ...acc,
1304
+ [key]: KeysAndAttributesFilterSensitiveLog(value),
1305
+ }), {}),
1306
+ }),
1307
+ });
1308
+ export const ScanInputFilterSensitiveLog = (obj) => ({
1309
+ ...obj,
1310
+ ...(obj.ScanFilter && {
1311
+ ScanFilter: Object.entries(obj.ScanFilter).reduce((acc, [key, value]) => ({
1312
+ ...acc,
1313
+ [key]: ConditionFilterSensitiveLog(value),
1314
+ }), {}),
1315
+ }),
1316
+ ...(obj.ExclusiveStartKey && {
1317
+ ExclusiveStartKey: Object.entries(obj.ExclusiveStartKey).reduce((acc, [key, value]) => ({
1318
+ ...acc,
1319
+ [key]: AttributeValueFilterSensitiveLog(value),
1320
+ }), {}),
1321
+ }),
1322
+ ...(obj.ExpressionAttributeValues && {
1323
+ ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce((acc, [key, value]) => ({
1324
+ ...acc,
1325
+ [key]: AttributeValueFilterSensitiveLog(value),
1326
+ }), {}),
1327
+ }),
1328
+ });
1329
+ export const BatchWriteItemInputFilterSensitiveLog = (obj) => ({
1330
+ ...obj,
1331
+ ...(obj.RequestItems && {
1332
+ RequestItems: Object.entries(obj.RequestItems).reduce((acc, [key, value]) => ({
1333
+ ...acc,
1334
+ [key]: value.map((item) => WriteRequestFilterSensitiveLog(item)),
1335
+ }), {}),
1336
+ }),
1337
+ });
1338
+ export const DeleteItemInputFilterSensitiveLog = (obj) => ({
1339
+ ...obj,
1340
+ ...(obj.Key && {
1341
+ Key: Object.entries(obj.Key).reduce((acc, [key, value]) => ({
1342
+ ...acc,
1343
+ [key]: AttributeValueFilterSensitiveLog(value),
1344
+ }), {}),
1345
+ }),
1346
+ ...(obj.Expected && {
1347
+ Expected: Object.entries(obj.Expected).reduce((acc, [key, value]) => ({
1348
+ ...acc,
1349
+ [key]: ExpectedAttributeValueFilterSensitiveLog(value),
1350
+ }), {}),
1351
+ }),
1352
+ ...(obj.ExpressionAttributeValues && {
1353
+ ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce((acc, [key, value]) => ({
1354
+ ...acc,
1355
+ [key]: AttributeValueFilterSensitiveLog(value),
1356
+ }), {}),
1357
+ }),
1358
+ });
1359
+ export const PutItemInputFilterSensitiveLog = (obj) => ({
1360
+ ...obj,
1361
+ ...(obj.Item && {
1362
+ Item: Object.entries(obj.Item).reduce((acc, [key, value]) => ({
1363
+ ...acc,
1364
+ [key]: AttributeValueFilterSensitiveLog(value),
1365
+ }), {}),
1366
+ }),
1367
+ ...(obj.Expected && {
1368
+ Expected: Object.entries(obj.Expected).reduce((acc, [key, value]) => ({
1369
+ ...acc,
1370
+ [key]: ExpectedAttributeValueFilterSensitiveLog(value),
1371
+ }), {}),
1372
+ }),
1373
+ ...(obj.ExpressionAttributeValues && {
1374
+ ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce((acc, [key, value]) => ({
1375
+ ...acc,
1376
+ [key]: AttributeValueFilterSensitiveLog(value),
1377
+ }), {}),
1378
+ }),
1379
+ });
1380
+ export const QueryInputFilterSensitiveLog = (obj) => ({
1381
+ ...obj,
1382
+ ...(obj.KeyConditions && {
1383
+ KeyConditions: Object.entries(obj.KeyConditions).reduce((acc, [key, value]) => ({
1384
+ ...acc,
1385
+ [key]: ConditionFilterSensitiveLog(value),
1386
+ }), {}),
1387
+ }),
1388
+ ...(obj.QueryFilter && {
1389
+ QueryFilter: Object.entries(obj.QueryFilter).reduce((acc, [key, value]) => ({
1390
+ ...acc,
1391
+ [key]: ConditionFilterSensitiveLog(value),
1392
+ }), {}),
1393
+ }),
1394
+ ...(obj.ExclusiveStartKey && {
1395
+ ExclusiveStartKey: Object.entries(obj.ExclusiveStartKey).reduce((acc, [key, value]) => ({
1396
+ ...acc,
1397
+ [key]: AttributeValueFilterSensitiveLog(value),
1398
+ }), {}),
1399
+ }),
1400
+ ...(obj.ExpressionAttributeValues && {
1401
+ ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce((acc, [key, value]) => ({
1402
+ ...acc,
1403
+ [key]: AttributeValueFilterSensitiveLog(value),
1404
+ }), {}),
1405
+ }),
1406
+ });
1407
+ export const BatchWriteItemOutputFilterSensitiveLog = (obj) => ({
1408
+ ...obj,
1409
+ ...(obj.UnprocessedItems && {
1410
+ UnprocessedItems: Object.entries(obj.UnprocessedItems).reduce((acc, [key, value]) => ({
1411
+ ...acc,
1412
+ [key]: value.map((item) => WriteRequestFilterSensitiveLog(item)),
1413
+ }), {}),
1414
+ }),
1415
+ ...(obj.ItemCollectionMetrics && {
1416
+ ItemCollectionMetrics: Object.entries(obj.ItemCollectionMetrics).reduce((acc, [key, value]) => ({
1417
+ ...acc,
1418
+ [key]: value.map((item) => ItemCollectionMetricsFilterSensitiveLog(item)),
1419
+ }), {}),
1420
+ }),
1421
+ });
1422
+ export const UpdateItemInputFilterSensitiveLog = (obj) => ({
1423
+ ...obj,
1424
+ ...(obj.Key && {
1425
+ Key: Object.entries(obj.Key).reduce((acc, [key, value]) => ({
1426
+ ...acc,
1427
+ [key]: AttributeValueFilterSensitiveLog(value),
1428
+ }), {}),
1429
+ }),
1430
+ ...(obj.AttributeUpdates && {
1431
+ AttributeUpdates: Object.entries(obj.AttributeUpdates).reduce((acc, [key, value]) => ({
1432
+ ...acc,
1433
+ [key]: AttributeValueUpdateFilterSensitiveLog(value),
1434
+ }), {}),
1435
+ }),
1436
+ ...(obj.Expected && {
1437
+ Expected: Object.entries(obj.Expected).reduce((acc, [key, value]) => ({
1438
+ ...acc,
1439
+ [key]: ExpectedAttributeValueFilterSensitiveLog(value),
1440
+ }), {}),
1441
+ }),
1442
+ ...(obj.ExpressionAttributeValues && {
1443
+ ExpressionAttributeValues: Object.entries(obj.ExpressionAttributeValues).reduce((acc, [key, value]) => ({
1444
+ ...acc,
1445
+ [key]: AttributeValueFilterSensitiveLog(value),
1446
+ }), {}),
1447
+ }),
1448
+ });
1449
+ export const TransactWriteItemFilterSensitiveLog = (obj) => ({
1450
+ ...obj,
1451
+ ...(obj.ConditionCheck && { ConditionCheck: ConditionCheckFilterSensitiveLog(obj.ConditionCheck) }),
1452
+ ...(obj.Put && { Put: PutFilterSensitiveLog(obj.Put) }),
1453
+ ...(obj.Delete && { Delete: DeleteFilterSensitiveLog(obj.Delete) }),
1454
+ ...(obj.Update && { Update: UpdateFilterSensitiveLog(obj.Update) }),
1455
+ });
1456
+ export const TransactWriteItemsInputFilterSensitiveLog = (obj) => ({
1457
+ ...obj,
1458
+ ...(obj.TransactItems && {
1459
+ TransactItems: obj.TransactItems.map((item) => TransactWriteItemFilterSensitiveLog(item)),
1460
+ }),
1461
+ });