@aws-sdk/lib-dynamodb 3.100.0 → 3.105.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 (28) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +1 -3
  3. package/dist-types/commands/BatchGetCommand.d.ts +7 -19
  4. package/dist-types/commands/BatchWriteCommand.d.ts +19 -35
  5. package/dist-types/commands/DeleteCommand.d.ts +8 -18
  6. package/dist-types/commands/ExecuteStatementCommand.d.ts +2 -6
  7. package/dist-types/commands/ExecuteTransactionCommand.d.ts +1 -3
  8. package/dist-types/commands/GetCommand.d.ts +2 -6
  9. package/dist-types/commands/PutCommand.d.ts +8 -18
  10. package/dist-types/commands/QueryCommand.d.ts +10 -22
  11. package/dist-types/commands/ScanCommand.d.ts +7 -17
  12. package/dist-types/commands/TransactGetCommand.d.ts +2 -6
  13. package/dist-types/commands/TransactWriteCommand.d.ts +11 -31
  14. package/dist-types/commands/UpdateCommand.d.ts +11 -23
  15. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +1 -3
  16. package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +7 -19
  17. package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +19 -35
  18. package/dist-types/ts3.4/commands/DeleteCommand.d.ts +8 -18
  19. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +2 -6
  20. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +1 -3
  21. package/dist-types/ts3.4/commands/GetCommand.d.ts +2 -6
  22. package/dist-types/ts3.4/commands/PutCommand.d.ts +8 -18
  23. package/dist-types/ts3.4/commands/QueryCommand.d.ts +10 -22
  24. package/dist-types/ts3.4/commands/ScanCommand.d.ts +7 -17
  25. package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +2 -6
  26. package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +11 -31
  27. package/dist-types/ts3.4/commands/UpdateCommand.d.ts +11 -23
  28. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/lib-dynamodb
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/lib-dynamodb
@@ -10,9 +10,7 @@ export declare type BatchExecuteStatementCommandInput = Omit<__BatchExecuteState
10
10
  };
11
11
  export declare type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCommandOutput, "Responses"> & {
12
12
  Responses?: (Omit<BatchStatementResponse, "Item"> & {
13
- Item?: {
14
- [key: string]: NativeAttributeValue;
15
- };
13
+ Item?: Record<string, NativeAttributeValue>;
16
14
  })[];
17
15
  };
