@aws-sdk/client-dynamodb 3.533.0 → 3.538.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 (134) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +148 -0
  3. package/dist-es/DynamoDB.js +6 -0
  4. package/dist-es/commands/DeleteResourcePolicyCommand.js +24 -0
  5. package/dist-es/commands/GetResourcePolicyCommand.js +24 -0
  6. package/dist-es/commands/PutResourcePolicyCommand.js +24 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +12 -0
  9. package/dist-es/protocols/Aws_json1_0.js +70 -1
  10. package/dist-types/DynamoDB.d.ts +30 -1
  11. package/dist-types/DynamoDBClient.d.ts +6 -3
  12. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +2 -1
  13. package/dist-types/commands/BatchGetItemCommand.d.ts +2 -1
  14. package/dist-types/commands/BatchWriteItemCommand.d.ts +2 -1
  15. package/dist-types/commands/CreateBackupCommand.d.ts +2 -1
  16. package/dist-types/commands/CreateGlobalTableCommand.d.ts +2 -1
  17. package/dist-types/commands/CreateTableCommand.d.ts +3 -1
  18. package/dist-types/commands/DeleteBackupCommand.d.ts +2 -1
  19. package/dist-types/commands/DeleteItemCommand.d.ts +2 -1
  20. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +104 -0
  21. package/dist-types/commands/DeleteTableCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeBackupCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
  24. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +2 -1
  25. package/dist-types/commands/DescribeEndpointsCommand.d.ts +2 -1
  26. package/dist-types/commands/DescribeExportCommand.d.ts +2 -1
  27. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +2 -1
  28. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +2 -1
  29. package/dist-types/commands/DescribeImportCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +2 -1
  31. package/dist-types/commands/DescribeLimitsCommand.d.ts +2 -1
  32. package/dist-types/commands/DescribeTableCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -1
  34. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +2 -1
  35. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +2 -1
  36. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +2 -1
  37. package/dist-types/commands/ExecuteStatementCommand.d.ts +2 -1
  38. package/dist-types/commands/ExecuteTransactionCommand.d.ts +2 -1
  39. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +2 -1
  40. package/dist-types/commands/GetItemCommand.d.ts +2 -1
  41. package/dist-types/commands/GetResourcePolicyCommand.d.ts +90 -0
  42. package/dist-types/commands/ImportTableCommand.d.ts +2 -1
  43. package/dist-types/commands/ListBackupsCommand.d.ts +2 -1
  44. package/dist-types/commands/ListContributorInsightsCommand.d.ts +2 -1
  45. package/dist-types/commands/ListExportsCommand.d.ts +2 -1
  46. package/dist-types/commands/ListGlobalTablesCommand.d.ts +2 -1
  47. package/dist-types/commands/ListImportsCommand.d.ts +2 -1
  48. package/dist-types/commands/ListTablesCommand.d.ts +2 -1
  49. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +2 -1
  50. package/dist-types/commands/PutItemCommand.d.ts +2 -1
  51. package/dist-types/commands/PutResourcePolicyCommand.d.ts +104 -0
  52. package/dist-types/commands/QueryCommand.d.ts +2 -1
  53. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +2 -1
  54. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +2 -1
  55. package/dist-types/commands/ScanCommand.d.ts +2 -1
  56. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  57. package/dist-types/commands/TransactGetItemsCommand.d.ts +2 -1
  58. package/dist-types/commands/TransactWriteItemsCommand.d.ts +2 -1
  59. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  60. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +2 -1
  61. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +2 -1
  62. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +2 -1
  63. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +2 -1
  64. package/dist-types/commands/UpdateItemCommand.d.ts +2 -1
  65. package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +2 -1
  66. package/dist-types/commands/UpdateTableCommand.d.ts +7 -9
  67. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +2 -1
  68. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +2 -1
  69. package/dist-types/commands/index.d.ts +3 -0
  70. package/dist-types/models/models_0.d.ts +1026 -915
  71. package/dist-types/protocols/Aws_json1_0.d.ts +27 -0
  72. package/dist-types/ts3.4/DynamoDB.d.ts +59 -0
  73. package/dist-types/ts3.4/DynamoDBClient.d.ts +18 -0
  74. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +9 -0
  75. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +9 -0
  76. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +9 -0
  77. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +9 -0
  78. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +9 -0
  79. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +9 -0
  80. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +9 -0
  81. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +9 -0
  82. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +39 -0
  83. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +9 -0
  84. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +9 -0
  85. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +9 -0
  86. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +9 -0
  87. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +9 -0
  88. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +9 -0
  89. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +9 -0
  90. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +9 -0
  91. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +9 -0
  92. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +9 -0
  93. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +9 -0
  94. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +9 -0
  95. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +9 -0
  96. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +9 -0
  97. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +9 -0
  98. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +9 -0
  99. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +9 -0
  100. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +9 -0
  101. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +9 -0
  102. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +7 -0
  103. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
  104. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +9 -0
  105. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +9 -0
  106. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +9 -0
  107. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +9 -0
  108. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +9 -0
  109. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +9 -0
  110. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +9 -0
  111. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +9 -0
  112. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +7 -0
  113. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
  114. package/dist-types/ts3.4/commands/QueryCommand.d.ts +7 -0
  115. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +9 -0
  116. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +9 -0
  117. package/dist-types/ts3.4/commands/ScanCommand.d.ts +7 -0
  118. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  119. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +9 -0
  120. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +9 -0
  121. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  122. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +9 -0
  123. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +9 -0
  124. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +9 -0
  125. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +9 -0
  126. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +9 -0
  127. package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +9 -0
  128. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +9 -0
  129. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +9 -0
  130. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +9 -0
  131. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  132. package/dist-types/ts3.4/models/models_0.d.ts +31 -0
  133. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +36 -0
  134. package/package.json +42 -42
