@aws-sdk/client-dynamodb 3.142.0 → 3.153.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 (40) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/DynamoDB.js +45 -0
  3. package/dist-cjs/commands/DescribeImportCommand.js +36 -0
  4. package/dist-cjs/commands/ImportTableCommand.js +36 -0
  5. package/dist-cjs/commands/ListImportsCommand.js +36 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_0.js +99 -5
  8. package/dist-cjs/pagination/ListImportsPaginator.js +36 -0
  9. package/dist-cjs/pagination/index.js +1 -0
  10. package/dist-cjs/protocols/Aws_json1_0.js +390 -2
  11. package/dist-es/DynamoDB.js +45 -0
  12. package/dist-es/commands/DescribeImportCommand.js +39 -0
  13. package/dist-es/commands/ImportTableCommand.js +39 -0
  14. package/dist-es/commands/ListImportsCommand.js +39 -0
  15. package/dist-es/commands/index.js +3 -0
  16. package/dist-es/models/models_0.js +56 -0
  17. package/dist-es/pagination/ListImportsPaginator.js +75 -0
  18. package/dist-es/pagination/index.js +1 -0
  19. package/dist-es/protocols/Aws_json1_0.js +414 -1
  20. package/dist-types/DynamoDB.d.ts +28 -0
  21. package/dist-types/DynamoDBClient.d.ts +5 -2
  22. package/dist-types/commands/DescribeImportCommand.d.ts +37 -0
  23. package/dist-types/commands/ImportTableCommand.d.ts +38 -0
  24. package/dist-types/commands/ListImportsCommand.d.ts +37 -0
  25. package/dist-types/commands/index.d.ts +3 -0
  26. package/dist-types/models/models_0.d.ts +493 -2
  27. package/dist-types/pagination/ListImportsPaginator.d.ts +4 -0
  28. package/dist-types/pagination/index.d.ts +1 -0
  29. package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
  30. package/dist-types/ts3.4/DynamoDB.d.ts +15 -0
  31. package/dist-types/ts3.4/DynamoDBClient.d.ts +5 -2
  32. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +193 -0
  37. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +4 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  39. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +9 -0
  40. package/package.json +8 -3
@@ -15,6 +15,7 @@ import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from ".
15
15
  import { DescribeExportCommandInput, DescribeExportCommandOutput } from "./commands/DescribeExportCommand";
16
16
  import { DescribeGlobalTableCommandInput, DescribeGlobalTableCommandOutput } from "./commands/DescribeGlobalTableCommand";
17
17
  import { DescribeGlobalTableSettingsCommandInput, DescribeGlobalTableSettingsCommandOutput } from "./commands/DescribeGlobalTableSettingsCommand";
18
+ import { DescribeImportCommandInput, DescribeImportCommandOutput } from "./commands/DescribeImportCommand";
18
19
  import { DescribeKinesisStreamingDestinationCommandInput, DescribeKinesisStreamingDestinationCommandOutput } from "./commands/DescribeKinesisStreamingDestinationCommand";
