@aws-sdk/client-dynamodb 3.36.0 → 3.39.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 (144) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/DynamoDB.js +0 -21
  3. package/dist-cjs/DynamoDBClient.js +0 -26
  4. package/dist-cjs/commands/BatchExecuteStatementCommand.js +0 -26
  5. package/dist-cjs/commands/BatchGetItemCommand.js +0 -69
  6. package/dist-cjs/commands/BatchWriteItemCommand.js +0 -98
  7. package/dist-cjs/commands/CreateBackupCommand.js +0 -53
  8. package/dist-cjs/commands/CreateGlobalTableCommand.js +0 -91
  9. package/dist-cjs/commands/CreateTableCommand.js +0 -36
  10. package/dist-cjs/commands/DeleteBackupCommand.js +0 -25
  11. package/dist-cjs/commands/DeleteItemCommand.js +0 -29
  12. package/dist-cjs/commands/DeleteTableCommand.js +0 -40
  13. package/dist-cjs/commands/DescribeBackupCommand.js +0 -25
  14. package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +0 -34
  15. package/dist-cjs/commands/DescribeContributorInsightsCommand.js +0 -24
  16. package/dist-cjs/commands/DescribeEndpointsCommand.js +0 -24
  17. package/dist-cjs/commands/DescribeExportCommand.js +0 -24
  18. package/dist-cjs/commands/DescribeGlobalTableCommand.js +0 -28
  19. package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +0 -27
  20. package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +0 -24
  21. package/dist-cjs/commands/DescribeLimitsCommand.js +0 -87
  22. package/dist-cjs/commands/DescribeTableCommand.js +0 -30
  23. package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +0 -27
  24. package/dist-cjs/commands/DescribeTimeToLiveCommand.js +0 -24
  25. package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +0 -25
  26. package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +0 -27
  27. package/dist-cjs/commands/ExecuteStatementCommand.js +0 -26
  28. package/dist-cjs/commands/ExecuteTransactionCommand.js +0 -26
  29. package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +0 -26
  30. package/dist-cjs/commands/GetItemCommand.js +0 -30
  31. package/dist-cjs/commands/ListBackupsCommand.js +0 -30
  32. package/dist-cjs/commands/ListContributorInsightsCommand.js +0 -24
  33. package/dist-cjs/commands/ListExportsCommand.js +0 -24
  34. package/dist-cjs/commands/ListGlobalTablesCommand.js +0 -27
  35. package/dist-cjs/commands/ListTablesCommand.js +0 -26
  36. package/dist-cjs/commands/ListTagsOfResourceCommand.js +0 -27
  37. package/dist-cjs/commands/PutItemCommand.js +0 -91
  38. package/dist-cjs/commands/QueryCommand.js +0 -79
  39. package/dist-cjs/commands/RestoreTableFromBackupCommand.js +0 -48
  40. package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +0 -79
  41. package/dist-cjs/commands/ScanCommand.js +0 -48
  42. package/dist-cjs/commands/TagResourceCommand.js +0 -30
  43. package/dist-cjs/commands/TransactGetItemsCommand.js +0 -49
  44. package/dist-cjs/commands/TransactWriteItemsCommand.js +0 -97
  45. package/dist-cjs/commands/UntagResourceCommand.js +0 -28
  46. package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +0 -35
  47. package/dist-cjs/commands/UpdateContributorInsightsCommand.js +0 -24
  48. package/dist-cjs/commands/UpdateGlobalTableCommand.js +0 -52
  49. package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +0 -24
  50. package/dist-cjs/commands/UpdateItemCommand.js +0 -26
  51. package/dist-cjs/commands/UpdateTableCommand.js +0 -46
  52. package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +0 -27
  53. package/dist-cjs/commands/UpdateTimeToLiveCommand.js +0 -48
  54. package/dist-cjs/commands/index.js +53 -0
  55. package/dist-cjs/endpoints.js +6 -1
  56. package/dist-cjs/index.js +5 -60
  57. package/dist-cjs/models/models_0.js +0 -660
  58. package/dist-cjs/pagination/ListContributorInsightsPaginator.js +0 -10
  59. package/dist-cjs/pagination/ListExportsPaginator.js +0 -10
  60. package/dist-cjs/pagination/ListTablesPaginator.js +0 -10
  61. package/dist-cjs/pagination/QueryPaginator.js +0 -10
  62. package/dist-cjs/pagination/ScanPaginator.js +0 -10
  63. package/dist-cjs/pagination/index.js +9 -0
  64. package/dist-cjs/protocols/Aws_json1_0.js +0 -5
  65. package/dist-cjs/runtimeConfig.browser.js +1 -5
  66. package/dist-cjs/runtimeConfig.js +1 -5
  67. package/dist-cjs/runtimeConfig.native.js +0 -3
  68. package/dist-cjs/runtimeConfig.shared.js +0 -3
  69. package/dist-cjs/waiters/index.js +5 -0
  70. package/dist-cjs/waiters/waitForTableExists.js +0 -9
  71. package/dist-cjs/waiters/waitForTableNotExists.js +0 -9
  72. package/dist-es/commands/index.js +50 -0
  73. package/dist-es/endpoints.js +6 -1
  74. package/dist-es/index.js +5 -60
  75. package/dist-es/pagination/index.js +6 -0
  76. package/dist-es/waiters/index.js +2 -0
  77. package/dist-types/commands/index.d.ts +50 -0
  78. package/dist-types/index.d.ts +5 -60
  79. package/dist-types/pagination/index.d.ts +6 -0
  80. package/dist-types/ts3.4/DynamoDB.d.ts +51 -965
  81. package/dist-types/ts3.4/DynamoDBClient.d.ts +25 -112
  82. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +2 -22
  83. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +2 -65
  84. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +2 -94
  85. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +2 -49
  86. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +2 -87
  87. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +2 -32
  88. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +2 -21
  89. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +2 -25
  90. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +2 -36
  91. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +2 -21
  92. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +2 -30
  93. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +2 -20
  94. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +2 -20
  95. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +2 -20
  96. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +2 -24
  97. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +2 -23
  98. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +2 -83
  100. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +2 -26
  101. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -23
  102. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +2 -21
  104. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +2 -23
  105. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +2 -22
  106. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +2 -22
  107. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +2 -22
  108. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +2 -26
  109. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +2 -26
  110. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +2 -23
  113. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -22
  114. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +2 -23
  115. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +2 -87
  116. package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -75
  117. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +2 -44
  118. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +2 -75
  119. package/dist-types/ts3.4/commands/ScanCommand.d.ts +2 -44
  120. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -26
  121. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +2 -45
  122. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +2 -93
  123. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -24
  124. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +2 -31
  125. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +2 -48
  127. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +2 -22
  129. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +2 -42
  130. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +2 -23
  131. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +2 -44
  132. package/dist-types/ts3.4/commands/index.d.ts +50 -0
  133. package/dist-types/ts3.4/index.d.ts +5 -60
  134. package/dist-types/ts3.4/models/models_0.d.ts +1022 -6658
  135. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  136. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  137. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  138. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  139. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  140. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  141. package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +2 -9
  142. package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +2 -9
  143. package/dist-types/waiters/index.d.ts +2 -0
  144. package/package.json +34 -34
