@aws-sdk/client-codecommit 3.46.0 → 3.47.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.
@@ -123,12 +123,6 @@ export interface InvalidResourceArnException extends __SmithyException, $Metadat
123
123
  */
124
124
  message?: string;
125
125
  }
126
- export declare namespace InvalidResourceArnException {
127
- /**
128
- * @internal
129
- */
130
- const filterSensitiveLog: (obj: InvalidResourceArnException) => any;
131
- }
132
126
  export interface ListTagsForResourceInput {
133
127
  /**
134
128
  * <p>The Amazon Resource Name (ARN) of the resource for which you want to get information
@@ -178,12 +172,6 @@ export interface ResourceArnRequiredException extends __SmithyException, $Metada
178
172
  */
179
173
  message?: string;
180
174
  }
181
- export declare namespace ResourceArnRequiredException {
182
- /**
183
- * @internal
184
- */
185
- const filterSensitiveLog: (obj: ResourceArnRequiredException) => any;
186
- }
187
175
  /**
188
176
  * <p>The specified target branch is not valid.</p>
189
177
  */
@@ -195,12 +183,6 @@ export interface InvalidTargetBranchException extends __SmithyException, $Metada
195
183
  */
196
184
  message?: string;
197
185
  }
198
- export declare namespace InvalidTargetBranchException {
199
- /**
200
- * @internal
201
- */
202
- const filterSensitiveLog: (obj: InvalidTargetBranchException) => any;
203
- }
204
186
  export interface MergeBranchesByFastForwardInput {
205
187
  /**
206
188
  * <p>The name of the repository where you want to merge two branches.</p>
@@ -447,12 +429,6 @@ export interface PullRequestApprovalRulesNotSatisfiedException extends __SmithyE
447
429
  */
448
430
  message?: string;
449
431
  }
450
- export declare namespace PullRequestApprovalRulesNotSatisfiedException {
451
- /**
452
- * @internal
453
- */
454
- const filterSensitiveLog: (obj: PullRequestApprovalRulesNotSatisfiedException) => any;
455
- }
456
432
  /**
457
433
  * <p>The tip of the source branch in the destination repository does not match the tip of the source branch specified in your request.
458
434
  * The pull request might have been updated. Make sure that you have the latest changes.</p>
@@ -465,12 +441,6 @@ export interface TipOfSourceReferenceIsDifferentException extends __SmithyExcept
465
441
  */
466
442
  message?: string;
467
443
  }
468
- export declare namespace TipOfSourceReferenceIsDifferentException {
469
- /**
470
- * @internal
471
- */
472
- const filterSensitiveLog: (obj: TipOfSourceReferenceIsDifferentException) => any;
473
- }
474
444
  export interface MergePullRequestBySquashInput {
475
445
  /**
476
446
  * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
@@ -624,12 +594,6 @@ export interface InvalidOverrideStatusException extends __SmithyException, $Meta
624
594
  */
625
595
  message?: string;
626
596
  }
627
- export declare namespace InvalidOverrideStatusException {
628
- /**
629
- * @internal
630
- */
631
- const filterSensitiveLog: (obj: InvalidOverrideStatusException) => any;
632
- }
633
597
  /**
634
598
  * <p>The pull request has already had its approval rules set to override.</p>
635
599
  */
@@ -641,12 +605,6 @@ export interface OverrideAlreadySetException extends __SmithyException, $Metadat
641
605
  */
642
606
  message?: string;
643
607
  }
644
- export declare namespace OverrideAlreadySetException {
645
- /**
646
- * @internal
647
- */
648
- const filterSensitiveLog: (obj: OverrideAlreadySetException) => any;
649
- }
650
608
  export interface OverridePullRequestApprovalRulesInput {
651
609
  /**
652
610
  * <p>The system-generated ID of the pull request for which you want to override all
@@ -682,12 +640,6 @@ export interface OverrideStatusRequiredException extends __SmithyException, $Met
682
640
  */
683
641
  message?: string;
684
642
  }
