@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,67 +3,13 @@ import { CreateBackupInput, CreateBackupOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0CreateBackupCommand, serializeAws_json1_0CreateBackupCommand, } 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 backup for an existing table.</p>
8
- * <p> Each time you create an on-demand backup, the entire table data is backed up. There
9
- * is no limit to the number of on-demand backups that can be taken. </p>
10
- * <p> When you create an on-demand backup, a time marker of the request is cataloged, and
11
- * the backup is created asynchronously, by applying all changes until the time of the
12
- * request to the last full table snapshot. Backup requests are processed instantaneously
13
- * and become available for restore within minutes. </p>
14
- * <p>You can call <code>CreateBackup</code> at a maximum rate of 50 times per second.</p>
15
- * <p>All backups in DynamoDB work without consuming any provisioned throughput on the table.</p>
16
- * <p> If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed
17
- * to contain all data committed to the table up to 14:24:00, and data committed after
18
- * 14:26:00 will not be. The backup might contain data modifications made between 14:24:00
19
- * and 14:26:00. On-demand backup does not support causal consistency. </p>
20
- * <p>
21
- * Along with data, the following are also included on the backups:
22
- * </p>
23
- * <ul>
24
- * <li>
25
- * <p>Global secondary indexes (GSIs)</p>
26
- * </li>
27
- * <li>
28
- * <p>Local secondary indexes (LSIs)</p>
29
- * </li>
30
- * <li>
31
- * <p>Streams</p>
32
- * </li>
33
- * <li>
34
- * <p>Provisioned read and write capacity</p>
35
- * </li>
36
- * </ul>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { DynamoDBClient, CreateBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
41
- * // const { DynamoDBClient, CreateBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
42
- * const client = new DynamoDBClient(config);
43
- * const command = new CreateBackupCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link CreateBackupCommandInput} for command's `input` shape.
48
- * @see {@link CreateBackupCommandOutput} for command's `response` shape.
49
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- var CreateBackupCommand = /** @class */ (function (_super) {
6
+ var CreateBackupCommand = (function (_super) {
53
7
  __extends(CreateBackupCommand, _super);
54
- // Start section: command_properties
55
- // End section: command_properties
56
8
  function CreateBackupCommand(input) {
57
- var _this =
58
- // Start section: command_constructor
59
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
60
10
  _this.input = input;
61
11
  return _this;
62
- // End section: command_constructor
63
12
  }
64
- /**
65
- * @internal
66
- */
67
13
  CreateBackupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
68
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"CreateBackupCommand.js","sourceRoot":"","sources":["../../../commands/CreateBackupCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB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,aAAA;YACX,uBAAuB,EAAE,iBAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,kBAAkB,CAAC,kBAAkB;SAChE,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,uCAAS,GAAjB,UAAkB,KAA+B,EAAE,OAAuB;QACxE,OAAO,uCAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,yCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
@@ -3,105 +3,13 @@ import { CreateGlobalTableInput, CreateGlobalTableOutput } from "../models/model
3
3
  import { deserializeAws_json1_0CreateGlobalTableCommand, serializeAws_json1_0CreateGlobalTableCommand, } 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 global table from an existing table. A global table creates a replication
8
- * relationship between two or more DynamoDB tables with the same table name in the
9
- * provided Regions. </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
- *
14
- * <p>If you want to add a new replica table to a global table, each of the following conditions
15
- * must be true:</p>
16
- * <ul>
17
- * <li>
18
- * <p>The table must have the same primary key as all of the other replicas.</p>
19
- * </li>
20
- * <li>
21
- * <p>The table must have the same name as all of the other replicas.</p>
22
- * </li>
23
- * <li>
24
- * <p>The table must have DynamoDB Streams enabled, with the stream containing both the new and the old
25
- * images of the item.</p>
26
- * </li>
27
- * <li>
28
- * <p>None of the replica tables in the global table can contain any data.</p>
29
- * </li>
30
- * </ul>
31
- * <p>
32
- * If global secondary indexes are specified, then the following conditions must also be met:
33
- * </p>
34
- * <ul>
35
- * <li>
36
- * <p>
37
- * The global secondary indexes must have the same name.
38
- * </p>
39
- * </li>
40
- * <li>
41
- * <p>
42
- * The global secondary indexes must have the same hash key and sort key (if present).
43
- * </p>
44
- * </li>
45
- * </ul>
46
- * <p>
47
- * If local secondary indexes are specified, then the following conditions must also be met:
48
- * </p>
49
- * <ul>
50
- * <li>
51
- * <p>
52
- * The local secondary indexes must have the same name.
53
- * </p>
54
- * </li>
55
- * <li>
56
- * <p>
57
- * The local secondary indexes must have the same hash key and sort key (if present).
58
- * </p>
59
- * </li>
60
- * </ul>
61
- *
62
- * <important>
63
- * <p>
64
- * Write capacity settings should be set consistently across your replica tables and
65
- * secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write
66
- * capacity settings for all of your global tables replicas and indexes.
67
- * </p>
68
- * <p>
69
- * If you prefer to manage write capacity settings manually, you should provision equal
70
- * replicated write capacity units to your replica tables. You should also provision
71
- * equal replicated write capacity units to matching secondary indexes across
72
- * your global table.
73
- * </p>
74
- * </important>
75
- * @example
76
- * Use a bare-bones client and the command you need to make an API call.
77
- * ```javascript
78
- * import { DynamoDBClient, CreateGlobalTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
79
- * // const { DynamoDBClient, CreateGlobalTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
80
- * const client = new DynamoDBClient(config);
81
- * const command = new CreateGlobalTableCommand(input);
82
- * const response = await client.send(command);
83
- * ```
84
- *
85
- * @see {@link CreateGlobalTableCommandInput} for command's `input` shape.
86
- * @see {@link CreateGlobalTableCommandOutput} for command's `response` shape.
87
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
88
- *
89
- */
90
- var CreateGlobalTableCommand = /** @class */ (function (_super) {
6
+ var CreateGlobalTableCommand = (function (_super) {
91
7
  __extends(CreateGlobalTableCommand, _super);
92
- // Start section: command_properties
93
- // End section: command_properties
94
8
  function CreateGlobalTableCommand(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
  CreateGlobalTableCommand.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":"CreateGlobalTableCommand.js","sourceRoot":"","sources":["../../../commands/CreateGlobalTableCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH;IAA8C,4CAI7C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,kCAAqB,KAAoC;QAAzD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA+B;;QAGvD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,oDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,C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AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
@@ -3,50 +3,13 @@ import { CreateTableInput, CreateTableOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0CreateTableCommand, serializeAws_json1_0CreateTableCommand, } 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>CreateTable</code> operation adds a new table to your account. In an AWS
8
- * account, table names must be unique within each Region. That is, you can have two tables
9
- * with same name if you create the tables in different Regions.</p>
10
- * <p>
11
- * <code>CreateTable</code> is an asynchronous operation. Upon receiving a <code>CreateTable</code> request,
12
- * DynamoDB immediately returns a response with a <code>TableStatus</code> of <code>CREATING</code>. After
13
- * the table is created, DynamoDB sets the <code>TableStatus</code> to <code>ACTIVE</code>. You can
14
- * perform read and write operations only on an <code>ACTIVE</code> table. </p>
15
- * <p>You can optionally define secondary indexes on the new table, as part of the <code>CreateTable</code>
16
- * operation. If you want to create multiple tables with secondary indexes on them, you must create the
17
- * tables sequentially. Only one table with secondary indexes can be in the <code>CREATING</code> state at
18
- * any given time.</p>
19
- * <p>You can use the <code>DescribeTable</code> action to check the table status.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { DynamoDBClient, CreateTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
24
- * // const { DynamoDBClient, CreateTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
25
- * const client = new DynamoDBClient(config);
26
- * const command = new CreateTableCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link CreateTableCommandInput} for command's `input` shape.
31
- * @see {@link CreateTableCommandOutput} for command's `response` shape.
32
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
- var CreateTableCommand = /** @class */ (function (_super) {
6
+ var CreateTableCommand = (function (_super) {
36
7
  __extends(CreateTableCommand, _super);
37
- // Start section: command_properties
38
- // End section: command_properties
39
8
  function CreateTableCommand(input) {
40
- var _this =
41
- // Start section: command_constructor
42
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
43
10
  _this.input = input;
44
11
  return _this;
45
- // End section: command_constructor
46
12
  }
47
- /**
48
- * @internal
49
- */
50
13
  CreateTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
51
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
52
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"CreateTableCommand.js","sourceRoot":"","sources":["../../../commands/CreateTableCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,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,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH;IAAwC,sCAIvC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,4BAAqB,KAA8B;QAAnD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;QAGjD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,8CAAiB,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,UA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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,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gBAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,iBAAiB,CAAC,kBAAkB;SAC/D,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,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,39 +3,13 @@ import { DeleteBackupInput, DeleteBackupOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0DeleteBackupCommand, serializeAws_json1_0DeleteBackupCommand, } 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>Deletes an existing backup of a table.</p>
8
- * <p>You can call <code>DeleteBackup</code> at a maximum rate of 10 times per second.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { DynamoDBClient, DeleteBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
13
- * // const { DynamoDBClient, DeleteBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
14
- * const client = new DynamoDBClient(config);
15
- * const command = new DeleteBackupCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DeleteBackupCommandInput} for command's `input` shape.
20
- * @see {@link DeleteBackupCommandOutput} for command's `response` shape.
21
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DeleteBackupCommand = /** @class */ (function (_super) {
6
+ var DeleteBackupCommand = (function (_super) {
25
7
  __extends(DeleteBackupCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DeleteBackupCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DeleteBackupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteBackupCommand.js","sourceRoot":"","sources":["../../../commands/DeleteBackupCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,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AAO,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,uCAAS,GAAjB,UAAkB,KAA+B,EAAE,OAAuB;QACxE,OAAO,uCAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,yCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
@@ -3,43 +3,13 @@ import { DeleteItemInput, DeleteItemOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0DeleteItemCommand, serializeAws_json1_0DeleteItemCommand, } 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>Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.</p>
8
- * <p>In addition to deleting an item, you can also return the item's attribute values in the same
9
- * operation, using the <code>ReturnValues</code> parameter.</p>
10
- * <p>Unless you specify conditions, the <code>DeleteItem</code> is an idempotent operation; running it
11
- * multiple times on the same item or attribute does <i>not</i> result in an error response.</p>
12
- * <p>Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { DynamoDBClient, DeleteItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
17
- * // const { DynamoDBClient, DeleteItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
18
- * const client = new DynamoDBClient(config);
19
- * const command = new DeleteItemCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DeleteItemCommandInput} for command's `input` shape.
24
- * @see {@link DeleteItemCommandOutput} for command's `response` shape.
25
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
- var DeleteItemCommand = /** @class */ (function (_super) {
6
+ var DeleteItemCommand = (function (_super) {
29
7
  __extends(DeleteItemCommand, _super);
30
- // Start section: command_properties
31
- // End section: command_properties
32
8
  function DeleteItemCommand(input) {
33
- var _this =
34
- // Start section: command_constructor
35
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
36
10
  _this.input = input;
37
11
  return _this;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  DeleteItemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
44
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteItemCommand.js","sourceRoot":"","sources":["../../../commands/DeleteItemCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH;IAAuC,qCAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2BAAqB,KAA6B;QAAlD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;QAGhD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,6CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,C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,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
@@ -3,54 +3,13 @@ import { DeleteTableInput, DeleteTableOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0DeleteTableCommand, serializeAws_json1_0DeleteTableCommand, } 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>DeleteTable</code> operation deletes a table and all of its items. After a
8
- * <code>DeleteTable</code> request, the specified table is in the <code>DELETING</code> state until
9
- * DynamoDB completes the deletion. If the table is in the <code>ACTIVE</code> state, you can delete
10
- * it. If a table is in <code>CREATING</code> or <code>UPDATING</code> states, then DynamoDB returns
11
- * a <code>ResourceInUseException</code>. If the specified table does not exist, DynamoDB returns a
12
- * <code>ResourceNotFoundException</code>. If table is already in the <code>DELETING</code> state, no
13
- * error is returned. </p>
14
- * <note>
15
- * <p>DynamoDB might continue to accept data read and write operations, such as <code>GetItem</code> and
16
- * <code>PutItem</code>, on a table in the <code>DELETING</code> state until the table deletion is
17
- * complete.</p>
18
- * </note>
19
- * <p>When you delete a table, any indexes on that table are also deleted.</p>
20
- * <p>If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes
21
- * into the <code>DISABLED</code> state, and the stream is automatically deleted after 24 hours.</p>
22
- *
23
- * <p>Use the <code>DescribeTable</code> action to check the status of the table. </p>
24
- * @example
25
- * Use a bare-bones client and the command you need to make an API call.
26
- * ```javascript
27
- * import { DynamoDBClient, DeleteTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
28
- * // const { DynamoDBClient, DeleteTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
29
- * const client = new DynamoDBClient(config);
30
- * const command = new DeleteTableCommand(input);
31
- * const response = await client.send(command);
32
- * ```
33
- *
34
- * @see {@link DeleteTableCommandInput} for command's `input` shape.
35
- * @see {@link DeleteTableCommandOutput} for command's `response` shape.
36
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
37
- *
38
- */
39
- var DeleteTableCommand = /** @class */ (function (_super) {
6
+ var DeleteTableCommand = (function (_super) {
40
7
  __extends(DeleteTableCommand, _super);
41
- // Start section: command_properties
42
- // End section: command_properties
43
8
  function DeleteTableCommand(input) {
44
- var _this =
45
- // Start section: command_constructor
46
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
47
10
  _this.input = input;
48
11
  return _this;
49
- // End section: command_constructor
50
12
  }
51
- /**
52
- * @internal
53
- */
54
13
  DeleteTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
55
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
56
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteTableCommand.js","sourceRoot":"","sources":["../../../commands/DeleteTableCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,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,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH;IAAwC,sCAIvC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,4BAAqB,KAA8B;QAAnD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;QAGjD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,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AwC,QAAQ,GAsD/C"}
@@ -3,39 +3,13 @@ import { DescribeBackupInput, DescribeBackupOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0DescribeBackupCommand, serializeAws_json1_0DescribeBackupCommand, } 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>Describes an existing backup of a table.</p>
8
- * <p>You can call <code>DescribeBackup</code> at a maximum rate of 10 times per second.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { DynamoDBClient, DescribeBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
13
- * // const { DynamoDBClient, DescribeBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
14
- * const client = new DynamoDBClient(config);
15
- * const command = new DescribeBackupCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DescribeBackupCommandInput} for command's `input` shape.
20
- * @see {@link DescribeBackupCommandOutput} for command's `response` shape.
21
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DescribeBackupCommand = /** @class */ (function (_super) {
6
+ var DescribeBackupCommand = (function (_super) {
25
7
  __extends(DescribeBackupCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DescribeBackupCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DescribeBackupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeBackupCommand.js","sourceRoot":"","sources":["../../../commands/DescribeBackupCommand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,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,mBAAmB,CAAC,kBAAkB;YAC/D,wBAAwB,EAAE,oBAAoB,CAAC,kBAAkB;SAClE,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,yCAAS,GAAjB,UAAkB,KAAiC,EAAE,OAAuB;QAC1E,OAAO,yCAAyC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAEO,2CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,2CAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAIH,4BAAC;AAAD,CAAC,AAtDD,CAA2C,QAAQ,GAsDlD"}
@@ -3,48 +3,13 @@ import { DescribeContinuousBackupsInput, DescribeContinuousBackupsOutput } from
3
3
  import { deserializeAws_json1_0DescribeContinuousBackupsCommand, serializeAws_json1_0DescribeContinuousBackupsCommand, } 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>Checks the status of continuous backups and point in time recovery on the specified table.
8
- * Continuous backups are <code>ENABLED</code> on all tables at table creation.
9
- * If point in time recovery is enabled, <code>PointInTimeRecoveryStatus</code> will be set to ENABLED.</p>
10
- * <p> After continuous backups and point in time recovery are enabled, you can restore to any
11
- * point in time within <code>EarliestRestorableDateTime</code> and
12
- * <code>LatestRestorableDateTime</code>. </p>
13
- * <p>
14
- * <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time. You can restore your table to any point
15
- * in time during the last 35 days.
16
- * </p>
17
- * <p>You can call <code>DescribeContinuousBackups</code> at a maximum rate of 10 times per second.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { DynamoDBClient, DescribeContinuousBackupsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
22
- * // const { DynamoDBClient, DescribeContinuousBackupsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
23
- * const client = new DynamoDBClient(config);
24
- * const command = new DescribeContinuousBackupsCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link DescribeContinuousBackupsCommandInput} for command's `input` shape.
29
- * @see {@link DescribeContinuousBackupsCommandOutput} for command's `response` shape.
30
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
- var DescribeContinuousBackupsCommand = /** @class */ (function (_super) {
6
+ var DescribeContinuousBackupsCommand = (function (_super) {
34
7
  __extends(DescribeContinuousBackupsCommand, _super);
35
- // Start section: command_properties
36
- // End section: command_properties
37
8
  function DescribeContinuousBackupsCommand(input) {
38
- var _this =
39
- // Start section: command_constructor
40
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
41
10
  _this.input = input;
42
11
  return _this;
43
- // End section: command_constructor
44
12
  }
45
- /**
46
- * @internal
47
- */
48
13
  DescribeContinuousBackupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
49
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
50
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeContinuousBackupsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeContinuousBackupsCommand.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,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nB,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":"DescribeContinuousBackupsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeContinuousBackupsCommand.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;AAyC7D;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,38 +3,13 @@ import { DescribeContributorInsightsInput, DescribeContributorInsightsOutput } f
3
3
  import { deserializeAws_json1_0DescribeContributorInsightsCommand, serializeAws_json1_0DescribeContributorInsightsCommand, } 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>Returns information about contributor insights, for a given table or global secondary index.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { DynamoDBClient, DescribeContributorInsightsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
12
- * // const { DynamoDBClient, DescribeContributorInsightsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
13
- * const client = new DynamoDBClient(config);
14
- * const command = new DescribeContributorInsightsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DescribeContributorInsightsCommandInput} for command's `input` shape.
19
- * @see {@link DescribeContributorInsightsCommandOutput} for command's `response` shape.
20
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DescribeContributorInsightsCommand = /** @class */ (function (_super) {
6
+ var DescribeContributorInsightsCommand = (function (_super) {
24
7
  __extends(DescribeContributorInsightsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DescribeContributorInsightsCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DescribeContributorInsightsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeContributorInsightsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeContributorInsightsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;GAgBG;AACH;IAAwD,sDAIvD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,4CAAqB,KAA8C;QAAnE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyC;;QAGjE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,8DAAiB,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,oCAAoC,CAAC;QACzD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gCAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,iCAAiC,CAAC,kBAAkB;SAC/E,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,sDAAS,GAAjB,UAAkB,KAA8C,EAAE,OAAuB;QACvF,OAAO,sDAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,wDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wDAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAIH,yCAAC;AAAD,CAAC,AAzDD,CAAwD,QAAQ,GAyD/D"}
1
+ {"version":3,"file":"DescribeContributorInsightsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeContributorInsightsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAwD,sDAIvD;IAIC,4CAAqB,KAA8C;QAAnE,YAEE,iB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