@aws-sdk/lib-dynamodb 3.294.0 → 3.295.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 (31) hide show
  1. package/dist-types/DynamoDBDocumentClient.d.ts +4 -4
  2. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +2 -2
  3. package/dist-types/commands/BatchGetCommand.d.ts +2 -2
  4. package/dist-types/commands/BatchWriteCommand.d.ts +2 -2
  5. package/dist-types/commands/DeleteCommand.d.ts +2 -2
  6. package/dist-types/commands/ExecuteStatementCommand.d.ts +2 -2
  7. package/dist-types/commands/ExecuteTransactionCommand.d.ts +2 -2
  8. package/dist-types/commands/GetCommand.d.ts +2 -2
  9. package/dist-types/commands/PutCommand.d.ts +2 -2
  10. package/dist-types/commands/QueryCommand.d.ts +2 -2
  11. package/dist-types/commands/ScanCommand.d.ts +2 -2
  12. package/dist-types/commands/TransactGetCommand.d.ts +2 -2
  13. package/dist-types/commands/TransactWriteCommand.d.ts +2 -2
  14. package/dist-types/commands/UpdateCommand.d.ts +2 -2
  15. package/dist-types/commands/utils.d.ts +4 -4
  16. package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +4 -4
  17. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +2 -2
  18. package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +2 -2
  19. package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +2 -2
  20. package/dist-types/ts3.4/commands/DeleteCommand.d.ts +2 -2
  21. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +2 -2
  22. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +2 -2
  23. package/dist-types/ts3.4/commands/GetCommand.d.ts +2 -2
  24. package/dist-types/ts3.4/commands/PutCommand.d.ts +2 -2
  25. package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -2
  26. package/dist-types/ts3.4/commands/ScanCommand.d.ts +2 -2
  27. package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +2 -2
  28. package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +2 -2
  29. package/dist-types/ts3.4/commands/UpdateCommand.d.ts +2 -2
  30. package/dist-types/ts3.4/commands/utils.d.ts +4 -4
  31. package/package.json +7 -7
