@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
@@ -8,6 +8,7 @@ import { CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput } from ".
8
8
  import { CreateTableCommandInput, CreateTableCommandOutput } from "../commands/CreateTableCommand";
9
9
  import { DeleteBackupCommandInput, DeleteBackupCommandOutput } from "../commands/DeleteBackupCommand";
10
10
  import { DeleteItemCommandInput, DeleteItemCommandOutput } from "../commands/DeleteItemCommand";
11
+ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
11
12
  import { DeleteTableCommandInput, DeleteTableCommandOutput } from "../commands/DeleteTableCommand";
12
13
  import { DescribeBackupCommandInput, DescribeBackupCommandOutput } from "../commands/DescribeBackupCommand";
13
14
  import { DescribeContinuousBackupsCommandInput, DescribeContinuousBackupsCommandOutput } from "../commands/DescribeContinuousBackupsCommand";
@@ -28,6 +29,7 @@ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "../
28
29
  import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "../commands/ExecuteTransactionCommand";
29
30
  import { ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput } from "../commands/ExportTableToPointInTimeCommand";
30
31
  import { GetItemCommandInput, GetItemCommandOutput } from "../commands/GetItemCommand";
32
+ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
31
33
  import { ImportTableCommandInput, ImportTableCommandOutput } from "../commands/ImportTableCommand";
32
34
  import { ListBackupsCommandInput, ListBackupsCommandOutput } from "../commands/ListBackupsCommand";
33
35
  import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "../commands/ListContributorInsightsCommand";
@@ -37,6 +39,7 @@ import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/L
37
39
  import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
38
40
  import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "../commands/ListTagsOfResourceCommand";
39
41
  import { PutItemCommandInput, PutItemCommandOutput } from "../commands/PutItemCommand";
