@aws-sdk/lib-dynamodb 3.337.0 → 3.341.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 (65) hide show
  1. package/dist-cjs/DynamoDBDocumentClient.js +2 -1
  2. package/dist-cjs/commands/BatchExecuteStatementCommand.js +4 -1
  3. package/dist-cjs/commands/BatchGetCommand.js +4 -1
  4. package/dist-cjs/commands/BatchWriteCommand.js +4 -1
  5. package/dist-cjs/commands/DeleteCommand.js +4 -1
  6. package/dist-cjs/commands/ExecuteStatementCommand.js +4 -1
  7. package/dist-cjs/commands/ExecuteTransactionCommand.js +4 -1
  8. package/dist-cjs/commands/GetCommand.js +4 -1
  9. package/dist-cjs/commands/PutCommand.js +4 -1
  10. package/dist-cjs/commands/QueryCommand.js +4 -1
  11. package/dist-cjs/commands/ScanCommand.js +4 -1
  12. package/dist-cjs/commands/TransactGetCommand.js +4 -1
  13. package/dist-cjs/commands/TransactWriteCommand.js +4 -1
  14. package/dist-cjs/commands/UpdateCommand.js +4 -1
  15. package/dist-es/DynamoDBDocumentClient.js +1 -0
  16. package/dist-es/commands/BatchExecuteStatementCommand.js +2 -0
  17. package/dist-es/commands/BatchGetCommand.js +2 -0
  18. package/dist-es/commands/BatchWriteCommand.js +2 -0
  19. package/dist-es/commands/DeleteCommand.js +2 -0
  20. package/dist-es/commands/ExecuteStatementCommand.js +2 -0
  21. package/dist-es/commands/ExecuteTransactionCommand.js +2 -0
  22. package/dist-es/commands/GetCommand.js +2 -0
  23. package/dist-es/commands/PutCommand.js +2 -0
  24. package/dist-es/commands/QueryCommand.js +2 -0
  25. package/dist-es/commands/ScanCommand.js +2 -0
  26. package/dist-es/commands/TransactGetCommand.js +2 -0
  27. package/dist-es/commands/TransactWriteCommand.js +2 -0
  28. package/dist-es/commands/UpdateCommand.js +2 -0
  29. package/dist-types/DynamoDBDocument.d.ts +14 -14
  30. package/dist-types/DynamoDBDocumentClient.d.ts +19 -1
  31. package/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts +2 -0
  32. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +14 -1
  33. package/dist-types/commands/BatchGetCommand.d.ts +14 -1
  34. package/dist-types/commands/BatchWriteCommand.d.ts +14 -1
  35. package/dist-types/commands/DeleteCommand.d.ts +14 -1
  36. package/dist-types/commands/ExecuteStatementCommand.d.ts +14 -1
  37. package/dist-types/commands/ExecuteTransactionCommand.d.ts +14 -1
  38. package/dist-types/commands/GetCommand.d.ts +14 -1
  39. package/dist-types/commands/PutCommand.d.ts +14 -1
  40. package/dist-types/commands/QueryCommand.d.ts +14 -1
  41. package/dist-types/commands/ScanCommand.d.ts +14 -1
  42. package/dist-types/commands/TransactGetCommand.d.ts +14 -1
  43. package/dist-types/commands/TransactWriteCommand.d.ts +14 -1
  44. package/dist-types/commands/UpdateCommand.d.ts +14 -1
  45. package/dist-types/pagination/Interfaces.d.ts +7 -0
  46. package/dist-types/pagination/QueryPaginator.d.ts +11 -0
  47. package/dist-types/pagination/ScanPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +1 -0
  49. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +2 -0
  50. package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +2 -0
  51. package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +2 -0
  52. package/dist-types/ts3.4/commands/DeleteCommand.d.ts +2 -0
  53. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +2 -0
  54. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +2 -0
  55. package/dist-types/ts3.4/commands/GetCommand.d.ts +2 -0
  56. package/dist-types/ts3.4/commands/PutCommand.d.ts +2 -0
  57. package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -0
  58. package/dist-types/ts3.4/commands/ScanCommand.d.ts +2 -0
  59. package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +2 -0
  60. package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +2 -0
  61. package/dist-types/ts3.4/commands/UpdateCommand.d.ts +2 -0
  62. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -0
  63. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +1 -0
  64. package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +1 -0
  65. package/package.json +6 -5
