@aws-sdk/client-dynamodb 3.774.0 → 3.777.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 (64) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/DynamoDBClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +1 -0
  8. package/dist-types/commands/BatchGetItemCommand.d.ts +27 -27
  9. package/dist-types/commands/BatchWriteItemCommand.d.ts +32 -29
  10. package/dist-types/commands/CreateBackupCommand.d.ts +1 -0
  11. package/dist-types/commands/CreateGlobalTableCommand.d.ts +1 -0
  12. package/dist-types/commands/CreateTableCommand.d.ts +1 -70
  13. package/dist-types/commands/DeleteBackupCommand.d.ts +1 -0
  14. package/dist-types/commands/DeleteItemCommand.d.ts +12 -12
  15. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteTableCommand.d.ts +13 -13
  17. package/dist-types/commands/DescribeBackupCommand.d.ts +1 -0
  18. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +1 -0
  19. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -0
  20. package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -0
  21. package/dist-types/commands/DescribeExportCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +1 -0
  24. package/dist-types/commands/DescribeImportCommand.d.ts +1 -0
  25. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +1 -0
  26. package/dist-types/commands/DescribeLimitsCommand.d.ts +8 -8
  27. package/dist-types/commands/DescribeTableCommand.d.ts +1 -47
  28. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +1 -0
  29. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +1 -0
  30. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +1 -0
  31. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +1 -0
  32. package/dist-types/commands/ExecuteStatementCommand.d.ts +1 -0
  33. package/dist-types/commands/ExecuteTransactionCommand.d.ts +1 -0
  34. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +1 -0
  35. package/dist-types/commands/GetItemCommand.d.ts +16 -16
  36. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -0
  37. package/dist-types/commands/ImportTableCommand.d.ts +1 -0
  38. package/dist-types/commands/ListBackupsCommand.d.ts +1 -0
  39. package/dist-types/commands/ListContributorInsightsCommand.d.ts +1 -0
  40. package/dist-types/commands/ListExportsCommand.d.ts +1 -0
  41. package/dist-types/commands/ListGlobalTablesCommand.d.ts +1 -0
  42. package/dist-types/commands/ListImportsCommand.d.ts +1 -0
  43. package/dist-types/commands/ListTablesCommand.d.ts +5 -5
  44. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +1 -0
  45. package/dist-types/commands/PutItemCommand.d.ts +15 -15
  46. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -0
  47. package/dist-types/commands/QueryCommand.d.ts +15 -15
  48. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +1 -0
  49. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +1 -0
  50. package/dist-types/commands/ScanCommand.d.ts +24 -24
  51. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  52. package/dist-types/commands/TransactGetItemsCommand.d.ts +1 -0
  53. package/dist-types/commands/TransactWriteItemsCommand.d.ts +1 -0
  54. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  55. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +1 -0
  56. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +1 -0
  57. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +1 -0
  58. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +1 -0
  59. package/dist-types/commands/UpdateItemCommand.d.ts +28 -28
  60. package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +1 -0
  61. package/dist-types/commands/UpdateTableCommand.d.ts +1 -52
  62. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +1 -0
  63. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +1 -0
  64. package/package.json +35 -35
@@ -40,8 +40,6 @@ const defaultDynamoDBHttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultDynamoDBHttpAuthSchemeProvider = defaultDynamoDBHttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -192,12 +192,11 @@ var import_middleware_serde = require("@smithy/middleware-serde");
192
192
 
193
193
  // src/endpoint/EndpointParameters.ts
194
194
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
195
- return {
196
- ...options,
195
+ return Object.assign(options, {
197
196
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
198
197
  useFipsEndpoint: options.useFipsEndpoint ?? false,
199
198
  defaultSigningName: "dynamodb"
200
- };
199
+ });
201
200
  }, "resolveClientEndpointParameters");
202
201
  var commonParams = {
203
202
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -4187,22 +4186,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
4187
4186
  }, "resolveHttpAuthRuntimeConfig");