18
16
  /**
@@ -4,27 +4,15 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, "RequestItems"> & {
7
- RequestItems: {
8
- [key: string]: Omit<KeysAndAttributes, "Keys"> & {
9
- Keys: {
10
- [key: string]: NativeAttributeValue;
11
- }[] | undefined;
12
- };
13
- } | undefined;
7
+ RequestItems: Record<string, Omit<KeysAndAttributes, "Keys"> & {
8
+ Keys: Record<string, NativeAttributeValue>[] | undefined;
9
+ }> | undefined;
14
10
  };
15
11
  export declare type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys"> & {
16
- Responses?: {
17
- [key: string]: {
18
- [key: string]: NativeAttributeValue;
19
- }[];
20
- };
21
- UnprocessedKeys?: {
22
- [key: string]: Omit<KeysAndAttributes, "Keys"> & {
23
- Keys: {
24
- [key: string]: NativeAttributeValue;
25
- }[] | undefined;
26
- };
27
- };
12
+ Responses?: Record<string, Record<string, NativeAttributeValue>[]>;
13
+ UnprocessedKeys?: Record<string, Omit<KeysAndAttributes, "Keys"> & {
14
+ Keys: Record<string, NativeAttributeValue>[] | undefined;
15
+ }>;
28
16
  };
29
17
  /**
30
18
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -4,43 +4,27 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, "RequestItems"> & {
7
- RequestItems: {
8
- [key: string]: (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
9
- PutRequest?: Omit<PutRequest, "Item"> & {
10
- Item: {
11
- [key: string]: NativeAttributeValue;
12
- } | undefined;
13
- };
14
- DeleteRequest?: Omit<DeleteRequest, "Key"> & {
15
- Key: {
16
- [key: string]: NativeAttributeValue;
17
- } | undefined;
18
- };
19
- })[];
20
- } | undefined;
7
+ RequestItems: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
8
+ PutRequest?: Omit<PutRequest, "Item"> & {
9
+ Item: Record<string, NativeAttributeValue> | undefined;
10
+ };
11
+ DeleteRequest?: Omit<DeleteRequest, "Key"> & {
12
+ Key: Record<string, NativeAttributeValue> | undefined;
13
+ };
14
+ })[]> | undefined;
21
15
  };
22
16
  export declare type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, "UnprocessedItems" | "ItemCollectionMetrics"> & {
23
- UnprocessedItems?: {
24
- [key: string]: (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
25
- PutRequest?: Omit<PutRequest, "Item"> & {
26
- Item: {
27
- [key: string]: NativeAttributeValue;
28
- } | undefined;
29
- };
30
- DeleteRequest?: Omit<DeleteRequest, "Key"> & {
31
- Key: {
32
- [key: string]: NativeAttributeValue;
33
- } | undefined;
34
- };
35
- })[];
36
- };
37
- ItemCollectionMetrics?: {
38
- [key: string]: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
39
- ItemCollectionKey?: {
40
- [key: string]: NativeAttributeValue;
41
- };
42
- })[];
43
- };
17
+ UnprocessedItems?: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
18
+ PutRequest?: Omit<PutRequest, "Item"> & {
19
+ Item: Record<string, NativeAttributeValue> | undefined;
20
+ };
21
+ DeleteRequest?: Omit<DeleteRequest, "Key"> & {
22
+ Key: Record<string, NativeAttributeValue> | undefined;
23
+ };
24
+ })[]>;
25
+ ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
26
+ ItemCollectionKey?: Record<string, NativeAttributeValue>;
27
+ })[]>;
44
28
  };
45
29
  /**
46
30
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -4,27 +4,17 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type DeleteCommandInput = Omit<__DeleteItemCommandInput, "Key" | "Expected" | "ExpressionAttributeValues"> & {
7
- Key: {
8
- [key: string]: NativeAttributeValue;
9
- } | undefined;
10
- Expected?: {
11
- [key: string]: Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
12
- Value?: NativeAttributeValue;
13
- AttributeValueList?: NativeAttributeValue[];
14
- };
15
- };
16
- ExpressionAttributeValues?: {
17
- [key: string]: NativeAttributeValue;
18
- };
7
+ Key: Record<string, NativeAttributeValue> | undefined;
8
+ Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
9
+ Value?: NativeAttributeValue;
10
+ AttributeValueList?: NativeAttributeValue[];
11
+ }>;
12
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
19
13
  };
20
14
  export declare type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
21
- Attributes?: {
22
- [key: string]: NativeAttributeValue;
23
- };
15
+ Attributes?: Record<string, NativeAttributeValue>;
24
16
  ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
25
- ItemCollectionKey?: {
26
- [key: string]: NativeAttributeValue;
27
- };
17
+ ItemCollectionKey?: Record<string, NativeAttributeValue>;
28
18
  };
29
19
  };
30
20
  /**
@@ -7,12 +7,8 @@ export declare type ExecuteStatementCommandInput = Omit<__ExecuteStatementComman
7
7
  Parameters?: NativeAttributeValue[];
8
8
  };
9
9
  export declare type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey"> & {
10
- Items?: {
11
- [key: string]: NativeAttributeValue;
12
- }[];
13
- LastEvaluatedKey?: {
14
- [key: string]: NativeAttributeValue;
15
- };
10
+ Items?: Record<string, NativeAttributeValue>[];
11
+ LastEvaluatedKey?: Record<string, NativeAttributeValue>;
16
12
  };
17
13
  /**
18
14
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -10,9 +10,7 @@ export declare type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCo
10
10
  };
11
11
  export declare type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOutput, "Responses"> & {
12
12
  Responses?: (Omit<ItemResponse, "Item"> & {
13
- Item?: {
14
- [key: string]: NativeAttributeValue;
15
- };
13
+ Item?: Record<string, NativeAttributeValue>;
16
14
  })[];
17
15
  };
18
16
  /**
@@ -4,14 +4,10 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type GetCommandInput = Omit<__GetItemCommandInput, "Key"> & {
7
- Key: {
8
- [key: string]: NativeAttributeValue;
9
- } | undefined;
7
+ Key: Record<string, NativeAttributeValue> | undefined;
10
8
  };
11
9
  export declare type GetCommandOutput = Omit<__GetItemCommandOutput, "Item"> & {
12
- Item?: {
13
- [key: string]: NativeAttributeValue;
14
- };
10
+ Item?: Record<string, NativeAttributeValue>;
15
11
  };
16
12
  /**
17
13
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -4,27 +4,17 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type PutCommandInput = Omit<__PutItemCommandInput, "Item" | "Expected" | "ExpressionAttributeValues"> & {
7
- Item: {
8
- [key: string]: NativeAttributeValue;
9
- } | undefined;
10
- Expected?: {
11
- [key: string]: Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
12
- Value?: NativeAttributeValue;
13
- AttributeValueList?: NativeAttributeValue[];
14
- };
15
- };
16
- ExpressionAttributeValues?: {
17
- [key: string]: NativeAttributeValue;
18
- };
7
+ Item: Record<string, NativeAttributeValue> | undefined;
8
+ Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
9
+ Value?: NativeAttributeValue;
10
+ AttributeValueList?: NativeAttributeValue[];
11
+ }>;
12
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
19
13
  };
20
14
  export declare type PutCommandOutput = Omit<__PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
21
- Attributes?: {
22
- [key: string]: NativeAttributeValue;
23
- };
15
+ Attributes?: Record<string, NativeAttributeValue>;
24
16
  ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
25
- ItemCollectionKey?: {
26
- [key: string]: NativeAttributeValue;
27
- };
17
+ ItemCollectionKey?: Record<string, NativeAttributeValue>;
28
18
  };
29
19
  };
30
20
  /**
@@ -4,30 +4,18 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type QueryCommandInput = Omit<__QueryCommandInput, "KeyConditions" | "QueryFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
7
- KeyConditions?: {
8
- [key: string]: Omit<Condition, "AttributeValueList"> & {
9
- AttributeValueList?: NativeAttributeValue[];
10
- };
11
- };
12
- QueryFilter?: {
13
- [key: string]: Omit<Condition, "AttributeValueList"> & {
14
- AttributeValueList?: NativeAttributeValue[];
15
- };
16
- };
17
- ExclusiveStartKey?: {
18
- [key: string]: NativeAttributeValue;
19
- };
20
- ExpressionAttributeValues?: {
21
- [key: string]: NativeAttributeValue;
22
- };
7
+ KeyConditions?: Record<string, Omit<Condition, "AttributeValueList"> & {
8
+ AttributeValueList?: NativeAttributeValue[];
9
+ }>;
10
+ QueryFilter?: Record<string, Omit<Condition, "AttributeValueList"> & {
11
+ AttributeValueList?: NativeAttributeValue[];
12
+ }>;
13
+ ExclusiveStartKey?: Record<string, NativeAttributeValue>;
14
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
23
15
  };
24
16
  export declare type QueryCommandOutput = Omit<__QueryCommandOutput, "Items" | "LastEvaluatedKey"> & {
25
- Items?: {
26
- [key: string]: NativeAttributeValue;
27
- }[];
28
- LastEvaluatedKey?: {
29
- [key: string]: NativeAttributeValue;
30
- };
17
+ Items?: Record<string, NativeAttributeValue>[];
18
+ LastEvaluatedKey?: Record<string, NativeAttributeValue>;
31
19
  };
32
20
  /**
33
21
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -4,25 +4,15 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type ScanCommandInput = Omit<__ScanCommandInput, "ScanFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
7
- ScanFilter?: {
8
- [key: string]: Omit<Condition, "AttributeValueList"> & {
9
- AttributeValueList?: NativeAttributeValue[];
10
- };
11
- };
12
- ExclusiveStartKey?: {
13
- [key: string]: NativeAttributeValue;
14
- };
15
- ExpressionAttributeValues?: {
16
- [key: string]: NativeAttributeValue;
17
- };
7
+ ScanFilter?: Record<string, Omit<Condition, "AttributeValueList"> & {
8
+ AttributeValueList?: NativeAttributeValue[];
9
+ }>;
10
+ ExclusiveStartKey?: Record<string, NativeAttributeValue>;
11
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
18
12
  };
19
13
  export declare type ScanCommandOutput = Omit<__ScanCommandOutput, "Items" | "LastEvaluatedKey"> & {
20
- Items?: {
21
- [key: string]: NativeAttributeValue;
22
- }[];
23
- LastEvaluatedKey?: {
24
- [key: string]: NativeAttributeValue;
25
- };
14
+ Items?: Record<string, NativeAttributeValue>[];
15
+ LastEvaluatedKey?: Record<string, NativeAttributeValue>;
26
16
  };
27
17
  /**
28
18
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -6,17 +6,13 @@ import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputT
6
6
  export declare type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, "TransactItems"> & {
7
7
  TransactItems: (Omit<TransactGetItem, "Get"> & {
8
8
  Get: (Omit<Get, "Key"> & {
9
- Key: {
10
- [key: string]: NativeAttributeValue;
11
- } | undefined;
9
+ Key: Record<string, NativeAttributeValue> | undefined;
12
10
  }) | undefined;
13
11
  })[] | undefined;
14
12
  };
15
13
  export declare type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, "Responses"> & {
16
14
  Responses?: (Omit<ItemResponse, "Item"> & {
17
- Item?: {
18
- [key: string]: NativeAttributeValue;
19
- };
15
+ Item?: Record<string, NativeAttributeValue>;
20
16
  })[];
21
17
  };
22
18
  /**
@@ -6,47 +6,27 @@ import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputT
6
6
  export declare type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, "TransactItems"> & {
7
7
  TransactItems: (Omit<TransactWriteItem, "ConditionCheck" | "Put" | "Delete" | "Update"> & {
8
8
  ConditionCheck?: Omit<ConditionCheck, "Key" | "ExpressionAttributeValues"> & {
9
- Key: {
10
- [key: string]: NativeAttributeValue;
11
- } | undefined;
12
- ExpressionAttributeValues?: {
13
- [key: string]: NativeAttributeValue;
14
- };
9
+ Key: Record<string, NativeAttributeValue> | undefined;
10
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
15
11
  };
16
12
  Put?: Omit<Put, "Item" | "ExpressionAttributeValues"> & {
17
- Item: {
18
- [key: string]: NativeAttributeValue;
19
- } | undefined;
20
- ExpressionAttributeValues?: {
21
- [key: string]: NativeAttributeValue;
22
- };
13
+ Item: Record<string, NativeAttributeValue> | undefined;
14
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
23
15
  };
24
16
  Delete?: Omit<Delete, "Key" | "ExpressionAttributeValues"> & {
25
- Key: {
26
- [key: string]: NativeAttributeValue;
27
- } | undefined;
28
- ExpressionAttributeValues?: {
29
- [key: string]: NativeAttributeValue;
30
- };
17
+ Key: Record<string, NativeAttributeValue> | undefined;
18
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
31
19
  };
32
20
  Update?: Omit<Update, "Key" | "ExpressionAttributeValues"> & {
33
- Key: {
34
- [key: string]: NativeAttributeValue;
35
- } | undefined;
36
- ExpressionAttributeValues?: {
37
- [key: string]: NativeAttributeValue;
38
- };
21
+ Key: Record<string, NativeAttributeValue> | undefined;
22
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
39
23
  };
40
24
  })[] | undefined;
41
25
  };
42
26
  export declare type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput, "ItemCollectionMetrics"> & {
43
- ItemCollectionMetrics?: {
44
- [key: string]: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
45
- ItemCollectionKey?: {
46
- [key: string]: NativeAttributeValue;
47
- };
48
- })[];
49
- };
27
+ ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
28
+ ItemCollectionKey?: Record<string, NativeAttributeValue>;
29
+ })[]>;
50
30
  };
51
31
  /**
52
32
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -4,32 +4,20 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues"> & {
7
- Key: {
8
- [key: string]: NativeAttributeValue;
9
- } | undefined;
10
- AttributeUpdates?: {
11
- [key: string]: Omit<AttributeValueUpdate, "Value"> & {
12
- Value?: NativeAttributeValue;
13
- };
14
- };
15
- Expected?: {
16
- [key: string]: Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
17
- Value?: NativeAttributeValue;
18
- AttributeValueList?: NativeAttributeValue[];
19
- };
20
- };
21
- ExpressionAttributeValues?: {
22
- [key: string]: NativeAttributeValue;
23
- };
7
+ Key: Record<string, NativeAttributeValue> | undefined;
8
+ AttributeUpdates?: Record<string, Omit<AttributeValueUpdate, "Value"> & {
9
+ Value?: NativeAttributeValue;
10
+ }>;
11
+ Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
12
+ Value?: NativeAttributeValue;
13
+ AttributeValueList?: NativeAttributeValue[];
14
+ }>;
15
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
24
16
  };
25
17
  export declare type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
26
- Attributes?: {
27
- [key: string]: NativeAttributeValue;
28
- };
18
+ Attributes?: Record<string, NativeAttributeValue>;
29
19
  ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
30
- ItemCollectionKey?: {
31
- [key: string]: NativeAttributeValue;
32
- };
20
+ ItemCollectionKey?: Record<string, NativeAttributeValue>;
33
21
  };
34
22
  };
35
23
  /**
@@ -10,9 +10,7 @@ export declare type BatchExecuteStatementCommandInput = Pick<__BatchExecuteState
10
10
  };
11
11
  export declare type BatchExecuteStatementCommandOutput = Pick<__BatchExecuteStatementCommandOutput, Exclude<keyof __BatchExecuteStatementCommandOutput, "Responses">> & {
12
12
  Responses?: (Pick<BatchStatementResponse, Exclude<keyof BatchStatementResponse, "Item">> & {
13
- Item?: {
14
- [key: string]: NativeAttributeValue;
15
- };
13
+ Item?: Record<string, NativeAttributeValue>;
16
14
  })[];
17
15
  };
18
16
 
@@ -4,27 +4,15 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type BatchGetCommandInput = Pick<__BatchGetItemCommandInput, Exclude<keyof __BatchGetItemCommandInput, "RequestItems">> & {
7
- RequestItems: {
8
- [key: string]: Pick<KeysAndAttributes, Exclude<keyof KeysAndAttributes, "Keys">> & {
9
- Keys: {
10
- [key: string]: NativeAttributeValue;
11
- }[] | undefined;
12
- };
13
- } | undefined;
7
+ RequestItems: Record<string, Pick<KeysAndAttributes, Exclude<keyof KeysAndAttributes, "Keys">> & {
8
+ Keys: Record<string, NativeAttributeValue>[] | undefined;
9
+ }> | undefined;
14
10
  };
15
11
  export declare type BatchGetCommandOutput = Pick<__BatchGetItemCommandOutput, Exclude<keyof __BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys">> & {
16
- Responses?: {
17
- [key: string]: {
18
- [key: string]: NativeAttributeValue;
19
- }[];
20
- };
21
- UnprocessedKeys?: {
22
- [key: string]: Pick<KeysAndAttributes, Exclude<keyof KeysAndAttributes, "Keys">> & {
23
- Keys: {
24
- [key: string]: NativeAttributeValue;
25
- }[] | undefined;
26
- };
27
- };
12
+ Responses?: Record<string, Record<string, NativeAttributeValue>[]>;
13
+ UnprocessedKeys?: Record<string, Pick<KeysAndAttributes, Exclude<keyof KeysAndAttributes, "Keys">> & {
14
+ Keys: Record<string, NativeAttributeValue>[] | undefined;
15
+ }>;
28
16
  };
29
17
 
30
18
  export declare class BatchGetCommand extends $Command<BatchGetCommandInput, BatchGetCommandOutput, DynamoDBDocumentClientResolvedConfig> {
@@ -4,43 +4,27 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type BatchWriteCommandInput = Pick<__BatchWriteItemCommandInput, Exclude<keyof __BatchWriteItemCommandInput, "RequestItems">> & {
7
- RequestItems: {
8
- [key: string]: (Pick<WriteRequest, Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest">> & {
9
- PutRequest?: Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & {
10
- Item: {
11
- [key: string]: NativeAttributeValue;
12
- } | undefined;
13
- };
14
- DeleteRequest?: Pick<DeleteRequest, Exclude<keyof DeleteRequest, "Key">> & {
15
- Key: {
16
- [key: string]: NativeAttributeValue;
17
- } | undefined;
18
- };
19
- })[];
20
- } | undefined;
7
+ RequestItems: Record<string, (Pick<WriteRequest, Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest">> & {
8
+ PutRequest?: Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & {
9
+ Item: Record<string, NativeAttributeValue> | undefined;
10
+ };
11
+ DeleteRequest?: Pick<DeleteRequest, Exclude<keyof DeleteRequest, "Key">> & {
12
+ Key: Record<string, NativeAttributeValue> | undefined;
13
+ };
14
+ })[]> | undefined;
21
15
  };
22
16
  export declare type BatchWriteCommandOutput = Pick<__BatchWriteItemCommandOutput, Exclude<keyof __BatchWriteItemCommandOutput, "UnprocessedItems" | "ItemCollectionMetrics">> & {
23
- UnprocessedItems?: {
24
- [key: string]: (Pick<WriteRequest, Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest">> & {
25
- PutRequest?: Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & {
26
- Item: {
27
- [key: string]: NativeAttributeValue;
28
- } | undefined;
29
- };
30
- DeleteRequest?: Pick<DeleteRequest, Exclude<keyof DeleteRequest, "Key">> & {
31
- Key: {
32
- [key: string]: NativeAttributeValue;
33
- } | undefined;
34
- };
35
- })[];
36
- };
37
- ItemCollectionMetrics?: {
38
- [key: string]: (Pick<ItemCollectionMetrics, Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">> & {
39
- ItemCollectionKey?: {
40
- [key: string]: NativeAttributeValue;
41
- };
42
- })[];
43
- };
17
+ UnprocessedItems?: Record<string, (Pick<WriteRequest, Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest">> & {
18
+ PutRequest?: Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & {
19
+ Item: Record<string, NativeAttributeValue> | undefined;
20
+ };
21
+ DeleteRequest?: Pick<DeleteRequest, Exclude<keyof DeleteRequest, "Key">> & {
22
+ Key: Record<string, NativeAttributeValue> | undefined;
23
+ };
24
+ })[]>;
25
+ ItemCollectionMetrics?: Record<string, (Pick<ItemCollectionMetrics, Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">> & {
26
+ ItemCollectionKey?: Record<string, NativeAttributeValue>;
27
+ })[]>;
44
28
  };
45
29
 
46
30
  export declare class BatchWriteCommand extends $Command<BatchWriteCommandInput, BatchWriteCommandOutput, DynamoDBDocumentClientResolvedConfig> {
@@ -4,27 +4,17 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type DeleteCommandInput = Pick<__DeleteItemCommandInput, Exclude<keyof __DeleteItemCommandInput, "Key" | "Expected" | "ExpressionAttributeValues">> & {
7
- Key: {
8
- [key: string]: NativeAttributeValue;
9
- } | undefined;
10
- Expected?: {
11
- [key: string]: Pick<ExpectedAttributeValue, Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">> & {
12
- Value?: NativeAttributeValue;
13
- AttributeValueList?: NativeAttributeValue[];
14
- };
15
- };
16
- ExpressionAttributeValues?: {
17
- [key: string]: NativeAttributeValue;
18
- };
7
+ Key: Record<string, NativeAttributeValue> | undefined;
8
+ Expected?: Record<string, Pick<ExpectedAttributeValue, Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">> & {
9
+ Value?: NativeAttributeValue;
10
+ AttributeValueList?: NativeAttributeValue[];
11
+ }>;
12
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
19
13
  };
20
14
  export declare type DeleteCommandOutput = Pick<__DeleteItemCommandOutput, Exclude<keyof __DeleteItemCommandOutput, "Attributes" | "ItemCollectionMetrics">> & {
21
- Attributes?: {
22
- [key: string]: NativeAttributeValue;
23
- };
15
+ Attributes?: Record<string, NativeAttributeValue>;
24
16
  ItemCollectionMetrics?: Pick<ItemCollectionMetrics, Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">> & {
25
- ItemCollectionKey?: {
26
- [key: string]: NativeAttributeValue;
27
- };
17
+ ItemCollectionKey?: Record<string, NativeAttributeValue>;
28
18
  };
29
19
  };
30
20
 
@@ -7,12 +7,8 @@ export declare type ExecuteStatementCommandInput = Pick<__ExecuteStatementComman
7
7
  Parameters?: NativeAttributeValue[];
8
8
  };
9
9
  export declare type ExecuteStatementCommandOutput = Pick<__ExecuteStatementCommandOutput, Exclude<keyof __ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey">> & {
10
- Items?: {
11
- [key: string]: NativeAttributeValue;
12
- }[];
13
- LastEvaluatedKey?: {
14
- [key: string]: NativeAttributeValue;
15
- };
10
+ Items?: Record<string, NativeAttributeValue>[];
11
+ LastEvaluatedKey?: Record<string, NativeAttributeValue>;
16
12
  };
17
13
 
18
14
  export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, DynamoDBDocumentClientResolvedConfig> {
@@ -10,9 +10,7 @@ export declare type ExecuteTransactionCommandInput = Pick<__ExecuteTransactionCo
10
10
  };
11
11
  export declare type ExecuteTransactionCommandOutput = Pick<__ExecuteTransactionCommandOutput, Exclude<keyof __ExecuteTransactionCommandOutput, "Responses">> & {
12
12
  Responses?: (Pick<ItemResponse, Exclude<keyof ItemResponse, "Item">> & {
13
- Item?: {
14
- [key: string]: NativeAttributeValue;
15
- };
13
+ Item?: Record<string, NativeAttributeValue>;
16
14
  })[];
17
15
  };
18
16
 
@@ -4,14 +4,10 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type GetCommandInput = Pick<__GetItemCommandInput, Exclude<keyof __GetItemCommandInput, "Key">> & {
7
- Key: {
8
- [key: string]: NativeAttributeValue;
9
- } | undefined;
7
+ Key: Record<string, NativeAttributeValue> | undefined;
10
8
  };
11
9
  export declare type GetCommandOutput = Pick<__GetItemCommandOutput, Exclude<keyof __GetItemCommandOutput, "Item">> & {
12
- Item?: {
13
- [key: string]: NativeAttributeValue;
14
- };
10
+ Item?: Record<string, NativeAttributeValue>;
15
11
  };
16
12
 
17
13
  export declare class GetCommand extends $Command<GetCommandInput, GetCommandOutput, DynamoDBDocumentClientResolvedConfig> {
@@ -4,27 +4,17 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type PutCommandInput = Pick<__PutItemCommandInput, Exclude<keyof __PutItemCommandInput, "Item" | "Expected" | "ExpressionAttributeValues">> & {
7
- Item: {
8
- [key: string]: NativeAttributeValue;
9
- } | undefined;
10
- Expected?: {
11
- [key: string]: Pick<ExpectedAttributeValue, Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">> & {
12
- Value?: NativeAttributeValue;
13
- AttributeValueList?: NativeAttributeValue[];
14
- };
15
- };
16
- ExpressionAttributeValues?: {
17
- [key: string]: NativeAttributeValue;
18
- };
7
+ Item: Record<string, NativeAttributeValue> | undefined;
8
+ Expected?: Record<string, Pick<ExpectedAttributeValue, Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">> & {
9
+ Value?: NativeAttributeValue;
10
+ AttributeValueList?: NativeAttributeValue[];
11
+ }>;
12
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
19
13
  };
20
14
  export declare type PutCommandOutput = Pick<__PutItemCommandOutput, Exclude<keyof __PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics">> & {
21
- Attributes?: {
22
- [key: string]: NativeAttributeValue;
23
- };
15
+ Attributes?: Record<string, NativeAttributeValue>;
24
16
  ItemCollectionMetrics?: Pick<ItemCollectionMetrics, Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">> & {
25
- ItemCollectionKey?: {
26
- [key: string]: NativeAttributeValue;
27
- };
17
+ ItemCollectionKey?: Record<string, NativeAttributeValue>;
28
18
  };
29
19
  };
30
20
 
@@ -4,30 +4,18 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type QueryCommandInput = Pick<__QueryCommandInput, Exclude<keyof __QueryCommandInput, "KeyConditions" | "QueryFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues">> & {
7
- KeyConditions?: {
8
- [key: string]: Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
9
- AttributeValueList?: NativeAttributeValue[];
10
- };
11
- };
12
- QueryFilter?: {
13
- [key: string]: Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
14
- AttributeValueList?: NativeAttributeValue[];
15
- };
16
- };
17
- ExclusiveStartKey?: {
18
- [key: string]: NativeAttributeValue;
19
- };
20
- ExpressionAttributeValues?: {
21
- [key: string]: NativeAttributeValue;
22
- };
7
+ KeyConditions?: Record<string, Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
8
+ AttributeValueList?: NativeAttributeValue[];
9
+ }>;
10
+ QueryFilter?: Record<string, Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
11
+ AttributeValueList?: NativeAttributeValue[];
12
+ }>;
13
+ ExclusiveStartKey?: Record<string, NativeAttributeValue>;
14
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
23
15
  };
24
16
  export declare type QueryCommandOutput = Pick<__QueryCommandOutput, Exclude<keyof __QueryCommandOutput, "Items" | "LastEvaluatedKey">> & {
25
- Items?: {
26
- [key: string]: NativeAttributeValue;
27
- }[];
28
- LastEvaluatedKey?: {
29
- [key: string]: NativeAttributeValue;
30
- };
17
+ Items?: Record<string, NativeAttributeValue>[];
18
+ LastEvaluatedKey?: Record<string, NativeAttributeValue>;
31
19
  };
32
20
 
33
21
  export declare class QueryCommand extends $Command<QueryCommandInput, QueryCommandOutput, DynamoDBDocumentClientResolvedConfig> {
@@ -4,25 +4,15 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type ScanCommandInput = Pick<__ScanCommandInput, Exclude<keyof __ScanCommandInput, "ScanFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues">> & {
7
- ScanFilter?: {
8
- [key: string]: Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
9
- AttributeValueList?: NativeAttributeValue[];
10
- };
11
- };
12
- ExclusiveStartKey?: {
13
- [key: string]: NativeAttributeValue;
14
- };
15
- ExpressionAttributeValues?: {
16
- [key: string]: NativeAttributeValue;
17
- };
7
+ ScanFilter?: Record<string, Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
8
+ AttributeValueList?: NativeAttributeValue[];
9
+ }>;
10
+ ExclusiveStartKey?: Record<string, NativeAttributeValue>;
11
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
18
12
  };
19
13
  export declare type ScanCommandOutput = Pick<__ScanCommandOutput, Exclude<keyof __ScanCommandOutput, "Items" | "LastEvaluatedKey">> & {
20
- Items?: {
21
- [key: string]: NativeAttributeValue;
22
- }[];
23
- LastEvaluatedKey?: {
24
- [key: string]: NativeAttributeValue;
25
- };
14
+ Items?: Record<string, NativeAttributeValue>[];
15
+ LastEvaluatedKey?: Record<string, NativeAttributeValue>;
26
16
  };
27
17
 
28
18
  export declare class ScanCommand extends $Command<ScanCommandInput, ScanCommandOutput, DynamoDBDocumentClientResolvedConfig> {
@@ -6,17 +6,13 @@ import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputT
6
6
  export declare type TransactGetCommandInput = Pick<__TransactGetItemsCommandInput, Exclude<keyof __TransactGetItemsCommandInput, "TransactItems">> & {
7
7
  TransactItems: (Pick<TransactGetItem, Exclude<keyof TransactGetItem, "Get">> & {
8
8
  Get: (Pick<Get, Exclude<keyof Get, "Key">> & {
9
- Key: {
10
- [key: string]: NativeAttributeValue;
11
- } | undefined;
9
+ Key: Record<string, NativeAttributeValue> | undefined;
12
10
  }) | undefined;
13
11
  })[] | undefined;
14
12
  };
15
13
  export declare type TransactGetCommandOutput = Pick<__TransactGetItemsCommandOutput, Exclude<keyof __TransactGetItemsCommandOutput, "Responses">> & {
16
14
  Responses?: (Pick<ItemResponse, Exclude<keyof ItemResponse, "Item">> & {
17
- Item?: {
18
- [key: string]: NativeAttributeValue;
19
- };
15
+ Item?: Record<string, NativeAttributeValue>;
20
16
  })[];
21
17
  };
22
18
 
@@ -6,47 +6,27 @@ import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputT
6
6
  export declare type TransactWriteCommandInput = Pick<__TransactWriteItemsCommandInput, Exclude<keyof __TransactWriteItemsCommandInput, "TransactItems">> & {
7
7
  TransactItems: (Pick<TransactWriteItem, Exclude<keyof TransactWriteItem, "ConditionCheck" | "Put" | "Delete" | "Update">> & {
8
8
  ConditionCheck?: Pick<ConditionCheck, Exclude<keyof ConditionCheck, "Key" | "ExpressionAttributeValues">> & {
9
- Key: {
10
- [key: string]: NativeAttributeValue;
11
- } | undefined;
12
- ExpressionAttributeValues?: {
13
- [key: string]: NativeAttributeValue;
14
- };
9
+ Key: Record<string, NativeAttributeValue> | undefined;
10
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
15
11
  };
16
12
  Put?: Pick<Put, Exclude<keyof Put, "Item" | "ExpressionAttributeValues">> & {
17
- Item: {
18
- [key: string]: NativeAttributeValue;
19
- } | undefined;
20
- ExpressionAttributeValues?: {
21
- [key: string]: NativeAttributeValue;
22
- };
13
+ Item: Record<string, NativeAttributeValue> | undefined;
14
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
23
15
  };
24
16
  Delete?: Pick<Delete, Exclude<keyof Delete, "Key" | "ExpressionAttributeValues">> & {
25
- Key: {
26
- [key: string]: NativeAttributeValue;
27
- } | undefined;
28
- ExpressionAttributeValues?: {
29
- [key: string]: NativeAttributeValue;
30
- };
17
+ Key: Record<string, NativeAttributeValue> | undefined;
18
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
31
19
  };
32
20
  Update?: Pick<Update, Exclude<keyof Update, "Key" | "ExpressionAttributeValues">> & {
33
- Key: {
34
- [key: string]: NativeAttributeValue;
35
- } | undefined;
36
- ExpressionAttributeValues?: {
37
- [key: string]: NativeAttributeValue;
38
- };
21
+ Key: Record<string, NativeAttributeValue> | undefined;
22
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
39
23
  };
40
24
  })[] | undefined;
41
25
  };
42
26
  export declare type TransactWriteCommandOutput = Pick<__TransactWriteItemsCommandOutput, Exclude<keyof __TransactWriteItemsCommandOutput, "ItemCollectionMetrics">> & {
43
- ItemCollectionMetrics?: {
44
- [key: string]: (Pick<ItemCollectionMetrics, Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">> & {
45
- ItemCollectionKey?: {
46
- [key: string]: NativeAttributeValue;
47
- };
48
- })[];
49
- };
27
+ ItemCollectionMetrics?: Record<string, (Pick<ItemCollectionMetrics, Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">> & {
28
+ ItemCollectionKey?: Record<string, NativeAttributeValue>;
29
+ })[]>;
50
30
  };
51
31
 
52
32
  export declare class TransactWriteCommand extends $Command<TransactWriteCommandInput, TransactWriteCommandOutput, DynamoDBDocumentClientResolvedConfig> {
@@ -4,32 +4,20 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack }
4
4
  import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
5
5
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
6
  export declare type UpdateCommandInput = Pick<__UpdateItemCommandInput, Exclude<keyof __UpdateItemCommandInput, "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues">> & {
7
- Key: {
8
- [key: string]: NativeAttributeValue;
9
- } | undefined;
10
- AttributeUpdates?: {
11
- [key: string]: Pick<AttributeValueUpdate, Exclude<keyof AttributeValueUpdate, "Value">> & {
12
- Value?: NativeAttributeValue;
13
- };
14
- };
15
- Expected?: {
16
- [key: string]: Pick<ExpectedAttributeValue, Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">> & {
17
- Value?: NativeAttributeValue;
18
- AttributeValueList?: NativeAttributeValue[];
19
- };
20
- };
21
- ExpressionAttributeValues?: {
22
- [key: string]: NativeAttributeValue;
23
- };
7
+ Key: Record<string, NativeAttributeValue> | undefined;
8
+ AttributeUpdates?: Record<string, Pick<AttributeValueUpdate, Exclude<keyof AttributeValueUpdate, "Value">> & {
9
+ Value?: NativeAttributeValue;
10
+ }>;
11
+ Expected?: Record<string, Pick<ExpectedAttributeValue, Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">> & {
12
+ Value?: NativeAttributeValue;
13
+ AttributeValueList?: NativeAttributeValue[];
14
+ }>;
15
+ ExpressionAttributeValues?: Record<string, NativeAttributeValue>;
24
16
  };
25
17
  export declare type UpdateCommandOutput = Pick<__UpdateItemCommandOutput, Exclude<keyof __UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics">> & {
26
- Attributes?: {
27
- [key: string]: NativeAttributeValue;
28
- };
18
+ Attributes?: Record<string, NativeAttributeValue>;
29
19
  ItemCollectionMetrics?: Pick<ItemCollectionMetrics, Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">> & {
30
- ItemCollectionKey?: {
31
- [key: string]: NativeAttributeValue;
32
- };
20
+ ItemCollectionKey?: Record<string, NativeAttributeValue>;
33
21
  };
34
22
  };
35
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/lib-dynamodb",
3
- "version": "3.100.0",
3
+ "version": "3.105.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",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/util-dynamodb": "3.100.0",
26
+ "@aws-sdk/util-dynamodb": "3.105.0",
27
27
  "tslib": "^2.3.1"
28
28
  },
29
29
  "peerDependencies": {
@@ -32,7 +32,7 @@
32
32
  "@aws-sdk/types": "^3.0.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@aws-sdk/client-dynamodb": "3.100.0",
35
+ "@aws-sdk/client-dynamodb": "3.105.0",
36
36
  "@aws-sdk/smithy-client": "3.99.0",
37
37
  "@aws-sdk/types": "3.78.0",
38
38
  "@tsconfig/recommended": "1.0.1",