685
- export declare namespace OverrideStatusRequiredException {
686
- /**
687
- * @internal
688
- */
689
- const filterSensitiveLog: (obj: OverrideStatusRequiredException) => any;
690
- }
691
643
  /**
692
644
  * <p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>
693
645
  */
@@ -699,12 +651,6 @@ export interface CommentContentRequiredException extends __SmithyException, $Met
699
651
  */
700
652
  message?: string;
701
653
  }
702
- export declare namespace CommentContentRequiredException {
703
- /**
704
- * @internal
705
- */
706
- const filterSensitiveLog: (obj: CommentContentRequiredException) => any;
707
- }
708
654
  /**
709
655
  * <p>The comment is too large. Comments are limited to 1,000 characters.</p>
710
656
  */
@@ -716,12 +662,6 @@ export interface CommentContentSizeLimitExceededException extends __SmithyExcept
716
662
  */
717
663
  message?: string;
718
664
  }
719
- export declare namespace CommentContentSizeLimitExceededException {
720
- /**
721
- * @internal
722
- */
723
- const filterSensitiveLog: (obj: CommentContentSizeLimitExceededException) => any;
724
- }
725
665
  /**
726
666
  * <p>The location of the file is not valid. Make sure that you include the file name and
727
667
  * extension.</p>
@@ -734,12 +674,6 @@ export interface InvalidFileLocationException extends __SmithyException, $Metada
734
674
  */
735
675
  message?: string;
736
676
  }
737
- export declare namespace InvalidFileLocationException {
738
- /**
739
- * @internal
740
- */
741
- const filterSensitiveLog: (obj: InvalidFileLocationException) => any;
742
- }
743
677
  /**
744
678
  * <p>The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.</p>
745
679
  */
@@ -751,12 +685,6 @@ export interface InvalidFilePositionException extends __SmithyException, $Metada
751
685
  */
752
686
  message?: string;
753
687
  }
754
- export declare namespace InvalidFilePositionException {
755
- /**
756
- * @internal
757
- */
758
- const filterSensitiveLog: (obj: InvalidFilePositionException) => any;
759
- }
760
688
  /**
761
689
  * <p>Either the enum is not in a valid format, or the specified file version enum is not valid in respect to the current file version.</p>
762
690
  */
@@ -768,12 +696,6 @@ export interface InvalidRelativeFileVersionEnumException extends __SmithyExcepti
768
696
  */
769
697
  message?: string;
770
698
  }
771
- export declare namespace InvalidRelativeFileVersionEnumException {
772
- /**
773
- * @internal
774
- */
775
- const filterSensitiveLog: (obj: InvalidRelativeFileVersionEnumException) => any;
776
- }
777
699
  export interface PostCommentForComparedCommitInput {
778
700
  /**
779
701
  * <p>The name of the repository where you want to post a comment on the comparison between commits.</p>
@@ -978,12 +900,6 @@ export interface InvalidReactionValueException extends __SmithyException, $Metad
978
900
  */
979
901
  message?: string;
980
902
  }
981
- export declare namespace InvalidReactionValueException {
982
- /**
983
- * @internal
984
- */
985
- const filterSensitiveLog: (obj: InvalidReactionValueException) => any;
986
- }
987
903
  export interface PutCommentReactionInput {
988
904
  /**
989
905
  * <p>The ID of the comment to which you want to add or update a reaction.</p>
@@ -1012,12 +928,6 @@ export interface ReactionLimitExceededException extends __SmithyException, $Meta
1012
928
  */
1013
929
  message?: string;
1014
930
  }
1015
- export declare namespace ReactionLimitExceededException {
1016
- /**
1017
- * @internal
1018
- */
1019
- const filterSensitiveLog: (obj: ReactionLimitExceededException) => any;
1020
- }
1021
931
  /**
1022
932
  * <p>A reaction value is required. </p>
1023
933
  */