4188
4187
 
4189
4188
  // src/runtimeExtensions.ts
4190
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
4191
4189
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
4192
- const extensionConfiguration = {
4193
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
4194
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
4195
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
4196
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
4197
- };
4190
+ const extensionConfiguration = Object.assign(
4191
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
4192
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
4193
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
4194
+ getHttpAuthExtensionConfiguration(runtimeConfig)
4195
+ );
4198
4196
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
4199
- return {
4200
- ...runtimeConfig,
4201
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
4202
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
4203
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
4204
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
4205
- };
4197
+ return Object.assign(
4198
+ runtimeConfig,
4199
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
4200
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
4201
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
4202
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
4203
+ );
4206
4204
  }, "resolveRuntimeExtensions");
4207
4205
 
4208
4206
  // src/DynamoDBClient.ts
@@ -4216,6 +4214,8 @@ var DynamoDBClient = class extends import_smithy_client.Client {
4216
4214
  config;
4217
4215
  constructor(...[configuration]) {
4218
4216
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
4217
+ super(_config_0);
4218
+ this.initConfig = _config_0;
4219
4219
  const _config_1 = resolveClientEndpointParameters(_config_0);
4220
4220
  const _config_2 = (0, import_account_id_endpoint.resolveAccountIdEndpointModeConfig)(_config_1);
4221
4221
  const _config_3 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_2);
@@ -4228,7 +4228,6 @@ var DynamoDBClient = class extends import_smithy_client.Client {
4228
4228
  endpointDiscoveryCommandCtor: DescribeEndpointsCommand
4229
4229
  });
4230
4230
  const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
4231
- super(_config_10);
4232
4231
  this.config = _config_10;
