@aws-sdk/lib-dynamodb
Advanced tools
Comparing version 3.696.0 to 3.698.0
@@ -15,3 +15,3 @@ import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; | ||
Statements: (Omit<BatchStatementRequest, "Parameters"> & { | ||
Parameters?: NativeAttributeValue[]; | ||
Parameters?: NativeAttributeValue[] | undefined; | ||
})[] | undefined; | ||
@@ -24,7 +24,7 @@ }; | ||
Responses?: (Omit<BatchStatementResponse, "Error" | "Item"> & { | ||
Error?: Omit<BatchStatementError, "Item"> & { | ||
Item?: Record<string, NativeAttributeValue>; | ||
}; | ||
Item?: Record<string, NativeAttributeValue>; | ||
})[]; | ||
Error?: (Omit<BatchStatementError, "Item"> & { | ||
Item?: Record<string, NativeAttributeValue> | undefined; | ||
}) | undefined; | ||
Item?: Record<string, NativeAttributeValue> | undefined; | ||
})[] | undefined; | ||
}; | ||
@@ -31,0 +31,0 @@ /** |
@@ -22,6 +22,6 @@ import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb"; | ||
export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys"> & { | ||
Responses?: Record<string, Record<string, NativeAttributeValue>[]>; | ||
Responses?: Record<string, Record<string, NativeAttributeValue>[]> | undefined; | ||
UnprocessedKeys?: Record<string, Omit<KeysAndAttributes, "Keys"> & { | ||
Keys: Record<string, NativeAttributeValue>[] | undefined; | ||
}>; | ||
}> | undefined; | ||
}; | ||
@@ -28,0 +28,0 @@ /** |
@@ -15,8 +15,8 @@ import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb"; | ||
RequestItems: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & { | ||
PutRequest?: Omit<PutRequest, "Item"> & { | ||
PutRequest?: (Omit<PutRequest, "Item"> & { | ||
Item: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
DeleteRequest?: Omit<DeleteRequest, "Key"> & { | ||
}) | undefined; | ||
DeleteRequest?: (Omit<DeleteRequest, "Key"> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
}) | undefined; | ||
})[]> | undefined; | ||
@@ -29,12 +29,12 @@ }; | ||
UnprocessedItems?: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & { | ||
PutRequest?: Omit<PutRequest, "Item"> & { | ||
PutRequest?: (Omit<PutRequest, "Item"> & { | ||
Item: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
DeleteRequest?: Omit<DeleteRequest, "Key"> & { | ||
}) | undefined; | ||
DeleteRequest?: (Omit<DeleteRequest, "Key"> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
})[]>; | ||
}) | undefined; | ||
})[]> | undefined; | ||
ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue>; | ||
})[]>; | ||
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined; | ||
})[]> | undefined; | ||
}; | ||
@@ -41,0 +41,0 @@ /** |
@@ -16,6 +16,6 @@ import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb"; | ||
Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & { | ||
Value?: NativeAttributeValue; | ||
AttributeValueList?: NativeAttributeValue[]; | ||
}>; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
Value?: NativeAttributeValue | undefined; | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
}> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -26,6 +26,6 @@ /** | ||
export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & { | ||
Attributes?: Record<string, NativeAttributeValue>; | ||
ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue>; | ||
}; | ||
Attributes?: Record<string, NativeAttributeValue> | undefined; | ||
ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined; | ||
}) | undefined; | ||
}; | ||
@@ -32,0 +32,0 @@ /** |
@@ -14,3 +14,3 @@ import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; | ||
export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput, "Parameters"> & { | ||
Parameters?: NativeAttributeValue[]; | ||
Parameters?: NativeAttributeValue[] | undefined; | ||
}; | ||
@@ -21,4 +21,4 @@ /** | ||
export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey"> & { | ||
Items?: Record<string, NativeAttributeValue>[]; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue>; | ||
Items?: Record<string, NativeAttributeValue>[] | undefined; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -25,0 +25,0 @@ /** |
@@ -15,3 +15,3 @@ import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb"; | ||
TransactStatements: (Omit<ParameterizedStatement, "Parameters"> & { | ||
Parameters?: NativeAttributeValue[]; | ||
Parameters?: NativeAttributeValue[] | undefined; | ||
})[] | undefined; | ||
@@ -24,4 +24,4 @@ }; | ||
Responses?: (Omit<ItemResponse, "Item"> & { | ||
Item?: Record<string, NativeAttributeValue>; | ||
})[]; | ||
Item?: Record<string, NativeAttributeValue> | undefined; | ||
})[] | undefined; | ||
}; | ||
@@ -28,0 +28,0 @@ /** |
@@ -20,3 +20,3 @@ import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb"; | ||
export type GetCommandOutput = Omit<__GetItemCommandOutput, "Item"> & { | ||
Item?: Record<string, NativeAttributeValue>; | ||
Item?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -23,0 +23,0 @@ /** |
@@ -16,6 +16,6 @@ import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb"; | ||
Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & { | ||
Value?: NativeAttributeValue; | ||
AttributeValueList?: NativeAttributeValue[]; | ||
}>; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
Value?: NativeAttributeValue | undefined; | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
}> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -26,6 +26,6 @@ /** | ||
export type PutCommandOutput = Omit<__PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & { | ||
Attributes?: Record<string, NativeAttributeValue>; | ||
ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue>; | ||
}; | ||
Attributes?: Record<string, NativeAttributeValue> | undefined; | ||
ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined; | ||
}) | undefined; | ||
}; | ||
@@ -32,0 +32,0 @@ /** |
@@ -15,9 +15,9 @@ import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb"; | ||
KeyConditions?: Record<string, Omit<Condition, "AttributeValueList"> & { | ||
AttributeValueList?: NativeAttributeValue[]; | ||
}>; | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
}> | undefined; | ||
QueryFilter?: Record<string, Omit<Condition, "AttributeValueList"> & { | ||
AttributeValueList?: NativeAttributeValue[]; | ||
}>; | ||
ExclusiveStartKey?: Record<string, NativeAttributeValue>; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
}> | undefined; | ||
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -28,4 +28,4 @@ /** | ||
export type QueryCommandOutput = Omit<__QueryCommandOutput, "Items" | "LastEvaluatedKey"> & { | ||
Items?: Record<string, NativeAttributeValue>[]; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue>; | ||
Items?: Record<string, NativeAttributeValue>[] | undefined; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -32,0 +32,0 @@ /** |
@@ -15,6 +15,6 @@ import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb"; | ||
ScanFilter?: Record<string, Omit<Condition, "AttributeValueList"> & { | ||
AttributeValueList?: NativeAttributeValue[]; | ||
}>; | ||
ExclusiveStartKey?: Record<string, NativeAttributeValue>; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
}> | undefined; | ||
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -25,4 +25,4 @@ /** | ||
export type ScanCommandOutput = Omit<__ScanCommandOutput, "Items" | "LastEvaluatedKey"> & { | ||
Items?: Record<string, NativeAttributeValue>[]; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue>; | ||
Items?: Record<string, NativeAttributeValue>[] | undefined; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -29,0 +29,0 @@ /** |
@@ -25,4 +25,4 @@ import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb"; | ||
Responses?: (Omit<ItemResponse, "Item"> & { | ||
Item?: Record<string, NativeAttributeValue>; | ||
})[]; | ||
Item?: Record<string, NativeAttributeValue> | undefined; | ||
})[] | undefined; | ||
}; | ||
@@ -29,0 +29,0 @@ /** |
@@ -15,18 +15,18 @@ import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb"; | ||
TransactItems: (Omit<TransactWriteItem, "ConditionCheck" | "Put" | "Delete" | "Update"> & { | ||
ConditionCheck?: Omit<ConditionCheck, "Key" | "ExpressionAttributeValues"> & { | ||
ConditionCheck?: (Omit<ConditionCheck, "Key" | "ExpressionAttributeValues"> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
}; | ||
Put?: Omit<Put, "Item" | "ExpressionAttributeValues"> & { | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}) | undefined; | ||
Put?: (Omit<Put, "Item" | "ExpressionAttributeValues"> & { | ||
Item: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
}; | ||
Delete?: Omit<Delete, "Key" | "ExpressionAttributeValues"> & { | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}) | undefined; | ||
Delete?: (Omit<Delete, "Key" | "ExpressionAttributeValues"> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
}; | ||
Update?: Omit<Update, "Key" | "ExpressionAttributeValues"> & { | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}) | undefined; | ||
Update?: (Omit<Update, "Key" | "ExpressionAttributeValues"> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
}; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}) | undefined; | ||
})[] | undefined; | ||
@@ -39,4 +39,4 @@ }; | ||
ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue>; | ||
})[]>; | ||
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined; | ||
})[]> | undefined; | ||
}; | ||
@@ -43,0 +43,0 @@ /** |
@@ -16,9 +16,9 @@ import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb"; | ||
AttributeUpdates?: Record<string, Omit<AttributeValueUpdate, "Value"> & { | ||
Value?: NativeAttributeValue; | ||
}>; | ||
Value?: NativeAttributeValue | undefined; | ||
}> | undefined; | ||
Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & { | ||
Value?: NativeAttributeValue; | ||
AttributeValueList?: NativeAttributeValue[]; | ||
}>; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
Value?: NativeAttributeValue | undefined; | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
}> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -29,6 +29,6 @@ /** | ||
export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & { | ||
Attributes?: Record<string, NativeAttributeValue>; | ||
ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue>; | ||
}; | ||
Attributes?: Record<string, NativeAttributeValue> | undefined; | ||
ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined; | ||
}) | undefined; | ||
}; | ||
@@ -35,0 +35,0 @@ /** |
@@ -24,3 +24,3 @@ import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; | ||
> & { | ||
Parameters?: NativeAttributeValue[]; | ||
Parameters?: NativeAttributeValue[] | undefined; | ||
})[] | ||
@@ -33,14 +33,18 @@ | undefined; | ||
> & { | ||
Responses?: (Pick< | ||
BatchStatementResponse, | ||
Exclude<keyof BatchStatementResponse, "Error" | "Item"> | ||
> & { | ||
Error?: Pick< | ||
BatchStatementError, | ||
Exclude<keyof BatchStatementError, "Item"> | ||
> & { | ||
Item?: Record<string, NativeAttributeValue>; | ||
}; | ||
Item?: Record<string, NativeAttributeValue>; | ||
})[]; | ||
Responses?: | ||
| (Pick< | ||
BatchStatementResponse, | ||
Exclude<keyof BatchStatementResponse, "Error" | "Item"> | ||
> & { | ||
Error?: | ||
| (Pick< | ||
BatchStatementError, | ||
Exclude<keyof BatchStatementError, "Item"> | ||
> & { | ||
Item?: Record<string, NativeAttributeValue> | undefined; | ||
}) | ||
| undefined; | ||
Item?: Record<string, NativeAttributeValue> | undefined; | ||
})[] | ||
| undefined; | ||
}; | ||
@@ -47,0 +51,0 @@ export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand< |
@@ -32,9 +32,13 @@ import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb"; | ||
> & { | ||
Responses?: Record<string, Record<string, NativeAttributeValue>[]>; | ||
UnprocessedKeys?: Record< | ||
string, | ||
Pick<KeysAndAttributes, Exclude<keyof KeysAndAttributes, "Keys">> & { | ||
Keys: Record<string, NativeAttributeValue>[] | undefined; | ||
} | ||
>; | ||
Responses?: | ||
| Record<string, Record<string, NativeAttributeValue>[]> | ||
| undefined; | ||
UnprocessedKeys?: | ||
| Record< | ||
string, | ||
Pick<KeysAndAttributes, Exclude<keyof KeysAndAttributes, "Keys">> & { | ||
Keys: Record<string, NativeAttributeValue>[] | undefined; | ||
} | ||
> | ||
| undefined; | ||
}; | ||
@@ -41,0 +45,0 @@ export declare class BatchGetCommand extends DynamoDBDocumentClientCommand< |
@@ -26,11 +26,12 @@ import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb"; | ||
> & { | ||
PutRequest?: Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & { | ||
Item: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
DeleteRequest?: Pick< | ||
DeleteRequest, | ||
Exclude<keyof DeleteRequest, "Key"> | ||
> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
PutRequest?: | ||
| (Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & { | ||
Item: Record<string, NativeAttributeValue> | undefined; | ||
}) | ||
| undefined; | ||
DeleteRequest?: | ||
| (Pick<DeleteRequest, Exclude<keyof DeleteRequest, "Key">> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
}) | ||
| undefined; | ||
})[] | ||
@@ -47,28 +48,33 @@ > | ||
> & { | ||
UnprocessedItems?: Record< | ||
string, | ||
(Pick< | ||
WriteRequest, | ||
Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest"> | ||
> & { | ||
PutRequest?: Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & { | ||
Item: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
DeleteRequest?: Pick< | ||
DeleteRequest, | ||
Exclude<keyof DeleteRequest, "Key"> | ||
> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
})[] | ||
>; | ||
ItemCollectionMetrics?: Record< | ||
string, | ||
(Pick< | ||
ItemCollectionMetrics, | ||
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey"> | ||
> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue>; | ||
})[] | ||
>; | ||
UnprocessedItems?: | ||
| Record< | ||
string, | ||
(Pick< | ||
WriteRequest, | ||
Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest"> | ||
> & { | ||
PutRequest?: | ||
| (Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & { | ||
Item: Record<string, NativeAttributeValue> | undefined; | ||
}) | ||
| undefined; | ||
DeleteRequest?: | ||
| (Pick<DeleteRequest, Exclude<keyof DeleteRequest, "Key">> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
}) | ||
| undefined; | ||
})[] | ||
> | ||
| undefined; | ||
ItemCollectionMetrics?: | ||
| Record< | ||
string, | ||
(Pick< | ||
ItemCollectionMetrics, | ||
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey"> | ||
> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined; | ||
})[] | ||
> | ||
| undefined; | ||
}; | ||
@@ -75,0 +81,0 @@ export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand< |
@@ -23,13 +23,15 @@ import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb"; | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
Expected?: Record< | ||
string, | ||
Pick< | ||
ExpectedAttributeValue, | ||
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList"> | ||
> & { | ||
Value?: NativeAttributeValue; | ||
AttributeValueList?: NativeAttributeValue[]; | ||
} | ||
>; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
Expected?: | ||
| Record< | ||
string, | ||
Pick< | ||
ExpectedAttributeValue, | ||
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList"> | ||
> & { | ||
Value?: NativeAttributeValue | undefined; | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
} | ||
> | ||
| undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -43,9 +45,11 @@ export type DeleteCommandOutput = Pick< | ||
> & { | ||
Attributes?: Record<string, NativeAttributeValue>; | ||
ItemCollectionMetrics?: Pick< | ||
ItemCollectionMetrics, | ||
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey"> | ||
> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue>; | ||
}; | ||
Attributes?: Record<string, NativeAttributeValue> | undefined; | ||
ItemCollectionMetrics?: | ||
| (Pick< | ||
ItemCollectionMetrics, | ||
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey"> | ||
> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined; | ||
}) | ||
| undefined; | ||
}; | ||
@@ -52,0 +56,0 @@ export declare class DeleteCommand extends DynamoDBDocumentClientCommand< |
@@ -19,3 +19,3 @@ import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; | ||
> & { | ||
Parameters?: NativeAttributeValue[]; | ||
Parameters?: NativeAttributeValue[] | undefined; | ||
}; | ||
@@ -26,4 +26,4 @@ export type ExecuteStatementCommandOutput = Pick< | ||
> & { | ||
Items?: Record<string, NativeAttributeValue>[]; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue>; | ||
Items?: Record<string, NativeAttributeValue>[] | undefined; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -30,0 +30,0 @@ export declare class ExecuteStatementCommand extends DynamoDBDocumentClientCommand< |
@@ -24,3 +24,3 @@ import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb"; | ||
> & { | ||
Parameters?: NativeAttributeValue[]; | ||
Parameters?: NativeAttributeValue[] | undefined; | ||
})[] | ||
@@ -33,5 +33,7 @@ | undefined; | ||
> & { | ||
Responses?: (Pick<ItemResponse, Exclude<keyof ItemResponse, "Item">> & { | ||
Item?: Record<string, NativeAttributeValue>; | ||
})[]; | ||
Responses?: | ||
| (Pick<ItemResponse, Exclude<keyof ItemResponse, "Item">> & { | ||
Item?: Record<string, NativeAttributeValue> | undefined; | ||
})[] | ||
| undefined; | ||
}; | ||
@@ -38,0 +40,0 @@ export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand< |
@@ -25,3 +25,3 @@ import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb"; | ||
> & { | ||
Item?: Record<string, NativeAttributeValue>; | ||
Item?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -28,0 +28,0 @@ export declare class GetCommand extends DynamoDBDocumentClientCommand< |
@@ -23,13 +23,15 @@ import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb"; | ||
Item: Record<string, NativeAttributeValue> | undefined; | ||
Expected?: Record< | ||
string, | ||
Pick< | ||
ExpectedAttributeValue, | ||
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList"> | ||
> & { | ||
Value?: NativeAttributeValue; | ||
AttributeValueList?: NativeAttributeValue[]; | ||
} | ||
>; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
Expected?: | ||
| Record< | ||
string, | ||
Pick< | ||
ExpectedAttributeValue, | ||
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList"> | ||
> & { | ||
Value?: NativeAttributeValue | undefined; | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
} | ||
> | ||
| undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -40,9 +42,11 @@ export type PutCommandOutput = Pick< | ||
> & { | ||
Attributes?: Record<string, NativeAttributeValue>; | ||
ItemCollectionMetrics?: Pick< | ||
ItemCollectionMetrics, | ||
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey"> | ||
> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue>; | ||
}; | ||
Attributes?: Record<string, NativeAttributeValue> | undefined; | ||
ItemCollectionMetrics?: | ||
| (Pick< | ||
ItemCollectionMetrics, | ||
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey"> | ||
> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined; | ||
}) | ||
| undefined; | ||
}; | ||
@@ -49,0 +53,0 @@ export declare class PutCommand extends DynamoDBDocumentClientCommand< |
@@ -25,16 +25,20 @@ import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb"; | ||
> & { | ||
KeyConditions?: Record< | ||
string, | ||
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & { | ||
AttributeValueList?: NativeAttributeValue[]; | ||
} | ||
>; | ||
QueryFilter?: Record< | ||
string, | ||
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & { | ||
AttributeValueList?: NativeAttributeValue[]; | ||
} | ||
>; | ||
ExclusiveStartKey?: Record<string, NativeAttributeValue>; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
KeyConditions?: | ||
| Record< | ||
string, | ||
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & { | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
} | ||
> | ||
| undefined; | ||
QueryFilter?: | ||
| Record< | ||
string, | ||
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & { | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
} | ||
> | ||
| undefined; | ||
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -45,4 +49,4 @@ export type QueryCommandOutput = Pick< | ||
> & { | ||
Items?: Record<string, NativeAttributeValue>[]; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue>; | ||
Items?: Record<string, NativeAttributeValue>[] | undefined; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -49,0 +53,0 @@ export declare class QueryCommand extends DynamoDBDocumentClientCommand< |
@@ -22,10 +22,12 @@ import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb"; | ||
> & { | ||
ScanFilter?: Record< | ||
string, | ||
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & { | ||
AttributeValueList?: NativeAttributeValue[]; | ||
} | ||
>; | ||
ExclusiveStartKey?: Record<string, NativeAttributeValue>; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
ScanFilter?: | ||
| Record< | ||
string, | ||
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & { | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
} | ||
> | ||
| undefined; | ||
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -36,4 +38,4 @@ export type ScanCommandOutput = Pick< | ||
> & { | ||
Items?: Record<string, NativeAttributeValue>[]; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue>; | ||
Items?: Record<string, NativeAttributeValue>[] | undefined; | ||
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -40,0 +42,0 @@ export declare class ScanCommand extends DynamoDBDocumentClientCommand< |
@@ -33,5 +33,7 @@ import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb"; | ||
> & { | ||
Responses?: (Pick<ItemResponse, Exclude<keyof ItemResponse, "Item">> & { | ||
Item?: Record<string, NativeAttributeValue>; | ||
})[]; | ||
Responses?: | ||
| (Pick<ItemResponse, Exclude<keyof ItemResponse, "Item">> & { | ||
Item?: Record<string, NativeAttributeValue> | undefined; | ||
})[] | ||
| undefined; | ||
}; | ||
@@ -38,0 +40,0 @@ export declare class TransactGetCommand extends DynamoDBDocumentClientCommand< |
@@ -27,30 +27,46 @@ import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb"; | ||
> & { | ||
ConditionCheck?: Pick< | ||
ConditionCheck, | ||
Exclude<keyof ConditionCheck, "Key" | "ExpressionAttributeValues"> | ||
> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
}; | ||
Put?: Pick< | ||
Put, | ||
Exclude<keyof Put, "Item" | "ExpressionAttributeValues"> | ||
> & { | ||
Item: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
}; | ||
Delete?: Pick< | ||
Delete, | ||
Exclude<keyof Delete, "Key" | "ExpressionAttributeValues"> | ||
> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
}; | ||
Update?: Pick< | ||
Update, | ||
Exclude<keyof Update, "Key" | "ExpressionAttributeValues"> | ||
> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
}; | ||
ConditionCheck?: | ||
| (Pick< | ||
ConditionCheck, | ||
Exclude<keyof ConditionCheck, "Key" | "ExpressionAttributeValues"> | ||
> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: | ||
| Record<string, NativeAttributeValue> | ||
| undefined; | ||
}) | ||
| undefined; | ||
Put?: | ||
| (Pick< | ||
Put, | ||
Exclude<keyof Put, "Item" | "ExpressionAttributeValues"> | ||
> & { | ||
Item: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: | ||
| Record<string, NativeAttributeValue> | ||
| undefined; | ||
}) | ||
| undefined; | ||
Delete?: | ||
| (Pick< | ||
Delete, | ||
Exclude<keyof Delete, "Key" | "ExpressionAttributeValues"> | ||
> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: | ||
| Record<string, NativeAttributeValue> | ||
| undefined; | ||
}) | ||
| undefined; | ||
Update?: | ||
| (Pick< | ||
Update, | ||
Exclude<keyof Update, "Key" | "ExpressionAttributeValues"> | ||
> & { | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
ExpressionAttributeValues?: | ||
| Record<string, NativeAttributeValue> | ||
| undefined; | ||
}) | ||
| undefined; | ||
})[] | ||
@@ -63,11 +79,13 @@ | undefined; | ||
> & { | ||
ItemCollectionMetrics?: Record< | ||
string, | ||
(Pick< | ||
ItemCollectionMetrics, | ||
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey"> | ||
> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue>; | ||
})[] | ||
>; | ||
ItemCollectionMetrics?: | ||
| Record< | ||
string, | ||
(Pick< | ||
ItemCollectionMetrics, | ||
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey"> | ||
> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined; | ||
})[] | ||
> | ||
| undefined; | ||
}; | ||
@@ -74,0 +92,0 @@ export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand< |
@@ -23,19 +23,26 @@ import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb"; | ||
Key: Record<string, NativeAttributeValue> | undefined; | ||
AttributeUpdates?: Record< | ||
string, | ||
Pick<AttributeValueUpdate, Exclude<keyof AttributeValueUpdate, "Value">> & { | ||
Value?: NativeAttributeValue; | ||
} | ||
>; | ||
Expected?: Record< | ||
string, | ||
Pick< | ||
ExpectedAttributeValue, | ||
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList"> | ||
> & { | ||
Value?: NativeAttributeValue; | ||
AttributeValueList?: NativeAttributeValue[]; | ||
} | ||
>; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue>; | ||
AttributeUpdates?: | ||
| Record< | ||
string, | ||
Pick< | ||
AttributeValueUpdate, | ||
Exclude<keyof AttributeValueUpdate, "Value"> | ||
> & { | ||
Value?: NativeAttributeValue | undefined; | ||
} | ||
> | ||
| undefined; | ||
Expected?: | ||
| Record< | ||
string, | ||
Pick< | ||
ExpectedAttributeValue, | ||
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList"> | ||
> & { | ||
Value?: NativeAttributeValue | undefined; | ||
AttributeValueList?: NativeAttributeValue[] | undefined; | ||
} | ||
> | ||
| undefined; | ||
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined; | ||
}; | ||
@@ -49,9 +56,11 @@ export type UpdateCommandOutput = Pick< | ||
> & { | ||
Attributes?: Record<string, NativeAttributeValue>; | ||
ItemCollectionMetrics?: Pick< | ||
ItemCollectionMetrics, | ||
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey"> | ||
> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue>; | ||
}; | ||
Attributes?: Record<string, NativeAttributeValue> | undefined; | ||
ItemCollectionMetrics?: | ||
| (Pick< | ||
ItemCollectionMetrics, | ||
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey"> | ||
> & { | ||
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined; | ||
}) | ||
| undefined; | ||
}; | ||
@@ -58,0 +67,0 @@ export declare class UpdateCommand extends DynamoDBDocumentClientCommand< |
{ | ||
"name": "@aws-sdk/lib-dynamodb", | ||
"version": "3.696.0", | ||
"version": "3.698.0", | ||
"description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.", | ||
@@ -5,0 +5,0 @@ "main": "./dist-cjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
216161
4801