42
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
40
43
  import { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand";
41
44
  import { RestoreTableFromBackupCommandInput, RestoreTableFromBackupCommandOutput } from "../commands/RestoreTableFromBackupCommand";
42
45
  import { RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput } from "../commands/RestoreTableToPointInTimeCommand";
@@ -86,6 +89,10 @@ export declare const se_DeleteBackupCommand: (input: DeleteBackupCommandInput, c
86
89
  * serializeAws_json1_0DeleteItemCommand
87
90
  */
88
91
  export declare const se_DeleteItemCommand: (input: DeleteItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
92
+ /**
93
+ * serializeAws_json1_0DeleteResourcePolicyCommand
94
+ */
95
+ export declare const se_DeleteResourcePolicyCommand: (input: DeleteResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
96
  /**
90
97
  * serializeAws_json1_0DeleteTableCommand
91
98
  */
@@ -166,6 +173,10 @@ export declare const se_ExportTableToPointInTimeCommand: (input: ExportTableToPo
166
173
  * serializeAws_json1_0GetItemCommand
167
174
  */
168
175
  export declare const se_GetItemCommand: (input: GetItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
176
+ /**
177
+ * serializeAws_json1_0GetResourcePolicyCommand
178
+ */
179
+ export declare const se_GetResourcePolicyCommand: (input: GetResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
169
180
  /**
170
181
  * serializeAws_json1_0ImportTableCommand
171
182
  */
@@ -202,6 +213,10 @@ export declare const se_ListTagsOfResourceCommand: (input: ListTagsOfResourceCom
202
213
  * serializeAws_json1_0PutItemCommand
203
214
  */
204
215
  export declare const se_PutItemCommand: (input: PutItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
216
+ /**
217
+ * serializeAws_json1_0PutResourcePolicyCommand
218
+ */
219
+ export declare const se_PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
205
220
  /**
206
221
  * serializeAws_json1_0QueryCommand
207
222
  */
@@ -302,6 +317,10 @@ export declare const de_DeleteBackupCommand: (output: __HttpResponse, context: _
302
317
  * deserializeAws_json1_0DeleteItemCommand
303
318
  */
304
319
  export declare const de_DeleteItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteItemCommandOutput>;
320
+ /**
321
+ * deserializeAws_json1_0DeleteResourcePolicyCommand
322
+ */
323
+ export declare const de_DeleteResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResourcePolicyCommandOutput>;
305
324
  /**
306
325
  * deserializeAws_json1_0DeleteTableCommand
307
326
  */
@@ -382,6 +401,10 @@ export declare const de_ExportTableToPointInTimeCommand: (output: __HttpResponse
382
401
  * deserializeAws_json1_0GetItemCommand
383
402
  */
384
403
  export declare const de_GetItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetItemCommandOutput>;
404
+ /**
405
+ * deserializeAws_json1_0GetResourcePolicyCommand
406
+ */
407
+ export declare const de_GetResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourcePolicyCommandOutput>;
385
408
  /**
386
409
  * deserializeAws_json1_0ImportTableCommand
387
410
  */
@@ -418,6 +441,10 @@ export declare const de_ListTagsOfResourceCommand: (output: __HttpResponse, cont
418
441
  * deserializeAws_json1_0PutItemCommand
419
442
  */
420
443
  export declare const de_PutItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutItemCommandOutput>;
444
+ /**
445
+ * deserializeAws_json1_0PutResourcePolicyCommand
446
+ */
447
+ export declare const de_PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutResourcePolicyCommandOutput>;
421
448
  /**
422
449
  * deserializeAws_json1_0QueryCommand
423
450
  */
@@ -31,6 +31,10 @@ import {
31
31
  DeleteItemCommandInput,
32
32
  DeleteItemCommandOutput,
33
33
  } from "./commands/DeleteItemCommand";
34
+ import {
35
+ DeleteResourcePolicyCommandInput,
36
+ DeleteResourcePolicyCommandOutput,
37
+ } from "./commands/DeleteResourcePolicyCommand";
34
38
  import {
35
39
  DeleteTableCommandInput,
36
40
  DeleteTableCommandOutput,
@@ -111,6 +115,10 @@ import {
111
115
  GetItemCommandInput,
112
116
  GetItemCommandOutput,
113
117
  } from "./commands/GetItemCommand";
118
+ import {
119
+ GetResourcePolicyCommandInput,
120
+ GetResourcePolicyCommandOutput,
121
+ } from "./commands/GetResourcePolicyCommand";
114
122
  import {
115
123
  ImportTableCommandInput,
116
124
  ImportTableCommandOutput,
@@ -147,6 +155,10 @@ import {
147
155
  PutItemCommandInput,
148
156
  PutItemCommandOutput,
149
157
  } from "./commands/PutItemCommand";
158
+ import {
159
+ PutResourcePolicyCommandInput,
160
+ PutResourcePolicyCommandOutput,
161
+ } from "./commands/PutResourcePolicyCommand";
150
162
  import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
151
163
  import {
152
164
  RestoreTableFromBackupCommandInput,
@@ -315,6 +327,19 @@ export interface DynamoDB {
315
327
  options: __HttpHandlerOptions,
316
328
  cb: (err: any, data?: DeleteItemCommandOutput) => void
317
329
  ): void;
330
+ deleteResourcePolicy(
331
+ args: DeleteResourcePolicyCommandInput,
332
+ options?: __HttpHandlerOptions
333
+ ): Promise<DeleteResourcePolicyCommandOutput>;
334
+ deleteResourcePolicy(
335
+ args: DeleteResourcePolicyCommandInput,
336
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
337
+ ): void;
338
+ deleteResourcePolicy(
339
+ args: DeleteResourcePolicyCommandInput,
340
+ options: __HttpHandlerOptions,
341
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
342
+ ): void;
318
343
  deleteTable(
319
344
  args: DeleteTableCommandInput,
320
345
  options?: __HttpHandlerOptions
@@ -367,6 +392,7 @@ export interface DynamoDB {
367
392
  options: __HttpHandlerOptions,
368
393
  cb: (err: any, data?: DescribeContributorInsightsCommandOutput) => void
369
394
  ): void;
395
+ describeEndpoints(): Promise<DescribeEndpointsCommandOutput>;
370
396
  describeEndpoints(
371
397
  args: DescribeEndpointsCommandInput,
372
398
  options?: __HttpHandlerOptions
@@ -451,6 +477,7 @@ export interface DynamoDB {
451
477
  data?: DescribeKinesisStreamingDestinationCommandOutput
452
478
  ) => void
453
479
  ): void;
480
+ describeLimits(): Promise<DescribeLimitsCommandOutput>;
454
481
  describeLimits(
455
482
  args: DescribeLimitsCommandInput,
456
483
  options?: __HttpHandlerOptions
@@ -593,6 +620,19 @@ export interface DynamoDB {
593
620
  options: __HttpHandlerOptions,
594
621
  cb: (err: any, data?: GetItemCommandOutput) => void
595
622
  ): void;
623
+ getResourcePolicy(
624
+ args: GetResourcePolicyCommandInput,
625
+ options?: __HttpHandlerOptions
626
+ ): Promise<GetResourcePolicyCommandOutput>;
627
+ getResourcePolicy(
628
+ args: GetResourcePolicyCommandInput,
629
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
630
+ ): void;
631
+ getResourcePolicy(
632
+ args: GetResourcePolicyCommandInput,
633
+ options: __HttpHandlerOptions,
634
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
635
+ ): void;
596
636
  importTable(
597
637
  args: ImportTableCommandInput,
598
638
  options?: __HttpHandlerOptions
@@ -606,6 +646,7 @@ export interface DynamoDB {
606
646
  options: __HttpHandlerOptions,
607
647
  cb: (err: any, data?: ImportTableCommandOutput) => void
608
648
  ): void;
649
+ listBackups(): Promise<ListBackupsCommandOutput>;
609
650
  listBackups(
610
651
  args: ListBackupsCommandInput,
611
652
  options?: __HttpHandlerOptions
@@ -619,6 +660,7 @@ export interface DynamoDB {
619
660
  options: __HttpHandlerOptions,
620
661
  cb: (err: any, data?: ListBackupsCommandOutput) => void
621
662
  ): void;
663
+ listContributorInsights(): Promise<ListContributorInsightsCommandOutput>;
622
664
  listContributorInsights(
623
665
  args: ListContributorInsightsCommandInput,
624
666
  options?: __HttpHandlerOptions
@@ -632,6 +674,7 @@ export interface DynamoDB {
632
674
  options: __HttpHandlerOptions,
633
675
  cb: (err: any, data?: ListContributorInsightsCommandOutput) => void
634
676
  ): void;
677
+ listExports(): Promise<ListExportsCommandOutput>;
635
678
  listExports(
636
679
  args: ListExportsCommandInput,
637
680
  options?: __HttpHandlerOptions
@@ -645,6 +688,7 @@ export interface DynamoDB {
645
688
  options: __HttpHandlerOptions,
646
689
  cb: (err: any, data?: ListExportsCommandOutput) => void
647
690
  ): void;
691
+ listGlobalTables(): Promise<ListGlobalTablesCommandOutput>;
648
692
  listGlobalTables(
649
693
  args: ListGlobalTablesCommandInput,
650
694
  options?: __HttpHandlerOptions
@@ -658,6 +702,7 @@ export interface DynamoDB {
658
702
  options: __HttpHandlerOptions,
659
703
  cb: (err: any, data?: ListGlobalTablesCommandOutput) => void
660
704
  ): void;
705
+ listImports(): Promise<ListImportsCommandOutput>;
661
706
  listImports(
662
707
  args: ListImportsCommandInput,
663
708
  options?: __HttpHandlerOptions
@@ -671,6 +716,7 @@ export interface DynamoDB {
671
716
  options: __HttpHandlerOptions,
672
717
  cb: (err: any, data?: ListImportsCommandOutput) => void
673
718
  ): void;
719
+ listTables(): Promise<ListTablesCommandOutput>;
674
720
  listTables(
675
721
  args: ListTablesCommandInput,
676
722
  options?: __HttpHandlerOptions
@@ -710,6 +756,19 @@ export interface DynamoDB {
710
756
  options: __HttpHandlerOptions,
711
757
  cb: (err: any, data?: PutItemCommandOutput) => void
712
758
  ): void;
759
+ putResourcePolicy(
760
+ args: PutResourcePolicyCommandInput,
761
+ options?: __HttpHandlerOptions
762
+ ): Promise<PutResourcePolicyCommandOutput>;
763
+ putResourcePolicy(
764
+ args: PutResourcePolicyCommandInput,
765
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
766
+ ): void;
767
+ putResourcePolicy(
768
+ args: PutResourcePolicyCommandInput,
769
+ options: __HttpHandlerOptions,
770
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
771
+ ): void;
713
772
  query(
714
773
  args: QueryCommandInput,
715
774
  options?: __HttpHandlerOptions
@@ -81,6 +81,10 @@ import {
81
81
  DeleteItemCommandInput,
82
82
  DeleteItemCommandOutput,
83
83
  } from "./commands/DeleteItemCommand";
84
+ import {
85
+ DeleteResourcePolicyCommandInput,
86
+ DeleteResourcePolicyCommandOutput,
87
+ } from "./commands/DeleteResourcePolicyCommand";
84
88
  import {
85
89
  DeleteTableCommandInput,
86
90
  DeleteTableCommandOutput,
@@ -161,6 +165,10 @@ import {
161
165
  GetItemCommandInput,
162
166
  GetItemCommandOutput,
163
167
  } from "./commands/GetItemCommand";
168
+ import {
169
+ GetResourcePolicyCommandInput,
170
+ GetResourcePolicyCommandOutput,
171
+ } from "./commands/GetResourcePolicyCommand";
164
172
  import {
165
173
  ImportTableCommandInput,
166
174
  ImportTableCommandOutput,
@@ -197,6 +205,10 @@ import {
197
205
  PutItemCommandInput,
198
206
  PutItemCommandOutput,
199
207
  } from "./commands/PutItemCommand";
208
+ import {
209
+ PutResourcePolicyCommandInput,
210
+ PutResourcePolicyCommandOutput,
211
+ } from "./commands/PutResourcePolicyCommand";
200
212
  import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
201
213
  import {
202
214
  RestoreTableFromBackupCommandInput,
@@ -275,6 +287,7 @@ export type ServiceInputTypes =
275
287
  | CreateTableCommandInput
276
288
  | DeleteBackupCommandInput
277
289
  | DeleteItemCommandInput
290
+ | DeleteResourcePolicyCommandInput
278
291
  | DeleteTableCommandInput
279
292
  | DescribeBackupCommandInput
280
293
  | DescribeContinuousBackupsCommandInput
@@ -295,6 +308,7 @@ export type ServiceInputTypes =
295
308
  | ExecuteTransactionCommandInput
296
309
  | ExportTableToPointInTimeCommandInput
297
310
  | GetItemCommandInput
311
+ | GetResourcePolicyCommandInput
298
312
  | ImportTableCommandInput
299
313
  | ListBackupsCommandInput
300
314
  | ListContributorInsightsCommandInput
@@ -304,6 +318,7 @@ export type ServiceInputTypes =
304
318
  | ListTablesCommandInput
305
319
  | ListTagsOfResourceCommandInput
306
320
  | PutItemCommandInput
321
+ | PutResourcePolicyCommandInput
307
322
  | QueryCommandInput
308
323
  | RestoreTableFromBackupCommandInput
309
324
  | RestoreTableToPointInTimeCommandInput
@@ -330,6 +345,7 @@ export type ServiceOutputTypes =
330
345
  | CreateTableCommandOutput
331
346
  | DeleteBackupCommandOutput
332
347
  | DeleteItemCommandOutput
348
+ | DeleteResourcePolicyCommandOutput
333
349
  | DeleteTableCommandOutput
334
350
  | DescribeBackupCommandOutput
335
351
  | DescribeContinuousBackupsCommandOutput
@@ -350,6 +366,7 @@ export type ServiceOutputTypes =
350
366
  | ExecuteTransactionCommandOutput
351
367
  | ExportTableToPointInTimeCommandOutput
352
368
  | GetItemCommandOutput
369
+ | GetResourcePolicyCommandOutput
353
370
  | ImportTableCommandOutput
354
371
  | ListBackupsCommandOutput
355
372
  | ListContributorInsightsCommandOutput
@@ -359,6 +376,7 @@ export type ServiceOutputTypes =
359
376
  | ListTablesCommandOutput
360
377
  | ListTagsOfResourceCommandOutput
361
378
  | PutItemCommandOutput
379
+ | PutResourcePolicyCommandOutput
362
380
  | QueryCommandOutput
363
381
  | RestoreTableFromBackupCommandOutput
364
382
  | RestoreTableToPointInTimeCommandOutput
@@ -25,6 +25,15 @@ declare const BatchExecuteStatementCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: BatchExecuteStatementCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ BatchExecuteStatementCommandInput,
32
+ BatchExecuteStatementCommandOutput,
33
+ DynamoDBClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base {}
@@ -21,6 +21,15 @@ declare const BatchGetItemCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: BatchGetItemCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ BatchGetItemCommandInput,
28
+ BatchGetItemCommandOutput,
29
+ DynamoDBClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class BatchGetItemCommand extends BatchGetItemCommand_base {}
@@ -21,6 +21,15 @@ declare const BatchWriteItemCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: BatchWriteItemCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ BatchWriteItemCommandInput,
28
+ BatchWriteItemCommandOutput,
29
+ DynamoDBClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class BatchWriteItemCommand extends BatchWriteItemCommand_base {}
@@ -21,6 +21,15 @@ declare const CreateBackupCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: CreateBackupCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ CreateBackupCommandInput,
28
+ CreateBackupCommandOutput,
29
+ DynamoDBClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class CreateBackupCommand extends CreateBackupCommand_base {}
@@ -24,6 +24,15 @@ declare const CreateGlobalTableCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: CreateGlobalTableCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ CreateGlobalTableCommandInput,
31
+ CreateGlobalTableCommandOutput,
32
+ DynamoDBClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class CreateGlobalTableCommand extends CreateGlobalTableCommand_base {}
@@ -21,6 +21,15 @@ declare const CreateTableCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: CreateTableCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ CreateTableCommandInput,
28
+ CreateTableCommandOutput,
29
+ DynamoDBClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class CreateTableCommand extends CreateTableCommand_base {}
@@ -21,6 +21,15 @@ declare const DeleteBackupCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: DeleteBackupCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ DeleteBackupCommandInput,
28
+ DeleteBackupCommandOutput,
29
+ DynamoDBClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class DeleteBackupCommand extends DeleteBackupCommand_base {}
@@ -21,6 +21,15 @@ declare const DeleteItemCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: DeleteItemCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ DeleteItemCommandInput,
28
+ DeleteItemCommandOutput,
29
+ DynamoDBClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class DeleteItemCommand extends DeleteItemCommand_base {}
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DynamoDBClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../DynamoDBClient";
8
+ import {
9
+ DeleteResourcePolicyInput,
10
+ DeleteResourcePolicyOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface DeleteResourcePolicyCommandInput
14
+ extends DeleteResourcePolicyInput {}
15
+ export interface DeleteResourcePolicyCommandOutput
16
+ extends DeleteResourcePolicyOutput,
17
+ __MetadataBearer {}
18
+ declare const DeleteResourcePolicyCommand_base: {
19
+ new (
20
+ input: DeleteResourcePolicyCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ DeleteResourcePolicyCommandInput,
23
+ DeleteResourcePolicyCommandOutput,
24
+ DynamoDBClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: DeleteResourcePolicyCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DeleteResourcePolicyCommandInput,
32
+ DeleteResourcePolicyCommandOutput,
33
+ DynamoDBClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {}
@@ -21,6 +21,15 @@ declare const DeleteTableCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: DeleteTableCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ DeleteTableCommandInput,
28
+ DeleteTableCommandOutput,
29
+ DynamoDBClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class DeleteTableCommand extends DeleteTableCommand_base {}
@@ -21,6 +21,15 @@ declare const DescribeBackupCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: DescribeBackupCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ DescribeBackupCommandInput,
28
+ DescribeBackupCommandOutput,
29
+ DynamoDBClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class DescribeBackupCommand extends DescribeBackupCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeContinuousBackupsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DescribeContinuousBackupsCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeContinuousBackupsCommandInput,
32
+ DescribeContinuousBackupsCommandOutput,
33
+ DynamoDBClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeContinuousBackupsCommand extends DescribeContinuousBackupsCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeContributorInsightsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DescribeContributorInsightsCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeContributorInsightsCommandInput,
32
+ DescribeContributorInsightsCommandOutput,
33
+ DynamoDBClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeContributorInsightsCommand extends DescribeContributorInsightsCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeEndpointsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [DescribeEndpointsCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeEndpointsCommandInput,
32
+ DescribeEndpointsCommandOutput,
33
+ DynamoDBClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeEndpointsCommand extends DescribeEndpointsCommand_base {}
@@ -21,6 +21,15 @@ declare const DescribeExportCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: DescribeExportCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ DescribeExportCommandInput,
28
+ DescribeExportCommandOutput,
29
+ DynamoDBClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class DescribeExportCommand extends DescribeExportCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeGlobalTableCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DescribeGlobalTableCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeGlobalTableCommandInput,
32
+ DescribeGlobalTableCommandOutput,
33
+ DynamoDBClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeGlobalTableCommand extends DescribeGlobalTableCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeGlobalTableSettingsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DescribeGlobalTableSettingsCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeGlobalTableSettingsCommandInput,
32
+ DescribeGlobalTableSettingsCommandOutput,
33
+ DynamoDBClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeGlobalTableSettingsCommand extends DescribeGlobalTableSettingsCommand_base {}
@@ -21,6 +21,15 @@ declare const DescribeImportCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: DescribeImportCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ DescribeImportCommandInput,
28
+ DescribeImportCommandOutput,
29
+ DynamoDBClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class DescribeImportCommand extends DescribeImportCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeKinesisStreamingDestinationCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DescribeKinesisStreamingDestinationCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeKinesisStreamingDestinationCommandInput,
32
+ DescribeKinesisStreamingDestinationCommandOutput,
33
+ DynamoDBClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeKinesisStreamingDestinationCommand extends DescribeKinesisStreamingDestinationCommand_base {}