@aws-sdk/client-dynamodb 3.33.0 → 3.34.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 (139) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/package.json +40 -40
  3. package/dist/es/DynamoDB.js +1 -22
  4. package/dist/es/DynamoDB.js.map +1 -1
  5. package/dist/es/DynamoDBClient.js +1 -27
  6. package/dist/es/DynamoDBClient.js.map +1 -1
  7. package/dist/es/commands/BatchExecuteStatementCommand.js +2 -29
  8. package/dist/es/commands/BatchExecuteStatementCommand.js.map +1 -1
  9. package/dist/es/commands/BatchGetItemCommand.js +2 -72
  10. package/dist/es/commands/BatchGetItemCommand.js.map +1 -1
  11. package/dist/es/commands/BatchWriteItemCommand.js +2 -101
  12. package/dist/es/commands/BatchWriteItemCommand.js.map +1 -1
  13. package/dist/es/commands/CreateBackupCommand.js +2 -56
  14. package/dist/es/commands/CreateBackupCommand.js.map +1 -1
  15. package/dist/es/commands/CreateGlobalTableCommand.js +2 -94
  16. package/dist/es/commands/CreateGlobalTableCommand.js.map +1 -1
  17. package/dist/es/commands/CreateTableCommand.js +2 -39
  18. package/dist/es/commands/CreateTableCommand.js.map +1 -1
  19. package/dist/es/commands/DeleteBackupCommand.js +2 -28
  20. package/dist/es/commands/DeleteBackupCommand.js.map +1 -1
  21. package/dist/es/commands/DeleteItemCommand.js +2 -32
  22. package/dist/es/commands/DeleteItemCommand.js.map +1 -1
  23. package/dist/es/commands/DeleteTableCommand.js +2 -43
  24. package/dist/es/commands/DeleteTableCommand.js.map +1 -1
  25. package/dist/es/commands/DescribeBackupCommand.js +2 -28
  26. package/dist/es/commands/DescribeBackupCommand.js.map +1 -1
  27. package/dist/es/commands/DescribeContinuousBackupsCommand.js +2 -37
  28. package/dist/es/commands/DescribeContinuousBackupsCommand.js.map +1 -1
  29. package/dist/es/commands/DescribeContributorInsightsCommand.js +2 -27
  30. package/dist/es/commands/DescribeContributorInsightsCommand.js.map +1 -1
  31. package/dist/es/commands/DescribeEndpointsCommand.js +2 -27
  32. package/dist/es/commands/DescribeEndpointsCommand.js.map +1 -1
  33. package/dist/es/commands/DescribeExportCommand.js +2 -27
  34. package/dist/es/commands/DescribeExportCommand.js.map +1 -1
  35. package/dist/es/commands/DescribeGlobalTableCommand.js +2 -31
  36. package/dist/es/commands/DescribeGlobalTableCommand.js.map +1 -1
  37. package/dist/es/commands/DescribeGlobalTableSettingsCommand.js +2 -30
  38. package/dist/es/commands/DescribeGlobalTableSettingsCommand.js.map +1 -1
  39. package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js +2 -27
  40. package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js.map +1 -1
  41. package/dist/es/commands/DescribeLimitsCommand.js +2 -90
  42. package/dist/es/commands/DescribeLimitsCommand.js.map +1 -1
  43. package/dist/es/commands/DescribeTableCommand.js +2 -33
  44. package/dist/es/commands/DescribeTableCommand.js.map +1 -1
  45. package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js +2 -30
  46. package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js.map +1 -1
  47. package/dist/es/commands/DescribeTimeToLiveCommand.js +2 -27
  48. package/dist/es/commands/DescribeTimeToLiveCommand.js.map +1 -1
  49. package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js +2 -28
  50. package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js.map +1 -1
  51. package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js +2 -30
  52. package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js.map +1 -1
  53. package/dist/es/commands/ExecuteStatementCommand.js +2 -29
  54. package/dist/es/commands/ExecuteStatementCommand.js.map +1 -1
  55. package/dist/es/commands/ExecuteTransactionCommand.js +2 -29
  56. package/dist/es/commands/ExecuteTransactionCommand.js.map +1 -1
  57. package/dist/es/commands/ExportTableToPointInTimeCommand.js +2 -29
  58. package/dist/es/commands/ExportTableToPointInTimeCommand.js.map +1 -1
  59. package/dist/es/commands/GetItemCommand.js +2 -33
  60. package/dist/es/commands/GetItemCommand.js.map +1 -1
  61. package/dist/es/commands/ListBackupsCommand.js +2 -33
  62. package/dist/es/commands/ListBackupsCommand.js.map +1 -1
  63. package/dist/es/commands/ListContributorInsightsCommand.js +2 -27
  64. package/dist/es/commands/ListContributorInsightsCommand.js.map +1 -1
  65. package/dist/es/commands/ListExportsCommand.js +2 -27
  66. package/dist/es/commands/ListExportsCommand.js.map +1 -1
  67. package/dist/es/commands/ListGlobalTablesCommand.js +2 -30
  68. package/dist/es/commands/ListGlobalTablesCommand.js.map +1 -1
  69. package/dist/es/commands/ListTablesCommand.js +2 -29
  70. package/dist/es/commands/ListTablesCommand.js.map +1 -1
  71. package/dist/es/commands/ListTagsOfResourceCommand.js +2 -30
  72. package/dist/es/commands/ListTagsOfResourceCommand.js.map +1 -1
  73. package/dist/es/commands/PutItemCommand.js +2 -94
  74. package/dist/es/commands/PutItemCommand.js.map +1 -1
  75. package/dist/es/commands/QueryCommand.js +2 -82
  76. package/dist/es/commands/QueryCommand.js.map +1 -1
  77. package/dist/es/commands/RestoreTableFromBackupCommand.js +2 -51
  78. package/dist/es/commands/RestoreTableFromBackupCommand.js.map +1 -1
  79. package/dist/es/commands/RestoreTableToPointInTimeCommand.js +2 -82
  80. package/dist/es/commands/RestoreTableToPointInTimeCommand.js.map +1 -1
  81. package/dist/es/commands/ScanCommand.js +2 -51
  82. package/dist/es/commands/ScanCommand.js.map +1 -1
  83. package/dist/es/commands/TagResourceCommand.js +2 -33
  84. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  85. package/dist/es/commands/TransactGetItemsCommand.js +2 -52
  86. package/dist/es/commands/TransactGetItemsCommand.js.map +1 -1
  87. package/dist/es/commands/TransactWriteItemsCommand.js +2 -100
  88. package/dist/es/commands/TransactWriteItemsCommand.js.map +1 -1
  89. package/dist/es/commands/UntagResourceCommand.js +2 -31
  90. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  91. package/dist/es/commands/UpdateContinuousBackupsCommand.js +2 -38
  92. package/dist/es/commands/UpdateContinuousBackupsCommand.js.map +1 -1
  93. package/dist/es/commands/UpdateContributorInsightsCommand.js +2 -27
  94. package/dist/es/commands/UpdateContributorInsightsCommand.js.map +1 -1
  95. package/dist/es/commands/UpdateGlobalTableCommand.js +2 -55
  96. package/dist/es/commands/UpdateGlobalTableCommand.js.map +1 -1
  97. package/dist/es/commands/UpdateGlobalTableSettingsCommand.js +2 -27
  98. package/dist/es/commands/UpdateGlobalTableSettingsCommand.js.map +1 -1
  99. package/dist/es/commands/UpdateItemCommand.js +2 -29
  100. package/dist/es/commands/UpdateItemCommand.js.map +1 -1
  101. package/dist/es/commands/UpdateTableCommand.js +2 -49
  102. package/dist/es/commands/UpdateTableCommand.js.map +1 -1
  103. package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js +2 -30
  104. package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js.map +1 -1
  105. package/dist/es/commands/UpdateTimeToLiveCommand.js +2 -51
  106. package/dist/es/commands/UpdateTimeToLiveCommand.js.map +1 -1
  107. package/dist/es/endpoints.js +1 -1
  108. package/dist/es/endpoints.js.map +1 -1
  109. package/dist/es/models/models_0.js +0 -660
  110. package/dist/es/models/models_0.js.map +1 -1
  111. package/dist/es/package.json +40 -40
  112. package/dist/es/pagination/ListContributorInsightsPaginator.js +16 -28
  113. package/dist/es/pagination/ListContributorInsightsPaginator.js.map +1 -1
  114. package/dist/es/pagination/ListExportsPaginator.js +16 -28
  115. package/dist/es/pagination/ListExportsPaginator.js.map +1 -1
  116. package/dist/es/pagination/ListTablesPaginator.js +16 -28
  117. package/dist/es/pagination/ListTablesPaginator.js.map +1 -1
  118. package/dist/es/pagination/QueryPaginator.js +16 -28
  119. package/dist/es/pagination/QueryPaginator.js.map +1 -1
  120. package/dist/es/pagination/ScanPaginator.js +16 -28
  121. package/dist/es/pagination/ScanPaginator.js.map +1 -1
  122. package/dist/es/protocols/Aws_json1_0.js +1277 -1282
  123. package/dist/es/protocols/Aws_json1_0.js.map +1 -1
  124. package/dist/es/runtimeConfig.browser.js +0 -3
  125. package/dist/es/runtimeConfig.browser.js.map +1 -1
  126. package/dist/es/runtimeConfig.js +0 -3
  127. package/dist/es/runtimeConfig.js.map +1 -1
  128. package/dist/es/runtimeConfig.native.js +0 -3
  129. package/dist/es/runtimeConfig.native.js.map +1 -1
  130. package/dist/es/runtimeConfig.shared.js +0 -3
  131. package/dist/es/runtimeConfig.shared.js.map +1 -1
  132. package/dist/es/waiters/waitForTableExists.js +9 -18
  133. package/dist/es/waiters/waitForTableExists.js.map +1 -1
  134. package/dist/es/waiters/waitForTableNotExists.js +8 -17
  135. package/dist/es/waiters/waitForTableNotExists.js.map +1 -1
  136. package/package.json +40 -40
  137. package/tsconfig.es.json +0 -2
  138. package/tsconfig.json +4 -5
  139. package/tsconfig.types.json +8 -0
