@aws-sdk/lib-dynamodb 3.696.0 → 3.698.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.
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +6 -6
- package/dist-types/commands/BatchGetCommand.d.ts +2 -2
- package/dist-types/commands/BatchWriteCommand.d.ts +11 -11
- package/dist-types/commands/DeleteCommand.d.ts +8 -8
- package/dist-types/commands/ExecuteStatementCommand.d.ts +3 -3
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +3 -3
- package/dist-types/commands/GetCommand.d.ts +1 -1
- package/dist-types/commands/PutCommand.d.ts +8 -8
- package/dist-types/commands/QueryCommand.d.ts +8 -8
- package/dist-types/commands/ScanCommand.d.ts +6 -6
- package/dist-types/commands/TransactGetCommand.d.ts +2 -2
- package/dist-types/commands/TransactWriteCommand.d.ts +14 -14
- package/dist-types/commands/UpdateCommand.d.ts +10 -10
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +17 -13
- package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +11 -7
- package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +41 -35
- package/dist-types/ts3.4/commands/DeleteCommand.d.ts +22 -18
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutCommand.d.ts +22 -18
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +20 -16
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +12 -10
- package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +5 -3
- package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +55 -37
- package/dist-types/ts3.4/commands/UpdateCommand.d.ts +33 -24
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
12
12
|
*/
|
|
13
13
|
export type BatchExecuteStatementCommandInput = Omit<__BatchExecuteStatementCommandInput, "Statements"> & {
|
|
14
14
|
Statements: (Omit<BatchStatementRequest, "Parameters"> & {
|
|
15
|
-
Parameters?: NativeAttributeValue[];
|
|
15
|
+
Parameters?: NativeAttributeValue[] | undefined;
|
|
16
16
|
})[] | undefined;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
@@ -20,11 +20,11 @@ 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"> & {
|
|
24
|
-
Item?: Record<string, NativeAttributeValue
|
|
25
|
-
};
|
|
26
|
-
Item?: Record<string, NativeAttributeValue
|
|
27
|
-
})[];
|
|
23
|
+
Error?: (Omit<BatchStatementError, "Item"> & {
|
|
24
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
25
|
+
}) | undefined;
|
|
26
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
27
|
+
})[] | undefined;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -19,10 +19,10 @@ export type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, "RequestItem
|
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
|
21
21
|
export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys"> & {
|
|
22
|
-
Responses?: Record<string, Record<string, NativeAttributeValue>[]
|
|
22
|
+
Responses?: Record<string, Record<string, NativeAttributeValue>[]> | undefined;
|
|
23
23
|
UnprocessedKeys?: Record<string, Omit<KeysAndAttributes, "Keys"> & {
|
|
24
24
|
Keys: Record<string, NativeAttributeValue>[] | undefined;
|
|
25
|
-
}
|
|
25
|
+
}> | undefined;
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -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
|
-
};
|
|
18
|
-
DeleteRequest?: Omit<DeleteRequest, "Key"> & {
|
|
17
|
+
}) | undefined;
|
|
18
|
+
DeleteRequest?: (Omit<DeleteRequest, "Key"> & {
|
|
19
19
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
20
|
-
};
|
|
20
|
+
}) | undefined;
|
|
21
21
|
})[]> | undefined;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
@@ -25,16 +25,16 @@ 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
|
-
};
|
|
31
|
-
DeleteRequest?: Omit<DeleteRequest, "Key"> & {
|
|
30
|
+
}) | undefined;
|
|
31
|
+
DeleteRequest?: (Omit<DeleteRequest, "Key"> & {
|
|
32
32
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
33
|
-
};
|
|
34
|
-
})[]
|
|
33
|
+
}) | undefined;
|
|
34
|
+
})[]> | undefined;
|
|
35
35
|
ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
|
|
36
|
-
ItemCollectionKey?: Record<string, NativeAttributeValue
|
|
37
|
-
})[]
|
|
36
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
37
|
+
})[]> | undefined;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -13,19 +13,19 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
13
13
|
export type DeleteCommandInput = Omit<__DeleteItemCommandInput, "Key" | "Expected" | "ExpressionAttributeValues"> & {
|
|
14
14
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
15
15
|
Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
|
|
16
|
-
Value?: NativeAttributeValue;
|
|
17
|
-
AttributeValueList?: NativeAttributeValue[];
|
|
18
|
-
}
|
|
19
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue
|
|
16
|
+
Value?: NativeAttributeValue | undefined;
|
|
17
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
18
|
+
}> | undefined;
|
|
19
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
24
|
export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
|
|
25
|
-
Attributes?: Record<string, NativeAttributeValue
|
|
26
|
-
ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
|
|
27
|
-
ItemCollectionKey?: Record<string, NativeAttributeValue
|
|
28
|
-
};
|
|
25
|
+
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
+
ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
|
|
27
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
28
|
+
}) | undefined;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -11,14 +11,14 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
13
|
export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput, "Parameters"> & {
|
|
14
|
-
Parameters?: NativeAttributeValue[];
|
|
14
|
+
Parameters?: NativeAttributeValue[] | undefined;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
19
|
export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey"> & {
|
|
20
|
-
Items?: Record<string, NativeAttributeValue>[];
|
|
21
|
-
LastEvaluatedKey?: Record<string, NativeAttributeValue
|
|
20
|
+
Items?: Record<string, NativeAttributeValue>[] | undefined;
|
|
21
|
+
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -12,7 +12,7 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
12
12
|
*/
|
|
13
13
|
export type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCommandInput, "TransactStatements"> & {
|
|
14
14
|
TransactStatements: (Omit<ParameterizedStatement, "Parameters"> & {
|
|
15
|
-
Parameters?: NativeAttributeValue[];
|
|
15
|
+
Parameters?: NativeAttributeValue[] | undefined;
|
|
16
16
|
})[] | undefined;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
@@ -20,8 +20,8 @@ export type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCommandInp
|
|
|
20
20
|
*/
|
|
21
21
|
export type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOutput, "Responses"> & {
|
|
22
22
|
Responses?: (Omit<ItemResponse, "Item"> & {
|
|
23
|
-
Item?: Record<string, NativeAttributeValue
|
|
24
|
-
})[];
|
|
23
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
24
|
+
})[] | undefined;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -17,7 +17,7 @@ export type GetCommandInput = Omit<__GetItemCommandInput, "Key"> & {
|
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
19
|
export type GetCommandOutput = Omit<__GetItemCommandOutput, "Item"> & {
|
|
20
|
-
Item?: Record<string, NativeAttributeValue
|
|
20
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
23
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -13,19 +13,19 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
13
13
|
export type PutCommandInput = Omit<__PutItemCommandInput, "Item" | "Expected" | "ExpressionAttributeValues"> & {
|
|
14
14
|
Item: Record<string, NativeAttributeValue> | undefined;
|
|
15
15
|
Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
|
|
16
|
-
Value?: NativeAttributeValue;
|
|
17
|
-
AttributeValueList?: NativeAttributeValue[];
|
|
18
|
-
}
|
|
19
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue
|
|
16
|
+
Value?: NativeAttributeValue | undefined;
|
|
17
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
18
|
+
}> | undefined;
|
|
19
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
24
|
export type PutCommandOutput = Omit<__PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
|
|
25
|
-
Attributes?: Record<string, NativeAttributeValue
|
|
26
|
-
ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
|
|
27
|
-
ItemCollectionKey?: Record<string, NativeAttributeValue
|
|
28
|
-
};
|
|
25
|
+
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
+
ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
|
|
27
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
28
|
+
}) | undefined;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -12,20 +12,20 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
12
12
|
*/
|
|
13
13
|
export type QueryCommandInput = Omit<__QueryCommandInput, "KeyConditions" | "QueryFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
|
|
14
14
|
KeyConditions?: Record<string, Omit<Condition, "AttributeValueList"> & {
|
|
15
|
-
AttributeValueList?: NativeAttributeValue[];
|
|
16
|
-
}
|
|
15
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
16
|
+
}> | undefined;
|
|
17
17
|
QueryFilter?: Record<string, Omit<Condition, "AttributeValueList"> & {
|
|
18
|
-
AttributeValueList?: NativeAttributeValue[];
|
|
19
|
-
}
|
|
20
|
-
ExclusiveStartKey?: Record<string, NativeAttributeValue
|
|
21
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue
|
|
18
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
19
|
+
}> | undefined;
|
|
20
|
+
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
|
|
21
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
26
26
|
export type QueryCommandOutput = Omit<__QueryCommandOutput, "Items" | "LastEvaluatedKey"> & {
|
|
27
|
-
Items?: Record<string, NativeAttributeValue>[];
|
|
28
|
-
LastEvaluatedKey?: Record<string, NativeAttributeValue
|
|
27
|
+
Items?: Record<string, NativeAttributeValue>[] | undefined;
|
|
28
|
+
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -12,17 +12,17 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
12
12
|
*/
|
|
13
13
|
export type ScanCommandInput = Omit<__ScanCommandInput, "ScanFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
|
|
14
14
|
ScanFilter?: Record<string, Omit<Condition, "AttributeValueList"> & {
|
|
15
|
-
AttributeValueList?: NativeAttributeValue[];
|
|
16
|
-
}
|
|
17
|
-
ExclusiveStartKey?: Record<string, NativeAttributeValue
|
|
18
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue
|
|
15
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
16
|
+
}> | undefined;
|
|
17
|
+
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
|
|
18
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
23
|
export type ScanCommandOutput = Omit<__ScanCommandOutput, "Items" | "LastEvaluatedKey"> & {
|
|
24
|
-
Items?: Record<string, NativeAttributeValue>[];
|
|
25
|
-
LastEvaluatedKey?: Record<string, NativeAttributeValue
|
|
24
|
+
Items?: Record<string, NativeAttributeValue>[] | undefined;
|
|
25
|
+
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -22,8 +22,8 @@ export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, "Tran
|
|
|
22
22
|
*/
|
|
23
23
|
export type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, "Responses"> & {
|
|
24
24
|
Responses?: (Omit<ItemResponse, "Item"> & {
|
|
25
|
-
Item?: Record<string, NativeAttributeValue
|
|
26
|
-
})[];
|
|
25
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
+
})[] | undefined;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -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
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue
|
|
18
|
-
};
|
|
19
|
-
Put?: Omit<Put, "Item" | "ExpressionAttributeValues"> & {
|
|
17
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
18
|
+
}) | undefined;
|
|
19
|
+
Put?: (Omit<Put, "Item" | "ExpressionAttributeValues"> & {
|
|
20
20
|
Item: Record<string, NativeAttributeValue> | undefined;
|
|
21
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue
|
|
22
|
-
};
|
|
23
|
-
Delete?: Omit<Delete, "Key" | "ExpressionAttributeValues"> & {
|
|
21
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
22
|
+
}) | undefined;
|
|
23
|
+
Delete?: (Omit<Delete, "Key" | "ExpressionAttributeValues"> & {
|
|
24
24
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
25
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue
|
|
26
|
-
};
|
|
27
|
-
Update?: Omit<Update, "Key" | "ExpressionAttributeValues"> & {
|
|
25
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
+
}) | undefined;
|
|
27
|
+
Update?: (Omit<Update, "Key" | "ExpressionAttributeValues"> & {
|
|
28
28
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
29
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue
|
|
30
|
-
};
|
|
29
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
30
|
+
}) | undefined;
|
|
31
31
|
})[] | undefined;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
@@ -35,8 +35,8 @@ export type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, "
|
|
|
35
35
|
*/
|
|
36
36
|
export type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput, "ItemCollectionMetrics"> & {
|
|
37
37
|
ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
|
|
38
|
-
ItemCollectionKey?: Record<string, NativeAttributeValue
|
|
39
|
-
})[]
|
|
38
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
39
|
+
})[]> | undefined;
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
42
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -13,22 +13,22 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
13
13
|
export type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues"> & {
|
|
14
14
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
15
15
|
AttributeUpdates?: Record<string, Omit<AttributeValueUpdate, "Value"> & {
|
|
16
|
-
Value?: NativeAttributeValue;
|
|
17
|
-
}
|
|
16
|
+
Value?: NativeAttributeValue | undefined;
|
|
17
|
+
}> | undefined;
|
|
18
18
|
Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
|
|
19
|
-
Value?: NativeAttributeValue;
|
|
20
|
-
AttributeValueList?: NativeAttributeValue[];
|
|
21
|
-
}
|
|
22
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue
|
|
19
|
+
Value?: NativeAttributeValue | undefined;
|
|
20
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
21
|
+
}> | undefined;
|
|
22
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
27
|
export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
|
|
28
|
-
Attributes?: Record<string, NativeAttributeValue
|
|
29
|
-
ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
|
|
30
|
-
ItemCollectionKey?: Record<string, NativeAttributeValue
|
|
31
|
-
};
|
|
28
|
+
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
29
|
+
ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
|
|
30
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
31
|
+
}) | undefined;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
34
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -21,7 +21,7 @@ export type BatchExecuteStatementCommandInput = Pick<
|
|
|
21
21
|
BatchStatementRequest,
|
|
22
22
|
Exclude<keyof BatchStatementRequest, "Parameters">
|
|
23
23
|
> & {
|
|
24
|
-
Parameters?: NativeAttributeValue[];
|
|
24
|
+
Parameters?: NativeAttributeValue[] | undefined;
|
|
25
25
|
})[]
|
|
26
26
|
| undefined;
|
|
27
27
|
};
|
|
@@ -29,18 +29,22 @@ export type BatchExecuteStatementCommandOutput = Pick<
|
|
|
29
29
|
__BatchExecuteStatementCommandOutput,
|
|
30
30
|
Exclude<keyof __BatchExecuteStatementCommandOutput, "Responses">
|
|
31
31
|
> & {
|
|
32
|
-
Responses?:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
32
|
+
Responses?:
|
|
33
|
+
| (Pick<
|
|
34
|
+
BatchStatementResponse,
|
|
35
|
+
Exclude<keyof BatchStatementResponse, "Error" | "Item">
|
|
36
|
+
> & {
|
|
37
|
+
Error?:
|
|
38
|
+
| (Pick<
|
|
39
|
+
BatchStatementError,
|
|
40
|
+
Exclude<keyof BatchStatementError, "Item">
|
|
41
|
+
> & {
|
|
42
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
43
|
+
})
|
|
44
|
+
| undefined;
|
|
45
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
46
|
+
})[]
|
|
47
|
+
| undefined;
|
|
44
48
|
};
|
|
45
49
|
export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand<
|
|
46
50
|
BatchExecuteStatementCommandInput,
|
|
@@ -29,13 +29,17 @@ export type BatchGetCommandOutput = Pick<
|
|
|
29
29
|
__BatchGetItemCommandOutput,
|
|
30
30
|
Exclude<keyof __BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys">
|
|
31
31
|
> & {
|
|
32
|
-
Responses?:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
Responses?:
|
|
33
|
+
| Record<string, Record<string, NativeAttributeValue>[]>
|
|
34
|
+
| undefined;
|
|
35
|
+
UnprocessedKeys?:
|
|
36
|
+
| Record<
|
|
37
|
+
string,
|
|
38
|
+
Pick<KeysAndAttributes, Exclude<keyof KeysAndAttributes, "Keys">> & {
|
|
39
|
+
Keys: Record<string, NativeAttributeValue>[] | undefined;
|
|
40
|
+
}
|
|
41
|
+
>
|
|
42
|
+
| undefined;
|
|
39
43
|
};
|
|
40
44
|
export declare class BatchGetCommand extends DynamoDBDocumentClientCommand<
|
|
41
45
|
BatchGetCommandInput,
|
|
@@ -23,15 +23,16 @@ export type BatchWriteCommandInput = Pick<
|
|
|
23
23
|
WriteRequest,
|
|
24
24
|
Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest">
|
|
25
25
|
> & {
|
|
26
|
-
PutRequest?:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
PutRequest?:
|
|
27
|
+
| (Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & {
|
|
28
|
+
Item: Record<string, NativeAttributeValue> | undefined;
|
|
29
|
+
})
|
|
30
|
+
| undefined;
|
|
31
|
+
DeleteRequest?:
|
|
32
|
+
| (Pick<DeleteRequest, Exclude<keyof DeleteRequest, "Key">> & {
|
|
33
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
34
|
+
})
|
|
35
|
+
| undefined;
|
|
35
36
|
})[]
|
|
36
37
|
>
|
|
37
38
|
| undefined;
|
|
@@ -43,32 +44,37 @@ export type BatchWriteCommandOutput = Pick<
|
|
|
43
44
|
"UnprocessedItems" | "ItemCollectionMetrics"
|
|
44
45
|
>
|
|
45
46
|
> & {
|
|
46
|
-
UnprocessedItems?:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
47
|
+
UnprocessedItems?:
|
|
48
|
+
| Record<
|
|
49
|
+
string,
|
|
50
|
+
(Pick<
|
|
51
|
+
WriteRequest,
|
|
52
|
+
Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest">
|
|
53
|
+
> & {
|
|
54
|
+
PutRequest?:
|
|
55
|
+
| (Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & {
|
|
56
|
+
Item: Record<string, NativeAttributeValue> | undefined;
|
|
57
|
+
})
|
|
58
|
+
| undefined;
|
|
59
|
+
DeleteRequest?:
|
|
60
|
+
| (Pick<DeleteRequest, Exclude<keyof DeleteRequest, "Key">> & {
|
|
61
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
62
|
+
})
|
|
63
|
+
| undefined;
|
|
64
|
+
})[]
|
|
65
|
+
>
|
|
66
|
+
| undefined;
|
|
67
|
+
ItemCollectionMetrics?:
|
|
68
|
+
| Record<
|
|
69
|
+
string,
|
|
70
|
+
(Pick<
|
|
71
|
+
ItemCollectionMetrics,
|
|
72
|
+
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">
|
|
73
|
+
> & {
|
|
74
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
75
|
+
})[]
|
|
76
|
+
>
|
|
77
|
+
| undefined;
|
|
72
78
|
};
|
|
73
79
|
export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<
|
|
74
80
|
BatchWriteCommandInput,
|
|
@@ -20,17 +20,19 @@ export type DeleteCommandInput = Pick<
|
|
|
20
20
|
>
|
|
21
21
|
> & {
|
|
22
22
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
23
|
-
Expected?:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
23
|
+
Expected?:
|
|
24
|
+
| Record<
|
|
25
|
+
string,
|
|
26
|
+
Pick<
|
|
27
|
+
ExpectedAttributeValue,
|
|
28
|
+
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">
|
|
29
|
+
> & {
|
|
30
|
+
Value?: NativeAttributeValue | undefined;
|
|
31
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
32
|
+
}
|
|
33
|
+
>
|
|
34
|
+
| undefined;
|
|
35
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
34
36
|
};
|
|
35
37
|
export type DeleteCommandOutput = Pick<
|
|
36
38
|
__DeleteItemCommandOutput,
|
|
@@ -39,13 +41,15 @@ export type DeleteCommandOutput = Pick<
|
|
|
39
41
|
"Attributes" | "ItemCollectionMetrics"
|
|
40
42
|
>
|
|
41
43
|
> & {
|
|
42
|
-
Attributes?: Record<string, NativeAttributeValue
|
|
43
|
-
ItemCollectionMetrics?:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
45
|
+
ItemCollectionMetrics?:
|
|
46
|
+
| (Pick<
|
|
47
|
+
ItemCollectionMetrics,
|
|
48
|
+
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">
|
|
49
|
+
> & {
|
|
50
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
51
|
+
})
|
|
52
|
+
| undefined;
|
|
49
53
|
};
|
|
50
54
|
export declare class DeleteCommand extends DynamoDBDocumentClientCommand<
|
|
51
55
|
DeleteCommandInput,
|
|
@@ -16,14 +16,14 @@ export type ExecuteStatementCommandInput = Pick<
|
|
|
16
16
|
__ExecuteStatementCommandInput,
|
|
17
17
|
Exclude<keyof __ExecuteStatementCommandInput, "Parameters">
|
|
18
18
|
> & {
|
|
19
|
-
Parameters?: NativeAttributeValue[];
|
|
19
|
+
Parameters?: NativeAttributeValue[] | undefined;
|
|
20
20
|
};
|
|
21
21
|
export type ExecuteStatementCommandOutput = Pick<
|
|
22
22
|
__ExecuteStatementCommandOutput,
|
|
23
23
|
Exclude<keyof __ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey">
|
|
24
24
|
> & {
|
|
25
|
-
Items?: Record<string, NativeAttributeValue>[];
|
|
26
|
-
LastEvaluatedKey?: Record<string, NativeAttributeValue
|
|
25
|
+
Items?: Record<string, NativeAttributeValue>[] | undefined;
|
|
26
|
+
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
27
27
|
};
|
|
28
28
|
export declare class ExecuteStatementCommand extends DynamoDBDocumentClientCommand<
|
|
29
29
|
ExecuteStatementCommandInput,
|
|
@@ -21,7 +21,7 @@ export type ExecuteTransactionCommandInput = Pick<
|
|
|
21
21
|
ParameterizedStatement,
|
|
22
22
|
Exclude<keyof ParameterizedStatement, "Parameters">
|
|
23
23
|
> & {
|
|
24
|
-
Parameters?: NativeAttributeValue[];
|
|
24
|
+
Parameters?: NativeAttributeValue[] | undefined;
|
|
25
25
|
})[]
|
|
26
26
|
| undefined;
|
|
27
27
|
};
|
|
@@ -29,9 +29,11 @@ export type ExecuteTransactionCommandOutput = Pick<
|
|
|
29
29
|
__ExecuteTransactionCommandOutput,
|
|
30
30
|
Exclude<keyof __ExecuteTransactionCommandOutput, "Responses">
|
|
31
31
|
> & {
|
|
32
|
-
Responses?:
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
Responses?:
|
|
33
|
+
| (Pick<ItemResponse, Exclude<keyof ItemResponse, "Item">> & {
|
|
34
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
35
|
+
})[]
|
|
36
|
+
| undefined;
|
|
35
37
|
};
|
|
36
38
|
export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand<
|
|
37
39
|
ExecuteTransactionCommandInput,
|
|
@@ -22,7 +22,7 @@ export type GetCommandOutput = Pick<
|
|
|
22
22
|
__GetItemCommandOutput,
|
|
23
23
|
Exclude<keyof __GetItemCommandOutput, "Item">
|
|
24
24
|
> & {
|
|
25
|
-
Item?: Record<string, NativeAttributeValue
|
|
25
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
26
26
|
};
|
|
27
27
|
export declare class GetCommand extends DynamoDBDocumentClientCommand<
|
|
28
28
|
GetCommandInput,
|
|
@@ -20,29 +20,33 @@ export type PutCommandInput = Pick<
|
|
|
20
20
|
>
|
|
21
21
|
> & {
|
|
22
22
|
Item: Record<string, NativeAttributeValue> | undefined;
|
|
23
|
-
Expected?:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
23
|
+
Expected?:
|
|
24
|
+
| Record<
|
|
25
|
+
string,
|
|
26
|
+
Pick<
|
|
27
|
+
ExpectedAttributeValue,
|
|
28
|
+
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">
|
|
29
|
+
> & {
|
|
30
|
+
Value?: NativeAttributeValue | undefined;
|
|
31
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
32
|
+
}
|
|
33
|
+
>
|
|
34
|
+
| undefined;
|
|
35
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
34
36
|
};
|
|
35
37
|
export type PutCommandOutput = Pick<
|
|
36
38
|
__PutItemCommandOutput,
|
|
37
39
|
Exclude<keyof __PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics">
|
|
38
40
|
> & {
|
|
39
|
-
Attributes?: Record<string, NativeAttributeValue
|
|
40
|
-
ItemCollectionMetrics?:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
42
|
+
ItemCollectionMetrics?:
|
|
43
|
+
| (Pick<
|
|
44
|
+
ItemCollectionMetrics,
|
|
45
|
+
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">
|
|
46
|
+
> & {
|
|
47
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
48
|
+
})
|
|
49
|
+
| undefined;
|
|
46
50
|
};
|
|
47
51
|
export declare class PutCommand extends DynamoDBDocumentClientCommand<
|
|
48
52
|
PutCommandInput,
|
|
@@ -22,27 +22,31 @@ export type QueryCommandInput = Pick<
|
|
|
22
22
|
| "ExpressionAttributeValues"
|
|
23
23
|
>
|
|
24
24
|
> & {
|
|
25
|
-
KeyConditions?:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
25
|
+
KeyConditions?:
|
|
26
|
+
| Record<
|
|
27
|
+
string,
|
|
28
|
+
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
|
|
29
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
30
|
+
}
|
|
31
|
+
>
|
|
32
|
+
| undefined;
|
|
33
|
+
QueryFilter?:
|
|
34
|
+
| Record<
|
|
35
|
+
string,
|
|
36
|
+
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
|
|
37
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
38
|
+
}
|
|
39
|
+
>
|
|
40
|
+
| undefined;
|
|
41
|
+
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
|
|
42
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
39
43
|
};
|
|
40
44
|
export type QueryCommandOutput = Pick<
|
|
41
45
|
__QueryCommandOutput,
|
|
42
46
|
Exclude<keyof __QueryCommandOutput, "Items" | "LastEvaluatedKey">
|
|
43
47
|
> & {
|
|
44
|
-
Items?: Record<string, NativeAttributeValue>[];
|
|
45
|
-
LastEvaluatedKey?: Record<string, NativeAttributeValue
|
|
48
|
+
Items?: Record<string, NativeAttributeValue>[] | undefined;
|
|
49
|
+
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
46
50
|
};
|
|
47
51
|
export declare class QueryCommand extends DynamoDBDocumentClientCommand<
|
|
48
52
|
QueryCommandInput,
|
|
@@ -19,21 +19,23 @@ export type ScanCommandInput = Pick<
|
|
|
19
19
|
"ScanFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"
|
|
20
20
|
>
|
|
21
21
|
> & {
|
|
22
|
-
ScanFilter?:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
ScanFilter?:
|
|
23
|
+
| Record<
|
|
24
|
+
string,
|
|
25
|
+
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
|
|
26
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
27
|
+
}
|
|
28
|
+
>
|
|
29
|
+
| undefined;
|
|
30
|
+
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
|
|
31
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
30
32
|
};
|
|
31
33
|
export type ScanCommandOutput = Pick<
|
|
32
34
|
__ScanCommandOutput,
|
|
33
35
|
Exclude<keyof __ScanCommandOutput, "Items" | "LastEvaluatedKey">
|
|
34
36
|
> & {
|
|
35
|
-
Items?: Record<string, NativeAttributeValue>[];
|
|
36
|
-
LastEvaluatedKey?: Record<string, NativeAttributeValue
|
|
37
|
+
Items?: Record<string, NativeAttributeValue>[] | undefined;
|
|
38
|
+
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
37
39
|
};
|
|
38
40
|
export declare class ScanCommand extends DynamoDBDocumentClientCommand<
|
|
39
41
|
ScanCommandInput,
|
|
@@ -30,9 +30,11 @@ export type TransactGetCommandOutput = Pick<
|
|
|
30
30
|
__TransactGetItemsCommandOutput,
|
|
31
31
|
Exclude<keyof __TransactGetItemsCommandOutput, "Responses">
|
|
32
32
|
> & {
|
|
33
|
-
Responses?:
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
Responses?:
|
|
34
|
+
| (Pick<ItemResponse, Exclude<keyof ItemResponse, "Item">> & {
|
|
35
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
36
|
+
})[]
|
|
37
|
+
| undefined;
|
|
36
38
|
};
|
|
37
39
|
export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<
|
|
38
40
|
TransactGetCommandInput,
|
|
@@ -24,34 +24,50 @@ export type TransactWriteCommandInput = Pick<
|
|
|
24
24
|
"ConditionCheck" | "Put" | "Delete" | "Update"
|
|
25
25
|
>
|
|
26
26
|
> & {
|
|
27
|
-
ConditionCheck?:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
27
|
+
ConditionCheck?:
|
|
28
|
+
| (Pick<
|
|
29
|
+
ConditionCheck,
|
|
30
|
+
Exclude<keyof ConditionCheck, "Key" | "ExpressionAttributeValues">
|
|
31
|
+
> & {
|
|
32
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
33
|
+
ExpressionAttributeValues?:
|
|
34
|
+
| Record<string, NativeAttributeValue>
|
|
35
|
+
| undefined;
|
|
36
|
+
})
|
|
37
|
+
| undefined;
|
|
38
|
+
Put?:
|
|
39
|
+
| (Pick<
|
|
40
|
+
Put,
|
|
41
|
+
Exclude<keyof Put, "Item" | "ExpressionAttributeValues">
|
|
42
|
+
> & {
|
|
43
|
+
Item: Record<string, NativeAttributeValue> | undefined;
|
|
44
|
+
ExpressionAttributeValues?:
|
|
45
|
+
| Record<string, NativeAttributeValue>
|
|
46
|
+
| undefined;
|
|
47
|
+
})
|
|
48
|
+
| undefined;
|
|
49
|
+
Delete?:
|
|
50
|
+
| (Pick<
|
|
51
|
+
Delete,
|
|
52
|
+
Exclude<keyof Delete, "Key" | "ExpressionAttributeValues">
|
|
53
|
+
> & {
|
|
54
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
55
|
+
ExpressionAttributeValues?:
|
|
56
|
+
| Record<string, NativeAttributeValue>
|
|
57
|
+
| undefined;
|
|
58
|
+
})
|
|
59
|
+
| undefined;
|
|
60
|
+
Update?:
|
|
61
|
+
| (Pick<
|
|
62
|
+
Update,
|
|
63
|
+
Exclude<keyof Update, "Key" | "ExpressionAttributeValues">
|
|
64
|
+
> & {
|
|
65
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
66
|
+
ExpressionAttributeValues?:
|
|
67
|
+
| Record<string, NativeAttributeValue>
|
|
68
|
+
| undefined;
|
|
69
|
+
})
|
|
70
|
+
| undefined;
|
|
55
71
|
})[]
|
|
56
72
|
| undefined;
|
|
57
73
|
};
|
|
@@ -59,15 +75,17 @@ export type TransactWriteCommandOutput = Pick<
|
|
|
59
75
|
__TransactWriteItemsCommandOutput,
|
|
60
76
|
Exclude<keyof __TransactWriteItemsCommandOutput, "ItemCollectionMetrics">
|
|
61
77
|
> & {
|
|
62
|
-
ItemCollectionMetrics?:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
78
|
+
ItemCollectionMetrics?:
|
|
79
|
+
| Record<
|
|
80
|
+
string,
|
|
81
|
+
(Pick<
|
|
82
|
+
ItemCollectionMetrics,
|
|
83
|
+
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">
|
|
84
|
+
> & {
|
|
85
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
86
|
+
})[]
|
|
87
|
+
>
|
|
88
|
+
| undefined;
|
|
71
89
|
};
|
|
72
90
|
export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand<
|
|
73
91
|
TransactWriteCommandInput,
|
|
@@ -20,23 +20,30 @@ export type UpdateCommandInput = Pick<
|
|
|
20
20
|
>
|
|
21
21
|
> & {
|
|
22
22
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
23
|
-
AttributeUpdates?:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
23
|
+
AttributeUpdates?:
|
|
24
|
+
| Record<
|
|
25
|
+
string,
|
|
26
|
+
Pick<
|
|
27
|
+
AttributeValueUpdate,
|
|
28
|
+
Exclude<keyof AttributeValueUpdate, "Value">
|
|
29
|
+
> & {
|
|
30
|
+
Value?: NativeAttributeValue | undefined;
|
|
31
|
+
}
|
|
32
|
+
>
|
|
33
|
+
| undefined;
|
|
34
|
+
Expected?:
|
|
35
|
+
| Record<
|
|
36
|
+
string,
|
|
37
|
+
Pick<
|
|
38
|
+
ExpectedAttributeValue,
|
|
39
|
+
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">
|
|
40
|
+
> & {
|
|
41
|
+
Value?: NativeAttributeValue | undefined;
|
|
42
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
43
|
+
}
|
|
44
|
+
>
|
|
45
|
+
| undefined;
|
|
46
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
40
47
|
};
|
|
41
48
|
export type UpdateCommandOutput = Pick<
|
|
42
49
|
__UpdateItemCommandOutput,
|
|
@@ -45,13 +52,15 @@ export type UpdateCommandOutput = Pick<
|
|
|
45
52
|
"Attributes" | "ItemCollectionMetrics"
|
|
46
53
|
>
|
|
47
54
|
> & {
|
|
48
|
-
Attributes?: Record<string, NativeAttributeValue
|
|
49
|
-
ItemCollectionMetrics?:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
+
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
56
|
+
ItemCollectionMetrics?:
|
|
57
|
+
| (Pick<
|
|
58
|
+
ItemCollectionMetrics,
|
|
59
|
+
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">
|
|
60
|
+
> & {
|
|
61
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
62
|
+
})
|
|
63
|
+
| undefined;
|
|
55
64
|
};
|
|
56
65
|
export declare class UpdateCommand extends DynamoDBDocumentClientCommand<
|
|
57
66
|
UpdateCommandInput,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/lib-dynamodb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.698.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",
|