@aws-sdk/client-dynamodb 3.721.0 → 3.724.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +465 -352
- package/dist-es/DynamoDBClient.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +74 -68
- package/dist-es/protocols/Aws_json1_0.js +1 -0
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +145 -59
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +45 -45
|
@@ -17,6 +17,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
17
17
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
18
18
|
export { __Client };
|
|
19
19
|
export class DynamoDBClient extends __Client {
|
|
20
|
+
config;
|
|
20
21
|
constructor(...[configuration]) {
|
|
21
22
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
22
23
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const H = "required", I = "type", J = "fn", K = "argv", L = "ref", M = "url", N = "properties", O = "headers";
|
|
2
2
|
const a = false, b = "isSet", c = "error", d = "endpoint", e = "tree", f = "PartitionResult", g = "stringEquals", h = "not", i = { [H]: false, [I]: "String" }, j = { [H]: true, "default": false, [I]: "Boolean" }, k = { [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, l = { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }, m = {}, n = { [L]: "Region" }, o = { [J]: b, [K]: [{ [L]: "AccountIdEndpointMode" }] }, p = { [L]: "AccountIdEndpointMode" }, q = { [J]: b, [K]: [{ [L]: "AccountId" }] }, r = { [L]: "AccountId" }, s = { [J]: g, [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "name"] }, "aws"] }, t = { [J]: "getAttr", [K]: [{ [L]: f }, "name"] }, u = { [J]: h, [K]: [k] }, v = { [J]: h, [K]: [l] }, w = { [J]: "booleanEquals", [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "supportsFIPS"] }, true] }, x = { [J]: "booleanEquals", [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "supportsDualStack"] }, true] }, y = { [M]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: {}, [O]: {} }, z = { "conditions": [o, { [J]: g, [K]: [p, "disabled"] }], [d]: { [M]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, [I]: d }, A = { [d]: { [M]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, [I]: d }, B = { [M]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, C = { [M]: "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: {}, [O]: {} }, D = [k], E = [l], F = [n], G = [o, { [J]: g, [K]: [p, "disabled"] }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i, AccountId: i, AccountIdEndpointMode: i }, rules: [{ conditions: [{ [J]: b, [K]: [{ [L]: "Endpoint" }] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [I]: c }, { endpoint: { [M]: "{Endpoint}", [N]: m, [O]: m }, [I]: d }], [I]: e }, { conditions: [{ [J]: b, [K]: F }], rules: [{ conditions: [{ [J]: "aws.partition", [K]: F, assign: f }], rules: [{ conditions: [{ [J]: g, [K]: [n, "local"] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and local endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [I]: c }, { endpoint: { [M]: "http://localhost:8000", [N]: { authSchemes: [{
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i, AccountId: i, AccountIdEndpointMode: i }, rules: [{ conditions: [{ [J]: b, [K]: [{ [L]: "Endpoint" }] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [I]: c }, { endpoint: { [M]: "{Endpoint}", [N]: m, [O]: m }, [I]: d }], [I]: e }, { conditions: [{ [J]: b, [K]: F }], rules: [{ conditions: [{ [J]: "aws.partition", [K]: F, assign: f }], rules: [{ conditions: [{ [J]: g, [K]: [n, "local"] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and local endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [I]: c }, { endpoint: { [M]: "http://localhost:8000", [N]: { authSchemes: [{ name: "sigv4", signingName: "dynamodb", signingRegion: "us-east-1" }] }, [O]: m }, [I]: d }], [I]: e }, { conditions: [o, { [J]: g, [K]: [p, "required"] }, { [J]: h, [K]: [q] }], error: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded.", [I]: c }, { conditions: [q, s, u, v, { [J]: h, [K]: [{ [J]: "isValidHostLabel", [K]: [r, a] }] }], error: "Credentials-sourced account ID parameter is invalid", [I]: c }, { conditions: [k, l], rules: [{ conditions: [w, x], rules: [{ conditions: G, endpoint: y, [I]: d }, { endpoint: y, [I]: d }], [I]: e }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [I]: c }], [I]: e }, { conditions: D, rules: [{ conditions: [w], rules: [{ conditions: [{ [J]: g, [K]: [t, "aws-us-gov"] }], rules: [z, A], [I]: e }, { conditions: G, endpoint: B, [I]: d }, { endpoint: B, [I]: d }], [I]: e }, { error: "FIPS is enabled but this partition does not support FIPS", [I]: c }], [I]: e }, { conditions: E, rules: [{ conditions: [x], rules: [{ conditions: G, endpoint: C, [I]: d }, { endpoint: C, [I]: d }], [I]: e }, { error: "DualStack is enabled but this partition does not support DualStack", [I]: c }], [I]: e }, z, { conditions: [q, s, u, v], endpoint: { [M]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [N]: m, [O]: m }, [I]: d }, A], [I]: e }], [I]: e }, { error: "Invalid Configuration: Missing Region", [I]: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -60,26 +60,26 @@ export const TimeToLiveStatus = {
|
|
|
60
60
|
ENABLING: "ENABLING",
|
|
61
61
|
};
|
|
62
62
|
export class BackupInUseException extends __BaseException {
|
|
63
|
+
name = "BackupInUseException";
|
|
64
|
+
$fault = "client";
|
|
63
65
|
constructor(opts) {
|
|
64
66
|
super({
|
|
65
67
|
name: "BackupInUseException",
|
|
66
68
|
$fault: "client",
|
|
67
69
|
...opts,
|
|
68
70
|
});
|
|
69
|
-
this.name = "BackupInUseException";
|
|
70
|
-
this.$fault = "client";
|
|
71
71
|
Object.setPrototypeOf(this, BackupInUseException.prototype);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
export class BackupNotFoundException extends __BaseException {
|
|
75
|
+
name = "BackupNotFoundException";
|
|
76
|
+
$fault = "client";
|
|
75
77
|
constructor(opts) {
|
|
76
78
|
super({
|
|
77
79
|
name: "BackupNotFoundException",
|
|
78
80
|
$fault: "client",
|
|
79
81
|
...opts,
|
|
80
82
|
});
|
|
81
|
-
this.name = "BackupNotFoundException";
|
|
82
|
-
this.$fault = "client";
|
|
83
83
|
Object.setPrototypeOf(this, BackupNotFoundException.prototype);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -112,63 +112,64 @@ export const BatchStatementErrorCodeEnum = {
|
|
|
112
112
|
ValidationError: "ValidationError",
|
|
113
113
|
};
|
|
114
114
|
export class InternalServerError extends __BaseException {
|
|
115
|
+
name = "InternalServerError";
|
|
116
|
+
$fault = "server";
|
|
115
117
|
constructor(opts) {
|
|
116
118
|
super({
|
|
117
119
|
name: "InternalServerError",
|
|
118
120
|
$fault: "server",
|
|
119
121
|
...opts,
|
|
120
122
|
});
|
|
121
|
-
this.name = "InternalServerError";
|
|
122
|
-
this.$fault = "server";
|
|
123
123
|
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
export class RequestLimitExceeded extends __BaseException {
|
|
127
|
+
name = "RequestLimitExceeded";
|
|
128
|
+
$fault = "client";
|
|
127
129
|
constructor(opts) {
|
|
128
130
|
super({
|
|
129
131
|
name: "RequestLimitExceeded",
|
|
130
132
|
$fault: "client",
|
|
131
133
|
...opts,
|
|
132
134
|
});
|
|
133
|
-
this.name = "RequestLimitExceeded";
|
|
134
|
-
this.$fault = "client";
|
|
135
135
|
Object.setPrototypeOf(this, RequestLimitExceeded.prototype);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
export class InvalidEndpointException extends __BaseException {
|
|
139
|
+
name = "InvalidEndpointException";
|
|
140
|
+
$fault = "client";
|
|
141
|
+
Message;
|
|
139
142
|
constructor(opts) {
|
|
140
143
|
super({
|
|
141
144
|
name: "InvalidEndpointException",
|
|
142
145
|
$fault: "client",
|
|
143
146
|
...opts,
|
|
144
147
|
});
|
|
145
|
-
this.name = "InvalidEndpointException";
|
|
146
|
-
this.$fault = "client";
|
|
147
148
|
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
148
149
|
this.Message = opts.Message;
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
152
|
export class ProvisionedThroughputExceededException extends __BaseException {
|
|
153
|
+
name = "ProvisionedThroughputExceededException";
|
|
154
|
+
$fault = "client";
|
|
152
155
|
constructor(opts) {
|
|
153
156
|
super({
|
|
154
157
|
name: "ProvisionedThroughputExceededException",
|
|
155
158
|
$fault: "client",
|
|
156
159
|
...opts,
|
|
157
160
|
});
|
|
158
|
-
this.name = "ProvisionedThroughputExceededException";
|
|
159
|
-
this.$fault = "client";
|
|
160
161
|
Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
|
|
161
162
|
}
|
|
162
163
|
}
|
|
163
164
|
export class ResourceNotFoundException extends __BaseException {
|
|
165
|
+
name = "ResourceNotFoundException";
|
|
166
|
+
$fault = "client";
|
|
164
167
|
constructor(opts) {
|
|
165
168
|
super({
|
|
166
169
|
name: "ResourceNotFoundException",
|
|
167
170
|
$fault: "client",
|
|
168
171
|
...opts,
|
|
169
172
|
});
|
|
170
|
-
this.name = "ResourceNotFoundException";
|
|
171
|
-
this.$fault = "client";
|
|
172
173
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
173
174
|
}
|
|
174
175
|
}
|
|
@@ -177,14 +178,14 @@ export const ReturnItemCollectionMetrics = {
|
|
|
177
178
|
SIZE: "SIZE",
|
|
178
179
|
};
|
|
179
180
|
export class ItemCollectionSizeLimitExceededException extends __BaseException {
|
|
181
|
+
name = "ItemCollectionSizeLimitExceededException";
|
|
182
|
+
$fault = "client";
|
|
180
183
|
constructor(opts) {
|
|
181
184
|
super({
|
|
182
185
|
name: "ItemCollectionSizeLimitExceededException",
|
|
183
186
|
$fault: "client",
|
|
184
187
|
...opts,
|
|
185
188
|
});
|
|
186
|
-
this.name = "ItemCollectionSizeLimitExceededException";
|
|
187
|
-
this.$fault = "client";
|
|
188
189
|
Object.setPrototypeOf(this, ItemCollectionSizeLimitExceededException.prototype);
|
|
189
190
|
}
|
|
190
191
|
}
|
|
@@ -216,14 +217,14 @@ export const PointInTimeRecoveryStatus = {
|
|
|
216
217
|
ENABLED: "ENABLED",
|
|
217
218
|
};
|
|
218
219
|
export class ContinuousBackupsUnavailableException extends __BaseException {
|
|
220
|
+
name = "ContinuousBackupsUnavailableException";
|
|
221
|
+
$fault = "client";
|
|
219
222
|
constructor(opts) {
|
|
220
223
|
super({
|
|
221
224
|
name: "ContinuousBackupsUnavailableException",
|
|
222
225
|
$fault: "client",
|
|
223
226
|
...opts,
|
|
224
227
|
});
|
|
225
|
-
this.name = "ContinuousBackupsUnavailableException";
|
|
226
|
-
this.$fault = "client";
|
|
227
228
|
Object.setPrototypeOf(this, ContinuousBackupsUnavailableException.prototype);
|
|
228
229
|
}
|
|
229
230
|
}
|
|
@@ -239,38 +240,38 @@ export const ContributorInsightsStatus = {
|
|
|
239
240
|
FAILED: "FAILED",
|
|
240
241
|
};
|
|
241
242
|
export class LimitExceededException extends __BaseException {
|
|
243
|
+
name = "LimitExceededException";
|
|
244
|
+
$fault = "client";
|
|
242
245
|
constructor(opts) {
|
|
243
246
|
super({
|
|
244
247
|
name: "LimitExceededException",
|
|
245
248
|
$fault: "client",
|
|
246
249
|
...opts,
|
|
247
250
|
});
|
|
248
|
-
this.name = "LimitExceededException";
|
|
249
|
-
this.$fault = "client";
|
|
250
251
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
251
252
|
}
|
|
252
253
|
}
|
|
253
254
|
export class TableInUseException extends __BaseException {
|
|
255
|
+
name = "TableInUseException";
|
|
256
|
+
$fault = "client";
|
|
254
257
|
constructor(opts) {
|
|
255
258
|
super({
|
|
256
259
|
name: "TableInUseException",
|
|
257
260
|
$fault: "client",
|
|
258
261
|
...opts,
|
|
259
262
|
});
|
|
260
|
-
this.name = "TableInUseException";
|
|
261
|
-
this.$fault = "client";
|
|
262
263
|
Object.setPrototypeOf(this, TableInUseException.prototype);
|
|
263
264
|
}
|
|
264
265
|
}
|
|
265
266
|
export class TableNotFoundException extends __BaseException {
|
|
267
|
+
name = "TableNotFoundException";
|
|
268
|
+
$fault = "client";
|
|
266
269
|
constructor(opts) {
|
|
267
270
|
super({
|
|
268
271
|
name: "TableNotFoundException",
|
|
269
272
|
$fault: "client",
|
|
270
273
|
...opts,
|
|
271
274
|
});
|
|
272
|
-
this.name = "TableNotFoundException";
|
|
273
|
-
this.$fault = "client";
|
|
274
275
|
Object.setPrototypeOf(this, TableNotFoundException.prototype);
|
|
275
276
|
}
|
|
276
277
|
}
|
|
@@ -309,14 +310,14 @@ export const TableStatus = {
|
|
|
309
310
|
UPDATING: "UPDATING",
|
|
310
311
|
};
|
|
311
312
|
export class GlobalTableAlreadyExistsException extends __BaseException {
|
|
313
|
+
name = "GlobalTableAlreadyExistsException";
|
|
314
|
+
$fault = "client";
|
|
312
315
|
constructor(opts) {
|
|
313
316
|
super({
|
|
314
317
|
name: "GlobalTableAlreadyExistsException",
|
|
315
318
|
$fault: "client",
|
|
316
319
|
...opts,
|
|
317
320
|
});
|
|
318
|
-
this.name = "GlobalTableAlreadyExistsException";
|
|
319
|
-
this.$fault = "client";
|
|
320
321
|
Object.setPrototypeOf(this, GlobalTableAlreadyExistsException.prototype);
|
|
321
322
|
}
|
|
322
323
|
}
|
|
@@ -325,14 +326,14 @@ export const MultiRegionConsistency = {
|
|
|
325
326
|
STRONG: "STRONG",
|
|
326
327
|
};
|
|
327
328
|
export class ResourceInUseException extends __BaseException {
|
|
329
|
+
name = "ResourceInUseException";
|
|
330
|
+
$fault = "client";
|
|
328
331
|
constructor(opts) {
|
|
329
332
|
super({
|
|
330
333
|
name: "ResourceInUseException",
|
|
331
334
|
$fault: "client",
|
|
332
335
|
...opts,
|
|
333
336
|
});
|
|
334
|
-
this.name = "ResourceInUseException";
|
|
335
|
-
this.$fault = "client";
|
|
336
337
|
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
337
338
|
}
|
|
338
339
|
}
|
|
@@ -344,38 +345,38 @@ export const ReturnValue = {
|
|
|
344
345
|
UPDATED_OLD: "UPDATED_OLD",
|
|
345
346
|
};
|
|
346
347
|
export class ReplicatedWriteConflictException extends __BaseException {
|
|
348
|
+
name = "ReplicatedWriteConflictException";
|
|
349
|
+
$fault = "client";
|
|
347
350
|
constructor(opts) {
|
|
348
351
|
super({
|
|
349
352
|
name: "ReplicatedWriteConflictException",
|
|
350
353
|
$fault: "client",
|
|
351
354
|
...opts,
|
|
352
355
|
});
|
|
353
|
-
this.name = "ReplicatedWriteConflictException";
|
|
354
|
-
this.$fault = "client";
|
|
355
356
|
Object.setPrototypeOf(this, ReplicatedWriteConflictException.prototype);
|
|
356
357
|
}
|
|
357
358
|
}
|
|
358
359
|
export class TransactionConflictException extends __BaseException {
|
|
360
|
+
name = "TransactionConflictException";
|
|
361
|
+
$fault = "client";
|
|
359
362
|
constructor(opts) {
|
|
360
363
|
super({
|
|
361
364
|
name: "TransactionConflictException",
|
|
362
365
|
$fault: "client",
|
|
363
366
|
...opts,
|
|
364
367
|
});
|
|
365
|
-
this.name = "TransactionConflictException";
|
|
366
|
-
this.$fault = "client";
|
|
367
368
|
Object.setPrototypeOf(this, TransactionConflictException.prototype);
|
|
368
369
|
}
|
|
369
370
|
}
|
|
370
371
|
export class PolicyNotFoundException extends __BaseException {
|
|
372
|
+
name = "PolicyNotFoundException";
|
|
373
|
+
$fault = "client";
|
|
371
374
|
constructor(opts) {
|
|
372
375
|
super({
|
|
373
376
|
name: "PolicyNotFoundException",
|
|
374
377
|
$fault: "client",
|
|
375
378
|
...opts,
|
|
376
379
|
});
|
|
377
|
-
this.name = "PolicyNotFoundException";
|
|
378
|
-
this.$fault = "client";
|
|
379
380
|
Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
|
|
380
381
|
}
|
|
381
382
|
}
|
|
@@ -401,26 +402,26 @@ export const S3SseAlgorithm = {
|
|
|
401
402
|
KMS: "KMS",
|
|
402
403
|
};
|
|
403
404
|
export class ExportNotFoundException extends __BaseException {
|
|
405
|
+
name = "ExportNotFoundException";
|
|
406
|
+
$fault = "client";
|
|
404
407
|
constructor(opts) {
|
|
405
408
|
super({
|
|
406
409
|
name: "ExportNotFoundException",
|
|
407
410
|
$fault: "client",
|
|
408
411
|
...opts,
|
|
409
412
|
});
|
|
410
|
-
this.name = "ExportNotFoundException";
|
|
411
|
-
this.$fault = "client";
|
|
412
413
|
Object.setPrototypeOf(this, ExportNotFoundException.prototype);
|
|
413
414
|
}
|
|
414
415
|
}
|
|
415
416
|
export class GlobalTableNotFoundException extends __BaseException {
|
|
417
|
+
name = "GlobalTableNotFoundException";
|
|
418
|
+
$fault = "client";
|
|
416
419
|
constructor(opts) {
|
|
417
420
|
super({
|
|
418
421
|
name: "GlobalTableNotFoundException",
|
|
419
422
|
$fault: "client",
|
|
420
423
|
...opts,
|
|
421
424
|
});
|
|
422
|
-
this.name = "GlobalTableNotFoundException";
|
|
423
|
-
this.$fault = "client";
|
|
424
425
|
Object.setPrototypeOf(this, GlobalTableNotFoundException.prototype);
|
|
425
426
|
}
|
|
426
427
|
}
|
|
@@ -442,14 +443,14 @@ export const InputFormat = {
|
|
|
442
443
|
ION: "ION",
|
|
443
444
|
};
|
|
444
445
|
export class ImportNotFoundException extends __BaseException {
|
|
446
|
+
name = "ImportNotFoundException";
|
|
447
|
+
$fault = "client";
|
|
445
448
|
constructor(opts) {
|
|
446
449
|
super({
|
|
447
450
|
name: "ImportNotFoundException",
|
|
448
451
|
$fault: "client",
|
|
449
452
|
...opts,
|
|
450
453
|
});
|
|
451
|
-
this.name = "ImportNotFoundException";
|
|
452
|
-
this.$fault = "client";
|
|
453
454
|
Object.setPrototypeOf(this, ImportNotFoundException.prototype);
|
|
454
455
|
}
|
|
455
456
|
}
|
|
@@ -462,88 +463,90 @@ export const DestinationStatus = {
|
|
|
462
463
|
UPDATING: "UPDATING",
|
|
463
464
|
};
|
|
464
465
|
export class DuplicateItemException extends __BaseException {
|
|
466
|
+
name = "DuplicateItemException";
|
|
467
|
+
$fault = "client";
|
|
465
468
|
constructor(opts) {
|
|
466
469
|
super({
|
|
467
470
|
name: "DuplicateItemException",
|
|
468
471
|
$fault: "client",
|
|
469
472
|
...opts,
|
|
470
473
|
});
|
|
471
|
-
this.name = "DuplicateItemException";
|
|
472
|
-
this.$fault = "client";
|
|
473
474
|
Object.setPrototypeOf(this, DuplicateItemException.prototype);
|
|
474
475
|
}
|
|
475
476
|
}
|
|
476
477
|
export class IdempotentParameterMismatchException extends __BaseException {
|
|
478
|
+
name = "IdempotentParameterMismatchException";
|
|
479
|
+
$fault = "client";
|
|
480
|
+
Message;
|
|
477
481
|
constructor(opts) {
|
|
478
482
|
super({
|
|
479
483
|
name: "IdempotentParameterMismatchException",
|
|
480
484
|
$fault: "client",
|
|
481
485
|
...opts,
|
|
482
486
|
});
|
|
483
|
-
this.name = "IdempotentParameterMismatchException";
|
|
484
|
-
this.$fault = "client";
|
|
485
487
|
Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
|
|
486
488
|
this.Message = opts.Message;
|
|
487
489
|
}
|
|
488
490
|
}
|
|
489
491
|
export class TransactionInProgressException extends __BaseException {
|
|
492
|
+
name = "TransactionInProgressException";
|
|
493
|
+
$fault = "client";
|
|
494
|
+
Message;
|
|
490
495
|
constructor(opts) {
|
|
491
496
|
super({
|
|
492
497
|
name: "TransactionInProgressException",
|
|
493
498
|
$fault: "client",
|
|
494
499
|
...opts,
|
|
495
500
|
});
|
|
496
|
-
this.name = "TransactionInProgressException";
|
|
497
|
-
this.$fault = "client";
|
|
498
501
|
Object.setPrototypeOf(this, TransactionInProgressException.prototype);
|
|
499
502
|
this.Message = opts.Message;
|
|
500
503
|
}
|
|
501
504
|
}
|
|
502
505
|
export class ExportConflictException extends __BaseException {
|
|
506
|
+
name = "ExportConflictException";
|
|
507
|
+
$fault = "client";
|
|
503
508
|
constructor(opts) {
|
|
504
509
|
super({
|
|
505
510
|
name: "ExportConflictException",
|
|
506
511
|
$fault: "client",
|
|
507
512
|
...opts,
|
|
508
513
|
});
|
|
509
|
-
this.name = "ExportConflictException";
|
|
510
|
-
this.$fault = "client";
|
|
511
514
|
Object.setPrototypeOf(this, ExportConflictException.prototype);
|
|
512
515
|
}
|
|
513
516
|
}
|
|
514
517
|
export class InvalidExportTimeException extends __BaseException {
|
|
518
|
+
name = "InvalidExportTimeException";
|
|
519
|
+
$fault = "client";
|
|
515
520
|
constructor(opts) {
|
|
516
521
|
super({
|
|
517
522
|
name: "InvalidExportTimeException",
|
|
518
523
|
$fault: "client",
|
|
519
524
|
...opts,
|
|
520
525
|
});
|
|
521
|
-
this.name = "InvalidExportTimeException";
|
|
522
|
-
this.$fault = "client";
|
|
523
526
|
Object.setPrototypeOf(this, InvalidExportTimeException.prototype);
|
|
524
527
|
}
|
|
525
528
|
}
|
|
526
529
|
export class PointInTimeRecoveryUnavailableException extends __BaseException {
|
|
530
|
+
name = "PointInTimeRecoveryUnavailableException";
|
|
531
|
+
$fault = "client";
|
|
527
532
|
constructor(opts) {
|
|
528
533
|
super({
|
|
529
534
|
name: "PointInTimeRecoveryUnavailableException",
|
|
530
535
|
$fault: "client",
|
|
531
536
|
...opts,
|
|
532
537
|
});
|
|
533
|
-
this.name = "PointInTimeRecoveryUnavailableException";
|
|
534
|
-
this.$fault = "client";
|
|
535
538
|
Object.setPrototypeOf(this, PointInTimeRecoveryUnavailableException.prototype);
|
|
536
539
|
}
|
|
537
540
|
}
|
|
538
541
|
export class ImportConflictException extends __BaseException {
|
|
542
|
+
name = "ImportConflictException";
|
|
543
|
+
$fault = "client";
|
|
539
544
|
constructor(opts) {
|
|
540
545
|
super({
|
|
541
546
|
name: "ImportConflictException",
|
|
542
547
|
$fault: "client",
|
|
543
548
|
...opts,
|
|
544
549
|
});
|
|
545
|
-
this.name = "ImportConflictException";
|
|
546
|
-
this.$fault = "client";
|
|
547
550
|
Object.setPrototypeOf(this, ImportConflictException.prototype);
|
|
548
551
|
}
|
|
549
552
|
}
|
|
@@ -554,62 +557,62 @@ export const Select = {
|
|
|
554
557
|
SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES",
|
|
555
558
|
};
|
|
556
559
|
export class TableAlreadyExistsException extends __BaseException {
|
|
560
|
+
name = "TableAlreadyExistsException";
|
|
561
|
+
$fault = "client";
|
|
557
562
|
constructor(opts) {
|
|
558
563
|
super({
|
|
559
564
|
name: "TableAlreadyExistsException",
|
|
560
565
|
$fault: "client",
|
|
561
566
|
...opts,
|
|
562
567
|
});
|
|
563
|
-
this.name = "TableAlreadyExistsException";
|
|
564
|
-
this.$fault = "client";
|
|
565
568
|
Object.setPrototypeOf(this, TableAlreadyExistsException.prototype);
|
|
566
569
|
}
|
|
567
570
|
}
|
|
568
571
|
export class InvalidRestoreTimeException extends __BaseException {
|
|
572
|
+
name = "InvalidRestoreTimeException";
|
|
573
|
+
$fault = "client";
|
|
569
574
|
constructor(opts) {
|
|
570
575
|
super({
|
|
571
576
|
name: "InvalidRestoreTimeException",
|
|
572
577
|
$fault: "client",
|
|
573
578
|
...opts,
|
|
574
579
|
});
|
|
575
|
-
this.name = "InvalidRestoreTimeException";
|
|
576
|
-
this.$fault = "client";
|
|
577
580
|
Object.setPrototypeOf(this, InvalidRestoreTimeException.prototype);
|
|
578
581
|
}
|
|
579
582
|
}
|
|
580
583
|
export class ReplicaAlreadyExistsException extends __BaseException {
|
|
584
|
+
name = "ReplicaAlreadyExistsException";
|
|
585
|
+
$fault = "client";
|
|
581
586
|
constructor(opts) {
|
|
582
587
|
super({
|
|
583
588
|
name: "ReplicaAlreadyExistsException",
|
|
584
589
|
$fault: "client",
|
|
585
590
|
...opts,
|
|
586
591
|
});
|
|
587
|
-
this.name = "ReplicaAlreadyExistsException";
|
|
588
|
-
this.$fault = "client";
|
|
589
592
|
Object.setPrototypeOf(this, ReplicaAlreadyExistsException.prototype);
|
|
590
593
|
}
|
|
591
594
|
}
|
|
592
595
|
export class ReplicaNotFoundException extends __BaseException {
|
|
596
|
+
name = "ReplicaNotFoundException";
|
|
597
|
+
$fault = "client";
|
|
593
598
|
constructor(opts) {
|
|
594
599
|
super({
|
|
595
600
|
name: "ReplicaNotFoundException",
|
|
596
601
|
$fault: "client",
|
|
597
602
|
...opts,
|
|
598
603
|
});
|
|
599
|
-
this.name = "ReplicaNotFoundException";
|
|
600
|
-
this.$fault = "client";
|
|
601
604
|
Object.setPrototypeOf(this, ReplicaNotFoundException.prototype);
|
|
602
605
|
}
|
|
603
606
|
}
|
|
604
607
|
export class IndexNotFoundException extends __BaseException {
|
|
608
|
+
name = "IndexNotFoundException";
|
|
609
|
+
$fault = "client";
|
|
605
610
|
constructor(opts) {
|
|
606
611
|
super({
|
|
607
612
|
name: "IndexNotFoundException",
|
|
608
613
|
$fault: "client",
|
|
609
614
|
...opts,
|
|
610
615
|
});
|
|
611
|
-
this.name = "IndexNotFoundException";
|
|
612
|
-
this.$fault = "client";
|
|
613
616
|
Object.setPrototypeOf(this, IndexNotFoundException.prototype);
|
|
614
617
|
}
|
|
615
618
|
}
|
|
@@ -640,27 +643,30 @@ export var AttributeValue;
|
|
|
640
643
|
};
|
|
641
644
|
})(AttributeValue || (AttributeValue = {}));
|
|
642
645
|
export class ConditionalCheckFailedException extends __BaseException {
|
|
646
|
+
name = "ConditionalCheckFailedException";
|
|
647
|
+
$fault = "client";
|
|
648
|
+
Item;
|
|
643
649
|
constructor(opts) {
|
|
644
650
|
super({
|
|
645
651
|
name: "ConditionalCheckFailedException",
|
|
646
652
|
$fault: "client",
|
|
647
653
|
...opts,
|
|
648
654
|
});
|
|
649
|
-
this.name = "ConditionalCheckFailedException";
|
|
650
|
-
this.$fault = "client";
|
|
651
655
|
Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
|
|
652
656
|
this.Item = opts.Item;
|
|
653
657
|
}
|
|
654
658
|
}
|
|
655
659
|
export class TransactionCanceledException extends __BaseException {
|
|
660
|
+
name = "TransactionCanceledException";
|
|
661
|
+
$fault = "client";
|
|
662
|
+
Message;
|
|
663
|
+
CancellationReasons;
|
|
656
664
|
constructor(opts) {
|
|
657
665
|
super({
|
|
658
666
|
name: "TransactionCanceledException",
|
|
659
667
|
$fault: "client",
|
|
660
668
|
...opts,
|
|
661
669
|
});
|
|
662
|
-
this.name = "TransactionCanceledException";
|
|
663
|
-
this.$fault = "client";
|
|
664
670
|
Object.setPrototypeOf(this, TransactionCanceledException.prototype);
|
|
665
671
|
this.Message = opts.Message;
|
|
666
672
|
this.CancellationReasons = opts.CancellationReasons;
|
|
@@ -2748,6 +2748,7 @@ const de_PointInTimeRecoveryDescription = (output, context) => {
|
|
|
2748
2748
|
EarliestRestorableDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2749
2749
|
LatestRestorableDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2750
2750
|
PointInTimeRecoveryStatus: __expectString,
|
|
2751
|
+
RecoveryPeriodInDays: __expectInt32,
|
|
2751
2752
|
});
|
|
2752
2753
|
};
|
|
2753
2754
|
const de_ProvisionedThroughputDescription = (output, context) => {
|
|
@@ -36,7 +36,7 @@ declare const DescribeContinuousBackupsCommand_base: {
|
|
|
36
36
|
* <code>LatestRestorableDateTime</code>. </p>
|
|
37
37
|
* <p>
|
|
38
38
|
* <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.
|
|
39
|
-
* You can restore your table to any point in time
|
|
39
|
+
* You can restore your table to any point in time in the last 35 days. You can set the recovery period to any value between 1 and 35 days. </p>
|
|
40
40
|
* <p>You can call <code>DescribeContinuousBackups</code> at a maximum rate of 10 times per
|
|
41
41
|
* second.</p>
|
|
42
42
|
* @example
|
|
@@ -55,6 +55,7 @@ declare const DescribeContinuousBackupsCommand_base: {
|
|
|
55
55
|
* // ContinuousBackupsStatus: "ENABLED" || "DISABLED", // required
|
|
56
56
|
* // PointInTimeRecoveryDescription: { // PointInTimeRecoveryDescription
|
|
57
57
|
* // PointInTimeRecoveryStatus: "ENABLED" || "DISABLED",
|
|
58
|
+
* // RecoveryPeriodInDays: Number("int"),
|
|
58
59
|
* // EarliestRestorableDateTime: new Date("TIMESTAMP"),
|
|
59
60
|
* // LatestRestorableDateTime: new Date("TIMESTAMP"),
|
|
60
61
|
* // },
|
|
@@ -29,7 +29,7 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Restores the specified table to the specified point in time within
|
|
31
31
|
* <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>.
|
|
32
|
-
* You can restore your table to any point in time
|
|
32
|
+
* You can restore your table to any point in time in the last 35 days. You can set the recovery period to any value between 1 and 35 days. Any number of
|
|
33
33
|
* users can execute up to 50 concurrent restores (any type of restore) in a given account. </p>
|
|
34
34
|
* <p>When you restore using point in time recovery, DynamoDB restores your table data to
|
|
35
35
|
* the state based on the selected date and time (day:hour:minute:second) to a new table. </p>
|
|
@@ -38,7 +38,7 @@ declare const UpdateContinuousBackupsCommand_base: {
|
|
|
38
38
|
* <code>LatestRestorableDateTime</code>. </p>
|
|
39
39
|
* <p>
|
|
40
40
|
* <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.
|
|
41
|
-
* You can restore your table to any point in time
|
|
41
|
+
* You can restore your table to any point in time in the last 35 days. You can set the recovery period to any value between 1 and 35 days.</p>
|
|
42
42
|
* @example
|
|
43
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
44
44
|
* ```javascript
|
|
@@ -49,6 +49,7 @@ declare const UpdateContinuousBackupsCommand_base: {
|
|
|
49
49
|
* TableName: "STRING_VALUE", // required
|
|
50
50
|
* PointInTimeRecoverySpecification: { // PointInTimeRecoverySpecification
|
|
51
51
|
* PointInTimeRecoveryEnabled: true || false, // required
|
|
52
|
+
* RecoveryPeriodInDays: Number("int"),
|
|
52
53
|
* },
|
|
53
54
|
* };
|
|
54
55
|
* const command = new UpdateContinuousBackupsCommand(input);
|
|
@@ -58,6 +59,7 @@ declare const UpdateContinuousBackupsCommand_base: {
|
|
|
58
59
|
* // ContinuousBackupsStatus: "ENABLED" || "DISABLED", // required
|
|
59
60
|
* // PointInTimeRecoveryDescription: { // PointInTimeRecoveryDescription
|
|
60
61
|
* // PointInTimeRecoveryStatus: "ENABLED" || "DISABLED",
|
|
62
|
+
* // RecoveryPeriodInDays: Number("int"),
|
|
61
63
|
* // EarliestRestorableDateTime: new Date("TIMESTAMP"),
|
|
62
64
|
* // LatestRestorableDateTime: new Date("TIMESTAMP"),
|
|
63
65
|
* // },
|