@@ -1029,12 +939,6 @@ export interface ReactionValueRequiredException extends __SmithyException, $Meta
1029
939
  */
1030
940
  message?: string;
1031
941
  }
1032
- export declare namespace ReactionValueRequiredException {
1033
- /**
1034
- * @internal
1035
- */
1036
- const filterSensitiveLog: (obj: ReactionValueRequiredException) => any;
1037
- }
1038
942
  /**
1039
943
  * <p>The file cannot be added because it is empty. Empty files cannot be added to the repository with this API.</p>
1040
944
  */
@@ -1046,12 +950,6 @@ export interface FileContentRequiredException extends __SmithyException, $Metada
1046
950
  */
1047
951
  message?: string;
1048
952
  }
1049
- export declare namespace FileContentRequiredException {
1050
- /**
1051
- * @internal
1052
- */
1053
- const filterSensitiveLog: (obj: FileContentRequiredException) => any;
1054
- }
1055
953
  export interface PutFileInput {
1056
954
  /**
1057
955
  * <p>The name of the repository where you want to add or update the file.</p>
@@ -1139,12 +1037,6 @@ export interface SameFileContentException extends __SmithyException, $MetadataBe
1139
1037
  */
1140
1038
  message?: string;
1141
1039
  }
1142
- export declare namespace SameFileContentException {
1143
- /**
1144
- * @internal
1145
- */
1146
- const filterSensitiveLog: (obj: SameFileContentException) => any;
1147
- }
1148
1040
  /**
1149
1041
  * <p>One or more branch names specified for the trigger is not valid.</p>
1150
1042
  */
@@ -1156,12 +1048,6 @@ export interface InvalidRepositoryTriggerBranchNameException extends __SmithyExc
1156
1048
  */
1157
1049
  message?: string;
1158
1050
  }
1159
- export declare namespace InvalidRepositoryTriggerBranchNameException {
1160
- /**
1161
- * @internal
1162
- */
1163
- const filterSensitiveLog: (obj: InvalidRepositoryTriggerBranchNameException) => any;
1164
- }
1165
1051
  /**
1166
1052
  * <p>The custom data provided for the trigger is not valid.</p>
1167
1053
  */
@@ -1173,12 +1059,6 @@ export interface InvalidRepositoryTriggerCustomDataException extends __SmithyExc
1173
1059
  */
1174
1060
  message?: string;
1175
1061
  }
1176
- export declare namespace InvalidRepositoryTriggerCustomDataException {
1177
- /**
1178
- * @internal
1179
- */
1180
- const filterSensitiveLog: (obj: InvalidRepositoryTriggerCustomDataException) => any;
1181
- }
1182
1062
  /**
1183
1063
  * <p>The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.</p>
1184
1064
  */
@@ -1190,12 +1070,6 @@ export interface InvalidRepositoryTriggerDestinationArnException extends __Smith
1190
1070
  */
1191
1071
  message?: string;
1192
1072
  }
1193
- export declare namespace InvalidRepositoryTriggerDestinationArnException {
1194
- /**
1195
- * @internal
1196
- */
1197
- const filterSensitiveLog: (obj: InvalidRepositoryTriggerDestinationArnException) => any;
1198
- }
1199
1073
  /**
1200
1074
  * <p>One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events.</p>
1201
1075
  */
@@ -1207,12 +1081,6 @@ export interface InvalidRepositoryTriggerEventsException extends __SmithyExcepti
1207
1081
  */
1208
1082
  message?: string;
1209
1083
  }
1210
- export declare namespace InvalidRepositoryTriggerEventsException {
1211
- /**
1212
- * @internal
1213
- */
1214
- const filterSensitiveLog: (obj: InvalidRepositoryTriggerEventsException) => any;
1215
- }
1216
1084
  /**
1217
1085
  * <p>The name of the trigger is not valid.</p>
1218
1086
  */
@@ -1224,12 +1092,6 @@ export interface InvalidRepositoryTriggerNameException extends __SmithyException
1224
1092
  */
