@aws-sdk/client-dynamodb 3.39.0 → 3.43.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/CHANGELOG.md +44 -0
- package/README.md +18 -16
- package/dist-cjs/endpoints.js +157 -27
- package/dist-cjs/models/models_0.js +13 -13
- package/dist-cjs/protocols/Aws_json1_0.js +15 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +157 -27
- package/dist-es/models/models_0.js +8 -8
- package/dist-es/protocols/Aws_json1_0.js +16 -4
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/DynamoDB.d.ts +606 -567
- package/dist-types/DynamoDBClient.d.ts +24 -15
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +7 -4
- package/dist-types/commands/BatchGetItemCommand.d.ts +27 -26
- package/dist-types/commands/BatchWriteItemCommand.d.ts +51 -47
- package/dist-types/commands/CreateBackupCommand.d.ts +19 -19
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +32 -43
- package/dist-types/commands/CreateTableCommand.d.ts +14 -14
- package/dist-types/commands/DeleteBackupCommand.d.ts +3 -2
- package/dist-types/commands/DeleteItemCommand.d.ts +12 -7
- package/dist-types/commands/DeleteTableCommand.d.ts +18 -16
- package/dist-types/commands/DescribeBackupCommand.d.ts +3 -2
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +12 -11
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +6 -5
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +5 -4
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLimitsCommand.d.ts +51 -41
- package/dist-types/commands/DescribeTableCommand.d.ts +11 -8
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +5 -4
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +1 -1
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +1 -1
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +5 -5
- package/dist-types/commands/ExecuteStatementCommand.d.ts +3 -4
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +9 -4
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +1 -1
- package/dist-types/commands/GetItemCommand.d.ts +9 -8
- package/dist-types/commands/ListBackupsCommand.d.ts +7 -7
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +3 -2
- package/dist-types/commands/ListExportsCommand.d.ts +1 -1
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +5 -4
- package/dist-types/commands/ListTablesCommand.d.ts +4 -4
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +5 -5
- package/dist-types/commands/PutItemCommand.d.ts +52 -45
- package/dist-types/commands/QueryCommand.d.ts +40 -44
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +19 -19
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +36 -41
- package/dist-types/commands/ScanCommand.d.ts +17 -16
- package/dist-types/commands/TagResourceCommand.d.ts +3 -4
- package/dist-types/commands/TransactGetItemsCommand.d.ts +12 -11
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +49 -47
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -4
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +10 -10
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +7 -2
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +12 -17
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateItemCommand.d.ts +8 -4
- package/dist-types/commands/UpdateTableCommand.d.ts +15 -13
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +5 -4
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +15 -15
- package/dist-types/models/models_0.d.ts +3552 -2839
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +51 -39
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +25 -25
|
@@ -17,6 +17,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
17
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
20
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
22
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
23
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
24
|
apiVersion: string;
|
|
@@ -17,6 +17,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
17
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
20
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
22
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
23
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
24
|
apiVersion: string;
|
|
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
18
18
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
19
19
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
20
|
logger: import("@aws-sdk/types").Logger;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
23
|
serviceId: string;
|
|
22
24
|
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
@@ -89,6 +89,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
89
89
|
|
|
90
90
|
logger?: __Logger;
|
|
91
91
|
|
|
92
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
93
|
+
|
|
94
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
95
|
+
|
|
92
96
|
serviceId?: string;
|
|
93
97
|
|
|
94
98
|
region?: string | __Provider<string>;
|
|
@@ -351,6 +351,45 @@ export declare enum BackupTypeFilter {
|
|
|
351
351
|
SYSTEM = "SYSTEM",
|
|
352
352
|
USER = "USER"
|
|
353
353
|
}
|
|
354
|
+
export declare type ReturnConsumedCapacity = "INDEXES" | "NONE" | "TOTAL";
|
|
355
|
+
|
|
356
|
+
export interface Capacity {
|
|
357
|
+
|
|
358
|
+
ReadCapacityUnits?: number;
|
|
359
|
+
|
|
360
|
+
WriteCapacityUnits?: number;
|
|
361
|
+
|
|
362
|
+
CapacityUnits?: number;
|
|
363
|
+
}
|
|
364
|
+
export declare namespace Capacity {
|
|
365
|
+
|
|
366
|
+
const filterSensitiveLog: (obj: Capacity) => any;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export interface ConsumedCapacity {
|
|
370
|
+
|
|
371
|
+
TableName?: string;
|
|
372
|
+
|
|
373
|
+
CapacityUnits?: number;
|
|
374
|
+
|
|
375
|
+
ReadCapacityUnits?: number;
|
|
376
|
+
|
|
377
|
+
WriteCapacityUnits?: number;
|
|
378
|
+
|
|
379
|
+
Table?: Capacity;
|
|
380
|
+
|
|
381
|
+
LocalSecondaryIndexes?: {
|
|
382
|
+
[key: string]: Capacity;
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
GlobalSecondaryIndexes?: {
|
|
386
|
+
[key: string]: Capacity;
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
export declare namespace ConsumedCapacity {
|
|
390
|
+
|
|
391
|
+
const filterSensitiveLog: (obj: ConsumedCapacity) => any;
|
|
392
|
+
}
|
|
354
393
|
export declare enum BatchStatementErrorCodeEnum {
|
|
355
394
|
AccessDenied = "AccessDenied",
|
|
356
395
|
ConditionalCheckFailed = "ConditionalCheckFailed",
|
|
@@ -396,45 +435,6 @@ export declare namespace RequestLimitExceeded {
|
|
|
396
435
|
|
|
397
436
|
const filterSensitiveLog: (obj: RequestLimitExceeded) => any;
|
|
398
437
|
}
|
|
399
|
-
export declare type ReturnConsumedCapacity = "INDEXES" | "NONE" | "TOTAL";
|
|
400
|
-
|
|
401
|
-
export interface Capacity {
|
|
402
|
-
|
|
403
|
-
ReadCapacityUnits?: number;
|
|
404
|
-
|
|
405
|
-
WriteCapacityUnits?: number;
|
|
406
|
-
|
|
407
|
-
CapacityUnits?: number;
|
|
408
|
-
}
|
|
409
|
-
export declare namespace Capacity {
|
|
410
|
-
|
|
411
|
-
const filterSensitiveLog: (obj: Capacity) => any;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
export interface ConsumedCapacity {
|
|
415
|
-
|
|
416
|
-
TableName?: string;
|
|
417
|
-
|
|
418
|
-
CapacityUnits?: number;
|
|
419
|
-
|
|
420
|
-
ReadCapacityUnits?: number;
|
|
421
|
-
|
|
422
|
-
WriteCapacityUnits?: number;
|
|
423
|
-
|
|
424
|
-
Table?: Capacity;
|
|
425
|
-
|
|
426
|
-
LocalSecondaryIndexes?: {
|
|
427
|
-
[key: string]: Capacity;
|
|
428
|
-
};
|
|
429
|
-
|
|
430
|
-
GlobalSecondaryIndexes?: {
|
|
431
|
-
[key: string]: Capacity;
|
|
432
|
-
};
|
|
433
|
-
}
|
|
434
|
-
export declare namespace ConsumedCapacity {
|
|
435
|
-
|
|
436
|
-
const filterSensitiveLog: (obj: ConsumedCapacity) => any;
|
|
437
|
-
}
|
|
438
438
|
export interface InvalidEndpointException extends __SmithyException, $MetadataBearer {
|
|
439
439
|
name: "InvalidEndpointException";
|
|
440
440
|
$fault: "client";
|
|
@@ -2452,6 +2452,8 @@ export interface ExecuteStatementInput {
|
|
|
2452
2452
|
ConsistentRead?: boolean;
|
|
2453
2453
|
|
|
2454
2454
|
NextToken?: string;
|
|
2455
|
+
|
|
2456
|
+
ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
|
|
2455
2457
|
}
|
|
2456
2458
|
export declare namespace ExecuteStatementInput {
|
|
2457
2459
|
|
|
@@ -2567,6 +2569,8 @@ export interface ExecuteStatementOutput {
|
|
|
2567
2569
|
}[];
|
|
2568
2570
|
|
|
2569
2571
|
NextToken?: string;
|
|
2572
|
+
|
|
2573
|
+
ConsumedCapacity?: ConsumedCapacity;
|
|
2570
2574
|
}
|
|
2571
2575
|
export declare namespace ExecuteStatementOutput {
|
|
2572
2576
|
|
|
@@ -2605,6 +2609,8 @@ export declare namespace TransactGetItem {
|
|
|
2605
2609
|
export interface BatchExecuteStatementInput {
|
|
2606
2610
|
|
|
2607
2611
|
Statements: BatchStatementRequest[] | undefined;
|
|
2612
|
+
|
|
2613
|
+
ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
|
|
2608
2614
|
}
|
|
2609
2615
|
export declare namespace BatchExecuteStatementInput {
|
|
2610
2616
|
|
|
@@ -2613,6 +2619,8 @@ export declare namespace BatchExecuteStatementInput {
|
|
|
2613
2619
|
export interface BatchExecuteStatementOutput {
|
|
2614
2620
|
|
|
2615
2621
|
Responses?: BatchStatementResponse[];
|
|
2622
|
+
|
|
2623
|
+
ConsumedCapacity?: ConsumedCapacity[];
|
|
2616
2624
|
}
|
|
2617
2625
|
export declare namespace BatchExecuteStatementOutput {
|
|
2618
2626
|
|
|
@@ -2623,6 +2631,8 @@ export interface ExecuteTransactionInput {
|
|
|
2623
2631
|
TransactStatements: ParameterizedStatement[] | undefined;
|
|
2624
2632
|
|
|
2625
2633
|
ClientRequestToken?: string;
|
|
2634
|
+
|
|
2635
|
+
ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
|
|
2626
2636
|
}
|
|
2627
2637
|
export declare namespace ExecuteTransactionInput {
|
|
2628
2638
|
|
|
@@ -2631,6 +2641,8 @@ export declare namespace ExecuteTransactionInput {
|
|
|
2631
2641
|
export interface ExecuteTransactionOutput {
|
|
2632
2642
|
|
|
2633
2643
|
Responses?: ItemResponse[];
|
|
2644
|
+
|
|
2645
|
+
ConsumedCapacity?: ConsumedCapacity[];
|
|
2634
2646
|
}
|
|
2635
2647
|
export declare namespace ExecuteTransactionOutput {
|
|
2636
2648
|
|
|
@@ -15,6 +15,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
15
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
20
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
19
21
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
20
22
|
apiVersion: string;
|
|
@@ -15,6 +15,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
15
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
20
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
19
21
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
20
22
|
apiVersion: string;
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
16
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
18
|
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
serviceId: string;
|
|
20
22
|
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
21
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
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.43.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.43.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.40.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.41.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.40.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.40.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.40.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.40.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.40.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.40.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.40.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.40.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.40.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.40.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.40.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.40.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.40.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.40.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.40.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.41.0",
|
|
43
|
+
"@aws-sdk/types": "3.40.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.40.0",
|
|
45
45
|
"@aws-sdk/util-base64-browser": "3.37.0",
|
|
46
46
|
"@aws-sdk/util-base64-node": "3.37.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.37.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.37.0",
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.40.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.40.0",
|
|
51
51
|
"@aws-sdk/util-utf8-browser": "3.37.0",
|
|
52
52
|
"@aws-sdk/util-utf8-node": "3.37.0",
|
|
53
|
-
"@aws-sdk/util-waiter": "3.
|
|
53
|
+
"@aws-sdk/util-waiter": "3.40.0",
|
|
54
54
|
"tslib": "^2.3.0",
|
|
55
55
|
"uuid": "^8.3.2"
|
|
56
56
|
},
|