@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
@@ -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
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,37 @@
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
+ * <p>
11
+ * Represents the properties of the import.
12
+ * </p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { DynamoDBClient, DescribeImportCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
17
+ * // const { DynamoDBClient, DescribeImportCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
18
+ * const client = new DynamoDBClient(config);
19
+ * const command = new DescribeImportCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link DescribeImportCommandInput} for command's `input` shape.
24
+ * @see {@link DescribeImportCommandOutput} for command's `response` shape.
25
+ * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class DescribeImportCommand extends $Command<DescribeImportCommandInput, DescribeImportCommandOutput, DynamoDBClientResolvedConfig> {
29
+ readonly input: DescribeImportCommandInput;
30
+ constructor(input: DescribeImportCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeImportCommandInput, DescribeImportCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,38 @@
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
+ * <p>
11
+ * Imports table data from an S3 bucket.
12
+ *
13
+ * </p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { DynamoDBClient, ImportTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
18
+ * // const { DynamoDBClient, ImportTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
19
+ * const client = new DynamoDBClient(config);
20
+ * const command = new ImportTableCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link ImportTableCommandInput} for command's `input` shape.
25
+ * @see {@link ImportTableCommandOutput} for command's `response` shape.
26
+ * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class ImportTableCommand extends $Command<ImportTableCommandInput, ImportTableCommandOutput, DynamoDBClientResolvedConfig> {
30
+ readonly input: ImportTableCommandInput;
31
+ constructor(input: ImportTableCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportTableCommandInput, ImportTableCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,37 @@
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
+ * <p>
11
+ * Lists completed imports within the past 90 days.
12
+ * </p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { DynamoDBClient, ListImportsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
17
+ * // const { DynamoDBClient, ListImportsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
18
+ * const client = new DynamoDBClient(config);
19
+ * const command = new ListImportsCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link ListImportsCommandInput} for command's `input` shape.
24
+ * @see {@link ListImportsCommandOutput} for command's `response` shape.
25
+ * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class ListImportsCommand extends $Command<ListImportsCommandInput, ListImportsCommandOutput, DynamoDBClientResolvedConfig> {
29
+ readonly input: ListImportsCommandInput;
30
+ constructor(input: ListImportsCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListImportsCommandInput, ListImportsCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -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";