1225
1093
  message?: string;
1226
1094
  }
1227
- export declare namespace InvalidRepositoryTriggerNameException {
1228
- /**
1229
- * @internal
1230
- */
1231
- const filterSensitiveLog: (obj: InvalidRepositoryTriggerNameException) => any;
1232
- }
1233
1095
  /**
1234
1096
  * <p>The AWS Region for the trigger target does not match the AWS Region for the
1235
1097
  * repository. Triggers must be created in the same Region as the target for the
@@ -1243,12 +1105,6 @@ export interface InvalidRepositoryTriggerRegionException extends __SmithyExcepti
1243
1105
  */
1244
1106
  message?: string;
1245
1107
  }
1246
- export declare namespace InvalidRepositoryTriggerRegionException {
1247
- /**
1248
- * @internal
1249
- */
1250
- const filterSensitiveLog: (obj: InvalidRepositoryTriggerRegionException) => any;
1251
- }
1252
1108
  /**
1253
1109
  * <p>The number of branches for the trigger was exceeded.</p>
1254
1110
  */
@@ -1260,12 +1116,6 @@ export interface MaximumBranchesExceededException extends __SmithyException, $Me
1260
1116
  */
1261
1117
  message?: string;
1262
1118
  }
1263
- export declare namespace MaximumBranchesExceededException {
1264
- /**
1265
- * @internal
1266
- */
1267
- const filterSensitiveLog: (obj: MaximumBranchesExceededException) => any;
1268
- }
1269
1119
  /**
1270
1120
  * <p>The number of triggers allowed for the repository was exceeded.</p>
1271
1121
  */
@@ -1277,12 +1127,6 @@ export interface MaximumRepositoryTriggersExceededException extends __SmithyExce
1277
1127
  */
1278
1128
  message?: string;
1279
1129
  }
1280
- export declare namespace MaximumRepositoryTriggersExceededException {
1281
- /**
1282
- * @internal
1283
- */
1284
- const filterSensitiveLog: (obj: MaximumRepositoryTriggersExceededException) => any;
1285
- }
1286
1130
  /**
1287
1131
  * <p>Represents the input of a put repository triggers operation.</p>
1288
1132
  */
@@ -1329,12 +1173,6 @@ export interface RepositoryTriggerBranchNameListRequiredException extends __Smit
1329
1173
  */
1330
1174
  message?: string;
1331
1175
  }
1332
- export declare namespace RepositoryTriggerBranchNameListRequiredException {
1333
- /**
1334
- * @internal
1335
- */
1336
- const filterSensitiveLog: (obj: RepositoryTriggerBranchNameListRequiredException) => any;
1337
- }
1338
1176
  /**
1339
1177
  * <p>A destination ARN for the target service for the trigger is required, but was not
1340
1178
  * specified.</p>
@@ -1347,12 +1185,6 @@ export interface RepositoryTriggerDestinationArnRequiredException extends __Smit
1347
1185
  */
1348
1186
  message?: string;
1349
1187
  }
1350
- export declare namespace RepositoryTriggerDestinationArnRequiredException {
1351
- /**
1352
- * @internal
1353
- */
1354
- const filterSensitiveLog: (obj: RepositoryTriggerDestinationArnRequiredException) => any;
1355
- }
1356
1188
  /**
1357
1189
  * <p>At least one event for the trigger is required, but was not specified.</p>
1358
1190
  */
@@ -1364,12 +1196,6 @@ export interface RepositoryTriggerEventsListRequiredException extends __SmithyEx
1364
1196
  */
1365
1197
  message?: string;
1366
1198
  }
1367
- export declare namespace RepositoryTriggerEventsListRequiredException {
1368
- /**
1369
- * @internal
1370
- */
1371
- const filterSensitiveLog: (obj: RepositoryTriggerEventsListRequiredException) => any;
1372
- }
1373
1199
  /**
1374
1200
  * <p>A name for the trigger is required, but was not specified.</p>
1375
1201
  */
