@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,37 +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>Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).</p>
10
- * <p>You can also return the item's attribute values in the same <code>UpdateItem</code>
11
- * operation using the <code>ReturnValues</code> parameter.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { DynamoDBClient, UpdateItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
16
- * // const { DynamoDBClient, UpdateItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
17
- * const client = new DynamoDBClient(config);
18
- * const command = new UpdateItemCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link UpdateItemCommandInput} for command's `input` shape.
23
- * @see {@link UpdateItemCommandOutput} for command's `response` shape.
24
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class UpdateItemCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,57 +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>Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.</p>
10
- * <p>You can only perform one of the following operations at once:</p>
11
- * <ul>
12
- * <li>
13
- * <p>Modify the provisioned throughput settings of the table.</p>
14
- * </li>
15
- * <li>
16
- * <p>Enable or disable DynamoDB Streams on the table.</p>
17
- * </li>
18
- * <li>
19
- * <p>Remove a global secondary index from the table.</p>
20
- * </li>
21
- * <li>
22
- * <p>Create a new global secondary index on the table. After the index begins
23
- * backfilling, you can use <code>UpdateTable</code> to perform other
24
- * operations.</p>
25
- * </li>
26
- * </ul>
27
- * <p>
28
- * <code>UpdateTable</code> is an asynchronous operation; while it is executing, the table status
29
- * changes from <code>ACTIVE</code> to <code>UPDATING</code>. While it is <code>UPDATING</code>,
30
- * you cannot issue another <code>UpdateTable</code> request. When the table returns to the
31
- * <code>ACTIVE</code> state, the <code>UpdateTable</code> operation is complete.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DynamoDBClient, UpdateTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
36
- * // const { DynamoDBClient, UpdateTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
37
- * const client = new DynamoDBClient(config);
38
- * const command = new UpdateTableCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link UpdateTableCommandInput} for command's `input` shape.
43
- * @see {@link UpdateTableCommandOutput} for command's `response` shape.
44
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
8
  class UpdateTableCommand extends smithy_client_1.Command {
48
- // Start section: command_properties
49
- // End section: command_properties
50
9
  constructor(input) {
51
- // Start section: command_constructor
52
10
  super();
53
11
  this.input = input;
54
- // End section: command_constructor
55
12
  }
56
- /**
57
- * @internal
58
- */
59
13
  resolveMiddleware(clientStack, configuration, options) {
60
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
61
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>Updates auto scaling settings on your global tables 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, UpdateTableReplicaAutoScalingCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
17
- * // const { DynamoDBClient, UpdateTableReplicaAutoScalingCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
18
- * const client = new DynamoDBClient(config);
19
- * const command = new UpdateTableReplicaAutoScalingCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link UpdateTableReplicaAutoScalingCommandInput} for command's `input` shape.
24
- * @see {@link UpdateTableReplicaAutoScalingCommandOutput} for command's `response` shape.
25
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class UpdateTableReplicaAutoScalingCommand 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,59 +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>UpdateTimeToLive</code> method enables or disables Time to Live (TTL) for the
10
- * specified table. A successful <code>UpdateTimeToLive</code> call returns the current
11
- * <code>TimeToLiveSpecification</code>. It can take up to one hour for the change to
12
- * fully process. Any additional <code>UpdateTimeToLive</code> calls for the same table
13
- * during this one hour duration result in a <code>ValidationException</code>. </p>
14
- * <p>TTL compares the current time in epoch time format to the time stored in the TTL
15
- * attribute of an item. If the epoch time value stored in the attribute is less than the
16
- * current time, the item is marked as expired and subsequently deleted.</p>
17
- * <note>
18
- * <p> The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1,
19
- * 1970 UTC. </p>
20
- * </note>
21
- * <p>DynamoDB deletes expired items on a best-effort basis to ensure availability of
22
- * throughput for other data operations.
23
- * </p>
24
- * <important>
25
- * <p>DynamoDB typically deletes expired items within two days of expiration. The exact duration
26
- * within which an item gets deleted after expiration is specific to the
27
- * nature of the workload. Items that have expired and not been deleted will still show up in reads,
28
- * queries, and scans.</p>
29
- * </important>
30
- * <p>As items are deleted, they are removed from any local secondary index and global
31
- * secondary index immediately in the same eventually consistent way as a standard delete
32
- * operation.</p>
33
- * <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html">Time To Live</a> in the Amazon DynamoDB Developer Guide. </p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { DynamoDBClient, UpdateTimeToLiveCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
38
- * // const { DynamoDBClient, UpdateTimeToLiveCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
39
- * const client = new DynamoDBClient(config);
40
- * const command = new UpdateTimeToLiveCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link UpdateTimeToLiveCommandInput} for command's `input` shape.
45
- * @see {@link UpdateTimeToLiveCommandOutput} for command's `response` shape.
46
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
8
  class UpdateTimeToLiveCommand extends smithy_client_1.Command {
50
- // Start section: command_properties
51
- // End section: command_properties
52
9
  constructor(input) {
53
- // Start section: command_constructor
54
10
  super();
55
11
  this.input = input;
56
- // End section: command_constructor
57
12
  }
58
- /**
59
- * @internal
60
- */
61
13
  resolveMiddleware(clientStack, configuration, options) {
62
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
63
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./BatchExecuteStatementCommand"), exports);
5
+ tslib_1.__exportStar(require("./BatchGetItemCommand"), exports);
6
+ tslib_1.__exportStar(require("./BatchWriteItemCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateBackupCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateGlobalTableCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateTableCommand"), exports);
10
+ tslib_1.__exportStar(require("./DeleteBackupCommand"), exports);
11
+ tslib_1.__exportStar(require("./DeleteItemCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteTableCommand"), exports);
13
+ tslib_1.__exportStar(require("./DescribeBackupCommand"), exports);
14
+ tslib_1.__exportStar(require("./DescribeContinuousBackupsCommand"), exports);
15
+ tslib_1.__exportStar(require("./DescribeContributorInsightsCommand"), exports);
16
+ tslib_1.__exportStar(require("./DescribeEndpointsCommand"), exports);
17
+ tslib_1.__exportStar(require("./DescribeExportCommand"), exports);
18
+ tslib_1.__exportStar(require("./DescribeGlobalTableCommand"), exports);
19
+ tslib_1.__exportStar(require("./DescribeGlobalTableSettingsCommand"), exports);
20
+ tslib_1.__exportStar(require("./DescribeKinesisStreamingDestinationCommand"), exports);
21
+ tslib_1.__exportStar(require("./DescribeLimitsCommand"), exports);
22
+ tslib_1.__exportStar(require("./DescribeTableCommand"), exports);
23
+ tslib_1.__exportStar(require("./DescribeTableReplicaAutoScalingCommand"), exports);
24
+ tslib_1.__exportStar(require("./DescribeTimeToLiveCommand"), exports);
25
+ tslib_1.__exportStar(require("./DisableKinesisStreamingDestinationCommand"), exports);
26
+ tslib_1.__exportStar(require("./EnableKinesisStreamingDestinationCommand"), exports);
27
+ tslib_1.__exportStar(require("./ExecuteStatementCommand"), exports);
28
+ tslib_1.__exportStar(require("./ExecuteTransactionCommand"), exports);
29
+ tslib_1.__exportStar(require("./ExportTableToPointInTimeCommand"), exports);
30
+ tslib_1.__exportStar(require("./GetItemCommand"), exports);
31
+ tslib_1.__exportStar(require("./ListBackupsCommand"), exports);
32
+ tslib_1.__exportStar(require("./ListContributorInsightsCommand"), exports);
33
+ tslib_1.__exportStar(require("./ListExportsCommand"), exports);
34
+ tslib_1.__exportStar(require("./ListGlobalTablesCommand"), exports);
35
+ tslib_1.__exportStar(require("./ListTablesCommand"), exports);
36
+ tslib_1.__exportStar(require("./ListTagsOfResourceCommand"), exports);
37
+ tslib_1.__exportStar(require("./PutItemCommand"), exports);
38
+ tslib_1.__exportStar(require("./QueryCommand"), exports);
39
+ tslib_1.__exportStar(require("./RestoreTableFromBackupCommand"), exports);
40
+ tslib_1.__exportStar(require("./RestoreTableToPointInTimeCommand"), exports);
41
+ tslib_1.__exportStar(require("./ScanCommand"), exports);
42
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
43
+ tslib_1.__exportStar(require("./TransactGetItemsCommand"), exports);
44
+ tslib_1.__exportStar(require("./TransactWriteItemsCommand"), exports);
45
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
46
+ tslib_1.__exportStar(require("./UpdateContinuousBackupsCommand"), exports);
47
+ tslib_1.__exportStar(require("./UpdateContributorInsightsCommand"), exports);
48
+ tslib_1.__exportStar(require("./UpdateGlobalTableCommand"), exports);
49
+ tslib_1.__exportStar(require("./UpdateGlobalTableSettingsCommand"), exports);
50
+ tslib_1.__exportStar(require("./UpdateItemCommand"), exports);
51
+ tslib_1.__exportStar(require("./UpdateTableCommand"), exports);
52
+ tslib_1.__exportStar(require("./UpdateTableReplicaAutoScalingCommand"), exports);
53
+ tslib_1.__exportStar(require("./UpdateTimeToLiveCommand"), exports);
@@ -67,22 +67,27 @@ const partitionHash = {
67
67
  "us-west-2",
68
68
  "us-west-2-fips",
69
69
  ],
70
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
70
71
  hostname: "dynamodb.{region}.amazonaws.com",
71
72
  },
72
73
  "aws-cn": {
73
74
  regions: ["cn-north-1", "cn-northwest-1"],
75
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
74
76
  hostname: "dynamodb.{region}.amazonaws.com.cn",
75
77
  },
76
78
  "aws-iso": {
77
- regions: ["us-iso-east-1"],
79
+ regions: ["us-iso-east-1", "us-iso-west-1"],
80
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
78
81
  hostname: "dynamodb.{region}.c2s.ic.gov",
79
82
  },
80
83
  "aws-iso-b": {
81
84
  regions: ["us-isob-east-1"],
85
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
82
86
  hostname: "dynamodb.{region}.sc2s.sgov.gov",
83
87
  },
84
88
  "aws-us-gov": {
85
89
  regions: ["us-gov-east-1", "us-gov-east-1-fips", "us-gov-west-1", "us-gov-west-1-fips"],
90
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
86
91
  hostname: "dynamodb.{region}.amazonaws.com",
87
92
  },
88
93
  };
