@aws-sdk/lib-dynamodb 3.1143.0 → 3.1145.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.
package/dist-cjs/index.js CHANGED
@@ -5,7 +5,7 @@ const { setFeature } = require("@aws-sdk/core/client");
5
5
  const { marshall, unmarshall } = require("@aws-sdk/util-dynamodb");
6
6
  const { NumberValueImpl: NumberValue } = require("@aws-sdk/util-dynamodb");
7
7
  exports.NumberValue = NumberValue;
8
- const { BatchExecuteStatementCommand: BatchExecuteStatementCommand$1, BatchGetItemCommand, BatchWriteItemCommand, DeleteItemCommand, ExecuteStatementCommand: ExecuteStatementCommand$1, ExecuteTransactionCommand: ExecuteTransactionCommand$1, GetItemCommand, PutItemCommand, QueryCommand: QueryCommand$1, ScanCommand: ScanCommand$1, SearchVectorsCommand: SearchVectorsCommand$1, TransactGetItemsCommand, TransactWriteItemsCommand, UpdateItemCommand, DynamoDBClient } = require("@aws-sdk/client-dynamodb");
8
+ const { BatchExecuteStatementCommand: BatchExecuteStatementCommand$1, BatchGetItemCommand, BatchWriteItemCommand, DeleteItemCommand, DescribeExportCommand: DescribeExportCommand$1, ExecuteStatementCommand: ExecuteStatementCommand$1, ExecuteTransactionCommand: ExecuteTransactionCommand$1, ExportTableToPointInTimeCommand: ExportTableToPointInTimeCommand$1, GetItemCommand, PutItemCommand, QueryCommand: QueryCommand$1, ScanCommand: ScanCommand$1, SearchVectorsCommand: SearchVectorsCommand$1, TransactGetItemsCommand, TransactWriteItemsCommand, UpdateItemCommand, DynamoDBClient } = require("@aws-sdk/client-dynamodb");
9
9
  const { createPaginator } = require("@smithy/core");
10
10
 
11
11
  const SELF = null;
@@ -281,6 +281,32 @@ class DeleteCommand extends DynamoDBDocumentClientCommand {
281
281
  }
282
282
  }
283
283
 