@@ -7,6 +7,7 @@ import { CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput } from ".
7
7
  import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
8
8
  import { DeleteBackupCommandInput, DeleteBackupCommandOutput } from "./commands/DeleteBackupCommand";
9
9
  import { DeleteItemCommandInput, DeleteItemCommandOutput } from "./commands/DeleteItemCommand";
10
+ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
10
11
  import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
11
12
  import { DescribeBackupCommandInput, DescribeBackupCommandOutput } from "./commands/DescribeBackupCommand";
12
13
  import { DescribeContinuousBackupsCommandInput, DescribeContinuousBackupsCommandOutput } from "./commands/DescribeContinuousBackupsCommand";
@@ -27,6 +28,7 @@ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./c
27
28
  import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
28
29
  import { ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput } from "./commands/ExportTableToPointInTimeCommand";
29
30
  import { GetItemCommandInput, GetItemCommandOutput } from "./commands/GetItemCommand";
31
+ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
30
32
  import { ImportTableCommandInput, ImportTableCommandOutput } from "./commands/ImportTableCommand";
31
33
  import { ListBackupsCommandInput, ListBackupsCommandOutput } from "./commands/ListBackupsCommand";
32
34
  import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "./commands/ListContributorInsightsCommand";
@@ -36,6 +38,7 @@ import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/Li
36
38
  import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
37
39
  import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "./commands/ListTagsOfResourceCommand";
38
40
  import { PutItemCommandInput, PutItemCommandOutput } from "./commands/PutItemCommand";
41
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
39
42
  import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
40
43
  import { RestoreTableFromBackupCommandInput, RestoreTableFromBackupCommandOutput } from "./commands/RestoreTableFromBackupCommand";
41
44
  import { RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput } from "./commands/RestoreTableToPointInTimeCommand";
@@ -103,6 +106,12 @@ export interface DynamoDB {
103
106
  deleteItem(args: DeleteItemCommandInput, options?: __HttpHandlerOptions): Promise<DeleteItemCommandOutput>;
104
107
  deleteItem(args: DeleteItemCommandInput, cb: (err: any, data?: DeleteItemCommandOutput) => void): void;
105
108
  deleteItem(args: DeleteItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteItemCommandOutput) => void): void;
109
+ /**
110
+ * @see {@link DeleteResourcePolicyCommand}
111
+ */
112
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
113
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
114
+ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
106
115
  /**
107
116
  * @see {@link DeleteTableCommand}
108
117
  */