@@ -1381,12 +1207,6 @@ export interface RepositoryTriggerNameRequiredException extends __SmithyExceptio
1381
1207
  */
1382
1208
  message?: string;
1383
1209
  }
1384
- export declare namespace RepositoryTriggerNameRequiredException {
1385
- /**
1386
- * @internal
1387
- */
1388
- const filterSensitiveLog: (obj: RepositoryTriggerNameRequiredException) => any;
1389
- }
1390
1210
  /**
1391
1211
  * <p>The list of triggers for the repository is required, but was not specified.</p>
1392
1212
  */
@@ -1398,12 +1218,6 @@ export interface RepositoryTriggersListRequiredException extends __SmithyExcepti
1398
1218
  */
1399
1219
  message?: string;
1400
1220
  }
1401
- export declare namespace RepositoryTriggersListRequiredException {
1402
- /**
1403
- * @internal
1404
- */
1405
- const filterSensitiveLog: (obj: RepositoryTriggersListRequiredException) => any;
1406
- }
1407
1221
  export interface TagResourceInput {
1408
1222
  /**
1409
1223
  * <p>The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.</p>
@@ -1433,12 +1247,6 @@ export interface TagsMapRequiredException extends __SmithyException, $MetadataBe
1433
1247
  */
1434
1248
  message?: string;
1435
1249
  }
1436
- export declare namespace TagsMapRequiredException {
1437
- /**
1438
- * @internal
1439
- */
1440
- const filterSensitiveLog: (obj: TagsMapRequiredException) => any;
1441
- }
1442
1250
  /**
1443
1251
  * <p>Represents the input of a test repository triggers operation.</p>
1444
1252
  */
@@ -1508,12 +1316,6 @@ export interface InvalidTagKeysListException extends __SmithyException, $Metadat
1508
1316
  */
1509
1317
  message?: string;
1510
1318
  }
1511
- export declare namespace InvalidTagKeysListException {
1512
- /**
1513
- * @internal
1514
- */
1515
- const filterSensitiveLog: (obj: InvalidTagKeysListException) => any;
1516
- }
1517
1319
  /**
1518
1320
  * <p>A list of tag keys is required. The list cannot be empty or null.</p>
1519
1321
  */
@@ -1525,12 +1327,6 @@ export interface TagKeysListRequiredException extends __SmithyException, $Metada
1525
1327
  */
1526
1328
  message?: string;
1527
1329
  }
1528
- export declare namespace TagKeysListRequiredException {
1529
- /**
1530
- * @internal
1531
- */
1532
- const filterSensitiveLog: (obj: TagKeysListRequiredException) => any;
1533
- }
1534
1330
  export interface UntagResourceInput {
1535
1331
  /**
1536
1332
  * <p>The Amazon Resource Name (ARN) of the resource to which you want to remove tags.</p>
@@ -1558,12 +1354,6 @@ export interface InvalidRuleContentSha256Exception extends __SmithyException, $M
1558
1354
  */
1559
1355
  message?: string;
1560
1356
  }
1561
- export declare namespace InvalidRuleContentSha256Exception {
1562
- /**
1563
- * @internal
1564
- */
1565
- const filterSensitiveLog: (obj: InvalidRuleContentSha256Exception) => any;
1566
- }
1567
1357
  export interface UpdateApprovalRuleTemplateContentInput {
1568
1358
  /**
1569
1359
  * <p>The name of the approval rule template where you want to update the content of the rule. </p>
@@ -1666,12 +1456,6 @@ export interface CommentNotCreatedByCallerException extends __SmithyException, $
1666
1456
  */
1667
1457
  message?: string;
1668
1458
  }
