@aws-sdk/lib-dynamodb 3.1154.0 → 3.1155.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-cjs/index.js +13 -0
- package/dist-es/DynamoDBDocument.js +4 -0
- package/dist-es/pagination/PaginatedBatchGet.js +9 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-types/DynamoDBDocument.d.ts +6 -0
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +21 -9
- package/dist-types/commands/BatchGetCommand.d.ts +8 -6
- package/dist-types/commands/BatchWriteCommand.d.ts +28 -19
- package/dist-types/commands/DeleteCommand.d.ts +15 -7
- package/dist-types/commands/DescribeExportCommand.d.ts +13 -5
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +14 -6
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +14 -8
- package/dist-types/commands/PutCommand.d.ts +15 -7
- package/dist-types/commands/QueryCommand.d.ts +8 -6
- package/dist-types/commands/ScanCommand.d.ts +7 -3
- package/dist-types/commands/SearchVectorsCommand.d.ts +7 -3
- package/dist-types/commands/TransactGetCommand.d.ts +21 -9
- package/dist-types/commands/TransactWriteCommand.d.ts +46 -22
- package/dist-types/commands/UpdateCommand.d.ts +22 -10
- package/dist-types/pagination/PaginatedBatchGet.d.ts +12 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/DynamoDBDocument.d.ts +1 -0
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +21 -15
- package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +8 -16
- package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +22 -42
- package/dist-types/ts3.4/commands/DeleteCommand.d.ts +15 -17
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +13 -12
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +14 -10
- package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +14 -20
- package/dist-types/ts3.4/commands/PutCommand.d.ts +15 -17
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +5 -16
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +4 -8
- package/dist-types/ts3.4/commands/SearchVectorsCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +15 -15
- package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +46 -43
- package/dist-types/ts3.4/commands/UpdateCommand.d.ts +22 -25
- package/dist-types/ts3.4/pagination/PaginatedBatchGet.d.ts +8 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/package.json +5 -5
|
@@ -7,18 +7,32 @@ import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamo
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type UpdateAttributeValueUpdate = Omit<AttributeValueUpdate, "Value"> & {
|
|
14
|
+
Value?: NativeAttributeValue | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export type UpdateExpectedAttributeValue = Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
|
|
20
|
+
Value?: NativeAttributeValue | undefined;
|
|
21
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type UpdateItemCollectionMetrics = Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
|
|
27
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
28
|
+
};
|
|
10
29
|
/**
|
|
11
30
|
* @public
|
|
12
31
|
*/
|
|
13
32
|
export type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues"> & {
|
|
14
33
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
15
|
-
AttributeUpdates?: Record<string,
|
|
16
|
-
|
|
17
|
-
}> | undefined;
|
|
18
|
-
Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
|
|
19
|
-
Value?: NativeAttributeValue | undefined;
|
|
20
|
-
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
21
|
-
}> | undefined;
|
|
34
|
+
AttributeUpdates?: Record<string, UpdateAttributeValueUpdate> | undefined;
|
|
35
|
+
Expected?: Record<string, UpdateExpectedAttributeValue> | undefined;
|
|
22
36
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
23
37
|
};
|
|
24
38
|
/**
|
|
@@ -26,9 +40,7 @@ export type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "Attribu
|
|
|
26
40
|
*/
|
|
27
41
|
export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
|
|
28
42
|
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
29
|
-
ItemCollectionMetrics?:
|
|
30
|
-
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
31
|
-
}) | undefined;
|
|
43
|
+
ItemCollectionMetrics?: UpdateItemCollectionMetrics | undefined;
|
|
32
44
|
};
|
|
33
45
|
/**
|
|
34
46
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type BatchGetCommandInput, type BatchGetCommandOutput } from "../commands/BatchGetCommand";
|
|
2
|
+
import type { DynamoDBDocumentClient } from "../DynamoDBDocumentClient";
|
|
3
|
+
/**
|
|
4
|
+
* Issues batch get requests until every key is processed. Each response is yielded as a page.
|
|
5
|
+
* When a response contains unprocessed keys, the next request includes only those keys.
|
|
6
|
+
* Each BatchGet request must contain no more than 100 items.
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare function paginatedBatchGet(config: {
|
|
11
|
+
client: DynamoDBDocumentClient;
|
|
12
|
+
}, input: BatchGetCommandInput): AsyncGenerator<BatchGetCommandOutput>;
|
|
@@ -63,6 +63,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
63
63
|
options: __HttpHandlerOptions,
|
|
64
64
|
cb: (err: any, data?: BatchGetCommandOutput) => void,
|
|
65
65
|
): void;
|
|
66
|
+
paginatedBatchGet(args: BatchGetCommandInput): AsyncGenerator<BatchGetCommandOutput>;
|
|
66
67
|
batchWrite(
|
|
67
68
|
args: BatchWriteCommandInput,
|
|
68
69
|
options?: __HttpHandlerOptions,
|
|
@@ -12,30 +12,36 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type BatchExecuteStatementBatchStatementRequest = Pick<
|
|
16
|
+
BatchStatementRequest,
|
|
17
|
+
Exclude<keyof BatchStatementRequest, "Parameters">
|
|
18
|
+
> & {
|
|
19
|
+
Parameters?: NativeAttributeValue[] | undefined;
|
|
20
|
+
};
|
|
21
|
+
export type BatchExecuteStatementBatchStatementError = Pick<
|
|
22
|
+
BatchStatementError,
|
|
23
|
+
Exclude<keyof BatchStatementError, "Item">
|
|
24
|
+
> & {
|
|
25
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
+
};
|
|
27
|
+
export type BatchExecuteStatementBatchStatementResponse = Pick<
|
|
28
|
+
BatchStatementResponse,
|
|
29
|
+
Exclude<keyof BatchStatementResponse, "Error" | "Item">
|
|
30
|
+
> & {
|
|
31
|
+
Error?: BatchExecuteStatementBatchStatementError | undefined;
|
|
32
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
33
|
+
};
|
|
15
34
|
export type BatchExecuteStatementCommandInput = Pick<
|
|
16
35
|
__BatchExecuteStatementCommandInput,
|
|
17
36
|
Exclude<keyof __BatchExecuteStatementCommandInput, "Statements">
|
|
18
37
|
> & {
|
|
19
|
-
Statements:
|
|
20
|
-
| (Pick<BatchStatementRequest, Exclude<keyof BatchStatementRequest, "Parameters">> & {
|
|
21
|
-
Parameters?: NativeAttributeValue[] | undefined;
|
|
22
|
-
})[]
|
|
23
|
-
| undefined;
|
|
38
|
+
Statements: BatchExecuteStatementBatchStatementRequest[] | undefined;
|
|
24
39
|
};
|
|
25
40
|
export type BatchExecuteStatementCommandOutput = Pick<
|
|
26
41
|
__BatchExecuteStatementCommandOutput,
|
|
27
42
|
Exclude<keyof __BatchExecuteStatementCommandOutput, "Responses">
|
|
28
43
|
> & {
|
|
29
|
-
Responses?:
|
|
30
|
-
| (Pick<BatchStatementResponse, Exclude<keyof BatchStatementResponse, "Error" | "Item">> & {
|
|
31
|
-
Error?:
|
|
32
|
-
| (Pick<BatchStatementError, Exclude<keyof BatchStatementError, "Item">> & {
|
|
33
|
-
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
34
|
-
})
|
|
35
|
-
| undefined;
|
|
36
|
-
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
37
|
-
})[]
|
|
38
|
-
| undefined;
|
|
44
|
+
Responses?: BatchExecuteStatementBatchStatementResponse[] | undefined;
|
|
39
45
|
};
|
|
40
46
|
export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand<
|
|
41
47
|
BatchExecuteStatementCommandInput,
|
|
@@ -12,32 +12,24 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type BatchGetKeysAndAttributes = Pick<
|
|
16
|
+
KeysAndAttributes,
|
|
17
|
+
Exclude<keyof KeysAndAttributes, "Keys">
|
|
18
|
+
> & {
|
|
19
|
+
Keys: Record<string, NativeAttributeValue>[] | undefined;
|
|
20
|
+
};
|
|
15
21
|
export type BatchGetCommandInput = Pick<
|
|
16
22
|
__BatchGetItemCommandInput,
|
|
17
23
|
Exclude<keyof __BatchGetItemCommandInput, "RequestItems">
|
|
18
24
|
> & {
|
|
19
|
-
RequestItems:
|
|
20
|
-
| Record<
|
|
21
|
-
string,
|
|
22
|
-
Pick<KeysAndAttributes, Exclude<keyof KeysAndAttributes, "Keys">> & {
|
|
23
|
-
Keys: Record<string, NativeAttributeValue>[] | undefined;
|
|
24
|
-
}
|
|
25
|
-
>
|
|
26
|
-
| undefined;
|
|
25
|
+
RequestItems: Record<string, BatchGetKeysAndAttributes> | undefined;
|
|
27
26
|
};
|
|
28
27
|
export type BatchGetCommandOutput = Pick<
|
|
29
28
|
__BatchGetItemCommandOutput,
|
|
30
29
|
Exclude<keyof __BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys">
|
|
31
30
|
> & {
|
|
32
31
|
Responses?: Record<string, Record<string, NativeAttributeValue>[]> | undefined;
|
|
33
|
-
UnprocessedKeys?:
|
|
34
|
-
| Record<
|
|
35
|
-
string,
|
|
36
|
-
Pick<KeysAndAttributes, Exclude<keyof KeysAndAttributes, "Keys">> & {
|
|
37
|
-
Keys: Record<string, NativeAttributeValue>[] | undefined;
|
|
38
|
-
}
|
|
39
|
-
>
|
|
40
|
-
| undefined;
|
|
32
|
+
UnprocessedKeys?: Record<string, BatchGetKeysAndAttributes> | undefined;
|
|
41
33
|
};
|
|
42
34
|
export declare class BatchGetCommand extends DynamoDBDocumentClientCommand<
|
|
43
35
|
BatchGetCommandInput,
|
|
@@ -12,57 +12,37 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type BatchWritePutRequest = Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & {
|
|
16
|
+
Item: Record<string, NativeAttributeValue> | undefined;
|
|
17
|
+
};
|
|
18
|
+
export type BatchWriteDeleteRequest = Pick<DeleteRequest, Exclude<keyof DeleteRequest, "Key">> & {
|
|
19
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
20
|
+
};
|
|
21
|
+
export type BatchWriteWriteRequest = Pick<
|
|
22
|
+
WriteRequest,
|
|
23
|
+
Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest">
|
|
24
|
+
> & {
|
|
25
|
+
PutRequest?: BatchWritePutRequest | undefined;
|
|
26
|
+
DeleteRequest?: BatchWriteDeleteRequest | undefined;
|
|
27
|
+
};
|
|
28
|
+
export type BatchWriteItemCollectionMetrics = Pick<
|
|
29
|
+
ItemCollectionMetrics,
|
|
30
|
+
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">
|
|
31
|
+
> & {
|
|
32
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
33
|
+
};
|
|
15
34
|
export type BatchWriteCommandInput = Pick<
|
|
16
35
|
__BatchWriteItemCommandInput,
|
|
17
36
|
Exclude<keyof __BatchWriteItemCommandInput, "RequestItems">
|
|
18
37
|
> & {
|
|
19
|
-
RequestItems:
|
|
20
|
-
| Record<
|
|
21
|
-
string,
|
|
22
|
-
(Pick<WriteRequest, Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest">> & {
|
|
23
|
-
PutRequest?:
|
|
24
|
-
| (Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & {
|
|
25
|
-
Item: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
-
})
|
|
27
|
-
| undefined;
|
|
28
|
-
DeleteRequest?:
|
|
29
|
-
| (Pick<DeleteRequest, Exclude<keyof DeleteRequest, "Key">> & {
|
|
30
|
-
Key: Record<string, NativeAttributeValue> | undefined;
|
|
31
|
-
})
|
|
32
|
-
| undefined;
|
|
33
|
-
})[]
|
|
34
|
-
>
|
|
35
|
-
| undefined;
|
|
38
|
+
RequestItems: Record<string, BatchWriteWriteRequest[]> | undefined;
|
|
36
39
|
};
|
|
37
40
|
export type BatchWriteCommandOutput = Pick<
|
|
38
41
|
__BatchWriteItemCommandOutput,
|
|
39
42
|
Exclude<keyof __BatchWriteItemCommandOutput, "UnprocessedItems" | "ItemCollectionMetrics">
|
|
40
43
|
> & {
|
|
41
|
-
UnprocessedItems?:
|
|
42
|
-
|
|
43
|
-
string,
|
|
44
|
-
(Pick<WriteRequest, Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest">> & {
|
|
45
|
-
PutRequest?:
|
|
46
|
-
| (Pick<PutRequest, Exclude<keyof PutRequest, "Item">> & {
|
|
47
|
-
Item: Record<string, NativeAttributeValue> | undefined;
|
|
48
|
-
})
|
|
49
|
-
| undefined;
|
|
50
|
-
DeleteRequest?:
|
|
51
|
-
| (Pick<DeleteRequest, Exclude<keyof DeleteRequest, "Key">> & {
|
|
52
|
-
Key: Record<string, NativeAttributeValue> | undefined;
|
|
53
|
-
})
|
|
54
|
-
| undefined;
|
|
55
|
-
})[]
|
|
56
|
-
>
|
|
57
|
-
| undefined;
|
|
58
|
-
ItemCollectionMetrics?:
|
|
59
|
-
| Record<
|
|
60
|
-
string,
|
|
61
|
-
(Pick<ItemCollectionMetrics, Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">> & {
|
|
62
|
-
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
63
|
-
})[]
|
|
64
|
-
>
|
|
65
|
-
| undefined;
|
|
44
|
+
UnprocessedItems?: Record<string, BatchWriteWriteRequest[]> | undefined;
|
|
45
|
+
ItemCollectionMetrics?: Record<string, BatchWriteItemCollectionMetrics[]> | undefined;
|
|
66
46
|
};
|
|
67
47
|
export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<
|
|
68
48
|
BatchWriteCommandInput,
|
|
@@ -12,23 +12,25 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type DeleteExpectedAttributeValue = Pick<
|
|
16
|
+
ExpectedAttributeValue,
|
|
17
|
+
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">
|
|
18
|
+
> & {
|
|
19
|
+
Value?: NativeAttributeValue | undefined;
|
|
20
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
21
|
+
};
|
|
22
|
+
export type DeleteItemCollectionMetrics = Pick<
|
|
23
|
+
ItemCollectionMetrics,
|
|
24
|
+
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">
|
|
25
|
+
> & {
|
|
26
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
27
|
+
};
|
|
15
28
|
export type DeleteCommandInput = Pick<
|
|
16
29
|
__DeleteItemCommandInput,
|
|
17
30
|
Exclude<keyof __DeleteItemCommandInput, "Key" | "Expected" | "ExpressionAttributeValues">
|
|
18
31
|
> & {
|
|
19
32
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
20
|
-
Expected?:
|
|
21
|
-
| Record<
|
|
22
|
-
string,
|
|
23
|
-
Pick<
|
|
24
|
-
ExpectedAttributeValue,
|
|
25
|
-
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">
|
|
26
|
-
> & {
|
|
27
|
-
Value?: NativeAttributeValue | undefined;
|
|
28
|
-
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
29
|
-
}
|
|
30
|
-
>
|
|
31
|
-
| undefined;
|
|
33
|
+
Expected?: Record<string, DeleteExpectedAttributeValue> | undefined;
|
|
32
34
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
33
35
|
};
|
|
34
36
|
export type DeleteCommandOutput = Pick<
|
|
@@ -36,11 +38,7 @@ export type DeleteCommandOutput = Pick<
|
|
|
36
38
|
Exclude<keyof __DeleteItemCommandOutput, "Attributes" | "ItemCollectionMetrics">
|
|
37
39
|
> & {
|
|
38
40
|
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
39
|
-
ItemCollectionMetrics?:
|
|
40
|
-
| (Pick<ItemCollectionMetrics, Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">> & {
|
|
41
|
-
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
42
|
-
})
|
|
43
|
-
| undefined;
|
|
41
|
+
ItemCollectionMetrics?: DeleteItemCollectionMetrics | undefined;
|
|
44
42
|
};
|
|
45
43
|
export declare class DeleteCommand extends DynamoDBDocumentClientCommand<
|
|
46
44
|
DeleteCommandInput,
|
|
@@ -12,23 +12,24 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { DescribeExportCommand as __DescribeExportCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type DescribeExportFilterSpecification = Pick<
|
|
16
|
+
FilterSpecification,
|
|
17
|
+
Exclude<keyof FilterSpecification, "ExpressionAttributeValues">
|
|
18
|
+
> & {
|
|
19
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
20
|
+
};
|
|
21
|
+
export type DescribeExportExportDescription = Pick<
|
|
22
|
+
ExportDescription,
|
|
23
|
+
Exclude<keyof ExportDescription, "FilterSpecification">
|
|
24
|
+
> & {
|
|
25
|
+
FilterSpecification?: DescribeExportFilterSpecification | undefined;
|
|
26
|
+
};
|
|
15
27
|
export type DescribeExportCommandInput = __DescribeExportCommandInput;
|
|
16
28
|
export type DescribeExportCommandOutput = Pick<
|
|
17
29
|
__DescribeExportCommandOutput,
|
|
18
30
|
Exclude<keyof __DescribeExportCommandOutput, "ExportDescription">
|
|
19
31
|
> & {
|
|
20
|
-
ExportDescription?:
|
|
21
|
-
| (Pick<ExportDescription, Exclude<keyof ExportDescription, "FilterSpecification">> & {
|
|
22
|
-
FilterSpecification?:
|
|
23
|
-
| (Pick<
|
|
24
|
-
FilterSpecification,
|
|
25
|
-
Exclude<keyof FilterSpecification, "ExpressionAttributeValues">
|
|
26
|
-
> & {
|
|
27
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
28
|
-
})
|
|
29
|
-
| undefined;
|
|
30
|
-
})
|
|
31
|
-
| undefined;
|
|
32
|
+
ExportDescription?: DescribeExportExportDescription | undefined;
|
|
32
33
|
};
|
|
33
34
|
export declare class DescribeExportCommand extends DynamoDBDocumentClientCommand<
|
|
34
35
|
DescribeExportCommandInput,
|
|
@@ -12,25 +12,29 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type ExecuteTransactionParameterizedStatement = Pick<
|
|
16
|
+
ParameterizedStatement,
|
|
17
|
+
Exclude<keyof ParameterizedStatement, "Parameters">
|
|
18
|
+
> & {
|
|
19
|
+
Parameters?: NativeAttributeValue[] | undefined;
|
|
20
|
+
};
|
|
21
|
+
export type ExecuteTransactionItemResponse = Pick<
|
|
22
|
+
ItemResponse,
|
|
23
|
+
Exclude<keyof ItemResponse, "Item">
|
|
24
|
+
> & {
|
|
25
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
+
};
|
|
15
27
|
export type ExecuteTransactionCommandInput = Pick<
|
|
16
28
|
__ExecuteTransactionCommandInput,
|
|
17
29
|
Exclude<keyof __ExecuteTransactionCommandInput, "TransactStatements">
|
|
18
30
|
> & {
|
|
19
|
-
TransactStatements:
|
|
20
|
-
| (Pick<ParameterizedStatement, Exclude<keyof ParameterizedStatement, "Parameters">> & {
|
|
21
|
-
Parameters?: NativeAttributeValue[] | undefined;
|
|
22
|
-
})[]
|
|
23
|
-
| undefined;
|
|
31
|
+
TransactStatements: ExecuteTransactionParameterizedStatement[] | undefined;
|
|
24
32
|
};
|
|
25
33
|
export type ExecuteTransactionCommandOutput = Pick<
|
|
26
34
|
__ExecuteTransactionCommandOutput,
|
|
27
35
|
Exclude<keyof __ExecuteTransactionCommandOutput, "Responses">
|
|
28
36
|
> & {
|
|
29
|
-
Responses?:
|
|
30
|
-
| (Pick<ItemResponse, Exclude<keyof ItemResponse, "Item">> & {
|
|
31
|
-
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
32
|
-
})[]
|
|
33
|
-
| undefined;
|
|
37
|
+
Responses?: ExecuteTransactionItemResponse[] | undefined;
|
|
34
38
|
};
|
|
35
39
|
export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand<
|
|
36
40
|
ExecuteTransactionCommandInput,
|
|
@@ -12,35 +12,29 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { ExportTableToPointInTimeCommand as __ExportTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type ExportTableToPointInTimeFilterSpecification = Pick<
|
|
16
|
+
FilterSpecification,
|
|
17
|
+
Exclude<keyof FilterSpecification, "ExpressionAttributeValues">
|
|
18
|
+
> & {
|
|
19
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
20
|
+
};
|
|
21
|
+
export type ExportTableToPointInTimeExportDescription = Pick<
|
|
22
|
+
ExportDescription,
|
|
23
|
+
Exclude<keyof ExportDescription, "FilterSpecification">
|
|
24
|
+
> & {
|
|
25
|
+
FilterSpecification?: ExportTableToPointInTimeFilterSpecification | undefined;
|
|
26
|
+
};
|
|
15
27
|
export type ExportTableToPointInTimeCommandInput = Pick<
|
|
16
28
|
__ExportTableToPointInTimeCommandInput,
|
|
17
29
|
Exclude<keyof __ExportTableToPointInTimeCommandInput, "FilterSpecification">
|
|
18
30
|
> & {
|
|
19
|
-
FilterSpecification?:
|
|
20
|
-
| (Pick<
|
|
21
|
-
FilterSpecification,
|
|
22
|
-
Exclude<keyof FilterSpecification, "ExpressionAttributeValues">
|
|
23
|
-
> & {
|
|
24
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
25
|
-
})
|
|
26
|
-
| undefined;
|
|
31
|
+
FilterSpecification?: ExportTableToPointInTimeFilterSpecification | undefined;
|
|
27
32
|
};
|
|
28
33
|
export type ExportTableToPointInTimeCommandOutput = Pick<
|
|
29
34
|
__ExportTableToPointInTimeCommandOutput,
|
|
30
35
|
Exclude<keyof __ExportTableToPointInTimeCommandOutput, "ExportDescription">
|
|
31
36
|
> & {
|
|
32
|
-
ExportDescription?:
|
|
33
|
-
| (Pick<ExportDescription, Exclude<keyof ExportDescription, "FilterSpecification">> & {
|
|
34
|
-
FilterSpecification?:
|
|
35
|
-
| (Pick<
|
|
36
|
-
FilterSpecification,
|
|
37
|
-
Exclude<keyof FilterSpecification, "ExpressionAttributeValues">
|
|
38
|
-
> & {
|
|
39
|
-
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
40
|
-
})
|
|
41
|
-
| undefined;
|
|
42
|
-
})
|
|
43
|
-
| undefined;
|
|
37
|
+
ExportDescription?: ExportTableToPointInTimeExportDescription | undefined;
|
|
44
38
|
};
|
|
45
39
|
export declare class ExportTableToPointInTimeCommand extends DynamoDBDocumentClientCommand<
|
|
46
40
|
ExportTableToPointInTimeCommandInput,
|
|
@@ -12,23 +12,25 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type PutExpectedAttributeValue = Pick<
|
|
16
|
+
ExpectedAttributeValue,
|
|
17
|
+
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">
|
|
18
|
+
> & {
|
|
19
|
+
Value?: NativeAttributeValue | undefined;
|
|
20
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
21
|
+
};
|
|
22
|
+
export type PutItemCollectionMetrics = Pick<
|
|
23
|
+
ItemCollectionMetrics,
|
|
24
|
+
Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">
|
|
25
|
+
> & {
|
|
26
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
27
|
+
};
|
|
15
28
|
export type PutCommandInput = Pick<
|
|
16
29
|
__PutItemCommandInput,
|
|
17
30
|
Exclude<keyof __PutItemCommandInput, "Item" | "Expected" | "ExpressionAttributeValues">
|
|
18
31
|
> & {
|
|
19
32
|
Item: Record<string, NativeAttributeValue> | undefined;
|
|
20
|
-
Expected?:
|
|
21
|
-
| Record<
|
|
22
|
-
string,
|
|
23
|
-
Pick<
|
|
24
|
-
ExpectedAttributeValue,
|
|
25
|
-
Exclude<keyof ExpectedAttributeValue, "Value" | "AttributeValueList">
|
|
26
|
-
> & {
|
|
27
|
-
Value?: NativeAttributeValue | undefined;
|
|
28
|
-
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
29
|
-
}
|
|
30
|
-
>
|
|
31
|
-
| undefined;
|
|
33
|
+
Expected?: Record<string, PutExpectedAttributeValue> | undefined;
|
|
32
34
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
33
35
|
};
|
|
34
36
|
export type PutCommandOutput = Pick<
|
|
@@ -36,11 +38,7 @@ export type PutCommandOutput = Pick<
|
|
|
36
38
|
Exclude<keyof __PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics">
|
|
37
39
|
> & {
|
|
38
40
|
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
39
|
-
ItemCollectionMetrics?:
|
|
40
|
-
| (Pick<ItemCollectionMetrics, Exclude<keyof ItemCollectionMetrics, "ItemCollectionKey">> & {
|
|
41
|
-
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
42
|
-
})
|
|
43
|
-
| undefined;
|
|
41
|
+
ItemCollectionMetrics?: PutItemCollectionMetrics | undefined;
|
|
44
42
|
};
|
|
45
43
|
export declare class PutCommand extends DynamoDBDocumentClientCommand<
|
|
46
44
|
PutCommandInput,
|
|
@@ -12,6 +12,9 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type QueryCondition = Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
|
|
16
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
17
|
+
};
|
|
15
18
|
export type QueryCommandInput = Pick<
|
|
16
19
|
__QueryCommandInput,
|
|
17
20
|
Exclude<
|
|
@@ -19,22 +22,8 @@ export type QueryCommandInput = Pick<
|
|
|
19
22
|
"KeyConditions" | "QueryFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"
|
|
20
23
|
>
|
|
21
24
|
> & {
|
|
22
|
-
KeyConditions?:
|
|
23
|
-
|
|
24
|
-
string,
|
|
25
|
-
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
|
|
26
|
-
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
27
|
-
}
|
|
28
|
-
>
|
|
29
|
-
| undefined;
|
|
30
|
-
QueryFilter?:
|
|
31
|
-
| Record<
|
|
32
|
-
string,
|
|
33
|
-
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
|
|
34
|
-
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
35
|
-
}
|
|
36
|
-
>
|
|
37
|
-
| undefined;
|
|
25
|
+
KeyConditions?: Record<string, QueryCondition> | undefined;
|
|
26
|
+
QueryFilter?: Record<string, QueryCondition> | undefined;
|
|
38
27
|
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
|
|
39
28
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
40
29
|
};
|
|
@@ -12,6 +12,9 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type ScanCondition = Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
|
|
16
|
+
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
17
|
+
};
|
|
15
18
|
export type ScanCommandInput = Pick<
|
|
16
19
|
__ScanCommandInput,
|
|
17
20
|
Exclude<
|
|
@@ -19,14 +22,7 @@ export type ScanCommandInput = Pick<
|
|
|
19
22
|
"ScanFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"
|
|
20
23
|
>
|
|
21
24
|
> & {
|
|
22
|
-
ScanFilter?:
|
|
23
|
-
| Record<
|
|
24
|
-
string,
|
|
25
|
-
Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
|
|
26
|
-
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
27
|
-
}
|
|
28
|
-
>
|
|
29
|
-
| undefined;
|
|
25
|
+
ScanFilter?: Record<string, ScanCondition> | undefined;
|
|
30
26
|
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
|
|
31
27
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
32
28
|
};
|
|
@@ -12,6 +12,12 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { SearchVectorsCommand as __SearchVectorsCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type SearchVectorsSearchResultItem = Pick<
|
|
16
|
+
SearchResultItem,
|
|
17
|
+
Exclude<keyof SearchResultItem, "Item">
|
|
18
|
+
> & {
|
|
19
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
20
|
+
};
|
|
15
21
|
export type SearchVectorsCommandInput = Pick<
|
|
16
22
|
__SearchVectorsCommandInput,
|
|
17
23
|
Exclude<keyof __SearchVectorsCommandInput, "ExpressionAttributeValues" | "SearchVector">
|
|
@@ -23,11 +29,7 @@ export type SearchVectorsCommandOutput = Pick<
|
|
|
23
29
|
__SearchVectorsCommandOutput,
|
|
24
30
|
Exclude<keyof __SearchVectorsCommandOutput, "SearchResults">
|
|
25
31
|
> & {
|
|
26
|
-
SearchResults?:
|
|
27
|
-
| (Pick<SearchResultItem, Exclude<keyof SearchResultItem, "Item">> & {
|
|
28
|
-
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
29
|
-
})[]
|
|
30
|
-
| undefined;
|
|
32
|
+
SearchResults?: SearchVectorsSearchResultItem[] | undefined;
|
|
31
33
|
};
|
|
32
34
|
export declare class SearchVectorsCommand extends DynamoDBDocumentClientCommand<
|
|
33
35
|
SearchVectorsCommandInput,
|
|
@@ -12,29 +12,29 @@ import {
|
|
|
12
12
|
} from "../DynamoDBDocumentClient";
|
|
13
13
|
import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
|
+
export type TransactGetGet = Pick<Get, Exclude<keyof Get, "Key">> & {
|
|
16
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
17
|
+
};
|
|
18
|
+
export type TransactGetItem = Pick<
|
|
19
|
+
ClientTransactGetItem,
|
|
20
|
+
Exclude<keyof ClientTransactGetItem, "Get">
|
|
21
|
+
> & {
|
|
22
|
+
Get: TransactGetGet | undefined;
|
|
23
|
+
};
|
|
24
|
+
export type TransactGetItemResponse = Pick<ItemResponse, Exclude<keyof ItemResponse, "Item">> & {
|
|
25
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
+
};
|
|
15
27
|
export type TransactGetCommandInput = Pick<
|
|
16
28
|
__TransactGetItemsCommandInput,
|
|
17
29
|
Exclude<keyof __TransactGetItemsCommandInput, "TransactItems">
|
|
18
30
|
> & {
|
|
19
|
-
TransactItems:
|
|
20
|
-
| (Pick<TransactGetItem, Exclude<keyof TransactGetItem, "Get">> & {
|
|
21
|
-
Get:
|
|
22
|
-
| (Pick<Get, Exclude<keyof Get, "Key">> & {
|
|
23
|
-
Key: Record<string, NativeAttributeValue> | undefined;
|
|
24
|
-
})
|
|
25
|
-
| undefined;
|
|
26
|
-
})[]
|
|
27
|
-
| undefined;
|
|
31
|
+
TransactItems: TransactGetItem[] | undefined;
|
|
28
32
|
};
|
|
29
33
|
export type TransactGetCommandOutput = Pick<
|
|
30
34
|
__TransactGetItemsCommandOutput,
|
|
31
35
|
Exclude<keyof __TransactGetItemsCommandOutput, "Responses">
|
|
32
36
|
> & {
|
|
33
|
-
Responses?:
|
|
34
|
-
| (Pick<ItemResponse, Exclude<keyof ItemResponse, "Item">> & {
|
|
35
|
-
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
36
|
-
})[]
|
|
37
|
-
| undefined;
|
|
37
|
+
Responses?: TransactGetItemResponse[] | undefined;
|
|
38
38
|
};
|
|
39
39
|
export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<
|
|
40
40
|
TransactGetCommandInput,
|
|
@@ -75,7 +75,7 @@ export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<
|
|
|
75
75
|
import {
|
|
76
76
|
Get,
|
|
77
77
|
ItemResponse,
|
|
78
|
-
TransactGetItem,
|
|
78
|
+
TransactGetItem as ClientTransactGetItem,
|
|
79
79
|
TransactGetItemsCommandInput as __TransactGetItemsCommandInput,
|
|
80
80
|
TransactGetItemsCommandOutput as __TransactGetItemsCommandOutput,
|
|
81
81
|
} from "@aws-sdk/client-dynamodb";
|