@aws-sdk/lib-dynamodb 3.1110.0 → 3.1111.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.
@@ -20,9 +20,9 @@ export type BatchExecuteStatementCommandInput = Omit<__BatchExecuteStatementComm
20
20
  */
21
21
  export type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCommandOutput, "Responses"> & {
22
22
  Responses?: (Omit<BatchStatementResponse, "Error" | "Item"> & {
23
- Error?: Omit<BatchStatementError, "Item"> & {
23
+ Error?: (Omit<BatchStatementError, "Item"> & {
24
24
  Item?: Record<string, NativeAttributeValue> | undefined;
25
- } | undefined;
25
+ }) | undefined;
26
26
  Item?: Record<string, NativeAttributeValue> | undefined;
27
27
  })[] | undefined;
28
28
  };
@@ -12,12 +12,12 @@ export { DynamoDBDocumentClientCommand, $Command };
12
12
  */
13
13
  export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, "RequestItems"> & {
14
14
  RequestItems: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
15
- PutRequest?: Omit<PutRequest, "Item"> & {
15
+ PutRequest?: (Omit<PutRequest, "Item"> & {
16
16
  Item: Record<string, NativeAttributeValue> | undefined;
17
- } | undefined;
18
- DeleteRequest?: Omit<DeleteRequest, "Key"> & {
17
+ }) | undefined;
18
+ DeleteRequest?: (Omit<DeleteRequest, "Key"> & {
19
19
  Key: Record<string, NativeAttributeValue> | undefined;
20
- } | undefined;
20
+ }) | undefined;
21
21
  })[]> | undefined;
22
22
  };
23
23
  /**
@@ -25,12 +25,12 @@ export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, "Request
25
25
  */
26
26
  export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, "UnprocessedItems" | "ItemCollectionMetrics"> & {
27
27
  UnprocessedItems?: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
28
- PutRequest?: Omit<PutRequest, "Item"> & {
28
+ PutRequest?: (Omit<PutRequest, "Item"> & {
29
29
  Item: Record<string, NativeAttributeValue> | undefined;
30
- } | undefined;
31
- DeleteRequest?: Omit<DeleteRequest, "Key"> & {
30
+ }) | undefined;
31
+ DeleteRequest?: (Omit<DeleteRequest, "Key"> & {
32
32
  Key: Record<string, NativeAttributeValue> | undefined;
33
- } | undefined;
33
+ }) | undefined;
34
34
  })[]> | undefined;
35
35
  ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
36
36
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
@@ -23,9 +23,9 @@ export type DeleteCommandInput = Omit<__DeleteItemCommandInput, "Key" | "Expecte
23
23
  */
24
24
  export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
25
25
  Attributes?: Record<string, NativeAttributeValue> | undefined;
26
- ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
26
+ ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
27
27
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
28
- } | undefined;
28
+ }) | undefined;
29
29
  };
30
30
  /**
31
31
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -23,9 +23,9 @@ export type PutCommandInput = Omit<__PutItemCommandInput, "Item" | "Expected" |
23
23
  */
24
24
  export type PutCommandOutput = Omit<__PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
25
25
  Attributes?: Record<string, NativeAttributeValue> | undefined;
26
- ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
26
+ ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
27
27
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
28
- } | undefined;
28
+ }) | undefined;
29
29
  };
30
30
  /**
31
31
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -12,9 +12,9 @@ export { DynamoDBDocumentClientCommand, $Command };
12
12
  */
13
13
  export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, "TransactItems"> & {
14
14
  TransactItems: (Omit<TransactGetItem, "Get"> & {
15
- Get: Omit<Get, "Key"> & {
15
+ Get: (Omit<Get, "Key"> & {
16
16
  Key: Record<string, NativeAttributeValue> | undefined;
17
- } | undefined;
17
+ }) | undefined;
18
18
  })[] | undefined;
19
19
  };
20
20
  /**
@@ -12,22 +12,22 @@ export { DynamoDBDocumentClientCommand, $Command };
12
12
  */
13
13
  export type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, "TransactItems"> & {
14
14
  TransactItems: (Omit<TransactWriteItem, "ConditionCheck" | "Put" | "Delete" | "Update"> & {
15
- ConditionCheck?: Omit<ConditionCheck, "Key" | "ExpressionAttributeValues"> & {
15
+ ConditionCheck?: (Omit<ConditionCheck, "Key" | "ExpressionAttributeValues"> & {
16
16
  Key: Record<string, NativeAttributeValue> | undefined;
17
17
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
18
- } | undefined;
19
- Put?: Omit<Put, "Item" | "ExpressionAttributeValues"> & {
18
+ }) | undefined;
19
+ Put?: (Omit<Put, "Item" | "ExpressionAttributeValues"> & {
20
20
  Item: Record<string, NativeAttributeValue> | undefined;
21
21
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
22
- } | undefined;
23
- Delete?: Omit<Delete, "Key" | "ExpressionAttributeValues"> & {
22
+ }) | undefined;
23
+ Delete?: (Omit<Delete, "Key" | "ExpressionAttributeValues"> & {
24
24
  Key: Record<string, NativeAttributeValue> | undefined;
25
25
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
26
- } | undefined;
27
- Update?: Omit<Update, "Key" | "ExpressionAttributeValues"> & {
26
+ }) | undefined;
27
+ Update?: (Omit<Update, "Key" | "ExpressionAttributeValues"> & {
28
28
  Key: Record<string, NativeAttributeValue> | undefined;
29
29
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
30
- } | undefined;
30
+ }) | undefined;
31
31
  })[] | undefined;
32
32
  };
33
33
  /**
@@ -26,9 +26,9 @@ export type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "Attribu
26
26
  */
27
27
  export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
28
28
  Attributes?: Record<string, NativeAttributeValue> | undefined;
29
- ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
29
+ ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
30
30
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
31
- } | undefined;
31
+ }) | undefined;
32
32
  };
33
33
  /**
34
34
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/lib-dynamodb",
3
- "version": "3.1110.0",
3
+ "version": "3.1111.0",
4
4
  "description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-dynamodb",
6
6
  "license": "Apache-2.0",
@@ -43,23 +43,23 @@
43
43
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts"
44
44
  },
45
45
  "dependencies": {
46
- "@aws-sdk/core": "^3.977.7",
47
- "@aws-sdk/util-dynamodb": "^3.996.8",
46
+ "@aws-sdk/core": "^3.977.8",
47
+ "@aws-sdk/util-dynamodb": "^3.996.9",
48
48
  "@smithy/core": "^3.31.1",
49
49
  "@smithy/types": "^4.16.1",
50
50
  "tslib": "^2.6.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@aws-sdk/client-dynamodb": "3.1110.0",
53
+ "@aws-sdk/client-dynamodb": "3.1111.0",
54
54
  "@tsconfig/recommended": "1.0.1",
55
55
  "@types/node": "^20.14.8",
56
56
  "concurrently": "7.0.0",
57
57
  "downlevel-dts": "0.10.1",
58
58
  "premove": "4.0.0",
59
- "typescript": "~6.0.3"
59
+ "typescript": "~7.0.2"
60
60
  },
61
61
  "peerDependencies": {
62
- "@aws-sdk/client-dynamodb": "^3.1110.0"
62
+ "@aws-sdk/client-dynamodb": "^3.1111.0"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=20.0.0"