@@ -1,8 +1,16 @@
1
1
  import { DeleteItemCommand as __DeleteItemCommand, DeleteItemCommandInput as __DeleteItemCommandInput, DeleteItemCommandOutput as __DeleteItemCommandOutput, ExpectedAttributeValue, ItemCollectionMetrics } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
6
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export { DynamoDBDocumentClientCommand, $Command };
11
+ /**
12
+ * @public
13
+ */
6
14
  export type DeleteCommandInput = Omit<__DeleteItemCommandInput, "Key" | "Expected" | "ExpressionAttributeValues"> & {
7
15
  Key: Record<string, NativeAttributeValue> | undefined;
8
16
  Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
@@ -11,6 +19,9 @@ export type DeleteCommandInput = Omit<__DeleteItemCommandInput, "Key" | "Expecte
11
19
  }>;
12
20
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
13
21
  };
22
+ /**
23
+ * @public
24
+ */
14
25
  export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
15
26
  Attributes?: Record<string, NativeAttributeValue>;
16
27
  ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
@@ -19,10 +30,12 @@ export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, "Attributes" |
19
30
  };
20
31
  /**
21
32
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
22
- * DeleteItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
33
+ * DeleteItemCommand operation from {@link @aws-sdk/client-dynamodb#DeleteItemCommand}.
23
34
  *
24
35
  * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
25
36
  * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
37
+ *
38
+ * @public
26
39
  */
27
40
  export declare class DeleteCommand extends DynamoDBDocumentClientCommand<DeleteCommandInput, DeleteCommandOutput, __DeleteItemCommandInput, __DeleteItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
28
41
  readonly input: DeleteCommandInput;
@@ -1,21 +1,34 @@
1
1
  import { ExecuteStatementCommand as __ExecuteStatementCommand, ExecuteStatementCommandInput as __ExecuteStatementCommandInput, ExecuteStatementCommandOutput as __ExecuteStatementCommandOutput } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
6
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export { DynamoDBDocumentClientCommand, $Command };
11
+ /**
12
+ * @public
13
+ */
6
14
  export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput, "Parameters"> & {
7
15
  Parameters?: NativeAttributeValue[];
8
16
  };
17
+ /**
18
+ * @public
19
+ */
9
20
  export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey"> & {
10
21
  Items?: Record<string, NativeAttributeValue>[];
11
22
  LastEvaluatedKey?: Record<string, NativeAttributeValue>;
12
23
  };
13
24
  /**
14
25
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
15
- * ExecuteStatementCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
26
+ * ExecuteStatementCommand operation from {@link @aws-sdk/client-dynamodb#ExecuteStatementCommand}.
16
27
  *
17
28
  * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
18
29
  * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
30
+ *
31
+ * @public
19
32
  */
