@aws-sdk/client-dynamodb 3.934.0 → 3.935.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 +241 -240
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +240 -0
- package/dist-es/models/errors.js +440 -0
- package/dist-es/models/models_0.js +1 -680
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetItemCommand.d.ts +1 -1
- package/dist-types/commands/BatchWriteItemCommand.d.ts +1 -1
- package/dist-types/commands/DeleteItemCommand.d.ts +1 -1
- package/dist-types/commands/ExecuteStatementCommand.d.ts +1 -1
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +1 -1
- package/dist-types/commands/GetItemCommand.d.ts +1 -1
- package/dist-types/commands/PutItemCommand.d.ts +1 -1
- package/dist-types/commands/QueryCommand.d.ts +1 -1
- package/dist-types/commands/ScanCommand.d.ts +1 -1
- package/dist-types/commands/TransactGetItemsCommand.d.ts +1 -1
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +2 -3
- package/dist-types/commands/UpdateItemCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +576 -0
- package/dist-types/models/errors.d.ts +804 -0
- package/dist-types/models/models_0.d.ts +73 -1379
- package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +4 -2
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +306 -0
- package/dist-types/ts3.4/models/errors.d.ts +286 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -587
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -1
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -73
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -11
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dynamodb",
|
|
@@ -22,39 +22,39 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.935.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
27
27
|
"@aws-sdk/middleware-endpoint-discovery": "3.930.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
33
33
|
"@aws-sdk/types": "3.930.0",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.3",
|
|
38
|
-
"@smithy/core": "^3.18.
|
|
38
|
+
"@smithy/core": "^3.18.5",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
40
40
|
"@smithy/hash-node": "^4.2.5",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
45
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
45
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.5",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.5",
|
|
48
48
|
"@smithy/node-http-handler": "^4.4.5",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.5",
|
|
50
|
-
"@smithy/smithy-client": "^4.9.
|
|
50
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
51
51
|
"@smithy/types": "^4.9.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.5",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.5",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.5",
|
|
60
60
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { ReturnConsumedCapacity, ReturnItemCollectionMetrics, TransactWriteItem } from "./models_0";
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface TransactWriteItemsInput {
|
|
6
|
-
/**
|
|
7
|
-
* <p>An ordered array of up to 100 <code>TransactWriteItem</code> objects, each of which
|
|
8
|
-
* contains a <code>ConditionCheck</code>, <code>Put</code>, <code>Update</code>, or
|
|
9
|
-
* <code>Delete</code> object. These can operate on items in different tables, but the
|
|
10
|
-
* tables must reside in the same Amazon Web Services account and Region, and no two of them
|
|
11
|
-
* can operate on the same item. </p>
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
TransactItems: TransactWriteItem[] | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
17
|
-
* consumption that is returned in the response:</p>
|
|
18
|
-
* <ul>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>
|
|
21
|
-
* <code>INDEXES</code> - The response includes the aggregate
|
|
22
|
-
* <code>ConsumedCapacity</code> for the operation, together with
|
|
23
|
-
* <code>ConsumedCapacity</code> for each table and secondary index that was
|
|
24
|
-
* accessed.</p>
|
|
25
|
-
* <p>Note that some operations, such as <code>GetItem</code> and
|
|
26
|
-
* <code>BatchGetItem</code>, do not access any indexes at all. In these cases,
|
|
27
|
-
* specifying <code>INDEXES</code> will only return <code>ConsumedCapacity</code>
|
|
28
|
-
* information for table(s).</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>
|
|
32
|
-
* <code>TOTAL</code> - The response includes only the aggregate
|
|
33
|
-
* <code>ConsumedCapacity</code> for the operation.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>
|
|
37
|
-
* <code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the
|
|
38
|
-
* response.</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
* @public
|
|
42
|
-
*/
|
|
43
|
-
ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* <p>Determines whether item collection metrics are returned. If set to <code>SIZE</code>,
|
|
46
|
-
* the response includes statistics about item collections (if any), that were modified
|
|
47
|
-
* during the operation and are returned in the response. If set to <code>NONE</code> (the
|
|
48
|
-
* default), no statistics are returned. </p>
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* <p>Providing a <code>ClientRequestToken</code> makes the call to
|
|
54
|
-
* <code>TransactWriteItems</code> idempotent, meaning that multiple identical calls
|
|
55
|
-
* have the same effect as one single call.</p>
|
|
56
|
-
* <p>Although multiple identical calls using the same client request token produce the same
|
|
57
|
-
* result on the server (no side effects), the responses to the calls might not be the
|
|
58
|
-
* same. If the <code>ReturnConsumedCapacity</code> parameter is set, then the initial
|
|
59
|
-
* <code>TransactWriteItems</code> call returns the amount of write capacity units
|
|
60
|
-
* consumed in making the changes. Subsequent <code>TransactWriteItems</code> calls with
|
|
61
|
-
* the same client token return the number of read capacity units consumed in reading the
|
|
62
|
-
* item.</p>
|
|
63
|
-
* <p>A client request token is valid for 10 minutes after the first request that uses it is
|
|
64
|
-
* completed. After 10 minutes, any request with the same client token is treated as a new
|
|
65
|
-
* request. Do not resubmit the same request with the same client token for more than 10
|
|
66
|
-
* minutes, or the result might not be idempotent.</p>
|
|
67
|
-
* <p>If you submit a request with the same client token but a change in other parameters
|
|
68
|
-
* within the 10-minute idempotency window, DynamoDB returns an
|
|
69
|
-
* <code>IdempotentParameterMismatch</code> exception.</p>
|
|
70
|
-
* @public
|
|
71
|
-
*/
|
|
72
|
-
ClientRequestToken?: string | undefined;
|
|
73
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ReturnConsumedCapacity,
|
|
3
|
-
ReturnItemCollectionMetrics,
|
|
4
|
-
TransactWriteItem,
|
|
5
|
-
} from "./models_0";
|
|
6
|
-
export interface TransactWriteItemsInput {
|
|
7
|
-
TransactItems: TransactWriteItem[] | undefined;
|
|
8
|
-
ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined;
|
|
9
|
-
ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined;
|
|
10
|
-
ClientRequestToken?: string | undefined;
|
|
11
|
-
}
|