19
20
  import { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "./commands/DescribeLimitsCommand";
20
21
  import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
@@ -26,10 +27,12 @@ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./c
26
27
  import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
27
28
  import { ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput } from "./commands/ExportTableToPointInTimeCommand";
28
29
  import { GetItemCommandInput, GetItemCommandOutput } from "./commands/GetItemCommand";
30
+ import { ImportTableCommandInput, ImportTableCommandOutput } from "./commands/ImportTableCommand";
29
31
  import { ListBackupsCommandInput, ListBackupsCommandOutput } from "./commands/ListBackupsCommand";
30
32
  import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "./commands/ListContributorInsightsCommand";
31
33
  import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
32
34
  import { ListGlobalTablesCommandInput, ListGlobalTablesCommandOutput } from "./commands/ListGlobalTablesCommand";
35
+ import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
33
36
  import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
34
37
  import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "./commands/ListTagsOfResourceCommand";
35
38
  import { PutItemCommandInput, PutItemCommandOutput } from "./commands/PutItemCommand";
@@ -117,6 +120,10 @@ export declare class DynamoDB extends DynamoDBClient {
117
120
  describeGlobalTableSettings(args: DescribeGlobalTableSettingsCommandInput, cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void): void;
118
121
  describeGlobalTableSettings(args: DescribeGlobalTableSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void): void;
119
122
 
123
+ describeImport(args: DescribeImportCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImportCommandOutput>;
124
+ describeImport(args: DescribeImportCommandInput, cb: (err: any, data?: DescribeImportCommandOutput) => void): void;
125
+ describeImport(args: DescribeImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImportCommandOutput) => void): void;
126
+
120
127
  describeKinesisStreamingDestination(args: DescribeKinesisStreamingDestinationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeKinesisStreamingDestinationCommandOutput>;
121
128
  describeKinesisStreamingDestination(args: DescribeKinesisStreamingDestinationCommandInput, cb: (err: any, data?: DescribeKinesisStreamingDestinationCommandOutput) => void): void;
122
129
  describeKinesisStreamingDestination(args: DescribeKinesisStreamingDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeKinesisStreamingDestinationCommandOutput) => void): void;
@@ -161,6 +168,10 @@ export declare class DynamoDB extends DynamoDBClient {
161
168
  getItem(args: GetItemCommandInput, cb: (err: any, data?: GetItemCommandOutput) => void): void;
162
169
  getItem(args: GetItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetItemCommandOutput) => void): void;
163
170
 
171
+ importTable(args: ImportTableCommandInput, options?: __HttpHandlerOptions): Promise<ImportTableCommandOutput>;
172
+ importTable(args: ImportTableCommandInput, cb: (err: any, data?: ImportTableCommandOutput) => void): void;
173
+ importTable(args: ImportTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportTableCommandOutput) => void): void;
174
+
164
175
  listBackups(args: ListBackupsCommandInput, options?: __HttpHandlerOptions): Promise<ListBackupsCommandOutput>;
165
176
  listBackups(args: ListBackupsCommandInput, cb: (err: any, data?: ListBackupsCommandOutput) => void): void;
166
177
  listBackups(args: ListBackupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBackupsCommandOutput) => void): void;
@@ -177,6 +188,10 @@ export declare class DynamoDB extends DynamoDBClient {
177
188
  listGlobalTables(args: ListGlobalTablesCommandInput, cb: (err: any, data?: ListGlobalTablesCommandOutput) => void): void;
178
189
  listGlobalTables(args: ListGlobalTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGlobalTablesCommandOutput) => void): void;
179
190
 