4233
4232
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
4234
4233
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -20,6 +20,8 @@ export class DynamoDBClient extends __Client {
20
20
  config;
21
21
  constructor(...[configuration]) {
22
22
  const _config_0 = __getRuntimeConfig(configuration || {});
23
+ super(_config_0);
24
+ this.initConfig = _config_0;
23
25
  const _config_1 = resolveClientEndpointParameters(_config_0);
24
26
  const _config_2 = resolveAccountIdEndpointModeConfig(_config_1);
25
27
  const _config_3 = resolveUserAgentConfig(_config_2);
@@ -32,7 +34,6 @@ export class DynamoDBClient extends __Client {
32
34
  endpointDiscoveryCommandCtor: DescribeEndpointsCommand,
33
35
  });
34
36
  const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
35
- super(_config_10);
36
37
  this.config = _config_10;
37
38
  this.middlewareStack.use(getUserAgentPlugin(this.config));
38
39
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultDynamoDBHttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "dynamodb",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -210,6 +210,7 @@ declare const BatchExecuteStatementCommand_base: {
210
210
  * @throws {@link DynamoDBServiceException}
211
211
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
212
212
  *
213
+ *
213
214
  * @public
214
215
  */
215
216
  export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {
@@ -271,71 +271,71 @@ declare const BatchGetItemCommand_base: {
271
271
  * @throws {@link DynamoDBServiceException}
272
272
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
273
273
  *
274
- * @public
274
+ *
275
275
  * @example To retrieve multiple items from a table
276
276
  * ```javascript
277
277
  * // This example reads multiple items from the Music table using a batch of three GetItem requests. Only the AlbumTitle attribute is returned.
278
278
  * const input = {
279
- * "RequestItems": {
280
- * "Music": {
281
- * "Keys": [
279
+ * RequestItems: {
280
+ * Music: {
281
+ * Keys: [
282
282
  * {
283
- * "Artist": {
284
- * "S": "No One You Know"
283
+ * Artist: {
284
+ * S: "No One You Know"
285
285
  * },
286
- * "SongTitle": {
287
- * "S": "Call Me Today"
286
+ * SongTitle: {
287
+ * S: "Call Me Today"
288
288
  * }
289
289
  * },
290
290
  * {
291
- * "Artist": {
292
- * "S": "Acme Band"
291
+ * Artist: {
292
+ * S: "Acme Band"
293
293
  * },
294
- * "SongTitle": {
295
- * "S": "Happy Day"
294
+ * SongTitle: {
295
+ * S: "Happy Day"
296
296
  * }
297
297
  * },
298
298
  * {
299
- * "Artist": {
300
- * "S": "No One You Know"
299
+ * Artist: {
300
+ * S: "No One You Know"
301
301
  * },
302
- * "SongTitle": {
303
- * "S": "Scared of My Shadow"
302
+ * SongTitle: {
303
+ * S: "Scared of My Shadow"
304
304
  * }
305
305
  * }
306
306
  * ],
307
- * "ProjectionExpression": "AlbumTitle"
307
+ * ProjectionExpression: "AlbumTitle"
308
308
  * }
309
309
  * }
310
310
  * };
311
311
  * const command = new BatchGetItemCommand(input);
312
312
  * const response = await client.send(command);
313
- * /* response ==
313
+ * /* response is
314
314
  * {
315
- * "Responses": {
316
- * "Music": [
315
+ * Responses: {
316
+ * Music: [
317
317
  * {
318
- * "AlbumTitle": {
319
- * "S": "Somewhat Famous"
318
+ * AlbumTitle: {
319
+ * S: "Somewhat Famous"
320
320
  * }
321
321
  * },
322
322
  * {
323
- * "AlbumTitle": {
324
- * "S": "Blue Sky Blues"
323
+ * AlbumTitle: {
324
+ * S: "Blue Sky Blues"
325
325
  * }
326
326
  * },
327
327
  * {
328
- * "AlbumTitle": {
329
- * "S": "Louder Than Ever"
328
+ * AlbumTitle: {
329
+ * S: "Louder Than Ever"
330
330
  * }
331
331
  * }
332
332
  * ]
333
333
  * }
334
334
  * }
335
335
  * *\/
336
- * // example id: to-retrieve-multiple-items-from-a-table-1476118438992
337
336
  * ```
338
337
  *
338
+ * @public
339
339
  */
340
340
  export declare class BatchGetItemCommand extends BatchGetItemCommand_base {
341
341
  /** @internal type navigation helper, not in runtime. */
@@ -322,54 +322,54 @@ declare const BatchWriteItemCommand_base: {
322
322
  * @throws {@link DynamoDBServiceException}
323
323
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
324
324
  *
325
- * @public
325
+ *
326
326
  * @example To add multiple items to a table
327
327
  * ```javascript
328
328
  * // This example adds three new items to the Music table using a batch of three PutItem requests.
329
329
  * const input = {
330
- * "RequestItems": {
331
- * "Music": [
330
+ * RequestItems: {
331
+ * Music: [
332
332
  * {
333
- * "PutRequest": {
334
- * "Item": {
335
- * "AlbumTitle": {
336
- * "S": "Somewhat Famous"
333
+ * PutRequest: {
334
+ * Item: {
335
+ * AlbumTitle: {
336
+ * S: "Somewhat Famous"
337
337
  * },
338
- * "Artist": {
339
- * "S": "No One You Know"
338
+ * Artist: {
339
+ * S: "No One You Know"
340
340
  * },
341
- * "SongTitle": {
342
- * "S": "Call Me Today"
341
+ * SongTitle: {
342
+ * S: "Call Me Today"
343
343
  * }
344
344
  * }
345
345
  * }
346
346
  * },
347
347
  * {
348
- * "PutRequest": {
349
- * "Item": {
350
- * "AlbumTitle": {
351
- * "S": "Songs About Life"
348
+ * PutRequest: {
349
+ * Item: {
350
+ * AlbumTitle: {
351
+ * S: "Songs About Life"
352
352
  * },
353
- * "Artist": {
354
- * "S": "Acme Band"
353
+ * Artist: {
354
+ * S: "Acme Band"
355
355
  * },
356
- * "SongTitle": {
357
- * "S": "Happy Day"
356
+ * SongTitle: {
357
+ * S: "Happy Day"
358
358
  * }
359
359
  * }
360
360
  * }
361
361
  * },
362
362
  * {
363
- * "PutRequest": {
364
- * "Item": {
365
- * "AlbumTitle": {
366
- * "S": "Blue Sky Blues"
363
+ * PutRequest: {
364
+ * Item: {
365
+ * AlbumTitle: {
366
+ * S: "Blue Sky Blues"
367
367
  * },
368
- * "Artist": {
369
- * "S": "No One You Know"
368
+ * Artist: {
369
+ * S: "No One You Know"
370
370
  * },
371
- * "SongTitle": {
372
- * "S": "Scared of My Shadow"
371
+ * SongTitle: {
372
+ * S: "Scared of My Shadow"
373
373
  * }
374
374
  * }
375
375
  * }
@@ -378,10 +378,13 @@ declare const BatchWriteItemCommand_base: {
378
378
  * }
379
379
  * };
380
380
  * const command = new BatchWriteItemCommand(input);
381
- * await client.send(command);
382
- * // example id: to-add-multiple-items-to-a-table-1476118519747
381
+ * const response = await client.send(command);
382
+ * /* response is
383
+ * { /* empty *\/ }
384
+ * *\/
383
385
  * ```
384
386
  *
387
+ * @public
385
388
  */
386
389
  export declare class BatchWriteItemCommand extends BatchWriteItemCommand_base {
387
390
  /** @internal type navigation helper, not in runtime. */
@@ -128,6 +128,7 @@ declare const CreateBackupCommand_base: {
128
128
  * @throws {@link DynamoDBServiceException}
129
129
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
130
130
  *
131
+ *
131
132
  * @public
132
133
  */
133
134
  export declare class CreateBackupCommand extends CreateBackupCommand_base {
@@ -187,6 +187,7 @@ declare const CreateGlobalTableCommand_base: {
187
187
  * @throws {@link DynamoDBServiceException}
188
188
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
189
189
  *
190
+ *
190
191
  * @public
191
192
  */
192
193
  export declare class CreateGlobalTableCommand extends CreateGlobalTableCommand_base {
@@ -360,77 +360,8 @@ declare const CreateTableCommand_base: {
360
360
  * @throws {@link DynamoDBServiceException}
361
361
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
362
362
  *
363
- * @public
364
- * @example To create a table
365
- * ```javascript
366
- * // This example creates a table named Music.
367
- * const input = {
368
- * "AttributeDefinitions": [
369
- * {
370
- * "AttributeName": "Artist",
371
- * "AttributeType": "S"
372
- * },
373
- * {
374
- * "AttributeName": "SongTitle",
375
- * "AttributeType": "S"
376
- * }
377
- * ],
378
- * "KeySchema": [
379
- * {
380
- * "AttributeName": "Artist",
381
- * "KeyType": "HASH"
382
- * },
383
- * {
384
- * "AttributeName": "SongTitle",
385
- * "KeyType": "RANGE"
386
- * }
387
- * ],
388
- * "ProvisionedThroughput": {
389
- * "ReadCapacityUnits": 5,
390
- * "WriteCapacityUnits": 5
391
- * },
392
- * "TableName": "Music"
393
- * };
394
- * const command = new CreateTableCommand(input);
395
- * const response = await client.send(command);
396
- * /* response ==
397
- * {
398
- * "TableDescription": {
399
- * "AttributeDefinitions": [
400
- * {
401
- * "AttributeName": "Artist",
402
- * "AttributeType": "S"
403
- * },
404
- * {
405
- * "AttributeName": "SongTitle",
406
- * "AttributeType": "S"
407
- * }
408
- * ],
409
- * "CreationDateTime": "1421866952.062",
410
- * "ItemCount": 0,
411
- * "KeySchema": [
412
- * {
413
- * "AttributeName": "Artist",
414
- * "KeyType": "HASH"
415
- * },
416
- * {
417
- * "AttributeName": "SongTitle",
418
- * "KeyType": "RANGE"
419
- * }
420
- * ],
421
- * "ProvisionedThroughput": {
422
- * "ReadCapacityUnits": 5,
423
- * "WriteCapacityUnits": 5
424
- * },
425
- * "TableName": "Music",
426
- * "TableSizeBytes": 0,
427
- * "TableStatus": "CREATING"
428
- * }
429
- * }
430
- * *\/
431
- * // example id: to-create-a-table-1476116291743
432
- * ```
433
363
  *
364
+ * @public
434
365
  */
435
366
  export declare class CreateTableCommand extends CreateTableCommand_base {
436
367
  /** @internal type navigation helper, not in runtime. */
@@ -175,6 +175,7 @@ declare const DeleteBackupCommand_base: {
175
175
  * @throws {@link DynamoDBServiceException}
176
176
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
177
177
  *
178
+ *
178
179
  * @public
179
180
  */
180
181
  export declare class DeleteBackupCommand extends DeleteBackupCommand_base {
@@ -242,34 +242,34 @@ declare const DeleteItemCommand_base: {
242
242
  * @throws {@link DynamoDBServiceException}
243
243
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
244
244
  *
245
- * @public
245
+ *
246
246
  * @example To delete an item
247
247
  * ```javascript
248
248
  * // This example deletes an item from the Music table.
249
249
  * const input = {
250
- * "Key": {
251
- * "Artist": {
252
- * "S": "No One You Know"
250
+ * Key: {
251
+ * Artist: {
252
+ * S: "No One You Know"
253
253
  * },
254
- * "SongTitle": {
255
- * "S": "Scared of My Shadow"
254
+ * SongTitle: {
255
+ * S: "Scared of My Shadow"
256
256
  * }
257
257
  * },
258
- * "TableName": "Music"
258
+ * TableName: "Music"
259
259
  * };
260
260
  * const command = new DeleteItemCommand(input);
261
261
  * const response = await client.send(command);
262
- * /* response ==
262
+ * /* response is
263
263
  * {
264
- * "ConsumedCapacity": {
265
- * "CapacityUnits": 1,
266
- * "TableName": "Music"
264
+ * ConsumedCapacity: {
265
+ * CapacityUnits: 1,
266
+ * TableName: "Music"
267
267
  * }
268
268
  * }
269
269
  * *\/
270
- * // example id: to-delete-an-item-1475884573758
271
270
  * ```
272
271
  *
272
+ * @public
273
273
  */
274
274
  export declare class DeleteItemCommand extends DeleteItemCommand_base {
275
275
  /** @internal type navigation helper, not in runtime. */
@@ -120,6 +120,7 @@ declare const DeleteResourcePolicyCommand_base: {
120
120
  * @throws {@link DynamoDBServiceException}
121
121
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
122
122
  *
123
+ *
123
124
  * @public
124
125
  */
125
126
  export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
@@ -285,33 +285,33 @@ declare const DeleteTableCommand_base: {
285
285
  * @throws {@link DynamoDBServiceException}
286
286
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
287
287
  *
288
- * @public
288
+ *
289
289
  * @example To delete a table
290
290
  * ```javascript
291
291
  * // This example deletes the Music table.
292
292
  * const input = {
293
- * "TableName": "Music"
293
+ * TableName: "Music"
294
294
  * };
295
295
  * const command = new DeleteTableCommand(input);
296
296
  * const response = await client.send(command);
297
- * /* response ==
297
+ * /* response is
298
298
  * {
299
- * "TableDescription": {
300
- * "ItemCount": 0,
301
- * "ProvisionedThroughput": {
302
- * "NumberOfDecreasesToday": 1,
303
- * "ReadCapacityUnits": 5,
304
- * "WriteCapacityUnits": 5
299
+ * TableDescription: {
300
+ * ItemCount: 0,
301
+ * ProvisionedThroughput: {
302
+ * NumberOfDecreasesToday: 1,
303
+ * ReadCapacityUnits: 5,
304
+ * WriteCapacityUnits: 5
305
305
  * },
306
- * "TableName": "Music",
307
- * "TableSizeBytes": 0,
308
- * "TableStatus": "DELETING"
306
+ * TableName: "Music",
307
+ * TableSizeBytes: 0,
308
+ * TableStatus: "DELETING"
309
309
  * }
310
310
  * }
311
311
  * *\/
312
- * // example id: to-delete-a-table-1475884368755
313
312
  * ```
314
313
  *
314
+ * @public
315
315
  */
316
316
  export declare class DeleteTableCommand extends DeleteTableCommand_base {
317
317
  /** @internal type navigation helper, not in runtime. */
@@ -155,6 +155,7 @@ declare const DescribeBackupCommand_base: {
155
155
  * @throws {@link DynamoDBServiceException}
156
156
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
157
157
  *
158
+ *
158
159
  * @public
159
160
  */
160
161
  export declare class DescribeBackupCommand extends DescribeBackupCommand_base {
@@ -82,6 +82,7 @@ declare const DescribeContinuousBackupsCommand_base: {
82
82
  * @throws {@link DynamoDBServiceException}
83
83
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
84
84
  *
85
+ *
85
86
  * @public
86
87
  */
87
88
  export declare class DescribeContinuousBackupsCommand extends DescribeContinuousBackupsCommand_base {
@@ -73,6 +73,7 @@ declare const DescribeContributorInsightsCommand_base: {
73
73
  * @throws {@link DynamoDBServiceException}
74
74
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
75
75
  *
76
+ *
76
77
  * @public
77
78
  */
78
79
  export declare class DescribeContributorInsightsCommand extends DescribeContributorInsightsCommand_base {
@@ -58,6 +58,7 @@ declare const DescribeEndpointsCommand_base: {
58
58
  * @throws {@link DynamoDBServiceException}
59
59
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
60
60
  *
61
+ *
61
62
  * @public
62
63
  */
63
64
  export declare class DescribeEndpointsCommand extends DescribeEndpointsCommand_base {
@@ -102,6 +102,7 @@ declare const DescribeExportCommand_base: {
102
102
  * @throws {@link DynamoDBServiceException}
103
103
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
104
104
  *
105
+ *
105
106
  * @public
106
107
  */
107
108
  export declare class DescribeExportCommand extends DescribeExportCommand_base {
@@ -112,6 +112,7 @@ declare const DescribeGlobalTableCommand_base: {
112
112
  * @throws {@link DynamoDBServiceException}
113
113
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
114
114
  *
115
+ *
115
116
  * @public
116
117
  */
117
118
  export declare class DescribeGlobalTableCommand extends DescribeGlobalTableCommand_base {
@@ -158,6 +158,7 @@ declare const DescribeGlobalTableSettingsCommand_base: {
158
158
  * @throws {@link DynamoDBServiceException}
159
159
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
160
160
  *
161
+ *
161
162
  * @public
162
163
  */
163
164
  export declare class DescribeGlobalTableSettingsCommand extends DescribeGlobalTableSettingsCommand_base {
@@ -147,6 +147,7 @@ declare const DescribeImportCommand_base: {
147
147
  * @throws {@link DynamoDBServiceException}
148
148
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
149
149
  *
150
+ *
150
151
  * @public
151
152
  */
152
153
  export declare class DescribeImportCommand extends DescribeImportCommand_base {
@@ -71,6 +71,7 @@ declare const DescribeKinesisStreamingDestinationCommand_base: {
71
71
  * @throws {@link DynamoDBServiceException}
72
72
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
73
73
  *
74
+ *
74
75
  * @public
75
76
  */
76
77
  export declare class DescribeKinesisStreamingDestinationCommand extends DescribeKinesisStreamingDestinationCommand_base {