@aws-sdk/client-dynamodb 3.864.0 → 3.868.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 +63 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +14 -1
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +8 -3
- package/dist-types/commands/BatchGetItemCommand.d.ts +14 -7
- package/dist-types/commands/BatchWriteItemCommand.d.ts +14 -7
- package/dist-types/commands/DeleteItemCommand.d.ts +14 -7
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +14 -7
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +14 -7
- package/dist-types/commands/GetItemCommand.d.ts +14 -7
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +1 -0
- package/dist-types/commands/PutItemCommand.d.ts +14 -7
- package/dist-types/commands/QueryCommand.d.ts +14 -7
- package/dist-types/commands/ScanCommand.d.ts +14 -7
- package/dist-types/commands/TransactGetItemsCommand.d.ts +14 -7
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +16 -8
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateItemCommand.d.ts +14 -7
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +151 -79
- package/dist-types/models/models_1.d.ts +73 -0
- package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +24 -6
- package/dist-types/ts3.4/models/models_1.d.ts +11 -0
- package/package.json +1 -1
|
@@ -283,13 +283,26 @@ export declare class InternalServerError extends __BaseException {
|
|
|
283
283
|
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
284
284
|
);
|
|
285
285
|
}
|
|
286
|
+
export interface ThrottlingReason {
|
|
287
|
+
reason?: string | undefined;
|
|
288
|
+
resource?: string | undefined;
|
|
289
|
+
}
|
|
286
290
|
export declare class RequestLimitExceeded extends __BaseException {
|
|
287
291
|
readonly name: "RequestLimitExceeded";
|
|
288
292
|
readonly $fault: "client";
|
|
293
|
+
ThrottlingReasons?: ThrottlingReason[] | undefined;
|
|
289
294
|
constructor(
|
|
290
295
|
opts: __ExceptionOptionType<RequestLimitExceeded, __BaseException>
|
|
291
296
|
);
|
|
292
297
|
}
|
|
298
|
+
export declare class ThrottlingException extends __BaseException {
|
|
299
|
+
readonly name: "ThrottlingException";
|
|
300
|
+
readonly $fault: "client";
|
|
301
|
+
throttlingReasons?: ThrottlingReason[] | undefined;
|
|
302
|
+
constructor(
|
|
303
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
304
|
+
);
|
|
305
|
+
}
|
|
293
306
|
export declare class InvalidEndpointException extends __BaseException {
|
|
294
307
|
readonly name: "InvalidEndpointException";
|
|
295
308
|
readonly $fault: "client";
|
|
@@ -301,6 +314,7 @@ export declare class InvalidEndpointException extends __BaseException {
|
|
|
301
314
|
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
302
315
|
readonly name: "ProvisionedThroughputExceededException";
|
|
303
316
|
readonly $fault: "client";
|
|
317
|
+
ThrottlingReasons?: ThrottlingReason[] | undefined;
|
|
304
318
|
constructor(
|
|
305
319
|
opts: __ExceptionOptionType<
|
|
306
320
|
ProvisionedThroughputExceededException,
|
|
@@ -407,6 +421,12 @@ export declare const ContributorInsightsAction: {
|
|
|
407
421
|
};
|
|
408
422
|
export type ContributorInsightsAction =
|
|
409
423
|
(typeof ContributorInsightsAction)[keyof typeof ContributorInsightsAction];
|
|
424
|
+
export declare const ContributorInsightsMode: {
|
|
425
|
+
readonly ACCESSED_AND_THROTTLED_KEYS: "ACCESSED_AND_THROTTLED_KEYS";
|
|
426
|
+
readonly THROTTLED_KEYS: "THROTTLED_KEYS";
|
|
427
|
+
};
|
|
428
|
+
export type ContributorInsightsMode =
|
|
429
|
+
(typeof ContributorInsightsMode)[keyof typeof ContributorInsightsMode];
|
|
410
430
|
export declare const ContributorInsightsStatus: {
|
|
411
431
|
readonly DISABLED: "DISABLED";
|
|
412
432
|
readonly DISABLING: "DISABLING";
|
|
@@ -420,6 +440,7 @@ export interface ContributorInsightsSummary {
|
|
|
420
440
|
TableName?: string | undefined;
|
|
421
441
|
IndexName?: string | undefined;
|
|
422
442
|
ContributorInsightsStatus?: ContributorInsightsStatus | undefined;
|
|
443
|
+
ContributorInsightsMode?: ContributorInsightsMode | undefined;
|
|
423
444
|
}
|
|
424
445
|
export interface CreateBackupInput {
|
|
425
446
|
TableName: string | undefined;
|
|
@@ -802,6 +823,7 @@ export interface DescribeContributorInsightsOutput {
|
|
|
802
823
|
ContributorInsightsStatus?: ContributorInsightsStatus | undefined;
|
|
803
824
|
LastUpdateDateTime?: Date | undefined;
|
|
804
825
|
FailureException?: FailureException | undefined;
|
|
826
|
+
ContributorInsightsMode?: ContributorInsightsMode | undefined;
|
|
805
827
|
}
|
|
806
828
|
export interface DescribeEndpointsRequest {}
|
|
807
829
|
export interface Endpoint {
|
|
@@ -1358,11 +1380,13 @@ export interface UpdateContributorInsightsInput {
|
|
|
1358
1380
|
TableName: string | undefined;
|
|
1359
1381
|
IndexName?: string | undefined;
|
|
1360
1382
|
ContributorInsightsAction: ContributorInsightsAction | undefined;
|
|
1383
|
+
ContributorInsightsMode?: ContributorInsightsMode | undefined;
|
|
1361
1384
|
}
|
|
1362
1385
|
export interface UpdateContributorInsightsOutput {
|
|
1363
1386
|
TableName?: string | undefined;
|
|
1364
1387
|
IndexName?: string | undefined;
|
|
1365
1388
|
ContributorInsightsStatus?: ContributorInsightsStatus | undefined;
|
|
1389
|
+
ContributorInsightsMode?: ContributorInsightsMode | undefined;
|
|
1366
1390
|
}
|
|
1367
1391
|
export declare class ReplicaAlreadyExistsException extends __BaseException {
|
|
1368
1392
|
readonly name: "ReplicaAlreadyExistsException";
|
|
@@ -2055,9 +2079,3 @@ export interface TransactWriteItem {
|
|
|
2055
2079
|
Delete?: Delete | undefined;
|
|
2056
2080
|
Update?: Update | undefined;
|
|
2057
2081
|
}
|
|
2058
|
-
export interface TransactWriteItemsInput {
|
|
2059
|
-
TransactItems: TransactWriteItem[] | undefined;
|
|
2060
|
-
ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined;
|
|
2061
|
-
ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined;
|
|
2062
|
-
ClientRequestToken?: string | undefined;
|
|
2063
|
-
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
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.868.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",
|