@@ -3,105 +3,13 @@ import { PutItemInput, PutItemOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0PutItemCommand, serializeAws_json1_0PutItemCommand } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the <code>ReturnValues</code> parameter.</p>
8
- * <important>
9
- * <p>This topic provides general information about the <code>PutItem</code> API.</p>
10
- * <p>For information on how to call the <code>PutItem</code> API using the AWS SDK in specific languages, see the following:</p>
11
- * <ul>
12
- * <li>
13
- * <p>
14
- * <a href="http://docs.aws.amazon.com/goto/aws-cli/dynamodb-2012-08-10/PutItem"> PutItem in the AWS Command Line Interface</a>
15
- * </p>
16
- * </li>
17
- * <li>
18
- * <p>
19
- * <a href="http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for .NET</a>
20
- * </p>
21
- * </li>
22
- * <li>
23
- * <p>
24
- * <a href="http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for C++</a>
25
- * </p>
26
- * </li>
27
- * <li>
28
- * <p>
29
- * <a href="http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for Go</a>
30
- * </p>
31
- * </li>
32
- * <li>
33
- * <p>
34
- * <a href="http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for Java</a>
35
- * </p>
36
- * </li>
37
- * <li>
38
- * <p>
39
- * <a href="http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for JavaScript</a>
40
- * </p>
41
- * </li>
42
- * <li>
43
- * <p>
44
- * <a href="http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for PHP V3</a>
45
- * </p>
46
- * </li>
47
- * <li>
48
- * <p>
49
- * <a href="http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem">
50
- * PutItem in the AWS SDK for Python</a>
51
- * </p>
52
- * </li>
53
- * <li>
54
- * <p>
55
- * <a href="http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for Ruby V2</a>
56
- * </p>
57
- * </li>
58
- * </ul>
59
- * </important>
60
- *
61
- * <p>When you add an item, the primary key attributes are the only required attributes.
62
- * Attribute values cannot be null.</p>
63
- * <p>Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index.
64
- * Set type attributes cannot be empty. </p>
65
- * <p>Invalid Requests with empty values will
66
- * be rejected with a <code>ValidationException</code> exception.</p>
67
- * <note>
68
- * <p>To prevent a new item from replacing an existing item, use a conditional expression
69
- * that contains the <code>attribute_not_exists</code> function with the name of the
70
- * attribute being used as the partition key for the table. Since every record must contain
71
- * that attribute, the <code>attribute_not_exists</code> function will only succeed if
72
- * no matching item exists.</p>
73
- * </note>
74
- * <p>For more information about <code>PutItem</code>, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html">Working with Items</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
75
- * @example
76
- * Use a bare-bones client and the command you need to make an API call.
77
- * ```javascript
78
- * import { DynamoDBClient, PutItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
79
- * // const { DynamoDBClient, PutItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
80
- * const client = new DynamoDBClient(config);
81
- * const command = new PutItemCommand(input);
82
- * const response = await client.send(command);
83
- * ```
84
- *
85
- * @see {@link PutItemCommandInput} for command's `input` shape.
86
- * @see {@link PutItemCommandOutput} for command's `response` shape.
87
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
88
- *
89
- */
90
- var PutItemCommand = /** @class */ (function (_super) {
6
+ var PutItemCommand = (function (_super) {
91
7
  __extends(PutItemCommand, _super);
92
- // Start section: command_properties
93
- // End section: command_properties
94
8
  function PutItemCommand(input) {
95
- var _this =
96
- // Start section: command_constructor
97
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
98
10
  _this.input = input;
99
11
  return _this;
100
- // End section: command_constructor
101
12
  }
102
- /**
103
- * @internal
104
- */
105
13
  PutItemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
106
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
107
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"PutItemCommand.js","sourceRoot":"","sources":["../../../commands/PutItemCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CA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;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,YAAY,CAAC,kBAAkB;YACxD,wBAAwB,EAAE,aAAa,CAAC,kBAAkB;SAC3D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,kCAAS,GAAjB,UAAkB,KAA0B,EAAE,OAAuB;QACnE,OAAO,kCAAkC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAEO,oCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oCAAoC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAIH,qBAAC;AAAD,CAAC,AAlDD,CAAoC,QAAQ,GAkD3C"}
@@ -3,93 +3,13 @@ import { QueryInput, QueryOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0QueryCommand, serializeAws_json1_0QueryCommand } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>The <code>Query</code> operation finds items based on primary key values.
8
- * You can query any table or secondary index that has a composite primary key (a partition
9
- * key and a sort key).
10
- * </p>
11
- * <p>Use the <code>KeyConditionExpression</code> parameter to provide a specific value
12
- * for the partition key. The <code>Query</code> operation will return all of the items
13
- * from the table or index with that partition key value. You can optionally narrow the
14
- * scope of the <code>Query</code> operation by specifying a sort key value and a
15
- * comparison operator in <code>KeyConditionExpression</code>. To further refine the <code>Query</code> results,
16
- * you can optionally provide a <code>FilterExpression</code>. A <code>FilterExpression</code> determines which items
17
- * within the results should be returned to you. All of the other results are discarded.
18
- * </p>
19
- * <p>
20
- * A <code>Query</code> operation always returns a result set. If no matching items are found,
21
- * the result set will be empty. Queries that do not return results consume the minimum number of
22
- * read capacity units for that type of read operation.
23
- * </p>
24
- * <note>
25
- * <p>
26
- * DynamoDB calculates the number of read capacity units consumed based on item size,
27
- * not on the amount of data that is returned to an application. The number of capacity
28
- * units consumed will be the same whether you request all of the attributes (the default behavior)
29
- * or just some of them (using a projection expression). The number will also be the same
30
- * whether or not you use a <code>FilterExpression</code>.
31
- * </p>
32
- * </note>
33
- * <p>
34
- * <code>Query</code> results are always sorted by the sort key value. If the data type of the sort key is Number,
35
- * the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes.
36
- * By default, the sort order is ascending. To reverse the order, set the <code>ScanIndexForward</code> parameter
37
- * to false.
38
- * </p>
39
- * <p> A single <code>Query</code> operation will read up to the maximum number of items
40
- * set (if using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then
41
- * apply any filtering to the results using <code>FilterExpression</code>. If
42
- * <code>LastEvaluatedKey</code> is present in the response, you will need to paginate
43
- * the result set. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.html#Query.Pagination">Paginating
44
- * the Results</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>
45
- * <p>
46
- * <code>FilterExpression</code> is applied after a <code>Query</code> finishes, but before
47
- * the results are returned.
48
- * A <code>FilterExpression</code> cannot contain partition key or sort key attributes.
49
- * You need to specify those attributes in the <code>KeyConditionExpression</code>.
50
- * </p>
51
- * <note>
52
- * <p>
53
- * A <code>Query</code> operation can return an empty result set and a <code>LastEvaluatedKey</code>
54
- * if all the items read for the page of results are filtered out.
55
- * </p>
56
- * </note>
57
- * <p>You can query a table, a local secondary index, or a global secondary index. For a
58
- * query on a table or on a local secondary index, you can set the
59
- * <code>ConsistentRead</code> parameter to <code>true</code> and obtain a
60
- * strongly consistent result. Global secondary indexes support eventually consistent reads
61
- * only, so do not specify <code>ConsistentRead</code> when querying a global
62
- * secondary index.</p>
63
- * @example
64
- * Use a bare-bones client and the command you need to make an API call.
65
- * ```javascript
66
- * import { DynamoDBClient, QueryCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
67
- * // const { DynamoDBClient, QueryCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
68
- * const client = new DynamoDBClient(config);
69
- * const command = new QueryCommand(input);
70
- * const response = await client.send(command);
71
- * ```
72
- *
73
- * @see {@link QueryCommandInput} for command's `input` shape.
74
- * @see {@link QueryCommandOutput} for command's `response` shape.
75
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
76
- *
77
- */
78
- var QueryCommand = /** @class */ (function (_super) {
6
+ var QueryCommand = (function (_super) {
79
7
  __extends(QueryCommand, _super);
80
- // Start section: command_properties
81
- // End section: command_properties
82
8
  function QueryCommand(input) {
83
- var _this =
84
- // Start section: command_constructor
85
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
86
10
  _this.input = input;
87
11
  return _this;
88
- // End section: command_constructor
89
12
  }
90
- /**
91
- * @internal
92
- */
93
13
  QueryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
94
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
95
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryCommand.js","sourceRoot":"","sources":["../../../commands/QueryCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,kCAAkC,EAAE,gCAAgC,EAAE,MAAM,0BAA0B,CAAC;AAChH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH;IAAkC,gCAA6E;IAC7G,oCA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CAAC;IAEO,gCAAS,GAAjB,UAAkB,KAAwB,EAAE,OAAuB;QACjE,OAAO,gCAAgC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAEO,kCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,kCAAkC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAIH,mBAAC;AAAD,CAAC,AAlDD,CAAkC,QAAQ,GAkDzC"}
@@ -3,62 +3,13 @@ import { RestoreTableFromBackupInput, RestoreTableFromBackupOutput } from "../mo
3
3
  import { deserializeAws_json1_0RestoreTableFromBackupCommand, serializeAws_json1_0RestoreTableFromBackupCommand, } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores
8
- * (any type of restore) in a given account.
9
- * </p>
10
- * <p>You can call <code>RestoreTableFromBackup</code> at a maximum rate of 10 times per second.</p>
11
- * <p>You must manually set up the following on the restored table:</p>
12
- * <ul>
13
- * <li>
14
- * <p>Auto scaling policies</p>
15
- * </li>
16
- * <li>
17
- * <p>IAM policies</p>
18
- * </li>
19
- * <li>
20
- * <p>Amazon CloudWatch metrics and alarms</p>
21
- * </li>
22
- * <li>
23
- * <p>Tags</p>
24
- * </li>
25
- * <li>
26
- * <p>Stream settings</p>
27
- * </li>
28
- * <li>
29
- * <p>Time to Live (TTL) settings</p>
30
- * </li>
31
- * </ul>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DynamoDBClient, RestoreTableFromBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
36
- * // const { DynamoDBClient, RestoreTableFromBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
37
- * const client = new DynamoDBClient(config);
38
- * const command = new RestoreTableFromBackupCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link RestoreTableFromBackupCommandInput} for command's `input` shape.
43
- * @see {@link RestoreTableFromBackupCommandOutput} for command's `response` shape.
44
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- var RestoreTableFromBackupCommand = /** @class */ (function (_super) {
6
+ var RestoreTableFromBackupCommand = (function (_super) {
48
7
  __extends(RestoreTableFromBackupCommand, _super);
49
- // Start section: command_properties
50
- // End section: command_properties
51
8
  function RestoreTableFromBackupCommand(input) {
52
- var _this =
53
- // Start section: command_constructor
54
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
55
10
  _this.input = input;
56
11
  return _this;
57
- // End section: command_constructor
58
12
  }
59
- /**
60
- * @internal
61
- */
62
13
  RestoreTableFromBackupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
63
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"RestoreTableFromBackupCommand.js","sourceRoot":"","sources":["../../../commands/RestoreTableFromBackupCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH;IAAmD,iDAIlD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,uCAAqB,KAAyC;QAA9D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoC;;QAG5D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,yDAA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IAEO,mDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,oCAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
@@ -3,93 +3,13 @@ import { RestoreTableToPointInTimeInput, RestoreTableToPointInTimeOutput } from
3
3
  import { deserializeAws_json1_0RestoreTableToPointInTimeCommand, serializeAws_json1_0RestoreTableToPointInTimeCommand, } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Restores the specified table to the specified point in time within
8
- * <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>.
9
- * You can restore your table to any point in time during the last 35 days.
10
- * Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.
11
- * </p>
12
- * <p>
13
- * When you restore using point in time recovery, DynamoDB restores your table data to the state based on
14
- * the selected date and time (day:hour:minute:second) to a new table.
15
- * </p>
16
- * <p>
17
- * Along with data, the following are also included on the new restored table using point in time recovery:
18
- * </p>
19
- * <ul>
20
- * <li>
21
- * <p>Global secondary indexes (GSIs)</p>
22
- * </li>
23
- * <li>
24
- * <p>Local secondary indexes (LSIs)</p>
25
- * </li>
26
- * <li>
27
- * <p>Provisioned read and write capacity</p>
28
- * </li>
29
- * <li>
30
- * <p>Encryption settings</p>
31
- * <important>
32
- * <p>
33
- * All these settings come from the current settings of the source table at the time of restore.
34
- * </p>
35
- * </important>
36
- * </li>
37
- * </ul>
38
- *
39
- * <p>You must manually set up the following on the restored table:</p>
40
- * <ul>
41
- * <li>
42
- * <p>Auto scaling policies</p>
43
- * </li>
44
- * <li>
45
- * <p>IAM policies</p>
46
- * </li>
47
- * <li>
48
- * <p>Amazon CloudWatch metrics and alarms</p>
49
- * </li>
50
- * <li>
51
- * <p>Tags</p>
52
- * </li>
53
- * <li>
54
- * <p>Stream settings</p>
55
- * </li>
56
- * <li>
57
- * <p>Time to Live (TTL) settings</p>
58
- * </li>
59
- * <li>
60
- * <p>Point in time recovery settings</p>
61
- * </li>
62
- * </ul>
63
- * @example
64
- * Use a bare-bones client and the command you need to make an API call.
65
- * ```javascript
66
- * import { DynamoDBClient, RestoreTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
67
- * // const { DynamoDBClient, RestoreTableToPointInTimeCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
68
- * const client = new DynamoDBClient(config);
69
- * const command = new RestoreTableToPointInTimeCommand(input);
70
- * const response = await client.send(command);
71
- * ```
72
- *
73
- * @see {@link RestoreTableToPointInTimeCommandInput} for command's `input` shape.
74
- * @see {@link RestoreTableToPointInTimeCommandOutput} for command's `response` shape.
75
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
76
- *
77
- */
78
- var RestoreTableToPointInTimeCommand = /** @class */ (function (_super) {
6
+ var RestoreTableToPointInTimeCommand = (function (_super) {
79
7
  __extends(RestoreTableToPointInTimeCommand, _super);
80
- // Start section: command_properties
81
- // End section: command_properties
82
8
  function RestoreTableToPointInTimeCommand(input) {
83
- var _this =
84
- // Start section: command_constructor
85
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
86
10
  _this.input = input;
87
11
  return _this;
88
- // End section: command_constructor
89
12
  }
90
- /**
91
- * @internal
92
- */
93
13
  RestoreTableToPointInTimeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
94
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
95
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"RestoreTableToPointInTimeCommand.js","sourceRoot":"","sources":["../../../commands/RestoreTableToPointInTimeCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACt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;IAEO,oDAAS,GAAjB,UAAkB,KAA4C,EAAE,OAAuB;QACrF,OAAO,oDAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
1
+ {"version":3,"file":"RestoreTableToPointInTimeCommand.js","sourceRoot":"","sources":["../../../commands/RestoreTableToPointInTimeCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAsF7D;IAAsD,oDAIrD;IAIC,0CAAqB,KAA4C;QAAjE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuC;;IAIjE,CAAC;IAKD,4DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,kCAAkC,CAAC;QACvD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,8BAA8B,CAAC,kBAAkB;YAC1E,wBAAwB,EAAE,+BAA+B,CAAC,kBAAkB;SAC7E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oDAAS,GAAjB,UAAkB,KAA4C,EAAE,OAAuB;QACrF,OAAO,oDAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
@@ -3,62 +3,13 @@ import { ScanInput, ScanOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0ScanCommand, serializeAws_json1_0ScanCommand } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>The <code>Scan</code> operation returns one or more items and item attributes by accessing every
8
- * item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a <code>FilterExpression</code> operation.</p>
9
- * <p>If the total number of scanned items exceeds the maximum dataset size limit of 1 MB, the
10
- * scan stops and results are returned to the user as a <code>LastEvaluatedKey</code> value
11
- * to continue the scan in a subsequent operation. The results also include the number of
12
- * items exceeding the limit. A scan can result in no table data meeting the filter
13
- * criteria. </p>
14
- * <p>A single <code>Scan</code> operation reads up to the maximum number of items set (if
15
- * using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then apply any
16
- * filtering to the results using <code>FilterExpression</code>. If
17
- * <code>LastEvaluatedKey</code> is present in the response, you need to paginate the
18
- * result set. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Pagination">Paginating the
19
- * Results</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>
20
- * <p>
21
- * <code>Scan</code> operations proceed sequentially; however, for faster performance on
22
- * a large table or secondary index, applications can request a parallel <code>Scan</code>
23
- * operation by providing the <code>Segment</code> and <code>TotalSegments</code>
24
- * parameters. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.ParallelScan">Parallel
25
- * Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
26
- * <p>
27
- * <code>Scan</code> uses eventually consistent reads when accessing the data in a
28
- * table; therefore, the result set might not include the changes to data in the table
29
- * immediately before the operation began. If you need a consistent copy of the data, as of
30
- * the time that the <code>Scan</code> begins, you can set the <code>ConsistentRead</code>
31
- * parameter to <code>true</code>.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DynamoDBClient, ScanCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
36
- * // const { DynamoDBClient, ScanCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
37
- * const client = new DynamoDBClient(config);
38
- * const command = new ScanCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link ScanCommandInput} for command's `input` shape.
43
- * @see {@link ScanCommandOutput} for command's `response` shape.
44
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- var ScanCommand = /** @class */ (function (_super) {
6
+ var ScanCommand = (function (_super) {
48
7
  __extends(ScanCommand, _super);
49
- // Start section: command_properties
50
- // End section: command_properties
51
8
  function ScanCommand(input) {
52
- var _this =
53
- // Start section: command_constructor
54
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
55
10
  _this.input = input;
56
11
  return _this;
57
- // End section: command_constructor
58
12
  }
59
- /**
60
- * @internal
61
- */
62
13
  ScanCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
63
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"ScanCommand.js","sourceRoot":"","sources":["../../../commands/ScanCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,iCAAiC,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAC9G,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH;IAAiC,+BAA2E;IAC1G,oCAAoC;IACpC,kCAAkC;IAElC,qBAAqB,KAAuB;QAA5C;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkB;;QAG1C,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,uCAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,aAAa,CAAC;QAClC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,SAAS,CAAC,kBAAkB;YAC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AAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,aAAa,CAAC;QAClC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,SAAS,CAAC,kBAAkB;YACrD,wBAAwB,EAAE,UAAU,CAAC,kBAAkB;SACxD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,+BAAS,GAAjB,UAAkB,KAAuB,EAAE,OAAuB;QAChE,OAAO,+BAA+B,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAEO,iCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iCAAiC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAIH,kBAAC;AAAD,CAAC,AAlDD,CAAiC,QAAQ,GAkDxC"}
@@ -3,44 +3,13 @@ import { TagResourceInput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Associate a set of tags with an Amazon DynamoDB resource. You can then activate these
8
- * user-defined tags so that they appear on the Billing and Cost Management console for
9
- * cost allocation tracking. You can call TagResource up to five times per second, per
10
- * account. </p>
11
- * <p>For an overview on tagging DynamoDB resources, see
12
- * <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html">Tagging for DynamoDB</a>
13
- * in the <i>Amazon DynamoDB Developer Guide</i>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { DynamoDBClient, TagResourceCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
18
- * // const { DynamoDBClient, TagResourceCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
19
- * const client = new DynamoDBClient(config);
20
- * const command = new TagResourceCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link TagResourceCommandInput} for command's `input` shape.
25
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
26
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
- var TagResourceCommand = /** @class */ (function (_super) {
6
+ var TagResourceCommand = (function (_super) {
30
7
  __extends(TagResourceCommand, _super);
31
- // Start section: command_properties
32
- // End section: command_properties
33
8
  function TagResourceCommand(input) {
34
- var _this =
35
- // Start section: command_constructor
36
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
37
10
  _this.input = input;
38
11
  return _this;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
45
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"TagResourceCommand.js","sourceRoot":"","sources":["../../../commands/TagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAw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cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
@@ -3,63 +3,13 @@ import { TransactGetItemsInput, TransactGetItemsOutput } from "../models/models_
3
3
  import { deserializeAws_json1_0TransactGetItemsCommand, serializeAws_json1_0TransactGetItemsCommand, } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>
8
- * <code>TransactGetItems</code> is a synchronous operation that atomically retrieves
9
- * multiple items from one or more tables (but not from indexes) in a single account and
10
- * Region. A <code>TransactGetItems</code> call can contain up to 25
11
- * <code>TransactGetItem</code> objects, each of which contains a <code>Get</code>
12
- * structure that specifies an item to retrieve from a table in the account and Region. A
13
- * call to <code>TransactGetItems</code> cannot retrieve items from tables in more than one
14
- * AWS account or Region. The aggregate size of the items in the transaction cannot exceed
15
- * 4 MB.</p>
16
- * <p>DynamoDB rejects the entire <code>TransactGetItems</code> request if any of the following is true:</p>
17
- * <ul>
18
- * <li>
19
- * <p>A conflicting operation is in the process of updating an
20
- * item to be read.</p>
21
- * </li>
22
- * <li>
23
- * <p>There is insufficient provisioned capacity for the transaction
24
- * to be completed.</p>
25
- * </li>
26
- * <li>
27
- * <p>There is a user error, such as an invalid data format.</p>
28
- * </li>
29
- * <li>
30
- * <p>The aggregate size of the items in the transaction cannot exceed 4 MB.</p>
31
- * </li>
32
- * </ul>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { DynamoDBClient, TransactGetItemsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
37
- * // const { DynamoDBClient, TransactGetItemsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
38
- * const client = new DynamoDBClient(config);
39
- * const command = new TransactGetItemsCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link TransactGetItemsCommandInput} for command's `input` shape.
44
- * @see {@link TransactGetItemsCommandOutput} for command's `response` shape.
45
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- var TransactGetItemsCommand = /** @class */ (function (_super) {
6
+ var TransactGetItemsCommand = (function (_super) {
49
7
  __extends(TransactGetItemsCommand, _super);
50
- // Start section: command_properties
51
- // End section: command_properties
52
8
  function TransactGetItemsCommand(input) {
53
- var _this =
54
- // Start section: command_constructor
55
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
56
10
  _this.input = input;
57
11
  return _this;
58
- // End section: command_constructor
59
12
  }
60
- /**
61
- * @internal
62
- */
63
13
  TransactGetItemsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
64
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"TransactGetItemsCommand.js","sourceRoot":"","sources":["../../../commands/TransactGetItemsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;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