@@ -130,6 +139,7 @@ export interface DynamoDB {
130
139
  /**
131
140
  * @see {@link DescribeEndpointsCommand}
132
141
  */
142
+ describeEndpoints(): Promise<DescribeEndpointsCommandOutput>;
133
143
  describeEndpoints(args: DescribeEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEndpointsCommandOutput>;
134
144
  describeEndpoints(args: DescribeEndpointsCommandInput, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
135
145
  describeEndpoints(args: DescribeEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
@@ -166,6 +176,7 @@ export interface DynamoDB {
166
176
  /**
167
177
  * @see {@link DescribeLimitsCommand}
168
178
  */
179
+ describeLimits(): Promise<DescribeLimitsCommandOutput>;
169
180
  describeLimits(args: DescribeLimitsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLimitsCommandOutput>;
170
181
  describeLimits(args: DescribeLimitsCommandInput, cb: (err: any, data?: DescribeLimitsCommandOutput) => void): void;
171
182
  describeLimits(args: DescribeLimitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLimitsCommandOutput) => void): void;
@@ -223,6 +234,12 @@ export interface DynamoDB {
223
234
  getItem(args: GetItemCommandInput, options?: __HttpHandlerOptions): Promise<GetItemCommandOutput>;
224
235
  getItem(args: GetItemCommandInput, cb: (err: any, data?: GetItemCommandOutput) => void): void;
225
236
  getItem(args: GetItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetItemCommandOutput) => void): void;
237
+ /**
238
+ * @see {@link GetResourcePolicyCommand}
239
+ */
240
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
241
+ getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
242
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
226
243
  /**
227
244
  * @see {@link ImportTableCommand}
228
245
  */
@@ -232,36 +249,42 @@ export interface DynamoDB {
232
249
  /**
233
250
  * @see {@link ListBackupsCommand}
234
251
  */
252
+ listBackups(): Promise<ListBackupsCommandOutput>;
235
253
  listBackups(args: ListBackupsCommandInput, options?: __HttpHandlerOptions): Promise<ListBackupsCommandOutput>;
236
254
  listBackups(args: ListBackupsCommandInput, cb: (err: any, data?: ListBackupsCommandOutput) => void): void;
237
255
  listBackups(args: ListBackupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBackupsCommandOutput) => void): void;
238
256
  /**
239
257
  * @see {@link ListContributorInsightsCommand}
240
258
  */
259
+ listContributorInsights(): Promise<ListContributorInsightsCommandOutput>;
241
260
  listContributorInsights(args: ListContributorInsightsCommandInput, options?: __HttpHandlerOptions): Promise<ListContributorInsightsCommandOutput>;
242
261
  listContributorInsights(args: ListContributorInsightsCommandInput, cb: (err: any, data?: ListContributorInsightsCommandOutput) => void): void;
243
262
  listContributorInsights(args: ListContributorInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListContributorInsightsCommandOutput) => void): void;
244
263
  /**
245
264
  * @see {@link ListExportsCommand}
246
265
  */
266
+ listExports(): Promise<ListExportsCommandOutput>;
247
267
  listExports(args: ListExportsCommandInput, options?: __HttpHandlerOptions): Promise<ListExportsCommandOutput>;
248
268
  listExports(args: ListExportsCommandInput, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
249
269
  listExports(args: ListExportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
250
270
  /**
251
271
  * @see {@link ListGlobalTablesCommand}
252
272
  */
273
+ listGlobalTables(): Promise<ListGlobalTablesCommandOutput>;
253
274
  listGlobalTables(args: ListGlobalTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListGlobalTablesCommandOutput>;
254
275
  listGlobalTables(args: ListGlobalTablesCommandInput, cb: (err: any, data?: ListGlobalTablesCommandOutput) => void): void;
255
276
  listGlobalTables(args: ListGlobalTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGlobalTablesCommandOutput) => void): void;
256
277
  /**
257
278
  * @see {@link ListImportsCommand}
258
279
  */
280
+ listImports(): Promise<ListImportsCommandOutput>;
259
281
  listImports(args: ListImportsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportsCommandOutput>;
260
282
  listImports(args: ListImportsCommandInput, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
261
283
  listImports(args: ListImportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
262
284
  /**
263
285
  * @see {@link ListTablesCommand}
264
286
  */
287
+ listTables(): Promise<ListTablesCommandOutput>;
265
288
  listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
266
289
  listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
267
290
  listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
@@ -277,6 +300,12 @@ export interface DynamoDB {
277
300
  putItem(args: PutItemCommandInput, options?: __HttpHandlerOptions): Promise<PutItemCommandOutput>;
278
301
  putItem(args: PutItemCommandInput, cb: (err: any, data?: PutItemCommandOutput) => void): void;
279
302
  putItem(args: PutItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutItemCommandOutput) => void): void;
303
+ /**
304
+ * @see {@link PutResourcePolicyCommand}
305
+ */
306
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
307
+ putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
308
+ putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
280
309
  /**
281
310
  * @see {@link QueryCommand}
282
311
  */
@@ -381,7 +410,6 @@ export interface DynamoDB {
381
410
  updateTimeToLive(args: UpdateTimeToLiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTimeToLiveCommandOutput) => void): void;
382
411
  }
383
412
  /**
384
- * @public
385
413
  * <fullname>Amazon DynamoDB</fullname>
386
414
  * <p>Amazon DynamoDB is a fully managed NoSQL database service that provides fast
387
415
  * and predictable performance with seamless scalability. DynamoDB lets you
@@ -399,6 +427,7 @@ export interface DynamoDB {
399
427
  * disks (SSDs) and automatically replicated across multiple Availability Zones in an
400
428
  * Amazon Web Services Region, providing built-in high availability and data
401
429
  * durability.</p>
430
+ * @public
402
431
  */
403
432
  export declare class DynamoDB extends DynamoDBClient implements DynamoDB {
404
433
  }
@@ -16,6 +16,7 @@ import { CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput } from ".
16
16
  import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
17
17
  import { DeleteBackupCommandInput, DeleteBackupCommandOutput } from "./commands/DeleteBackupCommand";
18
18
  import { DeleteItemCommandInput, DeleteItemCommandOutput } from "./commands/DeleteItemCommand";
19
+ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
19
20
  import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
20
21
  import { DescribeBackupCommandInput, DescribeBackupCommandOutput } from "./commands/DescribeBackupCommand";
21
22
  import { DescribeContinuousBackupsCommandInput, DescribeContinuousBackupsCommandOutput } from "./commands/DescribeContinuousBackupsCommand";
@@ -36,6 +37,7 @@ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./c
36
37
  import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
37
38
  import { ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput } from "./commands/ExportTableToPointInTimeCommand";
38
39
  import { GetItemCommandInput, GetItemCommandOutput } from "./commands/GetItemCommand";
40
+ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
39
41
  import { ImportTableCommandInput, ImportTableCommandOutput } from "./commands/ImportTableCommand";
40
42
  import { ListBackupsCommandInput, ListBackupsCommandOutput } from "./commands/ListBackupsCommand";
41
43
  import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "./commands/ListContributorInsightsCommand";
@@ -45,6 +47,7 @@ import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/Li
45
47
  import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
46
48
  import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "./commands/ListTagsOfResourceCommand";
47
49
  import { PutItemCommandInput, PutItemCommandOutput } from "./commands/PutItemCommand";
50
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
48
51
  import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
49
52
  import { RestoreTableFromBackupCommandInput, RestoreTableFromBackupCommandOutput } from "./commands/RestoreTableFromBackupCommand";
50
53
  import { RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput } from "./commands/RestoreTableToPointInTimeCommand";
@@ -68,11 +71,11 @@ export { __Client };
68
71
  /**
69
72
  * @public
70
73
  */
71
- export type ServiceInputTypes = BatchExecuteStatementCommandInput | BatchGetItemCommandInput | BatchWriteItemCommandInput | CreateBackupCommandInput | CreateGlobalTableCommandInput | CreateTableCommandInput | DeleteBackupCommandInput | DeleteItemCommandInput | DeleteTableCommandInput | DescribeBackupCommandInput | DescribeContinuousBackupsCommandInput | DescribeContributorInsightsCommandInput | DescribeEndpointsCommandInput | DescribeExportCommandInput | DescribeGlobalTableCommandInput | DescribeGlobalTableSettingsCommandInput | DescribeImportCommandInput | DescribeKinesisStreamingDestinationCommandInput | DescribeLimitsCommandInput | DescribeTableCommandInput | DescribeTableReplicaAutoScalingCommandInput | DescribeTimeToLiveCommandInput | DisableKinesisStreamingDestinationCommandInput | EnableKinesisStreamingDestinationCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | ExportTableToPointInTimeCommandInput | GetItemCommandInput | ImportTableCommandInput | ListBackupsCommandInput | ListContributorInsightsCommandInput | ListExportsCommandInput | ListGlobalTablesCommandInput | ListImportsCommandInput | ListTablesCommandInput | ListTagsOfResourceCommandInput | PutItemCommandInput | QueryCommandInput | RestoreTableFromBackupCommandInput | RestoreTableToPointInTimeCommandInput | ScanCommandInput | TagResourceCommandInput | TransactGetItemsCommandInput | TransactWriteItemsCommandInput | UntagResourceCommandInput | UpdateContinuousBackupsCommandInput | UpdateContributorInsightsCommandInput | UpdateGlobalTableCommandInput | UpdateGlobalTableSettingsCommandInput | UpdateItemCommandInput | UpdateKinesisStreamingDestinationCommandInput | UpdateTableCommandInput | UpdateTableReplicaAutoScalingCommandInput | UpdateTimeToLiveCommandInput;
74
+ export type ServiceInputTypes = BatchExecuteStatementCommandInput | BatchGetItemCommandInput | BatchWriteItemCommandInput | CreateBackupCommandInput | CreateGlobalTableCommandInput | CreateTableCommandInput | DeleteBackupCommandInput | DeleteItemCommandInput | DeleteResourcePolicyCommandInput | DeleteTableCommandInput | DescribeBackupCommandInput | DescribeContinuousBackupsCommandInput | DescribeContributorInsightsCommandInput | DescribeEndpointsCommandInput | DescribeExportCommandInput | DescribeGlobalTableCommandInput | DescribeGlobalTableSettingsCommandInput | DescribeImportCommandInput | DescribeKinesisStreamingDestinationCommandInput | DescribeLimitsCommandInput | DescribeTableCommandInput | DescribeTableReplicaAutoScalingCommandInput | DescribeTimeToLiveCommandInput | DisableKinesisStreamingDestinationCommandInput | EnableKinesisStreamingDestinationCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | ExportTableToPointInTimeCommandInput | GetItemCommandInput | GetResourcePolicyCommandInput | ImportTableCommandInput | ListBackupsCommandInput | ListContributorInsightsCommandInput | ListExportsCommandInput | ListGlobalTablesCommandInput | ListImportsCommandInput | ListTablesCommandInput | ListTagsOfResourceCommandInput | PutItemCommandInput | PutResourcePolicyCommandInput | QueryCommandInput | RestoreTableFromBackupCommandInput | RestoreTableToPointInTimeCommandInput | ScanCommandInput | TagResourceCommandInput | TransactGetItemsCommandInput | TransactWriteItemsCommandInput | UntagResourceCommandInput | UpdateContinuousBackupsCommandInput | UpdateContributorInsightsCommandInput | UpdateGlobalTableCommandInput | UpdateGlobalTableSettingsCommandInput | UpdateItemCommandInput | UpdateKinesisStreamingDestinationCommandInput | UpdateTableCommandInput | UpdateTableReplicaAutoScalingCommandInput | UpdateTimeToLiveCommandInput;
72
75
  /**
73
76
  * @public
74
77
  */
75
- export type ServiceOutputTypes = BatchExecuteStatementCommandOutput | BatchGetItemCommandOutput | BatchWriteItemCommandOutput | CreateBackupCommandOutput | CreateGlobalTableCommandOutput | CreateTableCommandOutput | DeleteBackupCommandOutput | DeleteItemCommandOutput | DeleteTableCommandOutput | DescribeBackupCommandOutput | DescribeContinuousBackupsCommandOutput | DescribeContributorInsightsCommandOutput | DescribeEndpointsCommandOutput | DescribeExportCommandOutput | DescribeGlobalTableCommandOutput | DescribeGlobalTableSettingsCommandOutput | DescribeImportCommandOutput | DescribeKinesisStreamingDestinationCommandOutput | DescribeLimitsCommandOutput | DescribeTableCommandOutput | DescribeTableReplicaAutoScalingCommandOutput | DescribeTimeToLiveCommandOutput | DisableKinesisStreamingDestinationCommandOutput | EnableKinesisStreamingDestinationCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | ExportTableToPointInTimeCommandOutput | GetItemCommandOutput | ImportTableCommandOutput | ListBackupsCommandOutput | ListContributorInsightsCommandOutput | ListExportsCommandOutput | ListGlobalTablesCommandOutput | ListImportsCommandOutput | ListTablesCommandOutput | ListTagsOfResourceCommandOutput | PutItemCommandOutput | QueryCommandOutput | RestoreTableFromBackupCommandOutput | RestoreTableToPointInTimeCommandOutput | ScanCommandOutput | TagResourceCommandOutput | TransactGetItemsCommandOutput | TransactWriteItemsCommandOutput | UntagResourceCommandOutput | UpdateContinuousBackupsCommandOutput | UpdateContributorInsightsCommandOutput | UpdateGlobalTableCommandOutput | UpdateGlobalTableSettingsCommandOutput | UpdateItemCommandOutput | UpdateKinesisStreamingDestinationCommandOutput | UpdateTableCommandOutput | UpdateTableReplicaAutoScalingCommandOutput | UpdateTimeToLiveCommandOutput;
78
+ export type ServiceOutputTypes = BatchExecuteStatementCommandOutput | BatchGetItemCommandOutput | BatchWriteItemCommandOutput | CreateBackupCommandOutput | CreateGlobalTableCommandOutput | CreateTableCommandOutput | DeleteBackupCommandOutput | DeleteItemCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTableCommandOutput | DescribeBackupCommandOutput | DescribeContinuousBackupsCommandOutput | DescribeContributorInsightsCommandOutput | DescribeEndpointsCommandOutput | DescribeExportCommandOutput | DescribeGlobalTableCommandOutput | DescribeGlobalTableSettingsCommandOutput | DescribeImportCommandOutput | DescribeKinesisStreamingDestinationCommandOutput | DescribeLimitsCommandOutput | DescribeTableCommandOutput | DescribeTableReplicaAutoScalingCommandOutput | DescribeTimeToLiveCommandOutput | DisableKinesisStreamingDestinationCommandOutput | EnableKinesisStreamingDestinationCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | ExportTableToPointInTimeCommandOutput | GetItemCommandOutput | GetResourcePolicyCommandOutput | ImportTableCommandOutput | ListBackupsCommandOutput | ListContributorInsightsCommandOutput | ListExportsCommandOutput | ListGlobalTablesCommandOutput | ListImportsCommandOutput | ListTablesCommandOutput | ListTagsOfResourceCommandOutput | PutItemCommandOutput | PutResourcePolicyCommandOutput | QueryCommandOutput | RestoreTableFromBackupCommandOutput | RestoreTableToPointInTimeCommandOutput | ScanCommandOutput | TagResourceCommandOutput | TransactGetItemsCommandOutput | TransactWriteItemsCommandOutput | UntagResourceCommandOutput | UpdateContinuousBackupsCommandOutput | UpdateContributorInsightsCommandOutput | UpdateGlobalTableCommandOutput | UpdateGlobalTableSettingsCommandOutput | UpdateItemCommandOutput | UpdateKinesisStreamingDestinationCommandOutput | UpdateTableCommandOutput | UpdateTableReplicaAutoScalingCommandOutput | UpdateTimeToLiveCommandOutput;
76
79
  /**
77
80
  * @public
78
81
  */
@@ -212,7 +215,6 @@ export type DynamoDBClientResolvedConfigType = __SmithyResolvedConfiguration<__H
212
215
  export interface DynamoDBClientResolvedConfig extends DynamoDBClientResolvedConfigType {
213
216
  }
214
217
  /**
215
- * @public
216
218
  * <fullname>Amazon DynamoDB</fullname>
217
219
  * <p>Amazon DynamoDB is a fully managed NoSQL database service that provides fast
218
220
  * and predictable performance with seamless scalability. DynamoDB lets you
@@ -230,6 +232,7 @@ export interface DynamoDBClientResolvedConfig extends DynamoDBClientResolvedConf
230
232
  * disks (SSDs) and automatically replicated across multiple Availability Zones in an
231
233
  * Amazon Web Services Region, providing built-in high availability and data
232
234
  * durability.</p>
235
+ * @public
233
236
  */
234
237
  export declare class DynamoDBClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DynamoDBClientResolvedConfig> {
235
238
  /**
@@ -22,10 +22,10 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
22
22
  }
23
23
  declare const BatchExecuteStatementCommand_base: {
24
24
  new (input: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>This operation allows you to perform batch reads or writes on data stored in DynamoDB,
30
30
  * using PartiQL. Each read statement in a <code>BatchExecuteStatement</code> must specify
31
31
  * an equality condition on all key attributes. This enforces that each <code>SELECT</code>
@@ -208,6 +208,7 @@ declare const BatchExecuteStatementCommand_base: {
208
208
  * @throws {@link DynamoDBServiceException}
209
209
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
210
210
  *
211
+ * @public
211
212
  */
212
213
  export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {
213
214
  }
@@ -22,10 +22,10 @@ export interface BatchGetItemCommandOutput extends BatchGetItemOutput, __Metadat
22
22
  }
23
23
  declare const BatchGetItemCommand_base: {
24
24
  new (input: BatchGetItemCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetItemCommandInput, BatchGetItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: BatchGetItemCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetItemCommandInput, BatchGetItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>The <code>BatchGetItem</code> operation returns the attributes of one or more items
30
30
  * from one or more tables. You identify requested items by primary key.</p>
31
31
  * <p>A single operation can retrieve up to 16 MB of data, which can contain as many as 100
@@ -270,6 +270,7 @@ declare const BatchGetItemCommand_base: {
270
270
  * @throws {@link DynamoDBServiceException}
271
271
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
272
272
  *
273
+ * @public
273
274
  * @example To retrieve multiple items from a table
274
275
  * ```javascript
275
276
  * // This example reads multiple items from the Music table using a batch of three GetItem requests. Only the AlbumTitle attribute is returned.
@@ -22,10 +22,10 @@ export interface BatchWriteItemCommandOutput extends BatchWriteItemOutput, __Met
22
22
  }
23
23
  declare const BatchWriteItemCommand_base: {
24
24
  new (input: BatchWriteItemCommandInput): import("@smithy/smithy-client").CommandImpl<BatchWriteItemCommandInput, BatchWriteItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: BatchWriteItemCommandInput): import("@smithy/smithy-client").CommandImpl<BatchWriteItemCommandInput, BatchWriteItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>The <code>BatchWriteItem</code> operation puts or deletes multiple items in one or
30
30
  * more tables. A single call to <code>BatchWriteItem</code> can transmit up to 16MB of
31
31
  * data over the network, consisting of up to 25 item put or delete operations. While
@@ -313,6 +313,7 @@ declare const BatchWriteItemCommand_base: {
313
313
  * @throws {@link DynamoDBServiceException}
314
314
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
315
315
  *
316
+ * @public
316
317
  * @example To add multiple items to a table
317
318
  * ```javascript
318
319
  * // This example adds three new items to the Music table using a batch of three PutItem requests.
@@ -22,10 +22,10 @@ export interface CreateBackupCommandOutput extends CreateBackupOutput, __Metadat
22
22
  }
23
23
  declare const CreateBackupCommand_base: {
24
24
  new (input: CreateBackupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBackupCommandInput, CreateBackupCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateBackupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBackupCommandInput, CreateBackupCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Creates a backup for an existing table.</p>
30
30
  * <p> Each time you create an on-demand backup, the entire table data is backed up. There
31
31
  * is no limit to the number of on-demand backups that can be taken. </p>
@@ -127,6 +127,7 @@ declare const CreateBackupCommand_base: {
127
127
  * @throws {@link DynamoDBServiceException}
128
128
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
129
129
  *
130
+ * @public
130
131
  */
131
132
  export declare class CreateBackupCommand extends CreateBackupCommand_base {
132
133
  }
@@ -22,10 +22,10 @@ export interface CreateGlobalTableCommandOutput extends CreateGlobalTableOutput,
22
22
  }
23
23
  declare const CreateGlobalTableCommand_base: {
24
24
  new (input: CreateGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Creates a global table from an existing table. A global table creates a replication
30
30
  * relationship between two or more DynamoDB tables with the same table name in the
31
31
  * provided Regions. </p>
@@ -178,6 +178,7 @@ declare const CreateGlobalTableCommand_base: {
178
178
  * @throws {@link DynamoDBServiceException}
179
179
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
180
180
  *
181
+ * @public
181
182
  */
182
183
  export declare class CreateGlobalTableCommand extends CreateGlobalTableCommand_base {
183
184
  }
@@ -22,10 +22,10 @@ export interface CreateTableCommandOutput extends CreateTableOutput, __MetadataB
22
22
  }
23
23
  declare const CreateTableCommand_base: {
24
24
  new (input: CreateTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateTableCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTableCommandInput, CreateTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>The <code>CreateTable</code> operation adds a new table to your account. In an Amazon Web Services account, table names must be unique within each Region. That is, you can
30
30
  * have two tables with same name if you create the tables in different Regions.</p>
31
31
  * <p>
@@ -119,6 +119,7 @@ declare const CreateTableCommand_base: {
119
119
  * ],
120
120
  * TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
121
121
  * DeletionProtectionEnabled: true || false,
122
+ * ResourcePolicy: "STRING_VALUE",
122
123
  * };
123
124
  * const command = new CreateTableCommand(input);
124
125
  * const response = await client.send(command);
@@ -297,6 +298,7 @@ declare const CreateTableCommand_base: {
297
298
  * @throws {@link DynamoDBServiceException}
298
299
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
299
300
  *
301
+ * @public
300
302
  * @example To create a table
301
303
  * ```javascript
302
304
  * // This example creates a table named Music.
@@ -22,10 +22,10 @@ export interface DeleteBackupCommandOutput extends DeleteBackupOutput, __Metadat
22
22
  }
23
23
  declare const DeleteBackupCommand_base: {
24
24
  new (input: DeleteBackupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBackupCommandInput, DeleteBackupCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteBackupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBackupCommandInput, DeleteBackupCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Deletes an existing backup of a table.</p>
30
30
  * <p>You can call <code>DeleteBackup</code> at a maximum rate of 10 times per
31
31
  * second.</p>
@@ -166,6 +166,7 @@ declare const DeleteBackupCommand_base: {
166
166
  * @throws {@link DynamoDBServiceException}
167
167
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
168
168
  *
169
+ * @public
169
170
  */
170
171
  export declare class DeleteBackupCommand extends DeleteBackupCommand_base {
171
172
  }
@@ -22,10 +22,10 @@ export interface DeleteItemCommandOutput extends DeleteItemOutput, __MetadataBea
22
22
  }
23
23
  declare const DeleteItemCommand_base: {
24
24
  new (input: DeleteItemCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteItemCommandInput, DeleteItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteItemCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteItemCommandInput, DeleteItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Deletes a single item in a table by primary key. You can perform a conditional delete
30
30
  * operation that deletes the item if it exists, or if it has an expected attribute
31
31
  * value.</p>
@@ -238,6 +238,7 @@ declare const DeleteItemCommand_base: {
238
238
  * @throws {@link DynamoDBServiceException}
239
239
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
240
240
  *
241
+ * @public
241
242
  * @example To delete an item
242
243
  * ```javascript
243
244
  * // This example deletes an item from the Music table.
@@ -0,0 +1,104 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
4
+ import { DeleteResourcePolicyInput, DeleteResourcePolicyOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link DeleteResourcePolicyCommand}.
13
+ */
14
+ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DeleteResourcePolicyCommand}.
20
+ */
21
+ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyOutput, __MetadataBearer {
22
+ }
23
+ declare const DeleteResourcePolicyCommand_base: {
24
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Deletes the resource-based policy attached to the resource, which can be a table or stream.</p>
30
+ * <p>
31
+ * <code>DeleteResourcePolicy</code> is an idempotent operation; running it multiple times on the same resource <i>doesn't</i> result in an error response, unless you specify an <code>ExpectedRevisionId</code>, which will then return a <code>PolicyNotFoundException</code>.</p>
32
+ * <important>
33
+ * <p>To make sure that you don't inadvertently lock yourself out of your own resources, the root principal in your Amazon Web Services account can perform <code>DeleteResourcePolicy</code> requests, even if your resource-based policy explicitly denies the root principal's access.
34
+ * </p>
35
+ * </important>
36
+ * <note>
37
+ * <p>
38
+ * <code>DeleteResourcePolicy</code> is an asynchronous operation. If you issue a <code>GetResourcePolicy</code> request immediately after running the <code>DeleteResourcePolicy</code> request, DynamoDB might still return the deleted policy. This is because the policy for your resource might not have been deleted yet. Wait for a few seconds, and then try the <code>GetResourcePolicy</code> request again.</p>
39
+ * </note>
40
+ * @example
41
+ * Use a bare-bones client and the command you need to make an API call.
42
+ * ```javascript
43
+ * import { DynamoDBClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
44
+ * // const { DynamoDBClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
45
+ * const client = new DynamoDBClient(config);
46
+ * const input = { // DeleteResourcePolicyInput
47
+ * ResourceArn: "STRING_VALUE", // required
48
+ * ExpectedRevisionId: "STRING_VALUE",
49
+ * };
50
+ * const command = new DeleteResourcePolicyCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // DeleteResourcePolicyOutput
53
+ * // RevisionId: "STRING_VALUE",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput}
59
+ * @returns {@link DeleteResourcePolicyCommandOutput}
60
+ * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
61
+ * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
62
+ * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
63
+ *
64
+ * @throws {@link InternalServerError} (server fault)
65
+ * <p>An error occurred on the server side.</p>
66
+ *
67
+ * @throws {@link InvalidEndpointException} (client fault)
68
+ *
69
+ * @throws {@link LimitExceededException} (client fault)
70
+ * <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
71
+ * <p>For most purposes, up to 500 simultaneous table operations are allowed per account. These operations
72
+ * include <code>CreateTable</code>, <code>UpdateTable</code>,
73
+ * <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
74
+ * <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
75
+ * <p>When you are creating a table with one or more secondary
76
+ * indexes, you can have up to 250 such requests running at a time. However, if the table or
77
+ * index specifications are complex, then DynamoDB might temporarily reduce the number
78
+ * of concurrent operations.</p>
79
+ * <p>When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.</p>
80
+ * <p>There is a soft account quota of 2,500 tables.</p>
81
+ * <p>GetRecords was called with a value of more than 1000 for the limit request parameter.</p>
82
+ * <p>More than 2 processes are reading from the same streams shard at the same time. Exceeding
83
+ * this limit may result in request throttling.</p>
84
+ *
85
+ * @throws {@link PolicyNotFoundException} (client fault)
86
+ * <p>The operation tried to access a nonexistent resource-based policy.</p>
87
+ * <p>If you specified an <code>ExpectedRevisionId</code>, it's possible that a policy is present for the resource but its revision ID didn't match the expected value.</p>
88
+ *
89
+ * @throws {@link ResourceInUseException} (client fault)
90
+ * <p>The operation conflicts with the resource's availability. For example, you
91
+ * attempted to recreate an existing table, or tried to delete a table currently in the
92
+ * <code>CREATING</code> state.</p>
93
+ *
94
+ * @throws {@link ResourceNotFoundException} (client fault)
95
+ * <p>The operation tried to access a nonexistent table or index. The resource might not
96
+ * be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
97
+ *
98
+ * @throws {@link DynamoDBServiceException}
99
+ * <p>Base exception class for all service exceptions from DynamoDB service.</p>
100
+ *
101
+ * @public
102
+ */
103
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
104
+ }
@@ -22,10 +22,10 @@ export interface DeleteTableCommandOutput extends DeleteTableOutput, __MetadataB
22
22
  }
23
23
  declare const DeleteTableCommand_base: {
24
24
  new (input: DeleteTableCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteTableCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTableCommandInput, DeleteTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>The <code>DeleteTable</code> operation deletes a table and all of its items. After a
30
30
  * <code>DeleteTable</code> request, the specified table is in the
31
31
  * <code>DELETING</code> state until DynamoDB completes the deletion. If the table is
@@ -239,6 +239,7 @@ declare const DeleteTableCommand_base: {
239
239
  * @throws {@link DynamoDBServiceException}
240
240
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
241
241
  *
242
+ * @public
242
243
  * @example To delete a table
243
244
  * ```javascript
244
245
  * // This example deletes the Music table.
@@ -22,10 +22,10 @@ export interface DescribeBackupCommandOutput extends DescribeBackupOutput, __Met
22
22
  }
23
23
  declare const DescribeBackupCommand_base: {
24
24
  new (input: DescribeBackupCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeBackupCommandInput, DescribeBackupCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DescribeBackupCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeBackupCommandInput, DescribeBackupCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Describes an existing backup of a table.</p>
30
30
  * <p>You can call <code>DescribeBackup</code> at a maximum rate of 10 times per
31
31
  * second.</p>
@@ -146,6 +146,7 @@ declare const DescribeBackupCommand_base: {
146
146
  * @throws {@link DynamoDBServiceException}
147
147
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
148
148
  *
149
+ * @public
149
150
  */
150
151
  export declare class DescribeBackupCommand extends DescribeBackupCommand_base {
151
152
  }
@@ -22,10 +22,10 @@ export interface DescribeContinuousBackupsCommandOutput extends DescribeContinuo
22
22
  }
23
23
  declare const DescribeContinuousBackupsCommand_base: {
24
24
  new (input: DescribeContinuousBackupsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeContinuousBackupsCommandInput, DescribeContinuousBackupsCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DescribeContinuousBackupsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeContinuousBackupsCommandInput, DescribeContinuousBackupsCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Checks the status of continuous backups and point in time recovery on the specified
30
30
  * table. Continuous backups are <code>ENABLED</code> on all tables at table creation. If
31
31
  * point in time recovery is enabled, <code>PointInTimeRecoveryStatus</code> will be set to
@@ -80,6 +80,7 @@ declare const DescribeContinuousBackupsCommand_base: {
80
80
  * @throws {@link DynamoDBServiceException}
81
81
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
82
82
  *
83
+ * @public
83
84
  */
84
85
  export declare class DescribeContinuousBackupsCommand extends DescribeContinuousBackupsCommand_base {
85
86
  }
@@ -22,10 +22,10 @@ export interface DescribeContributorInsightsCommandOutput extends DescribeContri
22
22
  }
23
23
  declare const DescribeContributorInsightsCommand_base: {
24
24
  new (input: DescribeContributorInsightsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeContributorInsightsCommandInput, DescribeContributorInsightsCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DescribeContributorInsightsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeContributorInsightsCommandInput, DescribeContributorInsightsCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Returns information about contributor insights for a given table or global secondary
30
30
  * index.</p>
31
31
  * @example
@@ -72,6 +72,7 @@ declare const DescribeContributorInsightsCommand_base: {
72
72
  * @throws {@link DynamoDBServiceException}
73
73
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
74
74
  *
75
+ * @public
75
76
  */
76
77
  export declare class DescribeContributorInsightsCommand extends DescribeContributorInsightsCommand_base {
77
78
  }
@@ -22,10 +22,10 @@ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsRespons
22
22
  }
23
23
  declare const DescribeEndpointsCommand_base: {
24
24
  new (input: DescribeEndpointsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [DescribeEndpointsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Returns the regional endpoint information. For more information
30
30
  * on policy permissions, please see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/inter-network-traffic-privacy.html#inter-network-traffic-DescribeEndpoints">Internetwork traffic privacy</a>.</p>
31
31
  * @example
@@ -57,6 +57,7 @@ declare const DescribeEndpointsCommand_base: {
57
57
  * @throws {@link DynamoDBServiceException}
58
58
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
59
59
  *
60
+ * @public
60
61
  */
61
62
  export declare class DescribeEndpointsCommand extends DescribeEndpointsCommand_base {
62
63
  }
@@ -22,10 +22,10 @@ export interface DescribeExportCommandOutput extends DescribeExportOutput, __Met
22
22
  }
23
23
  declare const DescribeExportCommand_base: {
24
24
  new (input: DescribeExportCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeExportCommandInput, DescribeExportCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DescribeExportCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeExportCommandInput, DescribeExportCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Describes an existing table export.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -101,6 +101,7 @@ declare const DescribeExportCommand_base: {
101
101
  * @throws {@link DynamoDBServiceException}
102
102
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
103
103
  *
104
+ * @public
104
105
  */
105
106
  export declare class DescribeExportCommand extends DescribeExportCommand_base {
106
107
  }
@@ -22,10 +22,10 @@ export interface DescribeGlobalTableCommandOutput extends DescribeGlobalTableOut
22
22
  }
23
23
  declare const DescribeGlobalTableCommand_base: {
24
24
  new (input: DescribeGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeGlobalTableCommandInput, DescribeGlobalTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DescribeGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeGlobalTableCommandInput, DescribeGlobalTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Returns information about the specified global table.</p>
30
30
  * <important>
31
31
  * <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html">Version
@@ -103,6 +103,7 @@ declare const DescribeGlobalTableCommand_base: {
103
103
  * @throws {@link DynamoDBServiceException}
104
104
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
105
105
  *
106
+ * @public
106
107
  */
107
108
  export declare class DescribeGlobalTableCommand extends DescribeGlobalTableCommand_base {
108
109
  }