@@ -15,13 +15,13 @@ import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
15
15
  import { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand";
16
16
  import { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand";
17
17
  import { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand";
18
- export declare type ServiceInputTypes = __ServiceInputTypes | BatchExecuteStatementCommandInput | BatchGetCommandInput | BatchWriteCommandInput | DeleteCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | GetCommandInput | PutCommandInput | QueryCommandInput | ScanCommandInput | TransactGetCommandInput | TransactWriteCommandInput | UpdateCommandInput;
19
- export declare type ServiceOutputTypes = __ServiceOutputTypes | BatchExecuteStatementCommandOutput | BatchGetCommandOutput | BatchWriteCommandOutput | DeleteCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | GetCommandOutput | PutCommandOutput | QueryCommandOutput | ScanCommandOutput | TransactGetCommandOutput | TransactWriteCommandOutput | UpdateCommandOutput;
20
- export declare type TranslateConfig = {
18
+ export type ServiceInputTypes = __ServiceInputTypes | BatchExecuteStatementCommandInput | BatchGetCommandInput | BatchWriteCommandInput | DeleteCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | GetCommandInput | PutCommandInput | QueryCommandInput | ScanCommandInput | TransactGetCommandInput | TransactWriteCommandInput | UpdateCommandInput;
19
+ export type ServiceOutputTypes = __ServiceOutputTypes | BatchExecuteStatementCommandOutput | BatchGetCommandOutput | BatchWriteCommandOutput | DeleteCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | GetCommandOutput | PutCommandOutput | QueryCommandOutput | ScanCommandOutput | TransactGetCommandOutput | TransactWriteCommandOutput | UpdateCommandOutput;
20
+ export type TranslateConfig = {
21
21
  marshallOptions?: marshallOptions;
22
22
  unmarshallOptions?: unmarshallOptions;
23
23
  };
24
- export declare type DynamoDBDocumentClientResolvedConfig = DynamoDBClientResolvedConfig & {
24
+ export type DynamoDBDocumentClientResolvedConfig = DynamoDBClientResolvedConfig & {
25
25
  translateConfig?: TranslateConfig;
26
26
  };
27
27
  /**
@@ -3,12 +3,12 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type BatchExecuteStatementCommandInput = Omit<__BatchExecuteStatementCommandInput, "Statements"> & {
6
+ export type BatchExecuteStatementCommandInput = Omit<__BatchExecuteStatementCommandInput, "Statements"> & {
7
7
  Statements: (Omit<BatchStatementRequest, "Parameters"> & {
8
8
  Parameters?: NativeAttributeValue[];
9
9
  })[] | undefined;
10
10
  };
11
- export declare type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCommandOutput, "Responses"> & {
11
+ export type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCommandOutput, "Responses"> & {
12
12
  Responses?: (Omit<BatchStatementResponse, "Item"> & {
13
13
  Item?: Record<string, NativeAttributeValue>;
14
14
  })[];
@@ -3,12 +3,12 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, "RequestItems"> & {
6
+ export type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, "RequestItems"> & {
7
7
  RequestItems: Record<string, Omit<KeysAndAttributes, "Keys"> & {
8
8
  Keys: Record<string, NativeAttributeValue>[] | undefined;
9
9
  }> | undefined;
10
10
  };
11
- export declare type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys"> & {
11
+ export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys"> & {
12
12
  Responses?: Record<string, Record<string, NativeAttributeValue>[]>;
13
13
  UnprocessedKeys?: Record<string, Omit<KeysAndAttributes, "Keys"> & {
14
14
  Keys: Record<string, NativeAttributeValue>[] | undefined;
@@ -3,7 +3,7 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, "RequestItems"> & {
6
+ export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, "RequestItems"> & {
7
7
  RequestItems: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
8
8
  PutRequest?: Omit<PutRequest, "Item"> & {
9
9
  Item: Record<string, NativeAttributeValue> | undefined;
@@ -13,7 +13,7 @@ export declare type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput,
13
13
  };
14
14
  })[]> | undefined;
15
15
  };
16
- export declare type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, "UnprocessedItems" | "ItemCollectionMetrics"> & {
16
+ export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, "UnprocessedItems" | "ItemCollectionMetrics"> & {
17
17
  UnprocessedItems?: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
18
18
  PutRequest?: Omit<PutRequest, "Item"> & {
19
19
  Item: Record<string, NativeAttributeValue> | undefined;
@@ -3,7 +3,7 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type DeleteCommandInput = Omit<__DeleteItemCommandInput, "Key" | "Expected" | "ExpressionAttributeValues"> & {
6
+ export type DeleteCommandInput = Omit<__DeleteItemCommandInput, "Key" | "Expected" | "ExpressionAttributeValues"> & {
7
7
  Key: Record<string, NativeAttributeValue> | undefined;
8
8
  Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
9
9
  Value?: NativeAttributeValue;
@@ -11,7 +11,7 @@ export declare type DeleteCommandInput = Omit<__DeleteItemCommandInput, "Key" |
11
11
  }>;
12
12
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
13
13
  };
14
- export declare type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
14
+ export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
15
15
  Attributes?: Record<string, NativeAttributeValue>;
16
16
  ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
17
17
  ItemCollectionKey?: Record<string, NativeAttributeValue>;
@@ -3,10 +3,10 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput, "Parameters"> & {
6
+ export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput, "Parameters"> & {
7
7
  Parameters?: NativeAttributeValue[];
8
8
  };
9
- export declare type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey"> & {
9
+ export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey"> & {
10
10
  Items?: Record<string, NativeAttributeValue>[];
11
11
  LastEvaluatedKey?: Record<string, NativeAttributeValue>;
12
12
  };
@@ -3,12 +3,12 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCommandInput, "TransactStatements"> & {
6
+ export type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCommandInput, "TransactStatements"> & {
7
7
  TransactStatements: (Omit<ParameterizedStatement, "Parameters"> & {
8
8
  Parameters?: NativeAttributeValue[];
9
9
  })[] | undefined;
10
10
  };
11
- export declare type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOutput, "Responses"> & {
11
+ export type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOutput, "Responses"> & {
12
12
  Responses?: (Omit<ItemResponse, "Item"> & {
13
13
  Item?: Record<string, NativeAttributeValue>;
14
14
  })[];
@@ -3,10 +3,10 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type GetCommandInput = Omit<__GetItemCommandInput, "Key"> & {
6
+ export type GetCommandInput = Omit<__GetItemCommandInput, "Key"> & {
7
7
  Key: Record<string, NativeAttributeValue> | undefined;
8
8
  };
9
- export declare type GetCommandOutput = Omit<__GetItemCommandOutput, "Item"> & {
9
+ export type GetCommandOutput = Omit<__GetItemCommandOutput, "Item"> & {
10
10
  Item?: Record<string, NativeAttributeValue>;
11
11
  };
12
12
  /**
@@ -3,7 +3,7 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type PutCommandInput = Omit<__PutItemCommandInput, "Item" | "Expected" | "ExpressionAttributeValues"> & {
6
+ export type PutCommandInput = Omit<__PutItemCommandInput, "Item" | "Expected" | "ExpressionAttributeValues"> & {
7
7
  Item: Record<string, NativeAttributeValue> | undefined;
8
8
  Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
9
9
  Value?: NativeAttributeValue;
@@ -11,7 +11,7 @@ export declare type PutCommandInput = Omit<__PutItemCommandInput, "Item" | "Expe
11
11
  }>;
12
12
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
13
13
  };
14
- export declare type PutCommandOutput = Omit<__PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
14
+ export type PutCommandOutput = Omit<__PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
15
15
  Attributes?: Record<string, NativeAttributeValue>;
16
16
  ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
17
17
  ItemCollectionKey?: Record<string, NativeAttributeValue>;
@@ -3,7 +3,7 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type QueryCommandInput = Omit<__QueryCommandInput, "KeyConditions" | "QueryFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
6
+ export type QueryCommandInput = Omit<__QueryCommandInput, "KeyConditions" | "QueryFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
7
7
  KeyConditions?: Record<string, Omit<Condition, "AttributeValueList"> & {
8
8
  AttributeValueList?: NativeAttributeValue[];
9
9
  }>;
@@ -13,7 +13,7 @@ export declare type QueryCommandInput = Omit<__QueryCommandInput, "KeyConditions
13
13
  ExclusiveStartKey?: Record<string, NativeAttributeValue>;
14
14
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
15
15
  };
16
- export declare type QueryCommandOutput = Omit<__QueryCommandOutput, "Items" | "LastEvaluatedKey"> & {
16
+ export type QueryCommandOutput = Omit<__QueryCommandOutput, "Items" | "LastEvaluatedKey"> & {
17
17
  Items?: Record<string, NativeAttributeValue>[];
18
18
  LastEvaluatedKey?: Record<string, NativeAttributeValue>;
19
19
  };
@@ -3,14 +3,14 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type ScanCommandInput = Omit<__ScanCommandInput, "ScanFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
6
+ export type ScanCommandInput = Omit<__ScanCommandInput, "ScanFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
7
7
  ScanFilter?: Record<string, Omit<Condition, "AttributeValueList"> & {
8
8
  AttributeValueList?: NativeAttributeValue[];
9
9
  }>;
10
10
  ExclusiveStartKey?: Record<string, NativeAttributeValue>;
11
11
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
12
12
  };
13
- export declare type ScanCommandOutput = Omit<__ScanCommandOutput, "Items" | "LastEvaluatedKey"> & {
13
+ export type ScanCommandOutput = Omit<__ScanCommandOutput, "Items" | "LastEvaluatedKey"> & {
14
14
  Items?: Record<string, NativeAttributeValue>[];
15
15
  LastEvaluatedKey?: Record<string, NativeAttributeValue>;
16
16
  };
@@ -3,14 +3,14 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, "TransactItems"> & {
6
+ export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, "TransactItems"> & {
7
7
  TransactItems: (Omit<TransactGetItem, "Get"> & {
8
8
  Get: (Omit<Get, "Key"> & {
9
9
  Key: Record<string, NativeAttributeValue> | undefined;
10
10
  }) | undefined;
11
11
  })[] | undefined;
12
12
  };
13
- export declare type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, "Responses"> & {
13
+ export type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, "Responses"> & {
14
14
  Responses?: (Omit<ItemResponse, "Item"> & {
15
15
  Item?: Record<string, NativeAttributeValue>;
16
16
  })[];
@@ -3,7 +3,7 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, "TransactItems"> & {
6
+ export type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, "TransactItems"> & {
7
7
  TransactItems: (Omit<TransactWriteItem, "ConditionCheck" | "Put" | "Delete" | "Update"> & {
8
8
  ConditionCheck?: Omit<ConditionCheck, "Key" | "ExpressionAttributeValues"> & {
9
9
  Key: Record<string, NativeAttributeValue> | undefined;
@@ -23,7 +23,7 @@ export declare type TransactWriteCommandInput = Omit<__TransactWriteItemsCommand
23
23
  };
24
24
  })[] | undefined;
25
25
  };
26
- export declare type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput, "ItemCollectionMetrics"> & {
26
+ export type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput, "ItemCollectionMetrics"> & {
27
27
  ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
28
28
  ItemCollectionKey?: Record<string, NativeAttributeValue>;
29
29
  })[]>;
@@ -3,7 +3,7 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
3
3
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
4
4
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
- export declare type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues"> & {
6
+ export type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues"> & {
7
7
  Key: Record<string, NativeAttributeValue> | undefined;
8
8
  AttributeUpdates?: Record<string, Omit<AttributeValueUpdate, "Value"> & {
9
9
  Value?: NativeAttributeValue;
@@ -14,7 +14,7 @@ export declare type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" |
14
14
  }>;
15
15
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
16
16
  };
17
- export declare type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
17
+ export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
18
18
  Attributes?: Record<string, NativeAttributeValue>;
19
19
  ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
20
20
  ItemCollectionKey?: Record<string, NativeAttributeValue>;
@@ -1,10 +1,10 @@
1
1
  import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
2
- export declare type KeyNode = {
2
+ export type KeyNode = {
3
3
  key: string;
4
4
  children?: KeyNode[] | AllNodes;
5
5
  };
6
- export declare type AllNodes = {
6
+ export type AllNodes = {
7
7
  children?: KeyNode[] | AllNodes;
8
8
  };
9
- export declare const marshallInput: (obj: any, keyNodes: KeyNode[], options?: marshallOptions | undefined) => any;
10
- export declare const unmarshallOutput: (obj: any, keyNodes: KeyNode[], options?: unmarshallOptions | undefined) => any;
9
+ export declare const marshallInput: (obj: any, keyNodes: KeyNode[], options?: marshallOptions) => any;
10
+ export declare const unmarshallOutput: (obj: any, keyNodes: KeyNode[], options?: unmarshallOptions) => any;
@@ -47,7 +47,7 @@ import {
47
47
  UpdateCommandInput,
48
48
  UpdateCommandOutput,
49
49
  } from "./commands/UpdateCommand";
50
- export declare type ServiceInputTypes =
50
+ export type ServiceInputTypes =
51
51
  | __ServiceInputTypes
52
52
  | BatchExecuteStatementCommandInput
53
53
  | BatchGetCommandInput
@@ -62,7 +62,7 @@ export declare type ServiceInputTypes =
62
62
  | TransactGetCommandInput
63
63
  | TransactWriteCommandInput
64
64
  | UpdateCommandInput;
65
- export declare type ServiceOutputTypes =
65
+ export type ServiceOutputTypes =
66
66
  | __ServiceOutputTypes
67
67
  | BatchExecuteStatementCommandOutput
68
68
  | BatchGetCommandOutput
@@ -77,11 +77,11 @@ export declare type ServiceOutputTypes =
77
77
  | TransactGetCommandOutput
78
78
  | TransactWriteCommandOutput
79
79
  | UpdateCommandOutput;
80
- export declare type TranslateConfig = {
80
+ export type TranslateConfig = {
81
81
  marshallOptions?: marshallOptions;
82
82
  unmarshallOptions?: unmarshallOptions;
83
83
  };
84
- export declare type DynamoDBDocumentClientResolvedConfig =
84
+ export type DynamoDBDocumentClientResolvedConfig =
85
85
  DynamoDBClientResolvedConfig & {
86
86
  translateConfig?: TranslateConfig;
87
87
  };
@@ -17,7 +17,7 @@ import {
17
17
  ServiceInputTypes,
18
18
  ServiceOutputTypes,
19
19
  } from "../DynamoDBDocumentClient";
20
- export declare type BatchExecuteStatementCommandInput = Pick<
20
+ export type BatchExecuteStatementCommandInput = Pick<
21
21
  __BatchExecuteStatementCommandInput,
22
22
  Exclude<keyof __BatchExecuteStatementCommandInput, "Statements">
23
23
  > & {
@@ -30,7 +30,7 @@ export declare type BatchExecuteStatementCommandInput = Pick<
30
30
  })[]
31
31
  | undefined;
32
32
  };
33
- export declare type BatchExecuteStatementCommandOutput = Pick<
33
+ export type BatchExecuteStatementCommandOutput = Pick<
34
34
  __BatchExecuteStatementCommandOutput,
35
35
  Exclude<keyof __BatchExecuteStatementCommandOutput, "Responses">
36
36
  > & {
@@ -16,7 +16,7 @@ import {
16
16
  ServiceInputTypes,
17
17
  ServiceOutputTypes,
18
18
  } from "../DynamoDBDocumentClient";
19
- export declare type BatchGetCommandInput = Pick<
19
+ export type BatchGetCommandInput = Pick<
20
20
  __BatchGetItemCommandInput,
21
21
  Exclude<keyof __BatchGetItemCommandInput, "RequestItems">
22
22
  > & {
@@ -29,7 +29,7 @@ export declare type BatchGetCommandInput = Pick<
29
29
  >
30
30
  | undefined;
31
31
  };
32
- export declare type BatchGetCommandOutput = Pick<
32
+ export type BatchGetCommandOutput = Pick<
33
33
  __BatchGetItemCommandOutput,
34
34
  Exclude<keyof __BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys">
35
35
  > & {
@@ -19,7 +19,7 @@ import {
19
19
  ServiceInputTypes,
20
20
  ServiceOutputTypes,
21
21
  } from "../DynamoDBDocumentClient";
22
- export declare type BatchWriteCommandInput = Pick<
22
+ export type BatchWriteCommandInput = Pick<
23
23
  __BatchWriteItemCommandInput,
24
24
  Exclude<keyof __BatchWriteItemCommandInput, "RequestItems">
25
25
  > & {
@@ -43,7 +43,7 @@ export declare type BatchWriteCommandInput = Pick<
43
43
  >
44
44
  | undefined;
45
45
  };
46
- export declare type BatchWriteCommandOutput = Pick<
46
+ export type BatchWriteCommandOutput = Pick<
47
47
  __BatchWriteItemCommandOutput,
48
48
  Exclude<
49
49
  keyof __BatchWriteItemCommandOutput,
@@ -17,7 +17,7 @@ import {
17
17
  ServiceInputTypes,
18
18
  ServiceOutputTypes,
19
19
  } from "../DynamoDBDocumentClient";
20
- export declare type DeleteCommandInput = Pick<
20
+ export type DeleteCommandInput = Pick<
21
21
  __DeleteItemCommandInput,
22
22
  Exclude<
23
23
  keyof __DeleteItemCommandInput,
@@ -37,7 +37,7 @@ export declare type DeleteCommandInput = Pick<
37
37
  >;
38
38
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
39
39
  };
40
- export declare type DeleteCommandOutput = Pick<
40
+ export type DeleteCommandOutput = Pick<
41
41
  __DeleteItemCommandOutput,
42
42
  Exclude<
43
43
  keyof __DeleteItemCommandOutput,
@@ -15,13 +15,13 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../DynamoDBDocumentClient";
18
- export declare type ExecuteStatementCommandInput = Pick<
18
+ export type ExecuteStatementCommandInput = Pick<
19
19
  __ExecuteStatementCommandInput,
20
20
  Exclude<keyof __ExecuteStatementCommandInput, "Parameters">
21
21
  > & {
22
22
  Parameters?: NativeAttributeValue[];
23
23
  };
24
- export declare type ExecuteStatementCommandOutput = Pick<
24
+ export type ExecuteStatementCommandOutput = Pick<
25
25
  __ExecuteStatementCommandOutput,
26
26
  Exclude<keyof __ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey">
27
27
  > & {
@@ -17,7 +17,7 @@ import {
17
17
  ServiceInputTypes,
18
18
  ServiceOutputTypes,
19
19
  } from "../DynamoDBDocumentClient";
20
- export declare type ExecuteTransactionCommandInput = Pick<
20
+ export type ExecuteTransactionCommandInput = Pick<
21
21
  __ExecuteTransactionCommandInput,
22
22
  Exclude<keyof __ExecuteTransactionCommandInput, "TransactStatements">
23
23
  > & {
@@ -30,7 +30,7 @@ export declare type ExecuteTransactionCommandInput = Pick<
30
30
  })[]
31
31
  | undefined;
32
32
  };
33
- export declare type ExecuteTransactionCommandOutput = Pick<
33
+ export type ExecuteTransactionCommandOutput = Pick<
34
34
  __ExecuteTransactionCommandOutput,
35
35
  Exclude<keyof __ExecuteTransactionCommandOutput, "Responses">
36
36
  > & {
@@ -15,13 +15,13 @@ import {
15
15
  ServiceInputTypes,
16
16
  ServiceOutputTypes,
17
17
  } from "../DynamoDBDocumentClient";
18
- export declare type GetCommandInput = Pick<
18
+ export type GetCommandInput = Pick<
19
19
  __GetItemCommandInput,
20
20
  Exclude<keyof __GetItemCommandInput, "Key">
21
21
  > & {
22
22
  Key: Record<string, NativeAttributeValue> | undefined;
23
23
  };
24
- export declare type GetCommandOutput = Pick<
24
+ export type GetCommandOutput = Pick<
25
25
  __GetItemCommandOutput,
26
26
  Exclude<keyof __GetItemCommandOutput, "Item">
27
27
  > & {
@@ -17,7 +17,7 @@ import {
17
17
  ServiceInputTypes,
18
18
  ServiceOutputTypes,
19
19
  } from "../DynamoDBDocumentClient";
20
- export declare type PutCommandInput = Pick<
20
+ export type PutCommandInput = Pick<
21
21
  __PutItemCommandInput,
22
22
  Exclude<
23
23
  keyof __PutItemCommandInput,
@@ -37,7 +37,7 @@ export declare type PutCommandInput = Pick<
37
37
  >;
38
38
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
39
39
  };
40
- export declare type PutCommandOutput = Pick<
40
+ export type PutCommandOutput = Pick<
41
41
  __PutItemCommandOutput,
42
42
  Exclude<keyof __PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics">
43
43
  > & {
@@ -16,7 +16,7 @@ import {
16
16
  ServiceInputTypes,
17
17
  ServiceOutputTypes,
18
18
  } from "../DynamoDBDocumentClient";
19
- export declare type QueryCommandInput = Pick<
19
+ export type QueryCommandInput = Pick<
20
20
  __QueryCommandInput,
21
21
  Exclude<
22
22
  keyof __QueryCommandInput,
@@ -41,7 +41,7 @@ export declare type QueryCommandInput = Pick<
41
41
  ExclusiveStartKey?: Record<string, NativeAttributeValue>;
42
42
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
43
43
  };
44
- export declare type QueryCommandOutput = Pick<
44
+ export type QueryCommandOutput = Pick<
45
45
  __QueryCommandOutput,
46
46
  Exclude<keyof __QueryCommandOutput, "Items" | "LastEvaluatedKey">
47
47
  > & {
@@ -16,7 +16,7 @@ import {
16
16
  ServiceInputTypes,
17
17
  ServiceOutputTypes,
18
18
  } from "../DynamoDBDocumentClient";
19
- export declare type ScanCommandInput = Pick<
19
+ export type ScanCommandInput = Pick<
20
20
  __ScanCommandInput,
21
21
  Exclude<
22
22
  keyof __ScanCommandInput,
@@ -32,7 +32,7 @@ export declare type ScanCommandInput = Pick<
32
32
  ExclusiveStartKey?: Record<string, NativeAttributeValue>;
33
33
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
34
34
  };
35
- export declare type ScanCommandOutput = Pick<
35
+ export type ScanCommandOutput = Pick<
36
36
  __ScanCommandOutput,
37
37
  Exclude<keyof __ScanCommandOutput, "Items" | "LastEvaluatedKey">
38
38
  > & {
@@ -18,7 +18,7 @@ import {
18
18
  ServiceInputTypes,
19
19
  ServiceOutputTypes,
20
20
  } from "../DynamoDBDocumentClient";
21
- export declare type TransactGetCommandInput = Pick<
21
+ export type TransactGetCommandInput = Pick<
22
22
  __TransactGetItemsCommandInput,
23
23
  Exclude<keyof __TransactGetItemsCommandInput, "TransactItems">
24
24
  > & {
@@ -32,7 +32,7 @@ export declare type TransactGetCommandInput = Pick<
32
32
  })[]
33
33
  | undefined;
34
34
  };
35
- export declare type TransactGetCommandOutput = Pick<
35
+ export type TransactGetCommandOutput = Pick<
36
36
  __TransactGetItemsCommandOutput,
37
37
  Exclude<keyof __TransactGetItemsCommandOutput, "Responses">
38
38
  > & {
@@ -21,7 +21,7 @@ import {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes,
23
23
  } from "../DynamoDBDocumentClient";
24
- export declare type TransactWriteCommandInput = Pick<
24
+ export type TransactWriteCommandInput = Pick<
25
25
  __TransactWriteItemsCommandInput,
26
26
  Exclude<keyof __TransactWriteItemsCommandInput, "TransactItems">
27
27
  > & {
@@ -64,7 +64,7 @@ export declare type TransactWriteCommandInput = Pick<
64
64
  })[]
65
65
  | undefined;
66
66
  };
67
- export declare type TransactWriteCommandOutput = Pick<
67
+ export type TransactWriteCommandOutput = Pick<
68
68
  __TransactWriteItemsCommandOutput,
69
69
  Exclude<keyof __TransactWriteItemsCommandOutput, "ItemCollectionMetrics">
70
70
  > & {
@@ -18,7 +18,7 @@ import {
18
18
  ServiceInputTypes,
19
19
  ServiceOutputTypes,
20
20
  } from "../DynamoDBDocumentClient";
21
- export declare type UpdateCommandInput = Pick<
21
+ export type UpdateCommandInput = Pick<
22
22
  __UpdateItemCommandInput,
23
23
  Exclude<
24
24
  keyof __UpdateItemCommandInput,
@@ -44,7 +44,7 @@ export declare type UpdateCommandInput = Pick<
44
44
  >;
45
45
  ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
46
46
  };
47
- export declare type UpdateCommandOutput = Pick<
47
+ export type UpdateCommandOutput = Pick<
48
48
  __UpdateItemCommandOutput,
49
49
  Exclude<
50
50
  keyof __UpdateItemCommandOutput,
@@ -1,18 +1,18 @@
1
1
  import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
2
- export declare type KeyNode = {
2
+ export type KeyNode = {
3
3
  key: string;
4
4
  children?: KeyNode[] | AllNodes;
5
5
  };
6
- export declare type AllNodes = {
6
+ export type AllNodes = {
7
7
  children?: KeyNode[] | AllNodes;
8
8
  };
9
9
  export declare const marshallInput: (
10
10
  obj: any,
11
11
  keyNodes: KeyNode[],
12
- options?: marshallOptions | undefined
12
+ options?: marshallOptions
13
13
  ) => any;
14
14
  export declare const unmarshallOutput: (
15
15
  obj: any,
16
16
  keyNodes: KeyNode[],
17
- options?: unmarshallOptions | undefined
17
+ options?: unmarshallOptions
18
18
  ) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/lib-dynamodb",
3
- "version": "3.294.0",
3
+ "version": "3.295.0",
4
4
  "description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/util-dynamodb": "3.294.0",
28
- "tslib": "^2.3.1"
27
+ "@aws-sdk/util-dynamodb": "3.295.0",
28
+ "tslib": "^2.5.0"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@aws-sdk/client-dynamodb": "^3.0.0",
@@ -33,16 +33,16 @@
33
33
  "@aws-sdk/types": "^3.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@aws-sdk/client-dynamodb": "3.294.0",
37
- "@aws-sdk/smithy-client": "3.292.0",
38
- "@aws-sdk/types": "3.292.0",
36
+ "@aws-sdk/client-dynamodb": "3.295.0",
37
+ "@aws-sdk/smithy-client": "3.295.0",
38
+ "@aws-sdk/types": "3.295.0",
39
39
  "@tsconfig/recommended": "1.0.1",
40
40
  "@types/node": "^14.11.2",
41
41
  "concurrently": "7.0.0",
42
42
  "downlevel-dts": "0.10.1",
43
43
  "rimraf": "3.0.2",
44
44
  "typedoc": "0.23.23",
45
- "typescript": "~4.6.2"
45
+ "typescript": "~4.9.5"
46
46
  },
47
47
  "typesVersions": {
48
48
  "<4.0": {