20
33
  export declare class ExecuteStatementCommand extends DynamoDBDocumentClientCommand<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, __ExecuteStatementCommandInput, __ExecuteStatementCommandOutput, DynamoDBDocumentClientResolvedConfig> {
21
34
  readonly input: ExecuteStatementCommandInput;
@@ -1,13 +1,24 @@
1
1
  import { ExecuteTransactionCommand as __ExecuteTransactionCommand, ExecuteTransactionCommandInput as __ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput as __ExecuteTransactionCommandOutput, ItemResponse, ParameterizedStatement } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
6
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export { DynamoDBDocumentClientCommand, $Command };
11
+ /**
12
+ * @public
13
+ */
6
14
  export type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCommandInput, "TransactStatements"> & {
7
15
  TransactStatements: (Omit<ParameterizedStatement, "Parameters"> & {
8
16
  Parameters?: NativeAttributeValue[];
9
17
  })[] | undefined;
10
18
  };
19
+ /**
20
+ * @public
21
+ */
11
22
  export type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOutput, "Responses"> & {
12
23
  Responses?: (Omit<ItemResponse, "Item"> & {
13
24
  Item?: Record<string, NativeAttributeValue>;
@@ -15,10 +26,12 @@ export type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOu
15
26
  };
16
27
  /**
17
28
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
18
- * ExecuteTransactionCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
29
+ * ExecuteTransactionCommand operation from {@link @aws-sdk/client-dynamodb#ExecuteTransactionCommand}.
19
30
  *
20
31
  * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
21
32
  * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
33
+ *
34
+ * @public
22
35
  */
23
36
  export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand<ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput, __ExecuteTransactionCommandInput, __ExecuteTransactionCommandOutput, DynamoDBDocumentClientResolvedConfig> {
24
37
  readonly input: ExecuteTransactionCommandInput;
@@ -1,20 +1,33 @@
1
1
  import { GetItemCommand as __GetItemCommand, GetItemCommandInput as __GetItemCommandInput, GetItemCommandOutput as __GetItemCommandOutput } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
6
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export { DynamoDBDocumentClientCommand, $Command };
11
+ /**
12
+ * @public
13
+ */
6
14
  export type GetCommandInput = Omit<__GetItemCommandInput, "Key"> & {
7
15
  Key: Record<string, NativeAttributeValue> | undefined;
8
16
  };
17
+ /**
18
+ * @public
19
+ */
9
20
  export type GetCommandOutput = Omit<__GetItemCommandOutput, "Item"> & {
10
21
  Item?: Record<string, NativeAttributeValue>;
11
22
  };
12
23
  /**
13
24
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
14
- * GetItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
25
+ * GetItemCommand operation from {@link @aws-sdk/client-dynamodb#GetItemCommand}.
15
26
  *
16
27
  * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
17
28
  * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
29
+ *
30
+ * @public
18
31
  */
19
32
  export declare class GetCommand extends DynamoDBDocumentClientCommand<GetCommandInput, GetCommandOutput, __GetItemCommandInput, __GetItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
20
33
  readonly input: GetCommandInput;
@@ -1,8 +1,16 @@
1
1
  import { ExpectedAttributeValue, ItemCollectionMetrics, PutItemCommand as __PutItemCommand, PutItemCommandInput as __PutItemCommandInput, PutItemCommandOutput as __PutItemCommandOutput } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
6
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export { DynamoDBDocumentClientCommand, $Command };
11
+ /**
12
+ * @public
13
+ */
6
14
  export type PutCommandInput = Omit<__PutItemCommandInput, "Item" | "Expected" | "ExpressionAttributeValues"> & {
7
15
  Item: Record<string, NativeAttributeValue> | undefined;
8
16
  Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
@@ -11,6 +19,9 @@ export type PutCommandInput = Omit<__PutItemCommandInput, "Item" | "Expected" |
11
19
  }>;
12
20
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
13
21
  };
22
+ /**
23
+ * @public
24
+ */
14
25
  export type PutCommandOutput = Omit<__PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
15
26
  Attributes?: Record<string, NativeAttributeValue>;
16
27
  ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
@@ -19,10 +30,12 @@ export type PutCommandOutput = Omit<__PutItemCommandOutput, "Attributes" | "Item
19
30
  };
20
31
  /**
21
32
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
22
- * PutItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
33
+ * PutItemCommand operation from {@link @aws-sdk/client-dynamodb#PutItemCommand}.
23
34
  *
24
35
  * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
25
36
  * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
37
+ *
38
+ * @public
26
39
  */
27
40
  export declare class PutCommand extends DynamoDBDocumentClientCommand<PutCommandInput, PutCommandOutput, __PutItemCommandInput, __PutItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
28
41
  readonly input: PutCommandInput;
@@ -1,8 +1,16 @@
1
1
  import { Condition, QueryCommand as __QueryCommand, QueryCommandInput as __QueryCommandInput, QueryCommandOutput as __QueryCommandOutput } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
6
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export { DynamoDBDocumentClientCommand, $Command };
11
+ /**
12
+ * @public
13
+ */
6
14
  export type QueryCommandInput = Omit<__QueryCommandInput, "KeyConditions" | "QueryFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
7
15
  KeyConditions?: Record<string, Omit<Condition, "AttributeValueList"> & {
8
16
  AttributeValueList?: NativeAttributeValue[];
@@ -13,16 +21,21 @@ export type QueryCommandInput = Omit<__QueryCommandInput, "KeyConditions" | "Que
13
21
  ExclusiveStartKey?: Record<string, NativeAttributeValue>;
14
22
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
15
23
  };
24
+ /**
25
+ * @public
26
+ */
16
27
  export type QueryCommandOutput = Omit<__QueryCommandOutput, "Items" | "LastEvaluatedKey"> & {
17
28
  Items?: Record<string, NativeAttributeValue>[];
18
29
  LastEvaluatedKey?: Record<string, NativeAttributeValue>;
19
30
  };
20
31
  /**
21
32
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
22
- * QueryCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
33
+ * QueryCommand operation from {@link @aws-sdk/client-dynamodb#QueryCommand}.
23
34
  *
24
35
  * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
25
36
  * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
37
+ *
38
+ * @public
26
39
  */
27
40
  export declare class QueryCommand extends DynamoDBDocumentClientCommand<QueryCommandInput, QueryCommandOutput, __QueryCommandInput, __QueryCommandOutput, DynamoDBDocumentClientResolvedConfig> {
28
41
  readonly input: QueryCommandInput;
@@ -1,8 +1,16 @@
1
1
  import { Condition, ScanCommand as __ScanCommand, ScanCommandInput as __ScanCommandInput, ScanCommandOutput as __ScanCommandOutput } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
6
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export { DynamoDBDocumentClientCommand, $Command };
11
+ /**
12
+ * @public
13
+ */
6
14
  export type ScanCommandInput = Omit<__ScanCommandInput, "ScanFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
7
15
  ScanFilter?: Record<string, Omit<Condition, "AttributeValueList"> & {
8
16
  AttributeValueList?: NativeAttributeValue[];
@@ -10,16 +18,21 @@ export type ScanCommandInput = Omit<__ScanCommandInput, "ScanFilter" | "Exclusiv
10
18
  ExclusiveStartKey?: Record<string, NativeAttributeValue>;
11
19
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
12
20
  };
21
+ /**
22
+ * @public
23
+ */
13
24
  export type ScanCommandOutput = Omit<__ScanCommandOutput, "Items" | "LastEvaluatedKey"> & {
14
25
  Items?: Record<string, NativeAttributeValue>[];
15
26
  LastEvaluatedKey?: Record<string, NativeAttributeValue>;
16
27
  };
17
28
  /**
18
29
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
19
- * ScanCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
30
+ * ScanCommand operation from {@link @aws-sdk/client-dynamodb#ScanCommand}.
20
31
  *
21
32
  * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
22
33
  * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
34
+ *
35
+ * @public
23
36
  */
24
37
  export declare class ScanCommand extends DynamoDBDocumentClientCommand<ScanCommandInput, ScanCommandOutput, __ScanCommandInput, __ScanCommandOutput, DynamoDBDocumentClientResolvedConfig> {
25
38
  readonly input: ScanCommandInput;
@@ -1,8 +1,16 @@
1
1
  import { Get, ItemResponse, TransactGetItem, TransactGetItemsCommand as __TransactGetItemsCommand, TransactGetItemsCommandInput as __TransactGetItemsCommandInput, TransactGetItemsCommandOutput as __TransactGetItemsCommandOutput } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
6
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export { DynamoDBDocumentClientCommand, $Command };
11
+ /**
12
+ * @public
13
+ */
6
14
  export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, "TransactItems"> & {
7
15
  TransactItems: (Omit<TransactGetItem, "Get"> & {
8
16
  Get: (Omit<Get, "Key"> & {
@@ -10,6 +18,9 @@ export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, "Tran
10
18
  }) | undefined;
11
19
  })[] | undefined;
12
20
  };
21
+ /**
22
+ * @public
23
+ */
13
24
  export type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, "Responses"> & {
14
25
  Responses?: (Omit<ItemResponse, "Item"> & {
15
26
  Item?: Record<string, NativeAttributeValue>;
@@ -17,10 +28,12 @@ export type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, "Re
17
28
  };
18
29
  /**
19
30
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
20
- * TransactGetItemsCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
31
+ * TransactGetItemsCommand operation from {@link @aws-sdk/client-dynamodb#TransactGetItemsCommand}.
21
32
  *
22
33
  * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
23
34
  * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
35
+ *
36
+ * @public
24
37
  */
25
38
  export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<TransactGetCommandInput, TransactGetCommandOutput, __TransactGetItemsCommandInput, __TransactGetItemsCommandOutput, DynamoDBDocumentClientResolvedConfig> {
26
39
  readonly input: TransactGetCommandInput;
@@ -1,8 +1,16 @@
1
1
  import { ConditionCheck, Delete, ItemCollectionMetrics, Put, TransactWriteItem, TransactWriteItemsCommand as __TransactWriteItemsCommand, TransactWriteItemsCommandInput as __TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput as __TransactWriteItemsCommandOutput, Update } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
6
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export { DynamoDBDocumentClientCommand, $Command };
11
+ /**
12
+ * @public
13
+ */
6
14
  export type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, "TransactItems"> & {
7
15
  TransactItems: (Omit<TransactWriteItem, "ConditionCheck" | "Put" | "Delete" | "Update"> & {
8
16
  ConditionCheck?: Omit<ConditionCheck, "Key" | "ExpressionAttributeValues"> & {
@@ -23,6 +31,9 @@ export type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, "
23
31
  };
24
32
  })[] | undefined;
25
33
  };
34
+ /**
35
+ * @public
36
+ */
26
37
  export type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput, "ItemCollectionMetrics"> & {
27
38
  ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
28
39
  ItemCollectionKey?: Record<string, NativeAttributeValue>;
@@ -30,10 +41,12 @@ export type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput,
30
41
  };
31
42
  /**
32
43
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
33
- * TransactWriteItemsCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
44
+ * TransactWriteItemsCommand operation from {@link @aws-sdk/client-dynamodb#TransactWriteItemsCommand}.
34
45
  *
35
46
  * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
36
47
  * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
48
+ *
49
+ * @public
37
50
  */
38
51
  export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand<TransactWriteCommandInput, TransactWriteCommandOutput, __TransactWriteItemsCommandInput, __TransactWriteItemsCommandOutput, DynamoDBDocumentClientResolvedConfig> {
39
52
  readonly input: TransactWriteCommandInput;
@@ -1,8 +1,16 @@
1
1
  import { AttributeValueUpdate, ExpectedAttributeValue, ItemCollectionMetrics, UpdateItemCommand as __UpdateItemCommand, UpdateItemCommandInput as __UpdateItemCommandInput, UpdateItemCommandOutput as __UpdateItemCommandOutput } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
6
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export { DynamoDBDocumentClientCommand, $Command };
11
+ /**
12
+ * @public
13
+ */
6
14
  export type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues"> & {
7
15
  Key: Record<string, NativeAttributeValue> | undefined;
8
16
  AttributeUpdates?: Record<string, Omit<AttributeValueUpdate, "Value"> & {
@@ -14,6 +22,9 @@ export type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "Attribu
14
22
  }>;
15
23
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
16
24
  };
25
+ /**
26
+ * @public
27
+ */
17
28
  export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
18
29
  Attributes?: Record<string, NativeAttributeValue>;
19
30
  ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
@@ -22,10 +33,12 @@ export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" |
22
33
  };
23
34
  /**
24
35
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
25
- * UpdateItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
36
+ * UpdateItemCommand operation from {@link @aws-sdk/client-dynamodb#UpdateItemCommand}.
26
37
  *
27
38
  * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
28
39
  * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
40
+ *
41
+ * @public
29
42
  */
30
43
  export declare class UpdateCommand extends DynamoDBDocumentClientCommand<UpdateCommandInput, UpdateCommandOutput, __UpdateItemCommandInput, __UpdateItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
31
44
  readonly input: UpdateCommandInput;
@@ -1,6 +1,13 @@
1
1
  import { PaginationConfiguration } from "@aws-sdk/types";
2
2
  import { DynamoDBDocument } from "../DynamoDBDocument";
3
3
  import { DynamoDBDocumentClient } from "../DynamoDBDocumentClient";
4
+ /**
5
+ * @public
6
+ */
7
+ export { PaginationConfiguration };
8
+ /**
9
+ * @public
10
+ */
4
11
  export interface DynamoDBDocumentPaginationConfiguration extends PaginationConfiguration {
5
12
  client: DynamoDBDocument | DynamoDBDocumentClient;
6
13
  }
@@ -1,4 +1,15 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand";
3
3
  import { DynamoDBDocumentPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export { Paginator };
8
+ /**
9
+ * @public
10
+ *
11
+ * @param QueryCommandInput - {@link QueryCommandInput}
12
+ * @returns {@link QueryCommandOutput}
13
+ *
14
+ */
4
15
  export declare function paginateQuery(config: DynamoDBDocumentPaginationConfiguration, input: QueryCommandInput, ...additionalArguments: any): Paginator<QueryCommandOutput>;
@@ -1,4 +1,15 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ScanCommandInput, ScanCommandOutput } from "../commands/ScanCommand";
3
3
  import { DynamoDBDocumentPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export { Paginator };
8
+ /**
9
+ * @public
10
+ *
11
+ * @param ScanCommandInput - {@link ScanCommandInput}
12
+ * @returns {@link ScanCommandOutput}
13
+ *
14
+ */
4
15
  export declare function paginateScan(config: DynamoDBDocumentPaginationConfiguration, input: ScanCommandInput, ...additionalArguments: any): Paginator<ScanCommandOutput>;
@@ -47,6 +47,7 @@ import {
47
47
  UpdateCommandInput,
48
48
  UpdateCommandOutput,
49
49
  } from "./commands/UpdateCommand";
50
+ export { __Client };
50
51
  export type ServiceInputTypes =
51
52
  | __ServiceInputTypes
52
53
  | BatchExecuteStatementCommandInput
@@ -5,6 +5,7 @@ import {
5
5
  BatchStatementRequest,
6
6
  BatchStatementResponse,
7
7
  } from "@aws-sdk/client-dynamodb";
8
+ import { Command as $Command } from "@aws-sdk/smithy-client";
8
9
  import {
9
10
  Handler,
10
11
  HttpHandlerOptions as __HttpHandlerOptions,
@@ -17,6 +18,7 @@ import {
17
18
  ServiceInputTypes,
18
19
  ServiceOutputTypes,
19
20
  } from "../DynamoDBDocumentClient";
21
+ export { DynamoDBDocumentClientCommand, $Command };
20
22
  export type BatchExecuteStatementCommandInput = Pick<
21
23
  __BatchExecuteStatementCommandInput,
22
24
  Exclude<keyof __BatchExecuteStatementCommandInput, "Statements">
@@ -4,6 +4,7 @@ import {
4
4
  BatchGetItemCommandOutput as __BatchGetItemCommandOutput,
5
5
  KeysAndAttributes,
6
6
  } from "@aws-sdk/client-dynamodb";
7
+ import { Command as $Command } from "@aws-sdk/smithy-client";
7
8
  import {
8
9
  Handler,
9
10
  HttpHandlerOptions as __HttpHandlerOptions,
@@ -16,6 +17,7 @@ import {
16
17
  ServiceInputTypes,
17
18
  ServiceOutputTypes,
18
19
  } from "../DynamoDBDocumentClient";
20
+ export { DynamoDBDocumentClientCommand, $Command };
19
21
  export type BatchGetCommandInput = Pick<
20
22
  __BatchGetItemCommandInput,
21
23
  Exclude<keyof __BatchGetItemCommandInput, "RequestItems">
@@ -7,6 +7,7 @@ import {
7
7
  PutRequest,
8
8
  WriteRequest,
9
9
  } from "@aws-sdk/client-dynamodb";
10
+ import { Command as $Command } from "@aws-sdk/smithy-client";
10
11
  import {
11
12
  Handler,
12
13
  HttpHandlerOptions as __HttpHandlerOptions,
@@ -19,6 +20,7 @@ import {
19
20
  ServiceInputTypes,
20
21
  ServiceOutputTypes,
21
22
  } from "../DynamoDBDocumentClient";
23
+ export { DynamoDBDocumentClientCommand, $Command };
22
24
  export type BatchWriteCommandInput = Pick<
23
25
  __BatchWriteItemCommandInput,
24
26
  Exclude<keyof __BatchWriteItemCommandInput, "RequestItems">
@@ -5,6 +5,7 @@ import {
5
5
  ExpectedAttributeValue,
6
6
  ItemCollectionMetrics,
7
7
  } from "@aws-sdk/client-dynamodb";
8
+ import { Command as $Command } from "@aws-sdk/smithy-client";
8
9
  import {
9
10
  Handler,
10
11
  HttpHandlerOptions as __HttpHandlerOptions,
@@ -17,6 +18,7 @@ import {
17
18
  ServiceInputTypes,
18
19
  ServiceOutputTypes,
19
20
  } from "../DynamoDBDocumentClient";
21
+ export { DynamoDBDocumentClientCommand, $Command };
20
22
  export type DeleteCommandInput = Pick<
21
23
  __DeleteItemCommandInput,
22
24
  Exclude<
@@ -3,6 +3,7 @@ import {
3
3
  ExecuteStatementCommandInput as __ExecuteStatementCommandInput,
4
4
  ExecuteStatementCommandOutput as __ExecuteStatementCommandOutput,
5
5
  } from "@aws-sdk/client-dynamodb";
6
+ import { Command as $Command } from "@aws-sdk/smithy-client";
6
7
  import {
7
8
  Handler,
8
9
  HttpHandlerOptions as __HttpHandlerOptions,
@@ -15,6 +16,7 @@ import {
15
16
  ServiceInputTypes,
16
17
  ServiceOutputTypes,
17
18
  } from "../DynamoDBDocumentClient";
19
+ export { DynamoDBDocumentClientCommand, $Command };
18
20
  export type ExecuteStatementCommandInput = Pick<
19
21
  __ExecuteStatementCommandInput,
20
22
  Exclude<keyof __ExecuteStatementCommandInput, "Parameters">
@@ -5,6 +5,7 @@ import {
5
5
  ItemResponse,
6
6
  ParameterizedStatement,
7
7
  } from "@aws-sdk/client-dynamodb";
8
+ import { Command as $Command } from "@aws-sdk/smithy-client";
8
9
  import {
9
10
  Handler,
10
11
  HttpHandlerOptions as __HttpHandlerOptions,
@@ -17,6 +18,7 @@ import {
17
18
  ServiceInputTypes,
18
19
  ServiceOutputTypes,
19
20
  } from "../DynamoDBDocumentClient";
21
+ export { DynamoDBDocumentClientCommand, $Command };
20
22
  export type ExecuteTransactionCommandInput = Pick<
21
23
  __ExecuteTransactionCommandInput,
22
24
  Exclude<keyof __ExecuteTransactionCommandInput, "TransactStatements">
@@ -3,6 +3,7 @@ import {
3
3
  GetItemCommandInput as __GetItemCommandInput,
4
4
  GetItemCommandOutput as __GetItemCommandOutput,
5
5
  } from "@aws-sdk/client-dynamodb";
6
+ import { Command as $Command } from "@aws-sdk/smithy-client";
6
7
  import {
7
8
  Handler,
8
9
  HttpHandlerOptions as __HttpHandlerOptions,
@@ -15,6 +16,7 @@ import {
15
16
  ServiceInputTypes,
16
17
  ServiceOutputTypes,
17
18
  } from "../DynamoDBDocumentClient";
19
+ export { DynamoDBDocumentClientCommand, $Command };
18
20
  export type GetCommandInput = Pick<
19
21
  __GetItemCommandInput,
20
22
  Exclude<keyof __GetItemCommandInput, "Key">
@@ -5,6 +5,7 @@ import {
5
5
  PutItemCommandInput as __PutItemCommandInput,
6
6
  PutItemCommandOutput as __PutItemCommandOutput,
7
7
  } from "@aws-sdk/client-dynamodb";
8
+ import { Command as $Command } from "@aws-sdk/smithy-client";
8
9
  import {
9
10
  Handler,
10
11
  HttpHandlerOptions as __HttpHandlerOptions,
@@ -17,6 +18,7 @@ import {
17
18
  ServiceInputTypes,
18
19
  ServiceOutputTypes,
19
20
  } from "../DynamoDBDocumentClient";
21
+ export { DynamoDBDocumentClientCommand, $Command };
20
22
  export type PutCommandInput = Pick<
21
23
  __PutItemCommandInput,
22
24
  Exclude<
@@ -4,6 +4,7 @@ import {
4
4
  QueryCommandInput as __QueryCommandInput,
5
5
  QueryCommandOutput as __QueryCommandOutput,
6
6
  } from "@aws-sdk/client-dynamodb";
7
+ import { Command as $Command } from "@aws-sdk/smithy-client";
7
8
  import {
8
9
  Handler,
9
10
  HttpHandlerOptions as __HttpHandlerOptions,
@@ -16,6 +17,7 @@ import {
16
17
  ServiceInputTypes,
17
18
  ServiceOutputTypes,
18
19
  } from "../DynamoDBDocumentClient";
20
+ export { DynamoDBDocumentClientCommand, $Command };
19
21
  export type QueryCommandInput = Pick<
20
22
  __QueryCommandInput,
21
23
  Exclude<
@@ -4,6 +4,7 @@ import {
4
4
  ScanCommandInput as __ScanCommandInput,
5
5
  ScanCommandOutput as __ScanCommandOutput,
6
6
  } from "@aws-sdk/client-dynamodb";
7
+ import { Command as $Command } from "@aws-sdk/smithy-client";
7
8
  import {
8
9
  Handler,
9
10
  HttpHandlerOptions as __HttpHandlerOptions,
@@ -16,6 +17,7 @@ import {
16
17
  ServiceInputTypes,
17
18
  ServiceOutputTypes,
18
19
  } from "../DynamoDBDocumentClient";
20
+ export { DynamoDBDocumentClientCommand, $Command };
19
21
  export type ScanCommandInput = Pick<
20
22
  __ScanCommandInput,
21
23
  Exclude<
@@ -6,6 +6,7 @@ import {
6
6
  TransactGetItemsCommandInput as __TransactGetItemsCommandInput,
7
7
  TransactGetItemsCommandOutput as __TransactGetItemsCommandOutput,
8
8
  } from "@aws-sdk/client-dynamodb";
9
+ import { Command as $Command } from "@aws-sdk/smithy-client";
9
10
  import {
10
11
  Handler,
11
12
  HttpHandlerOptions as __HttpHandlerOptions,
@@ -18,6 +19,7 @@ import {
18
19
  ServiceInputTypes,
19
20
  ServiceOutputTypes,
20
21
  } from "../DynamoDBDocumentClient";
22
+ export { DynamoDBDocumentClientCommand, $Command };
21
23
  export type TransactGetCommandInput = Pick<
22
24
  __TransactGetItemsCommandInput,
23
25
  Exclude<keyof __TransactGetItemsCommandInput, "TransactItems">