@@ -5,51 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>The <code>DeleteTable</code> operation deletes a table and all of its items. After a
10
- * <code>DeleteTable</code> request, the specified table is in the <code>DELETING</code> state until
11
- * DynamoDB completes the deletion. If the table is in the <code>ACTIVE</code> state, you can delete
12
- * it. If a table is in <code>CREATING</code> or <code>UPDATING</code> states, then DynamoDB returns
13
- * a <code>ResourceInUseException</code>. If the specified table does not exist, DynamoDB returns a
14
- * <code>ResourceNotFoundException</code>. If table is already in the <code>DELETING</code> state, no
15
- * error is returned. </p>
16
- * <note>
17
- * <p>DynamoDB might continue to accept data read and write operations, such as <code>GetItem</code> and
18
- * <code>PutItem</code>, on a table in the <code>DELETING</code> state until the table deletion is
19
- * complete.</p>
20
- * </note>
21
- * <p>When you delete a table, any indexes on that table are also deleted.</p>
22
- * <p>If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes
23
- * into the <code>DISABLED</code> state, and the stream is automatically deleted after 24 hours.</p>
24
- *
25
- * <p>Use the <code>DescribeTable</code> action to check the status of the table. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { DynamoDBClient, DeleteTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
30
- * // const { DynamoDBClient, DeleteTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
31
- * const client = new DynamoDBClient(config);
32
- * const command = new DeleteTableCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteTableCommandInput} for command's `input` shape.
37
- * @see {@link DeleteTableCommandOutput} for command's `response` shape.
38
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
8
  class DeleteTableCommand extends smithy_client_1.Command {
42
- // Start section: command_properties
43
- // End section: command_properties
44
9
  constructor(input) {
45
- // Start section: command_constructor
46
10
  super();
47
11
  this.input = input;
48
- // End section: command_constructor
49
12
  }
50
- /**
51
- * @internal
52
- */
53
13
  resolveMiddleware(clientStack, configuration, options) {
54
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
55
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Describes an existing backup of a table.</p>
10
- * <p>You can call <code>DescribeBackup</code> at a maximum rate of 10 times per second.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { DynamoDBClient, DescribeBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
15
- * // const { DynamoDBClient, DescribeBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
16
- * const client = new DynamoDBClient(config);
17
- * const command = new DescribeBackupCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeBackupCommandInput} for command's `input` shape.
22
- * @see {@link DescribeBackupCommandOutput} for command's `response` shape.
23
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DescribeBackupCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,45 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Checks the status of continuous backups and point in time recovery on the specified table.
10
- * Continuous backups are <code>ENABLED</code> on all tables at table creation.
11
- * If point in time recovery is enabled, <code>PointInTimeRecoveryStatus</code> will be set to ENABLED.</p>
12
- * <p> After continuous backups and point in time recovery are enabled, you can restore to any
13
- * point in time within <code>EarliestRestorableDateTime</code> and
14
- * <code>LatestRestorableDateTime</code>. </p>
15
- * <p>
16
- * <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time. You can restore your table to any point
17
- * in time during the last 35 days.
18
- * </p>
19
- * <p>You can call <code>DescribeContinuousBackups</code> at a maximum rate of 10 times per second.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { DynamoDBClient, DescribeContinuousBackupsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
24
- * // const { DynamoDBClient, DescribeContinuousBackupsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
25
- * const client = new DynamoDBClient(config);
26
- * const command = new DescribeContinuousBackupsCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link DescribeContinuousBackupsCommandInput} for command's `input` shape.
31
- * @see {@link DescribeContinuousBackupsCommandOutput} for command's `response` shape.
32
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class DescribeContinuousBackupsCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Returns information about contributor insights, for a given table or global secondary index.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DynamoDBClient, DescribeContributorInsightsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
14
- * // const { DynamoDBClient, DescribeContributorInsightsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
15
- * const client = new DynamoDBClient(config);
16
- * const command = new DescribeContributorInsightsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeContributorInsightsCommandInput} for command's `input` shape.
21
- * @see {@link DescribeContributorInsightsCommandOutput} for command's `response` shape.
22
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeContributorInsightsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Returns the regional endpoint information.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DynamoDBClient, DescribeEndpointsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
14
- * // const { DynamoDBClient, DescribeEndpointsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
15
- * const client = new DynamoDBClient(config);
16
- * const command = new DescribeEndpointsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeEndpointsCommandInput} for command's `input` shape.
21
- * @see {@link DescribeEndpointsCommandOutput} for command's `response` shape.
22
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeEndpointsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Describes an existing table export.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DynamoDBClient, DescribeExportCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
14
- * // const { DynamoDBClient, DescribeExportCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
15
- * const client = new DynamoDBClient(config);
16
- * const command = new DescribeExportCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeExportCommandInput} for command's `input` shape.
21
- * @see {@link DescribeExportCommandOutput} for command's `response` shape.
22
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeExportCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Returns information about the specified global table.</p>
10
- * <note>
11
- * <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html">Version 2017.11.29</a> of global tables.
12
- * If you are using global tables <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html">Version 2019.11.21</a> you can use <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html">DescribeTable</a> instead.</p>
13
- * </note>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { DynamoDBClient, DescribeGlobalTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
18
- * // const { DynamoDBClient, DescribeGlobalTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
19
- * const client = new DynamoDBClient(config);
20
- * const command = new DescribeGlobalTableCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link DescribeGlobalTableCommandInput} for command's `input` shape.
25
- * @see {@link DescribeGlobalTableCommandOutput} for command's `response` shape.
26
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class DescribeGlobalTableCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Describes Region-specific settings for a global table.</p>
10
- * <note>
11
- * <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html">Version 2017.11.29</a> of global tables.</p>
12
- * </note>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { DynamoDBClient, DescribeGlobalTableSettingsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
17
- * // const { DynamoDBClient, DescribeGlobalTableSettingsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
18
- * const client = new DynamoDBClient(config);
19
- * const command = new DescribeGlobalTableSettingsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeGlobalTableSettingsCommandInput} for command's `input` shape.
24
- * @see {@link DescribeGlobalTableSettingsCommandOutput} for command's `response` shape.
25
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DescribeGlobalTableSettingsCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Returns information about the status of Kinesis streaming.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DynamoDBClient, DescribeKinesisStreamingDestinationCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
14
- * // const { DynamoDBClient, DescribeKinesisStreamingDestinationCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
15
- * const client = new DynamoDBClient(config);
16
- * const command = new DescribeKinesisStreamingDestinationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeKinesisStreamingDestinationCommandInput} for command's `input` shape.
21
- * @see {@link DescribeKinesisStreamingDestinationCommandOutput} for command's `response` shape.
22
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeKinesisStreamingDestinationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,98 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Returns the current provisioned-capacity quotas for your AWS account in a Region, both
10
- * for the Region as a whole and for any one DynamoDB table that you create there.</p>
11
- * <p>When you establish an AWS account, the account has initial quotas on the maximum read
12
- * capacity units and write capacity units that you can provision across all of your
13
- * DynamoDB tables in a given Region. Also, there are per-table quotas that apply when you
14
- * create a table there. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html">Service, Account, and Table
15
- * Quotas</a> page in the <i>Amazon DynamoDB Developer
16
- * Guide</i>.</p>
17
- *
18
- * <p>Although you can increase these quotas by filing a case at <a href="https://console.aws.amazon.com/support/home#/">AWS Support Center</a>, obtaining the increase is not
19
- * instantaneous. The <code>DescribeLimits</code> action lets you write code to compare the
20
- * capacity you are currently using to those quotas imposed by your account so that you
21
- * have enough time to apply for an increase before you hit a quota.</p>
22
- *
23
- * <p>For example, you could use one of the AWS SDKs to do the following:</p>
24
- *
25
- * <ol>
26
- * <li>
27
- * <p>Call <code>DescribeLimits</code> for a particular Region to obtain your current
28
- * account quotas on provisioned capacity there.</p>
29
- * </li>
30
- * <li>
31
- * <p>Create a variable to hold the aggregate read capacity units provisioned for all
32
- * your tables in that Region, and one to hold the aggregate write capacity units.
33
- * Zero them both.</p>
34
- * </li>
35
- * <li>
36
- * <p>Call <code>ListTables</code> to obtain a list of all your DynamoDB tables.</p>
37
- * </li>
38
- * <li>
39
- * <p>For each table name listed by <code>ListTables</code>, do the following:</p>
40
- * <ul>
41
- * <li>
42
- * <p>Call <code>DescribeTable</code> with the table name.</p>
43
- * </li>
44
- * <li>
45
- * <p>Use the data returned by <code>DescribeTable</code> to add the read capacity units and write capacity
46
- * units provisioned for the table itself to your variables.</p>
47
- * </li>
48
- * <li>
49
- * <p>If the table has one or more global secondary indexes (GSIs), loop over these GSIs and add their provisioned capacity values to your variables as well.</p>
50
- * </li>
51
- * </ul>
52
- * </li>
53
- * <li>
54
- * <p>Report the account quotas for that Region returned by <code>DescribeLimits</code>, along with
55
- * the total current provisioned capacity levels you have calculated.</p>
56
- * </li>
57
- * </ol>
58
- *
59
- * <p>This will let you see whether you are getting close to your account-level quotas.</p>
60
- * <p>The per-table quotas apply only when you are creating a new table. They restrict the sum
61
- * of the provisioned capacity of the new table itself and all its global secondary
62
- * indexes.</p>
63
- * <p>For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned
64
- * capacity extremely rapidly, but the only quota that applies is that the aggregate
65
- * provisioned capacity over all your tables and GSIs cannot exceed either of the
66
- * per-account quotas.</p>
67
- * <note>
68
- * <p>
69
- * <code>DescribeLimits</code> should only be called periodically. You can expect throttling
70
- * errors if you call it more than once in a minute.</p>
71
- * </note>
72
- * <p>The <code>DescribeLimits</code> Request element has no content.</p>
73
- * @example
74
- * Use a bare-bones client and the command you need to make an API call.
75
- * ```javascript
76
- * import { DynamoDBClient, DescribeLimitsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
77
- * // const { DynamoDBClient, DescribeLimitsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
78
- * const client = new DynamoDBClient(config);
79
- * const command = new DescribeLimitsCommand(input);
80
- * const response = await client.send(command);
81
- * ```
82
- *
83
- * @see {@link DescribeLimitsCommandInput} for command's `input` shape.
84
- * @see {@link DescribeLimitsCommandOutput} for command's `response` shape.
85
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
86
- *
87
- */
88
8
  class DescribeLimitsCommand extends smithy_client_1.Command {
89
- // Start section: command_properties
90
- // End section: command_properties
91
9
  constructor(input) {
92
- // Start section: command_constructor
93
10
  super();
94
11
  this.input = input;
95
- // End section: command_constructor
96
12
  }
97
- /**
98
- * @internal
99
- */
100
13
  resolveMiddleware(clientStack, configuration, options) {
101
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
102
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.</p>
10
- * <note>
11
- * <p>If you issue a <code>DescribeTable</code> request immediately after a <code>CreateTable</code> request, DynamoDB might
12
- * return a <code>ResourceNotFoundException</code>. This is because <code>DescribeTable</code> uses an eventually
13
- * consistent query, and the metadata for your table might not be available at that moment.
14
- * Wait for a few seconds, and then try the <code>DescribeTable</code> request again.</p>
15
- * </note>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { DynamoDBClient, DescribeTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
20
- * // const { DynamoDBClient, DescribeTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
21
- * const client = new DynamoDBClient(config);
22
- * const command = new DescribeTableCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link DescribeTableCommandInput} for command's `input` shape.
27
- * @see {@link DescribeTableCommandOutput} for command's `response` shape.
28
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class DescribeTableCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Describes auto scaling settings across replicas of the global table at once.</p>
10
- * <note>
11
- * <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html">Version 2019.11.21</a> of global tables.</p>
12
- * </note>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { DynamoDBClient, DescribeTableReplicaAutoScalingCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
17
- * // const { DynamoDBClient, DescribeTableReplicaAutoScalingCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
18
- * const client = new DynamoDBClient(config);
19
- * const command = new DescribeTableReplicaAutoScalingCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeTableReplicaAutoScalingCommandInput} for command's `input` shape.
24
- * @see {@link DescribeTableReplicaAutoScalingCommandOutput} for command's `response` shape.
25
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DescribeTableReplicaAutoScalingCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Gives a description of the Time to Live (TTL) status on the specified table. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DynamoDBClient, DescribeTimeToLiveCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
14
- * // const { DynamoDBClient, DescribeTimeToLiveCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
15
- * const client = new DynamoDBClient(config);
16
- * const command = new DescribeTimeToLiveCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeTimeToLiveCommandInput} for command's `input` shape.
21
- * @see {@link DescribeTimeToLiveCommandOutput} for command's `response` shape.
22
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeTimeToLiveCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
- /**
9
- * <p>Stops replication from the DynamoDB table to the Kinesis data stream. This is done
10
- * without deleting either of the resources.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { DynamoDBClient, DisableKinesisStreamingDestinationCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
15
- * // const { DynamoDBClient, DisableKinesisStreamingDestinationCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
16
- * const client = new DynamoDBClient(config);
17
- * const command = new DisableKinesisStreamingDestinationCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DisableKinesisStreamingDestinationCommandInput} for command's `input` shape.
22
- * @see {@link DisableKinesisStreamingDestinationCommandOutput} for command's `response` shape.
23
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DisableKinesisStreamingDestinationCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);