package/dist-cjs/index.js CHANGED
@@ -1,64 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DynamoDBClient"), exports);
5
4
  tslib_1.__exportStar(require("./DynamoDB"), exports);
6
- tslib_1.__exportStar(require("./commands/BatchExecuteStatementCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/BatchGetItemCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/BatchWriteItemCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateBackupCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateGlobalTableCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateTableCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/DeleteBackupCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/DeleteItemCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/DeleteTableCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/DescribeBackupCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/DescribeContinuousBackupsCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DescribeContributorInsightsCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DescribeEndpointsCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/DescribeExportCommand"), exports);
20
- tslib_1.__exportStar(require("./commands/DescribeGlobalTableCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/DescribeGlobalTableSettingsCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DescribeKinesisStreamingDestinationCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/DescribeLimitsCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/DescribeTableCommand"), exports);
25
- tslib_1.__exportStar(require("./waiters/waitForTableExists"), exports);
26
- tslib_1.__exportStar(require("./waiters/waitForTableNotExists"), exports);
27
- tslib_1.__exportStar(require("./commands/DescribeTableReplicaAutoScalingCommand"), exports);
28
- tslib_1.__exportStar(require("./commands/DescribeTimeToLiveCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/DisableKinesisStreamingDestinationCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/EnableKinesisStreamingDestinationCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/ExecuteStatementCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/ExecuteTransactionCommand"), exports);
33
- tslib_1.__exportStar(require("./commands/ExportTableToPointInTimeCommand"), exports);
34
- tslib_1.__exportStar(require("./commands/GetItemCommand"), exports);
35
- tslib_1.__exportStar(require("./commands/ListBackupsCommand"), exports);
36
- tslib_1.__exportStar(require("./commands/ListContributorInsightsCommand"), exports);
37
- tslib_1.__exportStar(require("./pagination/ListContributorInsightsPaginator"), exports);
38
- tslib_1.__exportStar(require("./commands/ListExportsCommand"), exports);
39
- tslib_1.__exportStar(require("./pagination/ListExportsPaginator"), exports);
40
- tslib_1.__exportStar(require("./commands/ListGlobalTablesCommand"), exports);
41
- tslib_1.__exportStar(require("./commands/ListTablesCommand"), exports);
42
- tslib_1.__exportStar(require("./pagination/ListTablesPaginator"), exports);
43
- tslib_1.__exportStar(require("./commands/ListTagsOfResourceCommand"), exports);
44
- tslib_1.__exportStar(require("./commands/PutItemCommand"), exports);
45
- tslib_1.__exportStar(require("./commands/QueryCommand"), exports);
46
- tslib_1.__exportStar(require("./pagination/QueryPaginator"), exports);
47
- tslib_1.__exportStar(require("./commands/RestoreTableFromBackupCommand"), exports);
48
- tslib_1.__exportStar(require("./commands/RestoreTableToPointInTimeCommand"), exports);
49
- tslib_1.__exportStar(require("./commands/ScanCommand"), exports);
50
- tslib_1.__exportStar(require("./pagination/ScanPaginator"), exports);
51
- tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
52
- tslib_1.__exportStar(require("./commands/TransactGetItemsCommand"), exports);
53
- tslib_1.__exportStar(require("./commands/TransactWriteItemsCommand"), exports);
54
- tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
55
- tslib_1.__exportStar(require("./commands/UpdateContinuousBackupsCommand"), exports);
56
- tslib_1.__exportStar(require("./commands/UpdateContributorInsightsCommand"), exports);
57
- tslib_1.__exportStar(require("./commands/UpdateGlobalTableCommand"), exports);
58
- tslib_1.__exportStar(require("./commands/UpdateGlobalTableSettingsCommand"), exports);
59
- tslib_1.__exportStar(require("./commands/UpdateItemCommand"), exports);
60
- tslib_1.__exportStar(require("./commands/UpdateTableCommand"), exports);
61
- tslib_1.__exportStar(require("./commands/UpdateTableReplicaAutoScalingCommand"), exports);
62
- tslib_1.__exportStar(require("./commands/UpdateTimeToLiveCommand"), exports);
63
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
64
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./DynamoDBClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./waiters"), exports);