@aws-sdk/lib-dynamodb 3.1044.0 → 3.1046.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 (57) hide show
  1. package/dist-cjs/index.js +163 -163
  2. package/dist-es/DynamoDBDocument.js +4 -4
  3. package/dist-es/DynamoDBDocumentClient.js +3 -3
  4. package/dist-es/baseCommand/DynamoDBDocumentClientCommand.js +2 -2
  5. package/dist-es/commands/BatchExecuteStatementCommand.js +12 -12
  6. package/dist-es/commands/BatchGetCommand.js +16 -16
  7. package/dist-es/commands/BatchWriteCommand.js +26 -26
  8. package/dist-es/commands/DeleteCommand.js +11 -11
  9. package/dist-es/commands/ExecuteStatementCommand.js +6 -6
  10. package/dist-es/commands/ExecuteTransactionCommand.js +10 -10
  11. package/dist-es/commands/GetCommand.js +4 -4
  12. package/dist-es/commands/PutCommand.js +12 -12
  13. package/dist-es/commands/QueryCommand.js +15 -15
  14. package/dist-es/commands/ScanCommand.js +11 -11
  15. package/dist-es/commands/TransactGetCommand.js +11 -11
  16. package/dist-es/commands/TransactWriteCommand.js +23 -23
  17. package/dist-es/commands/UpdateCommand.js +16 -16
  18. package/dist-es/index.js +4 -4
  19. package/dist-types/DynamoDBDocument.d.ts +16 -15
  20. package/dist-types/DynamoDBDocumentClient.d.ts +16 -16
  21. package/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts +4 -4
  22. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +14 -13
  23. package/dist-types/commands/BatchGetCommand.d.ts +18 -17
  24. package/dist-types/commands/BatchWriteCommand.d.ts +24 -23
  25. package/dist-types/commands/DeleteCommand.d.ts +8 -8
  26. package/dist-types/commands/ExecuteStatementCommand.d.ts +10 -9
  27. package/dist-types/commands/ExecuteTransactionCommand.d.ts +12 -11
  28. package/dist-types/commands/GetCommand.d.ts +7 -6
  29. package/dist-types/commands/PutCommand.d.ts +12 -11
  30. package/dist-types/commands/QueryCommand.d.ts +15 -14
  31. package/dist-types/commands/ScanCommand.d.ts +12 -11
  32. package/dist-types/commands/TransactGetCommand.d.ts +13 -12
  33. package/dist-types/commands/TransactWriteCommand.d.ts +20 -19
  34. package/dist-types/commands/UpdateCommand.d.ts +14 -13
  35. package/dist-types/commands/utils.d.ts +1 -1
  36. package/dist-types/index.d.ts +4 -4
  37. package/dist-types/pagination/Interfaces.d.ts +2 -2
  38. package/dist-types/pagination/QueryPaginator.d.ts +2 -2
  39. package/dist-types/pagination/ScanPaginator.d.ts +2 -2
  40. package/dist-types/ts3.4/DynamoDBDocument.d.ts +3 -5
  41. package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +8 -8
  42. package/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +4 -7
  44. package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +4 -7
  45. package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +4 -7
  46. package/dist-types/ts3.4/commands/DeleteCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +4 -7
  48. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +4 -7
  49. package/dist-types/ts3.4/commands/GetCommand.d.ts +4 -7
  50. package/dist-types/ts3.4/commands/PutCommand.d.ts +4 -7
  51. package/dist-types/ts3.4/commands/QueryCommand.d.ts +4 -7
  52. package/dist-types/ts3.4/commands/ScanCommand.d.ts +4 -7
  53. package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +4 -7
  54. package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +4 -7
  55. package/dist-types/ts3.4/commands/UpdateCommand.d.ts +4 -7
  56. package/dist-types/ts3.4/index.d.ts +2 -2
  57. package/package.json +5 -6
@@ -1,43 +1,43 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
2
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
4
  import { ALL_VALUES } from "../commands/utils";