284
+ class DescribeExportCommand extends DynamoDBDocumentClientCommand {
285
+ input;
286
+ inputKeyNodes = {};
287
+ outputKeyNodes = {
288
+ ExportDescription: {
289
+ FilterSpecification: {
290
+ ExpressionAttributeValues: ALL_VALUES,
291
+ },
292
+ },
293
+ };
294
+ clientCommand;
295
+ middlewareStack;
296
+ constructor(input) {
297
+ super();
298
+ this.input = input;
299
+ this.clientCommand = new DescribeExportCommand$1(this.input);
300
+ this.middlewareStack = this.clientCommand.middlewareStack;
301
+ }
302
+ resolveMiddleware(clientStack, configuration, options) {
303
+ this.addMarshallingMiddleware(configuration);
304
+ const stack = clientStack.concat(this.middlewareStack);
305
+ const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
306
+ return async () => handler(this.clientCommand);
307
+ }
308
+ }
309
+
284
310
  class ExecuteStatementCommand extends DynamoDBDocumentClientCommand {
285
311
  input;
286
312
  inputKeyNodes = {
@@ -340,6 +366,36 @@ class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand {
340
366
  }
341
367
  }
342
368
 
369
+ class ExportTableToPointInTimeCommand extends DynamoDBDocumentClientCommand {
370
+ input;
371
+ inputKeyNodes = {
372
+ FilterSpecification: {
373
+ ExpressionAttributeValues: ALL_VALUES,
374
+ },
375
+ };
376
+ outputKeyNodes = {
377
+ ExportDescription: {
378
+ FilterSpecification: {
379
+ ExpressionAttributeValues: ALL_VALUES,
380
+ },
381
+ },
382
+ };
383
+ clientCommand;
384
+ middlewareStack;
385
+ constructor(input) {
386
+ super();
387
+ this.input = input;
388
+ this.clientCommand = new ExportTableToPointInTimeCommand$1(this.input);
389
+ this.middlewareStack = this.clientCommand.middlewareStack;
390
+ }
391
+ resolveMiddleware(clientStack, configuration, options) {
392
+ this.addMarshallingMiddleware(configuration);
393
+ const stack = clientStack.concat(this.middlewareStack);
394
+ const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
395
+ return async () => handler(this.clientCommand);
396
+ }
397
+ }
398
+
343
399
  class GetCommand extends DynamoDBDocumentClientCommand {
344
400
  input;
345
401
  inputKeyNodes = {
@@ -735,6 +791,21 @@ class DynamoDBDocument extends DynamoDBDocumentClient {
735
791
  return this.send(command, optionsOrCb);
736
792
  }
737
793
  }
794
+ describeExport(args, optionsOrCb, cb) {
795
+ const command = new DescribeExportCommand(args);
796
+ if (typeof optionsOrCb === "function") {
797
+ this.send(command, optionsOrCb);
798
+ }
799
+ else if (typeof cb === "function") {
800
+ if (typeof optionsOrCb !== "object") {
801
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
802
+ }
803
+ this.send(command, optionsOrCb || {}, cb);
804
+ }
805
+ else {
806
+ return this.send(command, optionsOrCb);
807
+ }
808
+ }
738
809
  executeStatement(args, optionsOrCb, cb) {
739
810
  const command = new ExecuteStatementCommand(args);
740
811
  if (typeof optionsOrCb === "function") {
@@ -765,6 +836,21 @@ class DynamoDBDocument extends DynamoDBDocumentClient {
765
836
  return this.send(command, optionsOrCb);
766
837
  }
767
838
  }
839
+ exportTableToPointInTime(args, optionsOrCb, cb) {
840
+ const command = new ExportTableToPointInTimeCommand(args);
841
+ if (typeof optionsOrCb === "function") {
842
+ this.send(command, optionsOrCb);
843
+ }
844
+ else if (typeof cb === "function") {
845
+ if (typeof optionsOrCb !== "object") {
846
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
847
+ }
848
+ this.send(command, optionsOrCb || {}, cb);
849
+ }
850
+ else {
851
+ return this.send(command, optionsOrCb);
852
+ }
853
+ }
768
854
  get(args, optionsOrCb, cb) {
769
855
  const command = new GetCommand(args);
770
856
  if (typeof optionsOrCb === "function") {
@@ -891,11 +977,13 @@ exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand;
891
977
  exports.BatchGetCommand = BatchGetCommand;
892
978
  exports.BatchWriteCommand = BatchWriteCommand;
893
979
  exports.DeleteCommand = DeleteCommand;
980
+ exports.DescribeExportCommand = DescribeExportCommand;
894
981
  exports.DynamoDBDocument = DynamoDBDocument;
895
982
  exports.DynamoDBDocumentClient = DynamoDBDocumentClient;
896
983
  exports.DynamoDBDocumentClientCommand = DynamoDBDocumentClientCommand;
897
984
  exports.ExecuteStatementCommand = ExecuteStatementCommand;
898
985
  exports.ExecuteTransactionCommand = ExecuteTransactionCommand;
986
+ exports.ExportTableToPointInTimeCommand = ExportTableToPointInTimeCommand;
899
987
  exports.GetCommand = GetCommand;
900
988
  exports.PutCommand = PutCommand;
901
989
  exports.QueryCommand = QueryCommand;
@@ -2,8 +2,10 @@ import { BatchExecuteStatementCommand, } from "./commands/BatchExecuteStatementC
2
2
  import { BatchGetCommand } from "./commands/BatchGetCommand";
3
3
  import { BatchWriteCommand, } from "./commands/BatchWriteCommand";
4
4
  import { DeleteCommand } from "./commands/DeleteCommand";
5
+ import { DescribeExportCommand, } from "./commands/DescribeExportCommand";
5
6
  import { ExecuteStatementCommand, } from "./commands/ExecuteStatementCommand";
6
7
  import { ExecuteTransactionCommand, } from "./commands/ExecuteTransactionCommand";
8
+ import { ExportTableToPointInTimeCommand, } from "./commands/ExportTableToPointInTimeCommand";
7
9
  import { GetCommand } from "./commands/GetCommand";
8
10
  import { PutCommand } from "./commands/PutCommand";
9
11
  import { QueryCommand } from "./commands/QueryCommand";
@@ -77,6 +79,21 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
77
79
  return this.send(command, optionsOrCb);
78
80
  }
79
81
  }
82
+ describeExport(args, optionsOrCb, cb) {
83
+ const command = new DescribeExportCommand(args);
84
+ if (typeof optionsOrCb === "function") {
85
+ this.send(command, optionsOrCb);
86
+ }
87
+ else if (typeof cb === "function") {
88
+ if (typeof optionsOrCb !== "object") {
89
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
90
+ }
91
+ this.send(command, optionsOrCb || {}, cb);
92
+ }
93
+ else {
94
+ return this.send(command, optionsOrCb);
95
+ }
96
+ }
80
97
  executeStatement(args, optionsOrCb, cb) {
81
98
  const command = new ExecuteStatementCommand(args);
82
99
  if (typeof optionsOrCb === "function") {
@@ -107,6 +124,21 @@ export class DynamoDBDocument extends DynamoDBDocumentClient {
107
124
  return this.send(command, optionsOrCb);
108
125
  }
109
126
  }
127
+ exportTableToPointInTime(args, optionsOrCb, cb) {
128
+ const command = new ExportTableToPointInTimeCommand(args);
129
+ if (typeof optionsOrCb === "function") {
130
+ this.send(command, optionsOrCb);
131
+ }
132
+ else if (typeof cb === "function") {
133
+ if (typeof optionsOrCb !== "object") {
134
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
135
+ }
136
+ this.send(command, optionsOrCb || {}, cb);
137
+ }
138
+ else {
139
+ return this.send(command, optionsOrCb);
140
+ }
141
+ }
110
142
  get(args, optionsOrCb, cb) {
111
143
  const command = new GetCommand(args);
112
144
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,30 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
+ import { ALL_VALUES } from "../commands/utils";
4
+ import { DescribeExportCommand as __DescribeExportCommand } from "@aws-sdk/client-dynamodb";
5
+ export { DynamoDBDocumentClientCommand, $Command };
6
+ export class DescribeExportCommand extends DynamoDBDocumentClientCommand {
7
+ input;
8
+ inputKeyNodes = {};
9
+ outputKeyNodes = {
10
+ ExportDescription: {
11
+ FilterSpecification: {
12
+ ExpressionAttributeValues: ALL_VALUES,
13
+ },
14
+ },
15
+ };
16
+ clientCommand;
17
+ middlewareStack;
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ this.clientCommand = new __DescribeExportCommand(this.input);
22
+ this.middlewareStack = this.clientCommand.middlewareStack;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.addMarshallingMiddleware(configuration);
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
28
+ return async () => handler(this.clientCommand);
29
+ }
30
+ }
@@ -0,0 +1,34 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
+ import { ALL_VALUES } from "../commands/utils";
4
+ import { ExportTableToPointInTimeCommand as __ExportTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb";
5
+ export { DynamoDBDocumentClientCommand, $Command };
6
+ export class ExportTableToPointInTimeCommand extends DynamoDBDocumentClientCommand {
7
+ input;
8
+ inputKeyNodes = {
9
+ FilterSpecification: {
10
+ ExpressionAttributeValues: ALL_VALUES,
11
+ },
12
+ };
13
+ outputKeyNodes = {
14
+ ExportDescription: {
15
+ FilterSpecification: {
16
+ ExpressionAttributeValues: ALL_VALUES,
17
+ },
18
+ },
19
+ };
20
+ clientCommand;
21
+ middlewareStack;
22
+ constructor(input) {
23
+ super();
24
+ this.input = input;
25
+ this.clientCommand = new __ExportTableToPointInTimeCommand(this.input);
26
+ this.middlewareStack = this.clientCommand.middlewareStack;
27
+ }
28
+ resolveMiddleware(clientStack, configuration, options) {
29
+ this.addMarshallingMiddleware(configuration);
30
+ const stack = clientStack.concat(this.middlewareStack);
31
+ const handler = this.clientCommand.resolveMiddleware(stack, configuration, options);
32
+ return async () => handler(this.clientCommand);
33
+ }
34
+ }
@@ -2,8 +2,10 @@ export * from './BatchExecuteStatementCommand';
2
2
  export * from './BatchGetCommand';
3
3
  export * from './BatchWriteCommand';
4
4
  export * from './DeleteCommand';
5
+ export * from './DescribeExportCommand';
5
6
  export * from './ExecuteStatementCommand';
6
7
  export * from './ExecuteTransactionCommand';
8
+ export * from './ExportTableToPointInTimeCommand';
7
9
  export * from './GetCommand';
8
10
  export * from './PutCommand';
9
11
  export * from './QueryCommand';
@@ -3,8 +3,10 @@ import { type BatchExecuteStatementCommandInput, type BatchExecuteStatementComma
3
3
  import { type BatchGetCommandInput, type BatchGetCommandOutput } from "./commands/BatchGetCommand";
4
4
  import { type BatchWriteCommandInput, type BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
5
5
  import { type DeleteCommandInput, type DeleteCommandOutput } from "./commands/DeleteCommand";
6
+ import { type DescribeExportCommandInput, type DescribeExportCommandOutput } from "./commands/DescribeExportCommand";
6
7
  import { type ExecuteStatementCommandInput, type ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
7
8
  import { type ExecuteTransactionCommandInput, type ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
9
+ import { type ExportTableToPointInTimeCommandInput, type ExportTableToPointInTimeCommandOutput } from "./commands/ExportTableToPointInTimeCommand";
8
10
  import { type GetCommandInput, type GetCommandOutput } from "./commands/GetCommand";
9
11
  import { type PutCommandInput, type PutCommandOutput } from "./commands/PutCommand";
10
12
  import { type QueryCommandInput, type QueryCommandOutput } from "./commands/QueryCommand";
@@ -103,6 +105,16 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
103
105
  delete(args: DeleteCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCommandOutput>;
104
106
  delete(args: DeleteCommandInput, cb: (err: any, data?: DeleteCommandOutput) => void): void;
105
107
  delete(args: DeleteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCommandOutput) => void): void;
108
+ /**
109
+ * Accepts native JavaScript types instead of `AttributeValue`s, and calls
110
+ * DescribeExportCommand operation from {@link @aws-sdk/client-dynamodb#DescribeExportCommand}.
111
+ *
112
+ * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
113
+ * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
114
+ */
115
+ describeExport(args: DescribeExportCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExportCommandOutput>;
116
+ describeExport(args: DescribeExportCommandInput, cb: (err: any, data?: DescribeExportCommandOutput) => void): void;
117
+ describeExport(args: DescribeExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExportCommandOutput) => void): void;
106
118
  /**
107
119
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
108
120
  * ExecuteStatementCommand operation from {@link @aws-sdk/client-dynamodb#ExecuteStatementCommand}.
@@ -123,6 +135,16 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
123
135
  executeTransaction(args: ExecuteTransactionCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteTransactionCommandOutput>;
124
136
  executeTransaction(args: ExecuteTransactionCommandInput, cb: (err: any, data?: ExecuteTransactionCommandOutput) => void): void;
125
137
  executeTransaction(args: ExecuteTransactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteTransactionCommandOutput) => void): void;
138
+ /**
139
+ * Accepts native JavaScript types instead of `AttributeValue`s, and calls
140
+ * ExportTableToPointInTimeCommand operation from {@link @aws-sdk/client-dynamodb#ExportTableToPointInTimeCommand}.
141
+ *
142
+ * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
143
+ * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
144
+ */
145
+ exportTableToPointInTime(args: ExportTableToPointInTimeCommandInput, options?: __HttpHandlerOptions): Promise<ExportTableToPointInTimeCommandOutput>;
146
+ exportTableToPointInTime(args: ExportTableToPointInTimeCommandInput, cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void): void;
147
+ exportTableToPointInTime(args: ExportTableToPointInTimeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void): void;
126
148
  /**
127
149
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
128
150
  * GetItemCommand operation from {@link @aws-sdk/client-dynamodb#GetItemCommand}.
@@ -4,8 +4,10 @@ import type { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOut
4
4
  import type { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
5
5
  import type { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
6
6
  import type { DeleteCommandInput, DeleteCommandOutput } from "./commands/DeleteCommand";
7
+ import type { DescribeExportCommandInput, DescribeExportCommandOutput } from "./commands/DescribeExportCommand";
7
8
  import type { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
8
9
  import type { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
10
+ import type { ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput } from "./commands/ExportTableToPointInTimeCommand";
9
11
  import type { GetCommandInput, GetCommandOutput } from "./commands/GetCommand";
10
12
  import type { PutCommandInput, PutCommandOutput } from "./commands/PutCommand";
11
13
  import type { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
@@ -23,11 +25,11 @@ export { __Client };
23
25
  /**
24
26
  * @public
25
27
  */
26
- export type ServiceInputTypes = __ServiceInputTypes | BatchExecuteStatementCommandInput | BatchGetCommandInput | BatchWriteCommandInput | DeleteCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | GetCommandInput | PutCommandInput | QueryCommandInput | ScanCommandInput | SearchVectorsCommandInput | TransactGetCommandInput | TransactWriteCommandInput | UpdateCommandInput;
28
+ export type ServiceInputTypes = __ServiceInputTypes | BatchExecuteStatementCommandInput | BatchGetCommandInput | BatchWriteCommandInput | DeleteCommandInput | DescribeExportCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | ExportTableToPointInTimeCommandInput | GetCommandInput | PutCommandInput | QueryCommandInput | ScanCommandInput | SearchVectorsCommandInput | TransactGetCommandInput | TransactWriteCommandInput | UpdateCommandInput;
27
29
  /**
28
30
  * @public
29
31
  */
30
- export type ServiceOutputTypes = __ServiceOutputTypes | BatchExecuteStatementCommandOutput | BatchGetCommandOutput | BatchWriteCommandOutput | DeleteCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | GetCommandOutput | PutCommandOutput | QueryCommandOutput | ScanCommandOutput | SearchVectorsCommandOutput | TransactGetCommandOutput | TransactWriteCommandOutput | UpdateCommandOutput;
32
+ export type ServiceOutputTypes = __ServiceOutputTypes | BatchExecuteStatementCommandOutput | BatchGetCommandOutput | BatchWriteCommandOutput | DeleteCommandOutput | DescribeExportCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | ExportTableToPointInTimeCommandOutput | GetCommandOutput | PutCommandOutput | QueryCommandOutput | ScanCommandOutput | SearchVectorsCommandOutput | TransactGetCommandOutput | TransactWriteCommandOutput | UpdateCommandOutput;
31
33
  /**
32
34
  * @public
33
35
  */
@@ -0,0 +1,52 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
3
+ import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
+ import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { DescribeExportCommand as __DescribeExportCommand } from "@aws-sdk/client-dynamodb";
6
+ /**
7
+ * @public
8
+ */
9
+ export { DynamoDBDocumentClientCommand, $Command };
10
+ /**
11
+ * @public
12
+ */
13
+ export type DescribeExportCommandInput = __DescribeExportCommandInput;
14
+ /**
15
+ * @public
16
+ */
17
+ export type DescribeExportCommandOutput = Omit<__DescribeExportCommandOutput, "ExportDescription"> & {
18
+ ExportDescription?: (Omit<ExportDescription, "FilterSpecification"> & {
19
+ FilterSpecification?: (Omit<FilterSpecification, "ExpressionAttributeValues"> & {
20
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
21
+ }) | undefined;
22
+ }) | undefined;
23
+ };
24
+ /**
25
+ * Accepts native JavaScript types instead of `AttributeValue`s, and calls
26
+ * DescribeExportCommand operation from {@link @aws-sdk/client-dynamodb#DescribeExportCommand}.
27
+ *
28
+ * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
29
+ * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
30
+ *
31
+ * @public
32
+ */
33
+ export declare class DescribeExportCommand extends DynamoDBDocumentClientCommand<DescribeExportCommandInput, DescribeExportCommandOutput, __DescribeExportCommandInput, __DescribeExportCommandOutput, DynamoDBDocumentClientResolvedConfig> {
34
+ readonly input: DescribeExportCommandInput;
35
+ protected readonly inputKeyNodes: {};
36
+ protected readonly outputKeyNodes: {
37
+ ExportDescription: {
38
+ FilterSpecification: {
39
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
40
+ };
41
+ };
42
+ };
43
+ protected readonly clientCommand: __DescribeExportCommand;
44
+ readonly middlewareStack: MiddlewareStack<DescribeExportCommandInput | __DescribeExportCommandInput, DescribeExportCommandOutput | __DescribeExportCommandOutput>;
45
+ constructor(input: DescribeExportCommandInput);
46
+ /**
47
+ * @internal
48
+ */
49
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeExportCommandInput, DescribeExportCommandOutput>;
50
+ }
51
+ import type { DescribeExportCommandInput as __DescribeExportCommandInput, DescribeExportCommandOutput as __DescribeExportCommandOutput, ExportDescription, FilterSpecification } from "@aws-sdk/client-dynamodb";
52
+ import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
@@ -0,0 +1,60 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
3
+ import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
+ import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { ExportTableToPointInTimeCommand as __ExportTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb";
6
+ /**
7
+ * @public
8
+ */
9
+ export { DynamoDBDocumentClientCommand, $Command };
10
+ /**
11
+ * @public
12
+ */
13
+ export type ExportTableToPointInTimeCommandInput = Omit<__ExportTableToPointInTimeCommandInput, "FilterSpecification"> & {
14
+ FilterSpecification?: (Omit<FilterSpecification, "ExpressionAttributeValues"> & {
15
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
16
+ }) | undefined;
17
+ };
18
+ /**
19
+ * @public
20
+ */
21
+ export type ExportTableToPointInTimeCommandOutput = Omit<__ExportTableToPointInTimeCommandOutput, "ExportDescription"> & {
22
+ ExportDescription?: (Omit<ExportDescription, "FilterSpecification"> & {
23
+ FilterSpecification?: (Omit<FilterSpecification, "ExpressionAttributeValues"> & {
24
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
25
+ }) | undefined;
26
+ }) | undefined;
27
+ };
28
+ /**
29
+ * Accepts native JavaScript types instead of `AttributeValue`s, and calls
30
+ * ExportTableToPointInTimeCommand operation from {@link @aws-sdk/client-dynamodb#ExportTableToPointInTimeCommand}.
31
+ *
32
+ * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
33
+ * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
34
+ *
35
+ * @public
36
+ */
37
+ export declare class ExportTableToPointInTimeCommand extends DynamoDBDocumentClientCommand<ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput, __ExportTableToPointInTimeCommandInput, __ExportTableToPointInTimeCommandOutput, DynamoDBDocumentClientResolvedConfig> {
38
+ readonly input: ExportTableToPointInTimeCommandInput;
39
+ protected readonly inputKeyNodes: {
40
+ FilterSpecification: {
41
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
42
+ };
43
+ };
44
+ protected readonly outputKeyNodes: {
45
+ ExportDescription: {
46
+ FilterSpecification: {
47
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
48
+ };
49
+ };
50
+ };
51
+ protected readonly clientCommand: __ExportTableToPointInTimeCommand;
52
+ readonly middlewareStack: MiddlewareStack<ExportTableToPointInTimeCommandInput | __ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput | __ExportTableToPointInTimeCommandOutput>;
53
+ constructor(input: ExportTableToPointInTimeCommandInput);
54
+ /**
55
+ * @internal
56
+ */
57
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput>;
58
+ }
59
+ import type { ExportDescription, ExportTableToPointInTimeCommandInput as __ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput as __ExportTableToPointInTimeCommandOutput, FilterSpecification } from "@aws-sdk/client-dynamodb";
60
+ import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
@@ -2,8 +2,10 @@ export * from './BatchExecuteStatementCommand';
2
2
  export * from './BatchGetCommand';
3
3
  export * from './BatchWriteCommand';
4
4
  export * from './DeleteCommand';
5
+ export * from './DescribeExportCommand';
5
6
  export * from './ExecuteStatementCommand';
6
7
  export * from './ExecuteTransactionCommand';
8
+ export * from './ExportTableToPointInTimeCommand';
7
9
  export * from './GetCommand';
8
10
  export * from './PutCommand';
9
11
  export * from './QueryCommand';
@@ -6,6 +6,10 @@ import {
6
6
  import { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
7
7
  import { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
8
8
  import { DeleteCommandInput, DeleteCommandOutput } from "./commands/DeleteCommand";
9
+ import {
10
+ DescribeExportCommandInput,
11
+ DescribeExportCommandOutput,
12
+ } from "./commands/DescribeExportCommand";
9
13
  import {
10
14
  ExecuteStatementCommandInput,
11
15
  ExecuteStatementCommandOutput,
@@ -14,6 +18,10 @@ import {
14
18
  ExecuteTransactionCommandInput,
15
19
  ExecuteTransactionCommandOutput,
16
20
  } from "./commands/ExecuteTransactionCommand";
21
+ import {
22
+ ExportTableToPointInTimeCommandInput,
23
+ ExportTableToPointInTimeCommandOutput,
24
+ } from "./commands/ExportTableToPointInTimeCommand";
17
25
  import { GetCommandInput, GetCommandOutput } from "./commands/GetCommand";
18
26
  import { PutCommandInput, PutCommandOutput } from "./commands/PutCommand";
19
27
  import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
@@ -75,6 +83,19 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
75
83
  options: __HttpHandlerOptions,
76
84
  cb: (err: any, data?: DeleteCommandOutput) => void,
77
85
  ): void;
86
+ describeExport(
87
+ args: DescribeExportCommandInput,
88
+ options?: __HttpHandlerOptions,
89
+ ): Promise<DescribeExportCommandOutput>;
90
+ describeExport(
91
+ args: DescribeExportCommandInput,
92
+ cb: (err: any, data?: DescribeExportCommandOutput) => void,
93
+ ): void;
94
+ describeExport(
95
+ args: DescribeExportCommandInput,
96
+ options: __HttpHandlerOptions,
97
+ cb: (err: any, data?: DescribeExportCommandOutput) => void,
98
+ ): void;
78
99
  executeStatement(
79
100
  args: ExecuteStatementCommandInput,
80
101
  options?: __HttpHandlerOptions,
@@ -101,6 +122,19 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
101
122
  options: __HttpHandlerOptions,
102
123
  cb: (err: any, data?: ExecuteTransactionCommandOutput) => void,
103
124
  ): void;
125
+ exportTableToPointInTime(
126
+ args: ExportTableToPointInTimeCommandInput,
127
+ options?: __HttpHandlerOptions,
128
+ ): Promise<ExportTableToPointInTimeCommandOutput>;
129
+ exportTableToPointInTime(
130
+ args: ExportTableToPointInTimeCommandInput,
131
+ cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void,
132
+ ): void;
133
+ exportTableToPointInTime(
134
+ args: ExportTableToPointInTimeCommandInput,
135
+ options: __HttpHandlerOptions,
136
+ cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void,
137
+ ): void;
104
138
  get(args: GetCommandInput, options?: __HttpHandlerOptions): Promise<GetCommandOutput>;
105
139
  get(args: GetCommandInput, cb: (err: any, data?: GetCommandOutput) => void): void;
106
140
  get(
@@ -7,6 +7,10 @@ import {
7
7
  import { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
8
8
  import { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
9
9
  import { DeleteCommandInput, DeleteCommandOutput } from "./commands/DeleteCommand";
10
+ import {
11
+ DescribeExportCommandInput,
12
+ DescribeExportCommandOutput,
13
+ } from "./commands/DescribeExportCommand";
10
14
  import {
11
15
  ExecuteStatementCommandInput,
12
16
  ExecuteStatementCommandOutput,
@@ -15,6 +19,10 @@ import {
15
19
  ExecuteTransactionCommandInput,
16
20
  ExecuteTransactionCommandOutput,
17
21
  } from "./commands/ExecuteTransactionCommand";
22
+ import {
23
+ ExportTableToPointInTimeCommandInput,
24
+ ExportTableToPointInTimeCommandOutput,
25
+ } from "./commands/ExportTableToPointInTimeCommand";
18
26
  import { GetCommandInput, GetCommandOutput } from "./commands/GetCommand";
19
27
  import { PutCommandInput, PutCommandOutput } from "./commands/PutCommand";
20
28
  import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
@@ -43,8 +51,10 @@ export type ServiceInputTypes =
43
51
  | BatchGetCommandInput
44
52
  | BatchWriteCommandInput
45
53
  | DeleteCommandInput
54
+ | DescribeExportCommandInput
46
55
  | ExecuteStatementCommandInput
47
56
  | ExecuteTransactionCommandInput
57
+ | ExportTableToPointInTimeCommandInput
48
58
  | GetCommandInput
49
59
  | PutCommandInput
50
60
  | QueryCommandInput
@@ -59,8 +69,10 @@ export type ServiceOutputTypes =
59
69
  | BatchGetCommandOutput
60
70
  | BatchWriteCommandOutput
61
71
  | DeleteCommandOutput
72
+ | DescribeExportCommandOutput
62
73
  | ExecuteStatementCommandOutput
63
74
  | ExecuteTransactionCommandOutput
75
+ | ExportTableToPointInTimeCommandOutput
64
76
  | GetCommandOutput
65
77
  | PutCommandOutput
66
78
  | QueryCommandOutput
@@ -0,0 +1,67 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
7
+ import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
+ import {
9
+ DynamoDBDocumentClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../DynamoDBDocumentClient";
13
+ import { DescribeExportCommand as __DescribeExportCommand } from "@aws-sdk/client-dynamodb";
14
+ export { DynamoDBDocumentClientCommand, $Command };
15
+ export type DescribeExportCommandInput = __DescribeExportCommandInput;
16
+ export type DescribeExportCommandOutput = Pick<
17
+ __DescribeExportCommandOutput,
18
+ Exclude<keyof __DescribeExportCommandOutput, "ExportDescription">
19
+ > & {
20
+ ExportDescription?:
21
+ | (Pick<ExportDescription, Exclude<keyof ExportDescription, "FilterSpecification">> & {
22
+ FilterSpecification?:
23
+ | (Pick<
24
+ FilterSpecification,
25
+ Exclude<keyof FilterSpecification, "ExpressionAttributeValues">
26
+ > & {
27
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
28
+ })
29
+ | undefined;
30
+ })
31
+ | undefined;
32
+ };
33
+ export declare class DescribeExportCommand extends DynamoDBDocumentClientCommand<
34
+ DescribeExportCommandInput,
35
+ DescribeExportCommandOutput,
36
+ __DescribeExportCommandInput,
37
+ __DescribeExportCommandOutput,
38
+ DynamoDBDocumentClientResolvedConfig
39
+ > {
40
+ readonly input: DescribeExportCommandInput;
41
+ protected readonly inputKeyNodes: {};
42
+ protected readonly outputKeyNodes: {
43
+ ExportDescription: {
44
+ FilterSpecification: {
45
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
46
+ };
47
+ };
48
+ };
49
+ protected readonly clientCommand: __DescribeExportCommand;
50
+ readonly middlewareStack: MiddlewareStack<
51
+ DescribeExportCommandInput | __DescribeExportCommandInput,
52
+ DescribeExportCommandOutput | __DescribeExportCommandOutput
53
+ >;
54
+ constructor(input: DescribeExportCommandInput);
55
+ resolveMiddleware(
56
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
57
+ configuration: DynamoDBDocumentClientResolvedConfig,
58
+ options?: __HttpHandlerOptions,
59
+ ): Handler<DescribeExportCommandInput, DescribeExportCommandOutput>;
60
+ }
61
+ import {
62
+ DescribeExportCommandInput as __DescribeExportCommandInput,
63
+ DescribeExportCommandOutput as __DescribeExportCommandOutput,
64
+ ExportDescription,
65
+ FilterSpecification,
66
+ } from "@aws-sdk/client-dynamodb";
67
+ import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
@@ -0,0 +1,83 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
7
+ import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
+ import {
9
+ DynamoDBDocumentClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../DynamoDBDocumentClient";
13
+ import { ExportTableToPointInTimeCommand as __ExportTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb";
14
+ export { DynamoDBDocumentClientCommand, $Command };
15
+ export type ExportTableToPointInTimeCommandInput = Pick<
16
+ __ExportTableToPointInTimeCommandInput,
17
+ Exclude<keyof __ExportTableToPointInTimeCommandInput, "FilterSpecification">
18
+ > & {
19
+ FilterSpecification?:
20
+ | (Pick<
21
+ FilterSpecification,
22
+ Exclude<keyof FilterSpecification, "ExpressionAttributeValues">
23
+ > & {
24
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
25
+ })
26
+ | undefined;
27
+ };
28
+ export type ExportTableToPointInTimeCommandOutput = Pick<
29
+ __ExportTableToPointInTimeCommandOutput,
30
+ Exclude<keyof __ExportTableToPointInTimeCommandOutput, "ExportDescription">
31
+ > & {
32
+ ExportDescription?:
33
+ | (Pick<ExportDescription, Exclude<keyof ExportDescription, "FilterSpecification">> & {
34
+ FilterSpecification?:
35
+ | (Pick<
36
+ FilterSpecification,
37
+ Exclude<keyof FilterSpecification, "ExpressionAttributeValues">
38
+ > & {
39
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
40
+ })
41
+ | undefined;
42
+ })
43
+ | undefined;
44
+ };
45
+ export declare class ExportTableToPointInTimeCommand extends DynamoDBDocumentClientCommand<
46
+ ExportTableToPointInTimeCommandInput,
47
+ ExportTableToPointInTimeCommandOutput,
48
+ __ExportTableToPointInTimeCommandInput,
49
+ __ExportTableToPointInTimeCommandOutput,
50
+ DynamoDBDocumentClientResolvedConfig
51
+ > {
52
+ readonly input: ExportTableToPointInTimeCommandInput;
53
+ protected readonly inputKeyNodes: {
54
+ FilterSpecification: {
55
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
56
+ };
57
+ };
58
+ protected readonly outputKeyNodes: {
59
+ ExportDescription: {
60
+ FilterSpecification: {
61
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
62
+ };
63
+ };
64
+ };
65
+ protected readonly clientCommand: __ExportTableToPointInTimeCommand;
66
+ readonly middlewareStack: MiddlewareStack<
67
+ ExportTableToPointInTimeCommandInput | __ExportTableToPointInTimeCommandInput,
68
+ ExportTableToPointInTimeCommandOutput | __ExportTableToPointInTimeCommandOutput
69
+ >;
70
+ constructor(input: ExportTableToPointInTimeCommandInput);
71
+ resolveMiddleware(
72
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
+ configuration: DynamoDBDocumentClientResolvedConfig,
74
+ options?: __HttpHandlerOptions,
75
+ ): Handler<ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput>;
76
+ }
77
+ import {
78
+ ExportDescription,
79
+ ExportTableToPointInTimeCommandInput as __ExportTableToPointInTimeCommandInput,
80
+ ExportTableToPointInTimeCommandOutput as __ExportTableToPointInTimeCommandOutput,
81
+ FilterSpecification,
82
+ } from "@aws-sdk/client-dynamodb";
83
+ import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
@@ -2,8 +2,10 @@ export * from "./BatchExecuteStatementCommand";
2
2
  export * from "./BatchGetCommand";
3
3
  export * from "./BatchWriteCommand";
4
4
  export * from "./DeleteCommand";
5
+ export * from "./DescribeExportCommand";
5
6
  export * from "./ExecuteStatementCommand";
6
7
  export * from "./ExecuteTransactionCommand";
8
+ export * from "./ExportTableToPointInTimeCommand";
7
9
  export * from "./GetCommand";
8
10
  export * from "./PutCommand";
9
11
  export * from "./QueryCommand";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/lib-dynamodb",
3
- "version": "3.1143.0",
3
+ "version": "3.1145.0",
4
4
  "description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-dynamodb",
6
6
  "license": "Apache-2.0",
@@ -50,7 +50,7 @@
50
50
  "tslib": "^2.6.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@aws-sdk/client-dynamodb": "3.1143.0",
53
+ "@aws-sdk/client-dynamodb": "3.1145.0",
54
54
  "@tsconfig/recommended": "1.0.1",
55
55
  "@types/node": "^20.14.8",
56
56
  "concurrently": "7.0.0",
@@ -59,7 +59,7 @@
59
59
  "typescript": "~7.0.2"
60
60
  },
61
61
  "peerDependencies": {
62
- "@aws-sdk/client-dynamodb": "^3.1143.0"
62
+ "@aws-sdk/client-dynamodb": "^3.1145.0"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=20.0.0"