@aws-sdk/client-dynamodb 3.52.0 → 3.53.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 +12 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/DynamoDBServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +419 -16
- package/dist-cjs/protocols/Aws_json1_0.js +595 -2032
- package/dist-es/index.js +1 -0
- package/dist-es/models/DynamoDBServiceException.js +12 -0
- package/dist-es/models/models_0.js +385 -13
- package/dist-es/protocols/Aws_json1_0.js +1218 -2169
- package/dist-types/DynamoDB.d.ts +10 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +10 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/DynamoDBServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +251 -155
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/DynamoDBServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +165 -131
- package/package.json +27 -27
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>Contains details of a table archival operation.</p>
|
|
4
5
|
*/
|
|
@@ -789,18 +790,24 @@ export declare namespace BackupDescription {
|
|
|
789
790
|
* <p>There is another ongoing conflicting backup control plane operation on the table.
|
|
790
791
|
* The backup is either being created, deleted or restored to a table.</p>
|
|
791
792
|
*/
|
|
792
|
-
export
|
|
793
|
-
name: "BackupInUseException";
|
|
794
|
-
$fault: "client";
|
|
795
|
-
|
|
793
|
+
export declare class BackupInUseException extends __BaseException {
|
|
794
|
+
readonly name: "BackupInUseException";
|
|
795
|
+
readonly $fault: "client";
|
|
796
|
+
/**
|
|
797
|
+
* @internal
|
|
798
|
+
*/
|
|
799
|
+
constructor(opts: __ExceptionOptionType<BackupInUseException, __BaseException>);
|
|
796
800
|
}
|
|
797
801
|
/**
|
|
798
802
|
* <p>Backup not found for the given BackupARN. </p>
|
|
799
803
|
*/
|
|
800
|
-
export
|
|
801
|
-
name: "BackupNotFoundException";
|
|
802
|
-
$fault: "client";
|
|
803
|
-
|
|
804
|
+
export declare class BackupNotFoundException extends __BaseException {
|
|
805
|
+
readonly name: "BackupNotFoundException";
|
|
806
|
+
readonly $fault: "client";
|
|
807
|
+
/**
|
|
808
|
+
* @internal
|
|
809
|
+
*/
|
|
810
|
+
constructor(opts: __ExceptionOptionType<BackupNotFoundException, __BaseException>);
|
|
804
811
|
}
|
|
805
812
|
/**
|
|
806
813
|
* <p>Contains details for the backup.</p>
|
|
@@ -988,28 +995,35 @@ export declare namespace BatchStatementError {
|
|
|
988
995
|
/**
|
|
989
996
|
* <p>An error occurred on the server side.</p>
|
|
990
997
|
*/
|
|
991
|
-
export
|
|
992
|
-
name: "InternalServerError";
|
|
993
|
-
$fault: "server";
|
|
998
|
+
export declare class InternalServerError extends __BaseException {
|
|
999
|
+
readonly name: "InternalServerError";
|
|
1000
|
+
readonly $fault: "server";
|
|
994
1001
|
/**
|
|
995
|
-
*
|
|
1002
|
+
* @internal
|
|
996
1003
|
*/
|
|
997
|
-
|
|
1004
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
998
1005
|
}
|
|
999
1006
|
/**
|
|
1000
1007
|
* <p>Throughput exceeds the current throughput quota for your account. Please contact
|
|
1001
1008
|
* <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a
|
|
1002
1009
|
* quota increase.</p>
|
|
1003
1010
|
*/
|
|
1004
|
-
export
|
|
1005
|
-
name: "RequestLimitExceeded";
|
|
1006
|
-
$fault: "client";
|
|
1007
|
-
|
|
1011
|
+
export declare class RequestLimitExceeded extends __BaseException {
|
|
1012
|
+
readonly name: "RequestLimitExceeded";
|
|
1013
|
+
readonly $fault: "client";
|
|
1014
|
+
/**
|
|
1015
|
+
* @internal
|
|
1016
|
+
*/
|
|
1017
|
+
constructor(opts: __ExceptionOptionType<RequestLimitExceeded, __BaseException>);
|
|
1008
1018
|
}
|
|
1009
|
-
export
|
|
1010
|
-
name: "InvalidEndpointException";
|
|
1011
|
-
$fault: "client";
|
|
1019
|
+
export declare class InvalidEndpointException extends __BaseException {
|
|
1020
|
+
readonly name: "InvalidEndpointException";
|
|
1021
|
+
readonly $fault: "client";
|
|
1012
1022
|
Message?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* @internal
|
|
1025
|
+
*/
|
|
1026
|
+
constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
|
|
1013
1027
|
}
|
|
1014
1028
|
/**
|
|
1015
1029
|
* <p>Your request rate is too high. The Amazon Web Services SDKs for DynamoDB
|
|
@@ -1017,39 +1031,38 @@ export interface InvalidEndpointException extends __SmithyException, $MetadataBe
|
|
|
1017
1031
|
* successful, unless your retry queue is too large to finish. Reduce the frequency of
|
|
1018
1032
|
* requests and use exponential backoff. For more information, go to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff">Error Retries and Exponential Backoff</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
|
1019
1033
|
*/
|
|
1020
|
-
export
|
|
1021
|
-
name: "ProvisionedThroughputExceededException";
|
|
1022
|
-
$fault: "client";
|
|
1034
|
+
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
1035
|
+
readonly name: "ProvisionedThroughputExceededException";
|
|
1036
|
+
readonly $fault: "client";
|
|
1023
1037
|
/**
|
|
1024
|
-
*
|
|
1038
|
+
* @internal
|
|
1025
1039
|
*/
|
|
1026
|
-
|
|
1040
|
+
constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
|
|
1027
1041
|
}
|
|
1028
1042
|
/**
|
|
1029
1043
|
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
1030
1044
|
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
1031
1045
|
*/
|
|
1032
|
-
export
|
|
1033
|
-
name: "ResourceNotFoundException";
|
|
1034
|
-
$fault: "client";
|
|
1046
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
1047
|
+
readonly name: "ResourceNotFoundException";
|
|
1048
|
+
readonly $fault: "client";
|
|
1035
1049
|
/**
|
|
1036
|
-
*
|
|
1050
|
+
* @internal
|
|
1037
1051
|
*/
|
|
1038
|
-
|
|
1052
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1039
1053
|
}
|
|
1040
1054
|
export declare type ReturnItemCollectionMetrics = "NONE" | "SIZE";
|
|
1041
1055
|
/**
|
|
1042
1056
|
* <p>An item collection is too large. This exception is only returned for tables that
|
|
1043
1057
|
* have one or more local secondary indexes.</p>
|
|
1044
1058
|
*/
|
|
1045
|
-
export
|
|
1046
|
-
name: "ItemCollectionSizeLimitExceededException";
|
|
1047
|
-
$fault: "client";
|
|
1059
|
+
export declare class ItemCollectionSizeLimitExceededException extends __BaseException {
|
|
1060
|
+
readonly name: "ItemCollectionSizeLimitExceededException";
|
|
1061
|
+
readonly $fault: "client";
|
|
1048
1062
|
/**
|
|
1049
|
-
*
|
|
1050
|
-
* gigabytes.</p>
|
|
1063
|
+
* @internal
|
|
1051
1064
|
*/
|
|
1052
|
-
|
|
1065
|
+
constructor(opts: __ExceptionOptionType<ItemCollectionSizeLimitExceededException, __BaseException>);
|
|
1053
1066
|
}
|
|
1054
1067
|
/**
|
|
1055
1068
|
* <p>Contains the details for the read/write capacity mode.</p>
|
|
@@ -1090,13 +1103,13 @@ export declare type ComparisonOperator = "BEGINS_WITH" | "BETWEEN" | "CONTAINS"
|
|
|
1090
1103
|
/**
|
|
1091
1104
|
* <p>A condition specified in the operation could not be evaluated.</p>
|
|
1092
1105
|
*/
|
|
1093
|
-
export
|
|
1094
|
-
name: "ConditionalCheckFailedException";
|
|
1095
|
-
$fault: "client";
|
|
1106
|
+
export declare class ConditionalCheckFailedException extends __BaseException {
|
|
1107
|
+
readonly name: "ConditionalCheckFailedException";
|
|
1108
|
+
readonly $fault: "client";
|
|
1096
1109
|
/**
|
|
1097
|
-
*
|
|
1110
|
+
* @internal
|
|
1098
1111
|
*/
|
|
1099
|
-
|
|
1112
|
+
constructor(opts: __ExceptionOptionType<ConditionalCheckFailedException, __BaseException>);
|
|
1100
1113
|
}
|
|
1101
1114
|
export declare type ConditionalOperator = "AND" | "OR";
|
|
1102
1115
|
export declare type ReturnValuesOnConditionCheckFailure = "ALL_OLD" | "NONE";
|
|
@@ -1163,10 +1176,13 @@ export declare namespace ContinuousBackupsDescription {
|
|
|
1163
1176
|
/**
|
|
1164
1177
|
* <p>Backups have not yet been enabled for this table.</p>
|
|
1165
1178
|
*/
|
|
1166
|
-
export
|
|
1167
|
-
name: "ContinuousBackupsUnavailableException";
|
|
1168
|
-
$fault: "client";
|
|
1169
|
-
|
|
1179
|
+
export declare class ContinuousBackupsUnavailableException extends __BaseException {
|
|
1180
|
+
readonly name: "ContinuousBackupsUnavailableException";
|
|
1181
|
+
readonly $fault: "client";
|
|
1182
|
+
/**
|
|
1183
|
+
* @internal
|
|
1184
|
+
*/
|
|
1185
|
+
constructor(opts: __ExceptionOptionType<ContinuousBackupsUnavailableException, __BaseException>);
|
|
1170
1186
|
}
|
|
1171
1187
|
export declare type ContributorInsightsAction = "DISABLE" | "ENABLE";
|
|
1172
1188
|
export declare type ContributorInsightsStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING" | "FAILED";
|
|
@@ -1234,31 +1250,37 @@ export declare namespace CreateBackupOutput {
|
|
|
1234
1250
|
* of concurrent operations.</p>
|
|
1235
1251
|
* <p>There is a soft account quota of 256 tables.</p>
|
|
1236
1252
|
*/
|
|
1237
|
-
export
|
|
1238
|
-
name: "LimitExceededException";
|
|
1239
|
-
$fault: "client";
|
|
1253
|
+
export declare class LimitExceededException extends __BaseException {
|
|
1254
|
+
readonly name: "LimitExceededException";
|
|
1255
|
+
readonly $fault: "client";
|
|
1240
1256
|
/**
|
|
1241
|
-
*
|
|
1257
|
+
* @internal
|
|
1242
1258
|
*/
|
|
1243
|
-
|
|
1259
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
1244
1260
|
}
|
|
1245
1261
|
/**
|
|
1246
1262
|
* <p>A target table with the specified name is either being created or deleted.
|
|
1247
1263
|
* </p>
|
|
1248
1264
|
*/
|
|
1249
|
-
export
|
|
1250
|
-
name: "TableInUseException";
|
|
1251
|
-
$fault: "client";
|
|
1252
|
-
|
|
1265
|
+
export declare class TableInUseException extends __BaseException {
|
|
1266
|
+
readonly name: "TableInUseException";
|
|
1267
|
+
readonly $fault: "client";
|
|
1268
|
+
/**
|
|
1269
|
+
* @internal
|
|
1270
|
+
*/
|
|
1271
|
+
constructor(opts: __ExceptionOptionType<TableInUseException, __BaseException>);
|
|
1253
1272
|
}
|
|
1254
1273
|
/**
|
|
1255
1274
|
* <p>A source table with the name <code>TableName</code> does not currently exist within
|
|
1256
1275
|
* the subscriber's account.</p>
|
|
1257
1276
|
*/
|
|
1258
|
-
export
|
|
1259
|
-
name: "TableNotFoundException";
|
|
1260
|
-
$fault: "client";
|
|
1261
|
-
|
|
1277
|
+
export declare class TableNotFoundException extends __BaseException {
|
|
1278
|
+
readonly name: "TableNotFoundException";
|
|
1279
|
+
readonly $fault: "client";
|
|
1280
|
+
/**
|
|
1281
|
+
* @internal
|
|
1282
|
+
*/
|
|
1283
|
+
constructor(opts: __ExceptionOptionType<TableNotFoundException, __BaseException>);
|
|
1262
1284
|
}
|
|
1263
1285
|
/**
|
|
1264
1286
|
* <p>Represents a new global secondary index to be added to an existing table.</p>
|
|
@@ -1540,10 +1562,13 @@ export declare namespace CreateGlobalTableOutput {
|
|
|
1540
1562
|
/**
|
|
1541
1563
|
* <p>The specified global table already exists.</p>
|
|
1542
1564
|
*/
|
|
1543
|
-
export
|
|
1544
|
-
name: "GlobalTableAlreadyExistsException";
|
|
1545
|
-
$fault: "client";
|
|
1546
|
-
|
|
1565
|
+
export declare class GlobalTableAlreadyExistsException extends __BaseException {
|
|
1566
|
+
readonly name: "GlobalTableAlreadyExistsException";
|
|
1567
|
+
readonly $fault: "client";
|
|
1568
|
+
/**
|
|
1569
|
+
* @internal
|
|
1570
|
+
*/
|
|
1571
|
+
constructor(opts: __ExceptionOptionType<GlobalTableAlreadyExistsException, __BaseException>);
|
|
1547
1572
|
}
|
|
1548
1573
|
/**
|
|
1549
1574
|
* <p>Represents a replica to be added.</p>
|
|
@@ -2700,13 +2725,13 @@ export declare namespace CreateTableOutput {
|
|
|
2700
2725
|
* attempted to recreate an existing table, or tried to delete a table currently in the
|
|
2701
2726
|
* <code>CREATING</code> state.</p>
|
|
2702
2727
|
*/
|
|
2703
|
-
export
|
|
2704
|
-
name: "ResourceInUseException";
|
|
2705
|
-
$fault: "client";
|
|
2728
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
2729
|
+
readonly name: "ResourceInUseException";
|
|
2730
|
+
readonly $fault: "client";
|
|
2706
2731
|
/**
|
|
2707
|
-
*
|
|
2732
|
+
* @internal
|
|
2708
2733
|
*/
|
|
2709
|
-
|
|
2734
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
2710
2735
|
}
|
|
2711
2736
|
export interface DeleteBackupInput {
|
|
2712
2737
|
/**
|
|
@@ -2752,10 +2777,13 @@ export declare type ReturnValue = "ALL_NEW" | "ALL_OLD" | "NONE" | "UPDATED_NEW"
|
|
|
2752
2777
|
* <p>Operation was rejected because there is an ongoing transaction for the
|
|
2753
2778
|
* item.</p>
|
|
2754
2779
|
*/
|
|
2755
|
-
export
|
|
2756
|
-
name: "TransactionConflictException";
|
|
2757
|
-
$fault: "client";
|
|
2758
|
-
|
|
2780
|
+
export declare class TransactionConflictException extends __BaseException {
|
|
2781
|
+
readonly name: "TransactionConflictException";
|
|
2782
|
+
readonly $fault: "client";
|
|
2783
|
+
/**
|
|
2784
|
+
* @internal
|
|
2785
|
+
*/
|
|
2786
|
+
constructor(opts: __ExceptionOptionType<TransactionConflictException, __BaseException>);
|
|
2759
2787
|
}
|
|
2760
2788
|
/**
|
|
2761
2789
|
* <p>Represents a replica to be removed.</p>
|
|
@@ -3137,10 +3165,13 @@ export declare namespace DescribeExportOutput {
|
|
|
3137
3165
|
/**
|
|
3138
3166
|
* <p>The specified export was not found.</p>
|
|
3139
3167
|
*/
|
|
3140
|
-
export
|
|
3141
|
-
name: "ExportNotFoundException";
|
|
3142
|
-
$fault: "client";
|
|
3143
|
-
|
|
3168
|
+
export declare class ExportNotFoundException extends __BaseException {
|
|
3169
|
+
readonly name: "ExportNotFoundException";
|
|
3170
|
+
readonly $fault: "client";
|
|
3171
|
+
/**
|
|
3172
|
+
* @internal
|
|
3173
|
+
*/
|
|
3174
|
+
constructor(opts: __ExceptionOptionType<ExportNotFoundException, __BaseException>);
|
|
3144
3175
|
}
|
|
3145
3176
|
export interface DescribeGlobalTableInput {
|
|
3146
3177
|
/**
|
|
@@ -3169,10 +3200,13 @@ export declare namespace DescribeGlobalTableOutput {
|
|
|
3169
3200
|
/**
|
|
3170
3201
|
* <p>The specified global table does not exist.</p>
|
|
3171
3202
|
*/
|
|
3172
|
-
export
|
|
3173
|
-
name: "GlobalTableNotFoundException";
|
|
3174
|
-
$fault: "client";
|
|
3175
|
-
|
|
3203
|
+
export declare class GlobalTableNotFoundException extends __BaseException {
|
|
3204
|
+
readonly name: "GlobalTableNotFoundException";
|
|
3205
|
+
readonly $fault: "client";
|
|
3206
|
+
/**
|
|
3207
|
+
* @internal
|
|
3208
|
+
*/
|
|
3209
|
+
constructor(opts: __ExceptionOptionType<GlobalTableNotFoundException, __BaseException>);
|
|
3176
3210
|
}
|
|
3177
3211
|
export interface DescribeGlobalTableSettingsInput {
|
|
3178
3212
|
/**
|
|
@@ -3683,35 +3717,49 @@ export declare namespace KinesisStreamingDestinationOutput {
|
|
|
3683
3717
|
* <p> There was an attempt to insert an item with the same primary key as an item that
|
|
3684
3718
|
* already exists in the DynamoDB table.</p>
|
|
3685
3719
|
*/
|
|
3686
|
-
export
|
|
3687
|
-
name: "DuplicateItemException";
|
|
3688
|
-
$fault: "client";
|
|
3689
|
-
|
|
3720
|
+
export declare class DuplicateItemException extends __BaseException {
|
|
3721
|
+
readonly name: "DuplicateItemException";
|
|
3722
|
+
readonly $fault: "client";
|
|
3723
|
+
/**
|
|
3724
|
+
* @internal
|
|
3725
|
+
*/
|
|
3726
|
+
constructor(opts: __ExceptionOptionType<DuplicateItemException, __BaseException>);
|
|
3690
3727
|
}
|
|
3691
3728
|
/**
|
|
3692
3729
|
* <p>DynamoDB rejected the request because you retried a request with a
|
|
3693
3730
|
* different payload but with an idempotent token that was already used.</p>
|
|
3694
3731
|
*/
|
|
3695
|
-
export
|
|
3696
|
-
name: "IdempotentParameterMismatchException";
|
|
3697
|
-
$fault: "client";
|
|
3732
|
+
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
3733
|
+
readonly name: "IdempotentParameterMismatchException";
|
|
3734
|
+
readonly $fault: "client";
|
|
3698
3735
|
Message?: string;
|
|
3736
|
+
/**
|
|
3737
|
+
* @internal
|
|
3738
|
+
*/
|
|
3739
|
+
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
3699
3740
|
}
|
|
3700
3741
|
/**
|
|
3701
3742
|
* <p>The transaction with the given request token is already in progress.</p>
|
|
3702
3743
|
*/
|
|
3703
|
-
export
|
|
3704
|
-
name: "TransactionInProgressException";
|
|
3705
|
-
$fault: "client";
|
|
3744
|
+
export declare class TransactionInProgressException extends __BaseException {
|
|
3745
|
+
readonly name: "TransactionInProgressException";
|
|
3746
|
+
readonly $fault: "client";
|
|
3706
3747
|
Message?: string;
|
|
3748
|
+
/**
|
|
3749
|
+
* @internal
|
|
3750
|
+
*/
|
|
3751
|
+
constructor(opts: __ExceptionOptionType<TransactionInProgressException, __BaseException>);
|
|
3707
3752
|
}
|
|
3708
3753
|
/**
|
|
3709
3754
|
* <p>There was a conflict when writing to the specified S3 bucket.</p>
|
|
3710
3755
|
*/
|
|
3711
|
-
export
|
|
3712
|
-
name: "ExportConflictException";
|
|
3713
|
-
$fault: "client";
|
|
3714
|
-
|
|
3756
|
+
export declare class ExportConflictException extends __BaseException {
|
|
3757
|
+
readonly name: "ExportConflictException";
|
|
3758
|
+
readonly $fault: "client";
|
|
3759
|
+
/**
|
|
3760
|
+
* @internal
|
|
3761
|
+
*/
|
|
3762
|
+
constructor(opts: __ExceptionOptionType<ExportConflictException, __BaseException>);
|
|
3715
3763
|
}
|
|
3716
3764
|
export interface ExportTableToPointInTimeInput {
|
|
3717
3765
|
/**
|
|
@@ -3800,18 +3848,24 @@ export declare namespace ExportTableToPointInTimeOutput {
|
|
|
3800
3848
|
* <p>The specified <code>ExportTime</code> is outside of the point in time recovery
|
|
3801
3849
|
* window.</p>
|
|
3802
3850
|
*/
|
|
3803
|
-
export
|
|
3804
|
-
name: "InvalidExportTimeException";
|
|
3805
|
-
$fault: "client";
|
|
3806
|
-
|
|
3851
|
+
export declare class InvalidExportTimeException extends __BaseException {
|
|
3852
|
+
readonly name: "InvalidExportTimeException";
|
|
3853
|
+
readonly $fault: "client";
|
|
3854
|
+
/**
|
|
3855
|
+
* @internal
|
|
3856
|
+
*/
|
|
3857
|
+
constructor(opts: __ExceptionOptionType<InvalidExportTimeException, __BaseException>);
|
|
3807
3858
|
}
|
|
3808
3859
|
/**
|
|
3809
3860
|
* <p>Point in time recovery has not yet been enabled for this source table.</p>
|
|
3810
3861
|
*/
|
|
3811
|
-
export
|
|
3812
|
-
name: "PointInTimeRecoveryUnavailableException";
|
|
3813
|
-
$fault: "client";
|
|
3814
|
-
|
|
3862
|
+
export declare class PointInTimeRecoveryUnavailableException extends __BaseException {
|
|
3863
|
+
readonly name: "PointInTimeRecoveryUnavailableException";
|
|
3864
|
+
readonly $fault: "client";
|
|
3865
|
+
/**
|
|
3866
|
+
* @internal
|
|
3867
|
+
*/
|
|
3868
|
+
constructor(opts: __ExceptionOptionType<PointInTimeRecoveryUnavailableException, __BaseException>);
|
|
3815
3869
|
}
|
|
3816
3870
|
export interface ListBackupsInput {
|
|
3817
3871
|
/**
|
|
@@ -4188,19 +4242,25 @@ export declare namespace RestoreTableFromBackupOutput {
|
|
|
4188
4242
|
/**
|
|
4189
4243
|
* <p>A target table with the specified name already exists. </p>
|
|
4190
4244
|
*/
|
|
4191
|
-
export
|
|
4192
|
-
name: "TableAlreadyExistsException";
|
|
4193
|
-
$fault: "client";
|
|
4194
|
-
|
|
4245
|
+
export declare class TableAlreadyExistsException extends __BaseException {
|
|
4246
|
+
readonly name: "TableAlreadyExistsException";
|
|
4247
|
+
readonly $fault: "client";
|
|
4248
|
+
/**
|
|
4249
|
+
* @internal
|
|
4250
|
+
*/
|
|
4251
|
+
constructor(opts: __ExceptionOptionType<TableAlreadyExistsException, __BaseException>);
|
|
4195
4252
|
}
|
|
4196
4253
|
/**
|
|
4197
4254
|
* <p>An invalid restore time was specified. RestoreDateTime must be between
|
|
4198
4255
|
* EarliestRestorableDateTime and LatestRestorableDateTime.</p>
|
|
4199
4256
|
*/
|
|
4200
|
-
export
|
|
4201
|
-
name: "InvalidRestoreTimeException";
|
|
4202
|
-
$fault: "client";
|
|
4203
|
-
|
|
4257
|
+
export declare class InvalidRestoreTimeException extends __BaseException {
|
|
4258
|
+
readonly name: "InvalidRestoreTimeException";
|
|
4259
|
+
readonly $fault: "client";
|
|
4260
|
+
/**
|
|
4261
|
+
* @internal
|
|
4262
|
+
*/
|
|
4263
|
+
constructor(opts: __ExceptionOptionType<InvalidRestoreTimeException, __BaseException>);
|
|
4204
4264
|
}
|
|
4205
4265
|
export interface RestoreTableToPointInTimeInput {
|
|
4206
4266
|
/**
|
|
@@ -4391,18 +4451,24 @@ export declare namespace UpdateContributorInsightsOutput {
|
|
|
4391
4451
|
/**
|
|
4392
4452
|
* <p>The specified replica is already part of the global table.</p>
|
|
4393
4453
|
*/
|
|
4394
|
-
export
|
|
4395
|
-
name: "ReplicaAlreadyExistsException";
|
|
4396
|
-
$fault: "client";
|
|
4397
|
-
|
|
4454
|
+
export declare class ReplicaAlreadyExistsException extends __BaseException {
|
|
4455
|
+
readonly name: "ReplicaAlreadyExistsException";
|
|
4456
|
+
readonly $fault: "client";
|
|
4457
|
+
/**
|
|
4458
|
+
* @internal
|
|
4459
|
+
*/
|
|
4460
|
+
constructor(opts: __ExceptionOptionType<ReplicaAlreadyExistsException, __BaseException>);
|
|
4398
4461
|
}
|
|
4399
4462
|
/**
|
|
4400
4463
|
* <p>The specified replica is no longer part of the global table.</p>
|
|
4401
4464
|
*/
|
|
4402
|
-
export
|
|
4403
|
-
name: "ReplicaNotFoundException";
|
|
4404
|
-
$fault: "client";
|
|
4405
|
-
|
|
4465
|
+
export declare class ReplicaNotFoundException extends __BaseException {
|
|
4466
|
+
readonly name: "ReplicaNotFoundException";
|
|
4467
|
+
readonly $fault: "client";
|
|
4468
|
+
/**
|
|
4469
|
+
* @internal
|
|
4470
|
+
*/
|
|
4471
|
+
constructor(opts: __ExceptionOptionType<ReplicaNotFoundException, __BaseException>);
|
|
4406
4472
|
}
|
|
4407
4473
|
/**
|
|
4408
4474
|
* <p>Represents one of the following:</p>
|
|
@@ -4465,10 +4531,13 @@ export declare namespace UpdateGlobalTableOutput {
|
|
|
4465
4531
|
/**
|
|
4466
4532
|
* <p>The operation tried to access a nonexistent index.</p>
|
|
4467
4533
|
*/
|
|
4468
|
-
export
|
|
4469
|
-
name: "IndexNotFoundException";
|
|
4470
|
-
$fault: "client";
|
|
4471
|
-
|
|
4534
|
+
export declare class IndexNotFoundException extends __BaseException {
|
|
4535
|
+
readonly name: "IndexNotFoundException";
|
|
4536
|
+
readonly $fault: "client";
|
|
4537
|
+
/**
|
|
4538
|
+
* @internal
|
|
4539
|
+
*/
|
|
4540
|
+
constructor(opts: __ExceptionOptionType<IndexNotFoundException, __BaseException>);
|
|
4472
4541
|
}
|
|
4473
4542
|
/**
|
|
4474
4543
|
* <p>Represents the settings of a global secondary index for a global table that will be
|
|
@@ -5806,6 +5875,17 @@ export interface ExecuteStatementInput {
|
|
|
5806
5875
|
* </ul>
|
|
5807
5876
|
*/
|
|
5808
5877
|
ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
|
|
5878
|
+
/**
|
|
5879
|
+
* <p>The maximum number of items to evaluate (not necessarily the number of matching
|
|
5880
|
+
* items). If DynamoDB processes the number of items up to the limit while processing the
|
|
5881
|
+
* results, it stops the operation and returns the matching values up to that point, along
|
|
5882
|
+
* with a key in <code>LastEvaluatedKey</code> to apply in a subsequent operation so you
|
|
5883
|
+
* can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before
|
|
5884
|
+
* DynamoDB reaches this limit, it stops the operation and returns the matching values up
|
|
5885
|
+
* to the limit, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent
|
|
5886
|
+
* operation to continue the operation. </p>
|
|
5887
|
+
*/
|
|
5888
|
+
Limit?: number;
|
|
5809
5889
|
}
|
|
5810
5890
|
export declare namespace ExecuteStatementInput {
|
|
5811
5891
|
/**
|
|
@@ -6097,36 +6177,6 @@ export declare namespace PutRequest {
|
|
|
6097
6177
|
*/
|
|
6098
6178
|
const filterSensitiveLog: (obj: PutRequest) => any;
|
|
6099
6179
|
}
|
|
6100
|
-
export interface ExecuteStatementOutput {
|
|
6101
|
-
/**
|
|
6102
|
-
* <p>If a read operation was used, this property will contain the result of the read
|
|
6103
|
-
* operation; a map of attribute names and their values. For the write operations this
|
|
6104
|
-
* value will be empty.</p>
|
|
6105
|
-
*/
|
|
6106
|
-
Items?: {
|
|
6107
|
-
[key: string]: AttributeValue;
|
|
6108
|
-
}[];
|
|
6109
|
-
/**
|
|
6110
|
-
* <p>If the response of a read request exceeds the response payload limit DynamoDB will set
|
|
6111
|
-
* this value in the response. If set, you can use that this value in the subsequent
|
|
6112
|
-
* request to get the remaining results.</p>
|
|
6113
|
-
*/
|
|
6114
|
-
NextToken?: string;
|
|
6115
|
-
/**
|
|
6116
|
-
* <p>The capacity units consumed by an operation. The data returned includes the total
|
|
6117
|
-
* provisioned throughput consumed, along with statistics for the table and any indexes
|
|
6118
|
-
* involved in the operation. <code>ConsumedCapacity</code> is only returned if the request
|
|
6119
|
-
* asked for it. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer
|
|
6120
|
-
* Guide</i>.</p>
|
|
6121
|
-
*/
|
|
6122
|
-
ConsumedCapacity?: ConsumedCapacity;
|
|
6123
|
-
}
|
|
6124
|
-
export declare namespace ExecuteStatementOutput {
|
|
6125
|
-
/**
|
|
6126
|
-
* @internal
|
|
6127
|
-
*/
|
|
6128
|
-
const filterSensitiveLog: (obj: ExecuteStatementOutput) => any;
|
|
6129
|
-
}
|
|
6130
6180
|
/**
|
|
6131
6181
|
* <p>Represents a set of primary keys and, for each key, the attributes to retrieve from
|
|
6132
6182
|
* the table.</p>
|
|
@@ -6606,14 +6656,18 @@ export declare namespace TransactGetItemsOutput {
|
|
|
6606
6656
|
* </li>
|
|
6607
6657
|
* </ul>
|
|
6608
6658
|
*/
|
|
6609
|
-
export
|
|
6610
|
-
name: "TransactionCanceledException";
|
|
6611
|
-
$fault: "client";
|
|
6659
|
+
export declare class TransactionCanceledException extends __BaseException {
|
|
6660
|
+
readonly name: "TransactionCanceledException";
|
|
6661
|
+
readonly $fault: "client";
|
|
6612
6662
|
Message?: string;
|
|
6613
6663
|
/**
|
|
6614
6664
|
* <p>A list of cancellation reasons.</p>
|
|
6615
6665
|
*/
|
|
6616
6666
|
CancellationReasons?: CancellationReason[];
|
|
6667
|
+
/**
|
|
6668
|
+
* @internal
|
|
6669
|
+
*/
|
|
6670
|
+
constructor(opts: __ExceptionOptionType<TransactionCanceledException, __BaseException>);
|
|
6617
6671
|
}
|
|
6618
6672
|
/**
|
|
6619
6673
|
* <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
|
|
@@ -7332,6 +7386,48 @@ export declare namespace DeleteItemOutput {
|
|
|
7332
7386
|
*/
|
|
7333
7387
|
const filterSensitiveLog: (obj: DeleteItemOutput) => any;
|
|
7334
7388
|
}
|
|
7389
|
+
export interface ExecuteStatementOutput {
|
|
7390
|
+
/**
|
|
7391
|
+
* <p>If a read operation was used, this property will contain the result of the read
|
|
7392
|
+
* operation; a map of attribute names and their values. For the write operations this
|
|
7393
|
+
* value will be empty.</p>
|
|
7394
|
+
*/
|
|
7395
|
+
Items?: {
|
|
7396
|
+
[key: string]: AttributeValue;
|
|
7397
|
+
}[];
|
|
7398
|
+
/**
|
|
7399
|
+
* <p>If the response of a read request exceeds the response payload limit DynamoDB will set
|
|
7400
|
+
* this value in the response. If set, you can use that this value in the subsequent
|
|
7401
|
+
* request to get the remaining results.</p>
|
|
7402
|
+
*/
|
|
7403
|
+
NextToken?: string;
|
|
7404
|
+
/**
|
|
7405
|
+
* <p>The capacity units consumed by an operation. The data returned includes the total
|
|
7406
|
+
* provisioned throughput consumed, along with statistics for the table and any indexes
|
|
7407
|
+
* involved in the operation. <code>ConsumedCapacity</code> is only returned if the request
|
|
7408
|
+
* asked for it. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer
|
|
7409
|
+
* Guide</i>.</p>
|
|
7410
|
+
*/
|
|
7411
|
+
ConsumedCapacity?: ConsumedCapacity;
|
|
7412
|
+
/**
|
|
7413
|
+
* <p>The primary key of the item where the operation stopped, inclusive of the previous
|
|
7414
|
+
* result set. Use this value to start a new operation, excluding this value in the new
|
|
7415
|
+
* request. If <code>LastEvaluatedKey</code> is empty, then the "last page" of results has
|
|
7416
|
+
* been processed and there is no more data to be retrieved. If
|
|
7417
|
+
* <code>LastEvaluatedKey</code> is not empty, it does not necessarily mean that there
|
|
7418
|
+
* is more data in the result set. The only way to know when you have reached the end of
|
|
7419
|
+
* the result set is when <code>LastEvaluatedKey</code> is empty. </p>
|
|
7420
|
+
*/
|
|
7421
|
+
LastEvaluatedKey?: {
|
|
7422
|
+
[key: string]: AttributeValue;
|
|
7423
|
+
};
|
|
7424
|
+
}
|
|
7425
|
+
export declare namespace ExecuteStatementOutput {
|
|
7426
|
+
/**
|
|
7427
|
+
* @internal
|
|
7428
|
+
*/
|
|
7429
|
+
const filterSensitiveLog: (obj: ExecuteStatementOutput) => any;
|
|
7430
|
+
}
|
|
7335
7431
|
/**
|
|
7336
7432
|
* <p>Represents the output of a <code>PutItem</code> operation.</p>
|
|
7337
7433
|
*/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class DynamoDBServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|