4
- import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class BatchWriteCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- 'RequestItems': {
10
- '*': {
11
- '*': {
12
- 'PutRequest': {
13
- 'Item': ALL_VALUES,
9
+ RequestItems: {
10
+ "*": {
11
+ "*": {
12
+ PutRequest: {
13
+ Item: ALL_VALUES,
14
14
  },
15
- 'DeleteRequest': {
16
- 'Key': ALL_VALUES,
15
+ DeleteRequest: {
16
+ Key: ALL_VALUES,
17
17
  },
18
- }
19
- }
18
+ },
19
+ },
20
20
  },
21
21
  };
22
22
  outputKeyNodes = {
23
- 'UnprocessedItems': {
24
- '*': {
25
- '*': {
26
- 'PutRequest': {
27
- 'Item': ALL_VALUES,
23
+ UnprocessedItems: {
24
+ "*": {
25
+ "*": {
26
+ PutRequest: {
27
+ Item: ALL_VALUES,
28
28
  },
29
- 'DeleteRequest': {
30
- 'Key': ALL_VALUES,
29
+ DeleteRequest: {
30
+ Key: ALL_VALUES,
31
31
  },
32
- }
33
- }
32
+ },
33
+ },
34
34
  },
35
- 'ItemCollectionMetrics': {
36
- '*': {
37
- '*': {
38
- 'ItemCollectionKey': ALL_VALUES,
39
- }
40
- }
35
+ ItemCollectionMetrics: {
36
+ "*": {
37
+ "*": {
38
+ ItemCollectionKey: ALL_VALUES,
39
+ },
40
+ },
41
41
  },
42
42
  };
43
43
  clientCommand;
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
3
  import { ALL_MEMBERS, ALL_VALUES, SELF } from "../commands/utils";
4
4
  import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
@@ -6,19 +6,19 @@ export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class DeleteCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- 'Key': ALL_VALUES,
10
- 'Expected': {
11
- '*': {
12
- 'Value': SELF,
13
- 'AttributeValueList': ALL_MEMBERS,
14
- }
9
+ Key: ALL_VALUES,
10
+ Expected: {
11
+ "*": {
12
+ Value: SELF,
13
+ AttributeValueList: ALL_MEMBERS,
14
+ },
15
15
  },
16
- 'ExpressionAttributeValues': ALL_VALUES,
16
+ ExpressionAttributeValues: ALL_VALUES,
17
17
  };
18
18
  outputKeyNodes = {
19
- 'Attributes': ALL_VALUES,
20
- 'ItemCollectionMetrics': {
21
- 'ItemCollectionKey': ALL_VALUES,
19
+ Attributes: ALL_VALUES,
20
+ ItemCollectionMetrics: {
21
+ ItemCollectionKey: ALL_VALUES,
22
22
  },
23
23
  };
24
24
  clientCommand;
@@ -1,18 +1,18 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
2
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
4
  import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils";
4
- import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class ExecuteStatementCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- 'Parameters': ALL_MEMBERS,
9
+ Parameters: ALL_MEMBERS,
10
10
  };
11
11
  outputKeyNodes = {
12
- 'Items': {
13
- '*': ALL_VALUES
12
+ Items: {
13
+ "*": ALL_VALUES,
14
14
  },
15
- 'LastEvaluatedKey': ALL_VALUES,
15
+ LastEvaluatedKey: ALL_VALUES,
16
16
  };
17
17
  clientCommand;
18
18
  middlewareStack;
@@ -1,22 +1,22 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
2
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
4
  import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils";
4
- import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- 'TransactStatements': {
10
- '*': {
11
- 'Parameters': ALL_MEMBERS,
12
- }
9
+ TransactStatements: {
10
+ "*": {
11
+ Parameters: ALL_MEMBERS,
12
+ },
13
13
  },
14
14
  };
15
15
  outputKeyNodes = {
16
- 'Responses': {
17
- '*': {
18
- 'Item': ALL_VALUES,
19
- }
16
+ Responses: {
17
+ "*": {
18
+ Item: ALL_VALUES,
19
+ },
20
20
  },
21
21
  };
22
22
  clientCommand;
@@ -1,15 +1,15 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
2
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
4
  import { ALL_VALUES } from "../commands/utils";
4
- import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class GetCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- 'Key': ALL_VALUES,
9
+ Key: ALL_VALUES,
10
10
  };
11
11
  outputKeyNodes = {
12
- 'Item': ALL_VALUES,
12
+ Item: ALL_VALUES,
13
13
  };
14
14
  clientCommand;
15
15
  middlewareStack;
@@ -1,24 +1,24 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
2
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
4
  import { ALL_MEMBERS, ALL_VALUES, SELF } from "../commands/utils";
4
- import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class PutCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- 'Item': ALL_VALUES,
10
- 'Expected': {
11
- '*': {
12
- 'Value': SELF,
13
- 'AttributeValueList': ALL_MEMBERS,
14
- }
9
+ Item: ALL_VALUES,
10
+ Expected: {
11
+ "*": {
12
+ Value: SELF,
13
+ AttributeValueList: ALL_MEMBERS,
14
+ },
15
15
  },
16
- 'ExpressionAttributeValues': ALL_VALUES,
16
+ ExpressionAttributeValues: ALL_VALUES,
17
17
  };
18
18
  outputKeyNodes = {
19
- 'Attributes': ALL_VALUES,
20
- 'ItemCollectionMetrics': {
21
- 'ItemCollectionKey': ALL_VALUES,
19
+ Attributes: ALL_VALUES,
20
+ ItemCollectionMetrics: {
21
+ ItemCollectionKey: ALL_VALUES,
22
22
  },
23
23
  };
24
24
  clientCommand;
@@ -1,29 +1,29 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
2
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
4
  import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils";
4
- import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class QueryCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- 'KeyConditions': {
10
- '*': {
11
- 'AttributeValueList': ALL_MEMBERS,
12
- }
9
+ KeyConditions: {
10
+ "*": {
11
+ AttributeValueList: ALL_MEMBERS,
12
+ },
13
13
  },
14
- 'QueryFilter': {
15
- '*': {
16
- 'AttributeValueList': ALL_MEMBERS,
17
- }
14
+ QueryFilter: {
15
+ "*": {
16
+ AttributeValueList: ALL_MEMBERS,
17
+ },
18
18
  },
19
- 'ExclusiveStartKey': ALL_VALUES,
20
- 'ExpressionAttributeValues': ALL_VALUES,
19
+ ExclusiveStartKey: ALL_VALUES,
20
+ ExpressionAttributeValues: ALL_VALUES,
21
21
  };
22
22
  outputKeyNodes = {
23
- 'Items': {
24
- '*': ALL_VALUES
23
+ Items: {
24
+ "*": ALL_VALUES,
25
25
  },
26
- 'LastEvaluatedKey': ALL_VALUES,
26
+ LastEvaluatedKey: ALL_VALUES,
27
27
  };
28
28
  clientCommand;
29
29
  middlewareStack;
@@ -1,24 +1,24 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
2
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
4
  import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils";
4
- import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class ScanCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- 'ScanFilter': {
10
- '*': {
11
- 'AttributeValueList': ALL_MEMBERS,
12
- }
9
+ ScanFilter: {
10
+ "*": {
11
+ AttributeValueList: ALL_MEMBERS,
12
+ },
13
13
  },
14
- 'ExclusiveStartKey': ALL_VALUES,
15
- 'ExpressionAttributeValues': ALL_VALUES,
14
+ ExclusiveStartKey: ALL_VALUES,
15
+ ExpressionAttributeValues: ALL_VALUES,
16
16
  };
17
17
  outputKeyNodes = {
18
- 'Items': {
19
- '*': ALL_VALUES
18
+ Items: {
19
+ "*": ALL_VALUES,
20
20
  },
21
- 'LastEvaluatedKey': ALL_VALUES,
21
+ LastEvaluatedKey: ALL_VALUES,
22
22
  };
23
23
  clientCommand;
24
24
  middlewareStack;
@@ -1,24 +1,24 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
2
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
4
  import { ALL_VALUES } from "../commands/utils";
4
- import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class TransactGetCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- 'TransactItems': {
10
- '*': {
11
- 'Get': {
12
- 'Key': ALL_VALUES,
9
+ TransactItems: {
10
+ "*": {
11
+ Get: {
12
+ Key: ALL_VALUES,
13
13
  },
14
- }
14
+ },
15
15
  },
16
16
  };
17
17
  outputKeyNodes = {
18
- 'Responses': {
19
- '*': {
20
- 'Item': ALL_VALUES,
21
- }
18
+ Responses: {
19
+ "*": {
20
+ Item: ALL_VALUES,
21
+ },
22
22
  },
23
23
  };
24
24
  clientCommand;
@@ -1,39 +1,39 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
2
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
4
  import { ALL_VALUES } from "../commands/utils";
4
- import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class TransactWriteCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- 'TransactItems': {
10
- '*': {
11
- 'ConditionCheck': {
12
- 'Key': ALL_VALUES,
13
- 'ExpressionAttributeValues': ALL_VALUES,
9
+ TransactItems: {
10
+ "*": {
11
+ ConditionCheck: {
12
+ Key: ALL_VALUES,
13
+ ExpressionAttributeValues: ALL_VALUES,
14
14
  },
15
- 'Put': {
16
- 'Item': ALL_VALUES,
17
- 'ExpressionAttributeValues': ALL_VALUES,
15
+ Put: {
16
+ Item: ALL_VALUES,
17
+ ExpressionAttributeValues: ALL_VALUES,
18
18
  },
19
- 'Delete': {
20
- 'Key': ALL_VALUES,
21
- 'ExpressionAttributeValues': ALL_VALUES,
19
+ Delete: {
20
+ Key: ALL_VALUES,
21
+ ExpressionAttributeValues: ALL_VALUES,
22
22
  },
23
- 'Update': {
24
- 'Key': ALL_VALUES,
25
- 'ExpressionAttributeValues': ALL_VALUES,
23
+ Update: {
24
+ Key: ALL_VALUES,
25
+ ExpressionAttributeValues: ALL_VALUES,
26
26
  },
27
- }
27
+ },
28
28
  },
29
29
  };
30
30
  outputKeyNodes = {
31
- 'ItemCollectionMetrics': {
32
- '*': {
33
- '*': {
34
- 'ItemCollectionKey': ALL_VALUES,
35
- }
36
- }
31
+ ItemCollectionMetrics: {
32
+ "*": {
33
+ "*": {
34
+ ItemCollectionKey: ALL_VALUES,
35
+ },
36
+ },
37
37
  },
38
38
  };
39
39
  clientCommand;
@@ -1,29 +1,29 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
2
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
3
4
  import { ALL_MEMBERS, ALL_VALUES, SELF } from "../commands/utils";
4
- import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class UpdateCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
8
8
  inputKeyNodes = {
9
- 'Key': ALL_VALUES,
10
- 'AttributeUpdates': {
11
- '*': {
12
- 'Value': SELF,
13
- }
9
+ Key: ALL_VALUES,
10
+ AttributeUpdates: {
11
+ "*": {
12
+ Value: SELF,
13
+ },
14
14
  },
15
- 'Expected': {
16
- '*': {
17
- 'Value': SELF,
18
- 'AttributeValueList': ALL_MEMBERS,
19
- }
15
+ Expected: {
16
+ "*": {
17
+ Value: SELF,
18
+ AttributeValueList: ALL_MEMBERS,
19
+ },
20
20
  },
21
- 'ExpressionAttributeValues': ALL_VALUES,
21
+ ExpressionAttributeValues: ALL_VALUES,
22
22
  };
23
23
  outputKeyNodes = {
24
- 'Attributes': ALL_VALUES,
25
- 'ItemCollectionMetrics': {
26
- 'ItemCollectionKey': ALL_VALUES,
24
+ Attributes: ALL_VALUES,
25
+ ItemCollectionMetrics: {
26
+ ItemCollectionKey: ALL_VALUES,
27
27
  },
28
28
  };
29
29
  clientCommand;
package/dist-es/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export * from './commands';
2
- export * from './pagination';
3
- export * from './DynamoDBDocumentClient';
4
- export * from './DynamoDBDocument';
1
+ export * from "./DynamoDBDocument";
2
+ export * from "./DynamoDBDocumentClient";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
5
  export { NumberValueImpl as NumberValue } from "@aws-sdk/util-dynamodb";
@@ -1,19 +1,20 @@
1
+ import type { DynamoDBClient } from "@aws-sdk/client-dynamodb";
1
2
  import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
- import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
3
- import { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
4
- import { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
5
- import { DeleteCommandInput, DeleteCommandOutput } from "./commands/DeleteCommand";
6
- import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
7
- import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
8
- import { GetCommandInput, GetCommandOutput } from "./commands/GetCommand";
9
- import { PutCommandInput, PutCommandOutput } from "./commands/PutCommand";
10
- import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
11
- import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
12
- import { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand";
13
- import { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand";
14
- import { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand";
15
- import { DynamoDBDocumentClient, TranslateConfig } from "./DynamoDBDocumentClient";
16
- import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
3
+ import type { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
4
+ import type { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
5
+ import type { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
6
+ import type { DeleteCommandInput, DeleteCommandOutput } from "./commands/DeleteCommand";
7
+ import type { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
8
+ import type { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
9
+ import type { GetCommandInput, GetCommandOutput } from "./commands/GetCommand";
10
+ import type { PutCommandInput, PutCommandOutput } from "./commands/PutCommand";
11
+ import type { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
12
+ import type { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
13
+ import type { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand";
14
+ import type { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand";
15
+ import type { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand";
16
+ import type { TranslateConfig } from "./DynamoDBDocumentClient";
17
+ import { DynamoDBDocumentClient } from "./DynamoDBDocumentClient";
17
18
  /**
18
19
  * The document client simplifies working with items in Amazon DynamoDB by
19
20
  * abstracting away the notion of attribute values. This abstraction annotates native
@@ -1,20 +1,20 @@
1
- import { Client as __Client } from "@smithy/smithy-client";
1
+ import type { DynamoDBClient, DynamoDBClientResolvedConfig, ServiceInputTypes as __ServiceInputTypes, ServiceOutputTypes as __ServiceOutputTypes } from "@aws-sdk/client-dynamodb";
2
+ import type { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
3
+ import { Client as __Client } from "@smithy/core/client";
2
4
  import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
3
- import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
4
- import { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
5
- import { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
6
- import { DeleteCommandInput, DeleteCommandOutput } from "./commands/DeleteCommand";
7
- import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
8
- import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
9
- import { GetCommandInput, GetCommandOutput } from "./commands/GetCommand";
10
- import { PutCommandInput, PutCommandOutput } from "./commands/PutCommand";
11
- import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
12
- import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
13
- import { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand";
14
- import { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand";
15
- import { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand";
16
- import { DynamoDBClient, DynamoDBClientResolvedConfig, ServiceInputTypes as __ServiceInputTypes, ServiceOutputTypes as __ServiceOutputTypes } from "@aws-sdk/client-dynamodb";
17
- import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
5
+ import type { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
6
+ import type { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
7
+ import type { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
8
+ import type { DeleteCommandInput, DeleteCommandOutput } from "./commands/DeleteCommand";
9
+ import type { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
10
+ import type { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
11
+ import type { GetCommandInput, GetCommandOutput } from "./commands/GetCommand";
12
+ import type { PutCommandInput, PutCommandOutput } from "./commands/PutCommand";
13
+ import type { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
14
+ import type { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
15
+ import type { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand";
16
+ import type { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand";
17
+ import type { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand";
18
18
  /**
19
19
  * @public
20
20
  */
@@ -1,7 +1,7 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MiddlewareStack } from "@smithy/types";
3
- import { KeyNodeChildren } from "../commands/utils";
4
- import { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MiddlewareStack } from "@smithy/types";
3
+ import type { KeyNodeChildren } from "../commands/utils";
4
+ import type { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient";
5
5
  /**
6
6
  * Base class for Commands in lib-dynamodb used to pass middleware to
7
7
  * the underlying DynamoDBClient Commands.
@@ -1,8 +1,9 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
3
- import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
- import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
1
  import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import type { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
5
+ import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
+ import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
7
  /**
7
8
  * @public
8
9
  */
@@ -10,19 +11,19 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type BatchExecuteStatementCommandInput = Omit<__BatchExecuteStatementCommandInput, 'Statements'> & {
14
- Statements: (Omit<BatchStatementRequest, 'Parameters'> & {
15
- Parameters?: (NativeAttributeValue)[] | undefined;
14
+ export type BatchExecuteStatementCommandInput = Omit<__BatchExecuteStatementCommandInput, "Statements"> & {
15
+ Statements: (Omit<BatchStatementRequest, "Parameters"> & {
16
+ Parameters?: NativeAttributeValue[] | undefined;
16
17
  })[] | undefined;
17
18
  };
18
19
  /**
19
20
  * @public
20
21
  */
21
- export type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCommandOutput, 'Responses'> & {
22
- Responses?: (Omit<BatchStatementResponse, 'Error' | 'Item'> & {
23
- Error?: Omit<BatchStatementError, 'Item'> & {
22
+ export type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCommandOutput, "Responses"> & {
23
+ Responses?: (Omit<BatchStatementResponse, "Error" | "Item"> & {
24
+ Error?: (Omit<BatchStatementError, "Item"> & {
24
25
  Item?: Record<string, NativeAttributeValue> | undefined;
25
- } | undefined;
26
+ }) | undefined;
26
27
  Item?: Record<string, NativeAttributeValue> | undefined;
27
28
  })[] | undefined;
28
29
  };
@@ -39,14 +40,14 @@ export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClient
39
40
  readonly input: BatchExecuteStatementCommandInput;
40
41
  protected readonly inputKeyNodes: {
41
42
  Statements: {
42
- '*': {
43
+ "*": {
43
44
  Parameters: import("../commands/utils").KeyNodeChildren;
44
45
  };
45
46
  };
46
47
  };
47
48
  protected readonly outputKeyNodes: {
48
49
  Responses: {
49
- '*': {
50
+ "*": {
50
51
  Error: {
51
52
  Item: import("../commands/utils").KeyNodeChildren;
52
53
  };