1669
- export declare namespace CommentNotCreatedByCallerException {
1670
- /**
1671
- * @internal
1672
- */
1673
- const filterSensitiveLog: (obj: CommentNotCreatedByCallerException) => any;
1674
- }
1675
1459
  export interface UpdateCommentInput {
1676
1460
  /**
1677
1461
  * <p>The system-generated ID of the comment you want to update. To get this ID, use <a>GetCommentsForComparedCommit</a>
@@ -1809,12 +1593,6 @@ export interface InvalidApprovalStateException extends __SmithyException, $Metad
1809
1593
  */
1810
1594
  message?: string;
1811
1595
  }
1812
- export declare namespace InvalidApprovalStateException {
1813
- /**
1814
- * @internal
1815
- */
1816
- const filterSensitiveLog: (obj: InvalidApprovalStateException) => any;
1817
- }
1818
1596
  /**
1819
1597
  * <p>The number of approvals required for the approval rule exceeds the maximum number allowed.</p>
1820
1598
  */
@@ -1826,12 +1604,6 @@ export interface MaximumNumberOfApprovalsExceededException extends __SmithyExcep
1826
1604
  */
1827
1605
  message?: string;
1828
1606
  }
1829
- export declare namespace MaximumNumberOfApprovalsExceededException {
1830
- /**
1831
- * @internal
1832
- */
1833
- const filterSensitiveLog: (obj: MaximumNumberOfApprovalsExceededException) => any;
1834
- }
1835
1607
  /**
1836
1608
  * <p>The approval cannot be applied because the user approving the pull request matches the user who created the pull request. You cannot approve a pull
1837
1609
  * request that you created.</p>
@@ -1844,12 +1616,6 @@ export interface PullRequestCannotBeApprovedByAuthorException extends __SmithyEx
1844
1616
  */
1845
1617
  message?: string;
1846
1618
  }
1847
- export declare namespace PullRequestCannotBeApprovedByAuthorException {
1848
- /**
1849
- * @internal
1850
- */
1851
- const filterSensitiveLog: (obj: PullRequestCannotBeApprovedByAuthorException) => any;
1852
- }
1853
1619
  export interface UpdatePullRequestApprovalStateInput {
1854
1620
  /**
1855
1621
  * <p>The system-generated ID of the pull request.</p>
@@ -1910,12 +1676,6 @@ export interface InvalidPullRequestStatusUpdateException extends __SmithyExcepti
1910
1676
  */
1911
1677
  message?: string;
1912
1678
  }
1913
- export declare namespace InvalidPullRequestStatusUpdateException {
1914
- /**
1915
- * @internal
1916
- */
1917
- const filterSensitiveLog: (obj: InvalidPullRequestStatusUpdateException) => any;
1918
- }
1919
1679
  /**
1920
1680
  * <p>A pull request status is required, but none was provided.</p>
1921
1681
  */
@@ -1927,12 +1687,6 @@ export interface PullRequestStatusRequiredException extends __SmithyException, $
1927
1687
  */
1928
1688
  message?: string;
1929
1689
  }
1930
- export declare namespace PullRequestStatusRequiredException {
1931
- /**
1932
- * @internal
1933
- */
1934
- const filterSensitiveLog: (obj: PullRequestStatusRequiredException) => any;
1935
- }
1936
1690
  export interface UpdatePullRequestStatusInput {
1937
1691
  /**
1938
1692
  * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
@@ -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 { CodeCommitClientConfig } from "./CodeCommitClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
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;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { CodeCommitClientConfig } from "./CodeCommitClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
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/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
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
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ 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>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  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";
9
9
  import { AssociateApprovalRuleTemplateWithRepositoryCommandInput, AssociateApprovalRuleTemplateWithRepositoryCommandOutput } from "./commands/AssociateApprovalRuleTemplateWithRepositoryCommand";
10
10
  import { BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput } from "./commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand";
@@ -128,6 +128,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
128
128
  regionInfoProvider?: RegionInfoProvider;
129
129
 
130
130
  defaultUserAgentProvider?: Provider<__UserAgent>;
131
+
132
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
131
133
  }
132
134
  declare type CodeCommitClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
133
135