191
+ listImports(args: ListImportsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportsCommandOutput>;
192
+ listImports(args: ListImportsCommandInput, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
193
+ listImports(args: ListImportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
194
+
180
195
  listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
181
196
  listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
182
197
  listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
@@ -23,6 +23,7 @@ import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from ".
23
23
  import { DescribeExportCommandInput, DescribeExportCommandOutput } from "./commands/DescribeExportCommand";
24
24
  import { DescribeGlobalTableCommandInput, DescribeGlobalTableCommandOutput } from "./commands/DescribeGlobalTableCommand";
25
25
  import { DescribeGlobalTableSettingsCommandInput, DescribeGlobalTableSettingsCommandOutput } from "./commands/DescribeGlobalTableSettingsCommand";
26
+ import { DescribeImportCommandInput, DescribeImportCommandOutput } from "./commands/DescribeImportCommand";
26
27
  import { DescribeKinesisStreamingDestinationCommandInput, DescribeKinesisStreamingDestinationCommandOutput } from "./commands/DescribeKinesisStreamingDestinationCommand";
27
28
  import { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "./commands/DescribeLimitsCommand";
28
29
  import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
@@ -34,10 +35,12 @@ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./c
34
35
  import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
35
36
  import { ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput } from "./commands/ExportTableToPointInTimeCommand";
36
37
  import { GetItemCommandInput, GetItemCommandOutput } from "./commands/GetItemCommand";
38
+ import { ImportTableCommandInput, ImportTableCommandOutput } from "./commands/ImportTableCommand";
37
39
  import { ListBackupsCommandInput, ListBackupsCommandOutput } from "./commands/ListBackupsCommand";
38
40
  import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "./commands/ListContributorInsightsCommand";
39
41
  import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
40
42
  import { ListGlobalTablesCommandInput, ListGlobalTablesCommandOutput } from "./commands/ListGlobalTablesCommand";
43
+ import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
41
44
  import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
42
45
  import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "./commands/ListTagsOfResourceCommand";
43
46
  import { PutItemCommandInput, PutItemCommandOutput } from "./commands/PutItemCommand";
@@ -57,8 +60,8 @@ import { UpdateItemCommandInput, UpdateItemCommandOutput } from "./commands/Upda
57
60
  import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
58
61
  import { UpdateTableReplicaAutoScalingCommandInput, UpdateTableReplicaAutoScalingCommandOutput } from "./commands/UpdateTableReplicaAutoScalingCommand";
59
62
  import { UpdateTimeToLiveCommandInput, UpdateTimeToLiveCommandOutput } from "./commands/UpdateTimeToLiveCommand";
60
- export declare type ServiceInputTypes = BatchExecuteStatementCommandInput | BatchGetItemCommandInput | BatchWriteItemCommandInput | CreateBackupCommandInput | CreateGlobalTableCommandInput | CreateTableCommandInput | DeleteBackupCommandInput | DeleteItemCommandInput | DeleteTableCommandInput | DescribeBackupCommandInput | DescribeContinuousBackupsCommandInput | DescribeContributorInsightsCommandInput | DescribeEndpointsCommandInput | DescribeExportCommandInput | DescribeGlobalTableCommandInput | DescribeGlobalTableSettingsCommandInput | DescribeKinesisStreamingDestinationCommandInput | DescribeLimitsCommandInput | DescribeTableCommandInput | DescribeTableReplicaAutoScalingCommandInput | DescribeTimeToLiveCommandInput | DisableKinesisStreamingDestinationCommandInput | EnableKinesisStreamingDestinationCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | ExportTableToPointInTimeCommandInput | GetItemCommandInput | ListBackupsCommandInput | ListContributorInsightsCommandInput | ListExportsCommandInput | ListGlobalTablesCommandInput | ListTablesCommandInput | ListTagsOfResourceCommandInput | PutItemCommandInput | QueryCommandInput | RestoreTableFromBackupCommandInput | RestoreTableToPointInTimeCommandInput | ScanCommandInput | TagResourceCommandInput | TransactGetItemsCommandInput | TransactWriteItemsCommandInput | UntagResourceCommandInput | UpdateContinuousBackupsCommandInput | UpdateContributorInsightsCommandInput | UpdateGlobalTableCommandInput | UpdateGlobalTableSettingsCommandInput | UpdateItemCommandInput | UpdateTableCommandInput | UpdateTableReplicaAutoScalingCommandInput | UpdateTimeToLiveCommandInput;
61
- export declare type ServiceOutputTypes = BatchExecuteStatementCommandOutput | BatchGetItemCommandOutput | BatchWriteItemCommandOutput | CreateBackupCommandOutput | CreateGlobalTableCommandOutput | CreateTableCommandOutput | DeleteBackupCommandOutput | DeleteItemCommandOutput | DeleteTableCommandOutput | DescribeBackupCommandOutput | DescribeContinuousBackupsCommandOutput | DescribeContributorInsightsCommandOutput | DescribeEndpointsCommandOutput | DescribeExportCommandOutput | DescribeGlobalTableCommandOutput | DescribeGlobalTableSettingsCommandOutput | DescribeKinesisStreamingDestinationCommandOutput | DescribeLimitsCommandOutput | DescribeTableCommandOutput | DescribeTableReplicaAutoScalingCommandOutput | DescribeTimeToLiveCommandOutput | DisableKinesisStreamingDestinationCommandOutput | EnableKinesisStreamingDestinationCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | ExportTableToPointInTimeCommandOutput | GetItemCommandOutput | ListBackupsCommandOutput | ListContributorInsightsCommandOutput | ListExportsCommandOutput | ListGlobalTablesCommandOutput | ListTablesCommandOutput | ListTagsOfResourceCommandOutput | PutItemCommandOutput | QueryCommandOutput | RestoreTableFromBackupCommandOutput | RestoreTableToPointInTimeCommandOutput | ScanCommandOutput | TagResourceCommandOutput | TransactGetItemsCommandOutput | TransactWriteItemsCommandOutput | UntagResourceCommandOutput | UpdateContinuousBackupsCommandOutput | UpdateContributorInsightsCommandOutput | UpdateGlobalTableCommandOutput | UpdateGlobalTableSettingsCommandOutput | UpdateItemCommandOutput | UpdateTableCommandOutput | UpdateTableReplicaAutoScalingCommandOutput | UpdateTimeToLiveCommandOutput;
63
+ export declare 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 | UpdateTableCommandInput | UpdateTableReplicaAutoScalingCommandInput | UpdateTimeToLiveCommandInput;
64
+ export declare 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 | UpdateTableCommandOutput | UpdateTableReplicaAutoScalingCommandOutput | UpdateTimeToLiveCommandOutput;
62
65
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
63
66
 
64
67
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
4
+ import { DescribeImportInput, DescribeImportOutput } from "../models/models_0";
5
+ export interface DescribeImportCommandInput extends DescribeImportInput {
6
+ }
7
+ export interface DescribeImportCommandOutput extends DescribeImportOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeImportCommand extends $Command<DescribeImportCommandInput, DescribeImportCommandOutput, DynamoDBClientResolvedConfig> {
11
+ readonly input: DescribeImportCommandInput;
12
+ constructor(input: DescribeImportCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeImportCommandInput, DescribeImportCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
4
+ import { ImportTableInput, ImportTableOutput } from "../models/models_0";
5
+ export interface ImportTableCommandInput extends ImportTableInput {
6
+ }
7
+ export interface ImportTableCommandOutput extends ImportTableOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ImportTableCommand extends $Command<ImportTableCommandInput, ImportTableCommandOutput, DynamoDBClientResolvedConfig> {
11
+ readonly input: ImportTableCommandInput;
12
+ constructor(input: ImportTableCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportTableCommandInput, ImportTableCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
4
+ import { ListImportsInput, ListImportsOutput } from "../models/models_0";
5
+ export interface ListImportsCommandInput extends ListImportsInput {
6
+ }
7
+ export interface ListImportsCommandOutput extends ListImportsOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListImportsCommand extends $Command<ListImportsCommandInput, ListImportsCommandOutput, DynamoDBClientResolvedConfig> {
11
+ readonly input: ListImportsCommandInput;
12
+ constructor(input: ListImportsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListImportsCommandInput, ListImportsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -14,6 +14,7 @@ export * from "./DescribeEndpointsCommand";
14
14
  export * from "./DescribeExportCommand";
15
15
  export * from "./DescribeGlobalTableCommand";
16
16
  export * from "./DescribeGlobalTableSettingsCommand";
17
+ export * from "./DescribeImportCommand";
17
18
  export * from "./DescribeKinesisStreamingDestinationCommand";
18
19
  export * from "./DescribeLimitsCommand";
19
20
  export * from "./DescribeTableCommand";
@@ -25,10 +26,12 @@ export * from "./ExecuteStatementCommand";
25
26
  export * from "./ExecuteTransactionCommand";
26
27
  export * from "./ExportTableToPointInTimeCommand";
27
28
  export * from "./GetItemCommand";
29
+ export * from "./ImportTableCommand";
28
30
  export * from "./ListBackupsCommand";
29
31
  export * from "./ListContributorInsightsCommand";
30
32
  export * from "./ListExportsCommand";
31
33
  export * from "./ListGlobalTablesCommand";
34
+ export * from "./ListImportsCommand";
32
35
  export * from "./ListTablesCommand";
33
36
  export * from "./ListTagsOfResourceCommand";
34
37
  export * from "./PutItemCommand";
@@ -735,6 +735,13 @@ export declare class ResourceInUseException extends __BaseException {
735
735
 
736
736
  constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
737
737
  }
738
+
739
+ export interface CsvOptions {
740
+
741
+ Delimiter?: string;
742
+
743
+ HeaderList?: string[];
744
+ }
738
745
  export interface DeleteBackupInput {
739
746
 
740
747
  BackupArn: string | undefined;
@@ -959,6 +966,110 @@ export interface DescribeGlobalTableSettingsOutput {
959
966
 
960
967
  ReplicaSettings?: ReplicaSettingsDescription[];
961
968
  }
969
+ export interface DescribeImportInput {
970
+
971
+ ImportArn: string | undefined;
972
+ }
973
+ export declare enum ImportStatus {
974
+ CANCELLED = "CANCELLED",
975
+ CANCELLING = "CANCELLING",
976
+ COMPLETED = "COMPLETED",
977
+ FAILED = "FAILED",
978
+ IN_PROGRESS = "IN_PROGRESS"
979
+ }
980
+ export declare enum InputCompressionType {
981
+ GZIP = "GZIP",
982
+ NONE = "NONE",
983
+ ZSTD = "ZSTD"
984
+ }
985
+ export declare enum InputFormat {
986
+ CSV = "CSV",
987
+ DYNAMODB_JSON = "DYNAMODB_JSON",
988
+ ION = "ION"
989
+ }
990
+
991
+ export interface InputFormatOptions {
992
+
993
+ Csv?: CsvOptions;
994
+ }
995
+
996
+ export interface S3BucketSource {
997
+
998
+ S3BucketOwner?: string;
999
+
1000
+ S3Bucket: string | undefined;
1001
+
1002
+ S3KeyPrefix?: string;
1003
+ }
1004
+
1005
+ export interface TableCreationParameters {
1006
+
1007
+ TableName: string | undefined;
1008
+
1009
+ AttributeDefinitions: AttributeDefinition[] | undefined;
1010
+
1011
+ KeySchema: KeySchemaElement[] | undefined;
1012
+
1013
+ BillingMode?: BillingMode | string;
1014
+
1015
+ ProvisionedThroughput?: ProvisionedThroughput;
1016
+
1017
+ SSESpecification?: SSESpecification;
1018
+
1019
+ GlobalSecondaryIndexes?: GlobalSecondaryIndex[];
1020
+ }
1021
+
1022
+ export interface ImportTableDescription {
1023
+
1024
+ ImportArn?: string;
1025
+
1026
+ ImportStatus?: ImportStatus | string;
1027
+
1028
+ TableArn?: string;
1029
+
1030
+ TableId?: string;
1031
+
1032
+ ClientToken?: string;
1033
+
1034
+ S3BucketSource?: S3BucketSource;
1035
+
1036
+ ErrorCount?: number;
1037
+
1038
+ CloudWatchLogGroupArn?: string;
1039
+
1040
+ InputFormat?: InputFormat | string;
1041
+
1042
+ InputFormatOptions?: InputFormatOptions;
1043
+
1044
+ InputCompressionType?: InputCompressionType | string;
1045
+
1046
+ TableCreationParameters?: TableCreationParameters;
1047
+
1048
+ StartTime?: Date;
1049
+
1050
+ EndTime?: Date;
1051
+
1052
+ ProcessedSizeBytes?: number;
1053
+
1054
+ ProcessedItemCount?: number;
1055
+
1056
+ ImportedItemCount?: number;
1057
+
1058
+ FailureCode?: string;
1059
+
1060
+ FailureMessage?: string;
1061
+ }
1062
+ export interface DescribeImportOutput {
1063
+
1064
+ ImportTableDescription: ImportTableDescription | undefined;
1065
+ }
1066
+
1067
+ export declare class ImportNotFoundException extends __BaseException {
1068
+ readonly name: "ImportNotFoundException";
1069
+ readonly $fault: "client";
1070
+
1071
+ constructor(opts: __ExceptionOptionType<ImportNotFoundException, __BaseException>);
1072
+ }
962
1073
  export interface DescribeKinesisStreamingDestinationInput {
963
1074
 
964
1075
  TableName: string | undefined;
@@ -1134,6 +1245,31 @@ export declare class PointInTimeRecoveryUnavailableException extends __BaseExcep
1134
1245
 
1135
1246
  constructor(opts: __ExceptionOptionType<PointInTimeRecoveryUnavailableException, __BaseException>);
1136
1247
  }
1248
+
1249
+ export declare class ImportConflictException extends __BaseException {
1250
+ readonly name: "ImportConflictException";
1251
+ readonly $fault: "client";
1252
+
1253
+ constructor(opts: __ExceptionOptionType<ImportConflictException, __BaseException>);
1254
+ }
1255
+ export interface ImportTableInput {
1256
+
1257
+ ClientToken?: string;
1258
+
1259
+ S3BucketSource: S3BucketSource | undefined;
1260
+
1261
+ InputFormat: InputFormat | string | undefined;
1262
+
1263
+ InputFormatOptions?: InputFormatOptions;
1264
+
1265
+ InputCompressionType?: InputCompressionType | string;
1266
+
1267
+ TableCreationParameters: TableCreationParameters | undefined;
1268
+ }
1269
+ export interface ImportTableOutput {
1270
+
1271
+ ImportTableDescription: ImportTableDescription | undefined;
1272
+ }
1137
1273
  export interface ListBackupsInput {
1138
1274
 
1139
1275
  TableName?: string;
@@ -1210,6 +1346,39 @@ export interface ListGlobalTablesOutput {
1210
1346
 
1211
1347
  LastEvaluatedGlobalTableName?: string;
1212
1348
  }
1349
+ export interface ListImportsInput {
1350
+
1351
+ TableArn?: string;
1352
+
1353
+ PageSize?: number;
1354
+
1355
+ NextToken?: string;
1356
+ }
1357
+
1358
+ export interface ImportSummary {
1359
+
1360
+ ImportArn?: string;
1361
+
1362
+ ImportStatus?: ImportStatus | string;
1363
+
1364
+ TableArn?: string;
1365
+
1366
+ S3BucketSource?: S3BucketSource;
1367
+
1368
+ CloudWatchLogGroupArn?: string;
1369
+
1370
+ InputFormat?: InputFormat | string;
1371
+
1372
+ StartTime?: Date;
1373
+
1374
+ EndTime?: Date;
1375
+ }
1376
+ export interface ListImportsOutput {
1377
+
1378
+ ImportSummaryList?: ImportSummary[];
1379
+
1380
+ NextToken?: string;
1381
+ }
1213
1382
 
1214
1383
  export interface ListTablesInput {
1215
1384
 
@@ -2363,6 +2532,8 @@ export declare const TableDescriptionFilterSensitiveLog: (obj: TableDescription)
2363
2532
 
2364
2533
  export declare const CreateTableOutputFilterSensitiveLog: (obj: CreateTableOutput) => any;
2365
2534
 
2535
+ export declare const CsvOptionsFilterSensitiveLog: (obj: CsvOptions) => any;
2536
+
2366
2537
  export declare const DeleteBackupInputFilterSensitiveLog: (obj: DeleteBackupInput) => any;
2367
2538
 
2368
2539
  export declare const DeleteBackupOutputFilterSensitiveLog: (obj: DeleteBackupOutput) => any;
@@ -2415,6 +2586,18 @@ export declare const ReplicaSettingsDescriptionFilterSensitiveLog: (obj: Replica
2415
2586
 
2416
2587
  export declare const DescribeGlobalTableSettingsOutputFilterSensitiveLog: (obj: DescribeGlobalTableSettingsOutput) => any;
2417
2588
 
2589
+ export declare const DescribeImportInputFilterSensitiveLog: (obj: DescribeImportInput) => any;
2590
+
2591
+ export declare const InputFormatOptionsFilterSensitiveLog: (obj: InputFormatOptions) => any;
2592
+
2593
+ export declare const S3BucketSourceFilterSensitiveLog: (obj: S3BucketSource) => any;
2594
+
2595
+ export declare const TableCreationParametersFilterSensitiveLog: (obj: TableCreationParameters) => any;
2596
+
2597
+ export declare const ImportTableDescriptionFilterSensitiveLog: (obj: ImportTableDescription) => any;
2598
+
2599
+ export declare const DescribeImportOutputFilterSensitiveLog: (obj: DescribeImportOutput) => any;
2600
+
2418
2601
  export declare const DescribeKinesisStreamingDestinationInputFilterSensitiveLog: (obj: DescribeKinesisStreamingDestinationInput) => any;
2419
2602
 
2420
2603
  export declare const KinesisDataStreamDestinationFilterSensitiveLog: (obj: KinesisDataStreamDestination) => any;
@@ -2451,6 +2634,10 @@ export declare const ExportTableToPointInTimeInputFilterSensitiveLog: (obj: Expo
2451
2634
 
2452
2635
  export declare const ExportTableToPointInTimeOutputFilterSensitiveLog: (obj: ExportTableToPointInTimeOutput) => any;
2453
2636
 
2637
+ export declare const ImportTableInputFilterSensitiveLog: (obj: ImportTableInput) => any;
2638
+
2639
+ export declare const ImportTableOutputFilterSensitiveLog: (obj: ImportTableOutput) => any;
2640
+
2454
2641
  export declare const ListBackupsInputFilterSensitiveLog: (obj: ListBackupsInput) => any;
2455
2642
 
2456
2643
  export declare const ListBackupsOutputFilterSensitiveLog: (obj: ListBackupsOutput) => any;
@@ -2471,6 +2658,12 @@ export declare const GlobalTableFilterSensitiveLog: (obj: GlobalTable) => any;
2471
2658
 
2472
2659
  export declare const ListGlobalTablesOutputFilterSensitiveLog: (obj: ListGlobalTablesOutput) => any;
2473
2660
 
2661
+ export declare const ListImportsInputFilterSensitiveLog: (obj: ListImportsInput) => any;
2662
+
2663
+ export declare const ImportSummaryFilterSensitiveLog: (obj: ImportSummary) => any;
2664
+
2665
+ export declare const ListImportsOutputFilterSensitiveLog: (obj: ListImportsOutput) => any;
2666
+
2474
2667
  export declare const ListTablesInputFilterSensitiveLog: (obj: ListTablesInput) => any;
2475
2668
 
2476
2669
  export declare const ListTablesOutputFilterSensitiveLog: (obj: ListTablesOutput) => any;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/ListImportsCommand";
3
+ import { DynamoDBPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListImports(config: DynamoDBPaginationConfiguration, input: ListImportsCommandInput, ...additionalArguments: any): Paginator<ListImportsCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListContributorInsightsPaginator";
3
3
  export * from "./ListExportsPaginator";
4
+ export * from "./ListImportsPaginator";
4
5
  export * from "./ListTablesPaginator";
5
6
  export * from "./QueryPaginator";
6
7
  export * from "./ScanPaginator";
@@ -16,6 +16,7 @@ import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from ".
16
16
  import { DescribeExportCommandInput, DescribeExportCommandOutput } from "../commands/DescribeExportCommand";
17
17
  import { DescribeGlobalTableCommandInput, DescribeGlobalTableCommandOutput } from "../commands/DescribeGlobalTableCommand";
18
18
  import { DescribeGlobalTableSettingsCommandInput, DescribeGlobalTableSettingsCommandOutput } from "../commands/DescribeGlobalTableSettingsCommand";
19
+ import { DescribeImportCommandInput, DescribeImportCommandOutput } from "../commands/DescribeImportCommand";
19
20
  import { DescribeKinesisStreamingDestinationCommandInput, DescribeKinesisStreamingDestinationCommandOutput } from "../commands/DescribeKinesisStreamingDestinationCommand";
20
21
  import { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "../commands/DescribeLimitsCommand";
21
22
  import { DescribeTableCommandInput, DescribeTableCommandOutput } from "../commands/DescribeTableCommand";
@@ -27,10 +28,12 @@ import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "../
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 { ImportTableCommandInput, ImportTableCommandOutput } from "../commands/ImportTableCommand";
30
32
  import { ListBackupsCommandInput, ListBackupsCommandOutput } from "../commands/ListBackupsCommand";
31
33
  import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "../commands/ListContributorInsightsCommand";
32
34
  import { ListExportsCommandInput, ListExportsCommandOutput } from "../commands/ListExportsCommand";
33
35
  import { ListGlobalTablesCommandInput, ListGlobalTablesCommandOutput } from "../commands/ListGlobalTablesCommand";
36
+ import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/ListImportsCommand";
34
37
  import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
35
38
  import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "../commands/ListTagsOfResourceCommand";
36
39
  import { PutItemCommandInput, PutItemCommandOutput } from "../commands/PutItemCommand";
@@ -66,6 +69,7 @@ export declare const serializeAws_json1_0DescribeEndpointsCommand: (input: Descr
66
69
  export declare const serializeAws_json1_0DescribeExportCommand: (input: DescribeExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
70
  export declare const serializeAws_json1_0DescribeGlobalTableCommand: (input: DescribeGlobalTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
71
  export declare const serializeAws_json1_0DescribeGlobalTableSettingsCommand: (input: DescribeGlobalTableSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
72
+ export declare const serializeAws_json1_0DescribeImportCommand: (input: DescribeImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
73
  export declare const serializeAws_json1_0DescribeKinesisStreamingDestinationCommand: (input: DescribeKinesisStreamingDestinationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
74
  export declare const serializeAws_json1_0DescribeLimitsCommand: (input: DescribeLimitsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
75
  export declare const serializeAws_json1_0DescribeTableCommand: (input: DescribeTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -77,10 +81,12 @@ export declare const serializeAws_json1_0ExecuteStatementCommand: (input: Execut
77
81
  export declare const serializeAws_json1_0ExecuteTransactionCommand: (input: ExecuteTransactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
82
  export declare const serializeAws_json1_0ExportTableToPointInTimeCommand: (input: ExportTableToPointInTimeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
83
  export declare const serializeAws_json1_0GetItemCommand: (input: GetItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
84
+ export declare const serializeAws_json1_0ImportTableCommand: (input: ImportTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
80
85
  export declare const serializeAws_json1_0ListBackupsCommand: (input: ListBackupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
86
  export declare const serializeAws_json1_0ListContributorInsightsCommand: (input: ListContributorInsightsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
82
87
  export declare const serializeAws_json1_0ListExportsCommand: (input: ListExportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
83
88
  export declare const serializeAws_json1_0ListGlobalTablesCommand: (input: ListGlobalTablesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
+ export declare const serializeAws_json1_0ListImportsCommand: (input: ListImportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
84
90
  export declare const serializeAws_json1_0ListTablesCommand: (input: ListTablesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
91
  export declare const serializeAws_json1_0ListTagsOfResourceCommand: (input: ListTagsOfResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
86
92
  export declare const serializeAws_json1_0PutItemCommand: (input: PutItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -116,6 +122,7 @@ export declare const deserializeAws_json1_0DescribeEndpointsCommand: (output: __
116
122
  export declare const deserializeAws_json1_0DescribeExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeExportCommandOutput>;
117
123
  export declare const deserializeAws_json1_0DescribeGlobalTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeGlobalTableCommandOutput>;
118
124
  export declare const deserializeAws_json1_0DescribeGlobalTableSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeGlobalTableSettingsCommandOutput>;
125
+ export declare const deserializeAws_json1_0DescribeImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeImportCommandOutput>;
119
126
  export declare const deserializeAws_json1_0DescribeKinesisStreamingDestinationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeKinesisStreamingDestinationCommandOutput>;
120
127
  export declare const deserializeAws_json1_0DescribeLimitsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLimitsCommandOutput>;
121
128
  export declare const deserializeAws_json1_0DescribeTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTableCommandOutput>;
@@ -127,10 +134,12 @@ export declare const deserializeAws_json1_0ExecuteStatementCommand: (output: __H
127
134
  export declare const deserializeAws_json1_0ExecuteTransactionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExecuteTransactionCommandOutput>;
128
135
  export declare const deserializeAws_json1_0ExportTableToPointInTimeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExportTableToPointInTimeCommandOutput>;
129
136
  export declare const deserializeAws_json1_0GetItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetItemCommandOutput>;
137
+ export declare const deserializeAws_json1_0ImportTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportTableCommandOutput>;
130
138
  export declare const deserializeAws_json1_0ListBackupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBackupsCommandOutput>;
131
139
  export declare const deserializeAws_json1_0ListContributorInsightsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListContributorInsightsCommandOutput>;
132
140
  export declare const deserializeAws_json1_0ListExportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListExportsCommandOutput>;
133
141
  export declare const deserializeAws_json1_0ListGlobalTablesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListGlobalTablesCommandOutput>;
142
+ export declare const deserializeAws_json1_0ListImportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListImportsCommandOutput>;
134
143
  export declare const deserializeAws_json1_0ListTablesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTablesCommandOutput>;
135
144
  export declare const deserializeAws_json1_0ListTagsOfResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsOfResourceCommandOutput>;
136
145
  export declare const deserializeAws_json1_0PutItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutItemCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
4
- "version": "3.142.0",
4
+ "version": "3.153.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.142.0",
21
+ "@aws-sdk/client-sts": "3.150.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.142.0",
23
+ "@aws-sdk/credential-provider-node": "3.150.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -65,6 +65,11 @@
65
65
  "typedoc": "0.19.2",
66
66
  "typescript": "~4.6.2"
67
67
  },
68
+ "overrides": {
69
+ "typedoc": {
70
+ "typescript": "~4.6.2"
71
+ }
72
+ },
68
73
  "engines": {
69
74
  "node": ">=12.0.0"
70
75
  },