@aws-sdk/client-dynamodb 3.45.0 → 3.47.2
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/dist-cjs/endpoints.js +0 -28
- package/dist-cjs/models/models_0.js +4 -188
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +0 -28
- package/dist-es/models/models_0.js +0 -122
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/DynamoDBClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -180
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -120
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +41 -48
|
@@ -794,12 +794,6 @@ export interface BackupInUseException extends __SmithyException, $MetadataBearer
|
|
|
794
794
|
$fault: "client";
|
|
795
795
|
message?: string;
|
|
796
796
|
}
|
|
797
|
-
export declare namespace BackupInUseException {
|
|
798
|
-
/**
|
|
799
|
-
* @internal
|
|
800
|
-
*/
|
|
801
|
-
const filterSensitiveLog: (obj: BackupInUseException) => any;
|
|
802
|
-
}
|
|
803
797
|
/**
|
|
804
798
|
* <p>Backup not found for the given BackupARN. </p>
|
|
805
799
|
*/
|
|
@@ -808,12 +802,6 @@ export interface BackupNotFoundException extends __SmithyException, $MetadataBea
|
|
|
808
802
|
$fault: "client";
|
|
809
803
|
message?: string;
|
|
810
804
|
}
|
|
811
|
-
export declare namespace BackupNotFoundException {
|
|
812
|
-
/**
|
|
813
|
-
* @internal
|
|
814
|
-
*/
|
|
815
|
-
const filterSensitiveLog: (obj: BackupNotFoundException) => any;
|
|
816
|
-
}
|
|
817
805
|
/**
|
|
818
806
|
* <p>Contains details for the backup.</p>
|
|
819
807
|
*/
|
|
@@ -1008,12 +996,6 @@ export interface InternalServerError extends __SmithyException, $MetadataBearer
|
|
|
1008
996
|
*/
|
|
1009
997
|
message?: string;
|
|
1010
998
|
}
|
|
1011
|
-
export declare namespace InternalServerError {
|
|
1012
|
-
/**
|
|
1013
|
-
* @internal
|
|
1014
|
-
*/
|
|
1015
|
-
const filterSensitiveLog: (obj: InternalServerError) => any;
|
|
1016
|
-
}
|
|
1017
999
|
/**
|
|
1018
1000
|
* <p>Throughput exceeds the current throughput quota for your account. Please contact
|
|
1019
1001
|
* <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a
|
|
@@ -1024,23 +1006,11 @@ export interface RequestLimitExceeded extends __SmithyException, $MetadataBearer
|
|
|
1024
1006
|
$fault: "client";
|
|
1025
1007
|
message?: string;
|
|
1026
1008
|
}
|
|
1027
|
-
export declare namespace RequestLimitExceeded {
|
|
1028
|
-
/**
|
|
1029
|
-
* @internal
|
|
1030
|
-
*/
|
|
1031
|
-
const filterSensitiveLog: (obj: RequestLimitExceeded) => any;
|
|
1032
|
-
}
|
|
1033
1009
|
export interface InvalidEndpointException extends __SmithyException, $MetadataBearer {
|
|
1034
1010
|
name: "InvalidEndpointException";
|
|
1035
1011
|
$fault: "client";
|
|
1036
1012
|
Message?: string;
|
|
1037
1013
|
}
|
|
1038
|
-
export declare namespace InvalidEndpointException {
|
|
1039
|
-
/**
|
|
1040
|
-
* @internal
|
|
1041
|
-
*/
|
|
1042
|
-
const filterSensitiveLog: (obj: InvalidEndpointException) => any;
|
|
1043
|
-
}
|
|
1044
1014
|
/**
|
|
1045
1015
|
* <p>Your request rate is too high. The Amazon Web Services SDKs for DynamoDB
|
|
1046
1016
|
* automatically retry requests that receive this exception. Your request is eventually
|
|
@@ -1055,12 +1025,6 @@ export interface ProvisionedThroughputExceededException extends __SmithyExceptio
|
|
|
1055
1025
|
*/
|
|
1056
1026
|
message?: string;
|
|
1057
1027
|
}
|
|
1058
|
-
export declare namespace ProvisionedThroughputExceededException {
|
|
1059
|
-
/**
|
|
1060
|
-
* @internal
|
|
1061
|
-
*/
|
|
1062
|
-
const filterSensitiveLog: (obj: ProvisionedThroughputExceededException) => any;
|
|
1063
|
-
}
|
|
1064
1028
|
/**
|
|
1065
1029
|
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
1066
1030
|
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
@@ -1073,12 +1037,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
1073
1037
|
*/
|
|
1074
1038
|
message?: string;
|
|
1075
1039
|
}
|
|
1076
|
-
export declare namespace ResourceNotFoundException {
|
|
1077
|
-
/**
|
|
1078
|
-
* @internal
|
|
1079
|
-
*/
|
|
1080
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
1081
|
-
}
|
|
1082
1040
|
export declare type ReturnItemCollectionMetrics = "NONE" | "SIZE";
|
|
1083
1041
|
/**
|
|
1084
1042
|
* <p>An item collection is too large. This exception is only returned for tables that
|
|
@@ -1093,12 +1051,6 @@ export interface ItemCollectionSizeLimitExceededException extends __SmithyExcept
|
|
|
1093
1051
|
*/
|
|
1094
1052
|
message?: string;
|
|
1095
1053
|
}
|
|
1096
|
-
export declare namespace ItemCollectionSizeLimitExceededException {
|
|
1097
|
-
/**
|
|
1098
|
-
* @internal
|
|
1099
|
-
*/
|
|
1100
|
-
const filterSensitiveLog: (obj: ItemCollectionSizeLimitExceededException) => any;
|
|
1101
|
-
}
|
|
1102
1054
|
/**
|
|
1103
1055
|
* <p>Contains the details for the read/write capacity mode.</p>
|
|
1104
1056
|
*/
|
|
@@ -1146,12 +1098,6 @@ export interface ConditionalCheckFailedException extends __SmithyException, $Met
|
|
|
1146
1098
|
*/
|
|
1147
1099
|
message?: string;
|
|
1148
1100
|
}
|
|
1149
|
-
export declare namespace ConditionalCheckFailedException {
|
|
1150
|
-
/**
|
|
1151
|
-
* @internal
|
|
1152
|
-
*/
|
|
1153
|
-
const filterSensitiveLog: (obj: ConditionalCheckFailedException) => any;
|
|
1154
|
-
}
|
|
1155
1101
|
export declare type ConditionalOperator = "AND" | "OR";
|
|
1156
1102
|
export declare type ReturnValuesOnConditionCheckFailure = "ALL_OLD" | "NONE";
|
|
1157
1103
|
export declare type ContinuousBackupsStatus = "DISABLED" | "ENABLED";
|
|
@@ -1226,12 +1172,6 @@ export interface ContinuousBackupsUnavailableException extends __SmithyException
|
|
|
1226
1172
|
$fault: "client";
|
|
1227
1173
|
message?: string;
|
|
1228
1174
|
}
|
|
1229
|
-
export declare namespace ContinuousBackupsUnavailableException {
|
|
1230
|
-
/**
|
|
1231
|
-
* @internal
|
|
1232
|
-
*/
|
|
1233
|
-
const filterSensitiveLog: (obj: ContinuousBackupsUnavailableException) => any;
|
|
1234
|
-
}
|
|
1235
1175
|
export declare type ContributorInsightsAction = "DISABLE" | "ENABLE";
|
|
1236
1176
|
export declare type ContributorInsightsStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING" | "FAILED";
|
|
1237
1177
|
/**
|
|
@@ -1306,12 +1246,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
1306
1246
|
*/
|
|
1307
1247
|
message?: string;
|
|
1308
1248
|
}
|
|
1309
|
-
export declare namespace LimitExceededException {
|
|
1310
|
-
/**
|
|
1311
|
-
* @internal
|
|
1312
|
-
*/
|
|
1313
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
1314
|
-
}
|
|
1315
1249
|
/**
|
|
1316
1250
|
* <p>A target table with the specified name is either being created or deleted.
|
|
1317
1251
|
* </p>
|
|
@@ -1321,12 +1255,6 @@ export interface TableInUseException extends __SmithyException, $MetadataBearer
|
|
|
1321
1255
|
$fault: "client";
|
|
1322
1256
|
message?: string;
|
|
1323
1257
|
}
|
|
1324
|
-
export declare namespace TableInUseException {
|
|
1325
|
-
/**
|
|
1326
|
-
* @internal
|
|
1327
|
-
*/
|
|
1328
|
-
const filterSensitiveLog: (obj: TableInUseException) => any;
|
|
1329
|
-
}
|
|
1330
1258
|
/**
|
|
1331
1259
|
* <p>A source table with the name <code>TableName</code> does not currently exist within
|
|
1332
1260
|
* the subscriber's account.</p>
|
|
@@ -1336,12 +1264,6 @@ export interface TableNotFoundException extends __SmithyException, $MetadataBear
|
|
|
1336
1264
|
$fault: "client";
|
|
1337
1265
|
message?: string;
|
|
1338
1266
|
}
|
|
1339
|
-
export declare namespace TableNotFoundException {
|
|
1340
|
-
/**
|
|
1341
|
-
* @internal
|
|
1342
|
-
*/
|
|
1343
|
-
const filterSensitiveLog: (obj: TableNotFoundException) => any;
|
|
1344
|
-
}
|
|
1345
1267
|
/**
|
|
1346
1268
|
* <p>Represents a new global secondary index to be added to an existing table.</p>
|
|
1347
1269
|
*/
|
|
@@ -1627,12 +1549,6 @@ export interface GlobalTableAlreadyExistsException extends __SmithyException, $M
|
|
|
1627
1549
|
$fault: "client";
|
|
1628
1550
|
message?: string;
|
|
1629
1551
|
}
|
|
1630
|
-
export declare namespace GlobalTableAlreadyExistsException {
|
|
1631
|
-
/**
|
|
1632
|
-
* @internal
|
|
1633
|
-
*/
|
|
1634
|
-
const filterSensitiveLog: (obj: GlobalTableAlreadyExistsException) => any;
|
|
1635
|
-
}
|
|
1636
1552
|
/**
|
|
1637
1553
|
* <p>Represents a replica to be added.</p>
|
|
1638
1554
|
*/
|
|
@@ -2796,12 +2712,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
2796
2712
|
*/
|
|
2797
2713
|
message?: string;
|
|
2798
2714
|
}
|
|
2799
|
-
export declare namespace ResourceInUseException {
|
|
2800
|
-
/**
|
|
2801
|
-
* @internal
|
|
2802
|
-
*/
|
|
2803
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
2804
|
-
}
|
|
2805
2715
|
export interface DeleteBackupInput {
|
|
2806
2716
|
/**
|
|
2807
2717
|
* <p>The ARN associated with the backup.</p>
|
|
@@ -2851,12 +2761,6 @@ export interface TransactionConflictException extends __SmithyException, $Metada
|
|
|
2851
2761
|
$fault: "client";
|
|
2852
2762
|
message?: string;
|
|
2853
2763
|
}
|
|
2854
|
-
export declare namespace TransactionConflictException {
|
|
2855
|
-
/**
|
|
2856
|
-
* @internal
|
|
2857
|
-
*/
|
|
2858
|
-
const filterSensitiveLog: (obj: TransactionConflictException) => any;
|
|
2859
|
-
}
|
|
2860
2764
|
/**
|
|
2861
2765
|
* <p>Represents a replica to be removed.</p>
|
|
2862
2766
|
*/
|
|
@@ -3242,12 +3146,6 @@ export interface ExportNotFoundException extends __SmithyException, $MetadataBea
|
|
|
3242
3146
|
$fault: "client";
|
|
3243
3147
|
message?: string;
|
|
3244
3148
|
}
|
|
3245
|
-
export declare namespace ExportNotFoundException {
|
|
3246
|
-
/**
|
|
3247
|
-
* @internal
|
|
3248
|
-
*/
|
|
3249
|
-
const filterSensitiveLog: (obj: ExportNotFoundException) => any;
|
|
3250
|
-
}
|
|
3251
3149
|
export interface DescribeGlobalTableInput {
|
|
3252
3150
|
/**
|
|
3253
3151
|
* <p>The name of the global table.</p>
|
|
@@ -3280,12 +3178,6 @@ export interface GlobalTableNotFoundException extends __SmithyException, $Metada
|
|
|
3280
3178
|
$fault: "client";
|
|
3281
3179
|
message?: string;
|
|
3282
3180
|
}
|
|
3283
|
-
export declare namespace GlobalTableNotFoundException {
|
|
3284
|
-
/**
|
|
3285
|
-
* @internal
|
|
3286
|
-
*/
|
|
3287
|
-
const filterSensitiveLog: (obj: GlobalTableNotFoundException) => any;
|
|
3288
|
-
}
|
|
3289
3181
|
export interface DescribeGlobalTableSettingsInput {
|
|
3290
3182
|
/**
|
|
3291
3183
|
* <p>The name of the global table to describe.</p>
|
|
@@ -3800,12 +3692,6 @@ export interface DuplicateItemException extends __SmithyException, $MetadataBear
|
|
|
3800
3692
|
$fault: "client";
|
|
3801
3693
|
message?: string;
|
|
3802
3694
|
}
|
|
3803
|
-
export declare namespace DuplicateItemException {
|
|
3804
|
-
/**
|
|
3805
|
-
* @internal
|
|
3806
|
-
*/
|
|
3807
|
-
const filterSensitiveLog: (obj: DuplicateItemException) => any;
|
|
3808
|
-
}
|
|
3809
3695
|
/**
|
|
3810
3696
|
* <p>DynamoDB rejected the request because you retried a request with a
|
|
3811
3697
|
* different payload but with an idempotent token that was already used.</p>
|
|
@@ -3815,12 +3701,6 @@ export interface IdempotentParameterMismatchException extends __SmithyException,
|
|
|
3815
3701
|
$fault: "client";
|
|
3816
3702
|
Message?: string;
|
|
3817
3703
|
}
|
|
3818
|
-
export declare namespace IdempotentParameterMismatchException {
|
|
3819
|
-
/**
|
|
3820
|
-
* @internal
|
|
3821
|
-
*/
|
|
3822
|
-
const filterSensitiveLog: (obj: IdempotentParameterMismatchException) => any;
|
|
3823
|
-
}
|
|
3824
3704
|
/**
|
|
3825
3705
|
* <p>The transaction with the given request token is already in progress.</p>
|
|
3826
3706
|
*/
|
|
@@ -3829,12 +3709,6 @@ export interface TransactionInProgressException extends __SmithyException, $Meta
|
|
|
3829
3709
|
$fault: "client";
|
|
3830
3710
|
Message?: string;
|
|
3831
3711
|
}
|
|
3832
|
-
export declare namespace TransactionInProgressException {
|
|
3833
|
-
/**
|
|
3834
|
-
* @internal
|
|
3835
|
-
*/
|
|
3836
|
-
const filterSensitiveLog: (obj: TransactionInProgressException) => any;
|
|
3837
|
-
}
|
|
3838
3712
|
/**
|
|
3839
3713
|
* <p>There was a conflict when writing to the specified S3 bucket.</p>
|
|
3840
3714
|
*/
|
|
@@ -3843,12 +3717,6 @@ export interface ExportConflictException extends __SmithyException, $MetadataBea
|
|
|
3843
3717
|
$fault: "client";
|
|
3844
3718
|
message?: string;
|
|
3845
3719
|
}
|
|
3846
|
-
export declare namespace ExportConflictException {
|
|
3847
|
-
/**
|
|
3848
|
-
* @internal
|
|
3849
|
-
*/
|
|
3850
|
-
const filterSensitiveLog: (obj: ExportConflictException) => any;
|
|
3851
|
-
}
|
|
3852
3720
|
export interface ExportTableToPointInTimeInput {
|
|
3853
3721
|
/**
|
|
3854
3722
|
* <p>The Amazon Resource Name (ARN) associated with the table to export.</p>
|
|
@@ -3941,12 +3809,6 @@ export interface InvalidExportTimeException extends __SmithyException, $Metadata
|
|
|
3941
3809
|
$fault: "client";
|
|
3942
3810
|
message?: string;
|
|
3943
3811
|
}
|
|
3944
|
-
export declare namespace InvalidExportTimeException {
|
|
3945
|
-
/**
|
|
3946
|
-
* @internal
|
|
3947
|
-
*/
|
|
3948
|
-
const filterSensitiveLog: (obj: InvalidExportTimeException) => any;
|
|
3949
|
-
}
|
|
3950
3812
|
/**
|
|
3951
3813
|
* <p>Point in time recovery has not yet been enabled for this source table.</p>
|
|
3952
3814
|
*/
|
|
@@ -3955,12 +3817,6 @@ export interface PointInTimeRecoveryUnavailableException extends __SmithyExcepti
|
|
|
3955
3817
|
$fault: "client";
|
|
3956
3818
|
message?: string;
|
|
3957
3819
|
}
|
|
3958
|
-
export declare namespace PointInTimeRecoveryUnavailableException {
|
|
3959
|
-
/**
|
|
3960
|
-
* @internal
|
|
3961
|
-
*/
|
|
3962
|
-
const filterSensitiveLog: (obj: PointInTimeRecoveryUnavailableException) => any;
|
|
3963
|
-
}
|
|
3964
3820
|
export interface ListBackupsInput {
|
|
3965
3821
|
/**
|
|
3966
3822
|
* <p>The backups from the table specified by <code>TableName</code> are listed. </p>
|
|
@@ -4341,12 +4197,6 @@ export interface TableAlreadyExistsException extends __SmithyException, $Metadat
|
|
|
4341
4197
|
$fault: "client";
|
|
4342
4198
|
message?: string;
|
|
4343
4199
|
}
|
|
4344
|
-
export declare namespace TableAlreadyExistsException {
|
|
4345
|
-
/**
|
|
4346
|
-
* @internal
|
|
4347
|
-
*/
|
|
4348
|
-
const filterSensitiveLog: (obj: TableAlreadyExistsException) => any;
|
|
4349
|
-
}
|
|
4350
4200
|
/**
|
|
4351
4201
|
* <p>An invalid restore time was specified. RestoreDateTime must be between
|
|
4352
4202
|
* EarliestRestorableDateTime and LatestRestorableDateTime.</p>
|
|
@@ -4356,12 +4206,6 @@ export interface InvalidRestoreTimeException extends __SmithyException, $Metadat
|
|
|
4356
4206
|
$fault: "client";
|
|
4357
4207
|
message?: string;
|
|
4358
4208
|
}
|
|
4359
|
-
export declare namespace InvalidRestoreTimeException {
|
|
4360
|
-
/**
|
|
4361
|
-
* @internal
|
|
4362
|
-
*/
|
|
4363
|
-
const filterSensitiveLog: (obj: InvalidRestoreTimeException) => any;
|
|
4364
|
-
}
|
|
4365
4209
|
export interface RestoreTableToPointInTimeInput {
|
|
4366
4210
|
/**
|
|
4367
4211
|
* <p>The DynamoDB table that will be restored. This value is an Amazon Resource Name
|
|
@@ -4556,12 +4400,6 @@ export interface ReplicaAlreadyExistsException extends __SmithyException, $Metad
|
|
|
4556
4400
|
$fault: "client";
|
|
4557
4401
|
message?: string;
|
|
4558
4402
|
}
|
|
4559
|
-
export declare namespace ReplicaAlreadyExistsException {
|
|
4560
|
-
/**
|
|
4561
|
-
* @internal
|
|
4562
|
-
*/
|
|
4563
|
-
const filterSensitiveLog: (obj: ReplicaAlreadyExistsException) => any;
|
|
4564
|
-
}
|
|
4565
4403
|
/**
|
|
4566
4404
|
* <p>The specified replica is no longer part of the global table.</p>
|
|
4567
4405
|
*/
|
|
@@ -4570,12 +4408,6 @@ export interface ReplicaNotFoundException extends __SmithyException, $MetadataBe
|
|
|
4570
4408
|
$fault: "client";
|
|
4571
4409
|
message?: string;
|
|
4572
4410
|
}
|
|
4573
|
-
export declare namespace ReplicaNotFoundException {
|
|
4574
|
-
/**
|
|
4575
|
-
* @internal
|
|
4576
|
-
*/
|
|
4577
|
-
const filterSensitiveLog: (obj: ReplicaNotFoundException) => any;
|
|
4578
|
-
}
|
|
4579
4411
|
/**
|
|
4580
4412
|
* <p>Represents one of the following:</p>
|
|
4581
4413
|
* <ul>
|
|
@@ -4642,12 +4474,6 @@ export interface IndexNotFoundException extends __SmithyException, $MetadataBear
|
|
|
4642
4474
|
$fault: "client";
|
|
4643
4475
|
message?: string;
|
|
4644
4476
|
}
|
|
4645
|
-
export declare namespace IndexNotFoundException {
|
|
4646
|
-
/**
|
|
4647
|
-
* @internal
|
|
4648
|
-
*/
|
|
4649
|
-
const filterSensitiveLog: (obj: IndexNotFoundException) => any;
|
|
4650
|
-
}
|
|
4651
4477
|
/**
|
|
4652
4478
|
* <p>Represents the settings of a global secondary index for a global table that will be
|
|
4653
4479
|
* modified.</p>
|
|
@@ -6793,12 +6619,6 @@ export interface TransactionCanceledException extends __SmithyException, $Metada
|
|
|
6793
6619
|
*/
|
|
6794
6620
|
CancellationReasons?: CancellationReason[];
|
|
6795
6621
|
}
|
|
6796
|
-
export declare namespace TransactionCanceledException {
|
|
6797
|
-
/**
|
|
6798
|
-
* @internal
|
|
6799
|
-
*/
|
|
6800
|
-
const filterSensitiveLog: (obj: TransactionCanceledException) => any;
|
|
6801
|
-
}
|
|
6802
6622
|
/**
|
|
6803
6623
|
* <p>Represents the input of a <code>BatchGetItem</code> operation.</p>
|
|
6804
6624
|
*/
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { DynamoDBClientConfig } from "./DynamoDBClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -13,7 +14,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
13
14
|
endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
14
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
16
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
17
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
18
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
19
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
20
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { DynamoDBClientConfig } from "./DynamoDBClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
14
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
16
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
17
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
18
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
19
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
20
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
|
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
28
|
endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
29
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
29
30
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
31
|
tls?: boolean | undefined;
|
|
31
32
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
11
11
|
import { BatchGetItemCommandInput, BatchGetItemCommandOutput } from "./commands/BatchGetItemCommand";
|
|
@@ -104,6 +104,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
104
104
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
105
105
|
|
|
106
106
|
endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
|
|
107
|
+
|
|
108
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
107
109
|
}
|
|
108
110
|
declare type DynamoDBClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EndpointDiscoveryInputConfig;
|
|
109
111
|
|