@aws-sdk/client-codecommit 3.52.0 → 3.54.1

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.
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CodeCommitServiceException as __BaseException } from "./CodeCommitServiceException";
2
3
  import { ApprovalRule, ApprovalRuleTemplate, ApprovalState, Comment, ConflictDetailLevelTypeEnum, ConflictResolution, ConflictResolutionStrategyTypeEnum, FileModeTypeEnum, Location, OverrideStatus, PullRequest, PullRequestStatusEnum, RepositoryTrigger } from "./models_0";
3
4
  export declare enum OrderEnum {
4
5
  ASCENDING = "ascending",
@@ -115,13 +116,13 @@ export declare namespace ListRepositoriesForApprovalRuleTemplateOutput {
115
116
  * <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
116
117
  * in the AWS CodeCommit User Guide.</p>
117
118
  */
118
- export interface InvalidResourceArnException extends __SmithyException, $MetadataBearer {
119
- name: "InvalidResourceArnException";
120
- $fault: "client";
119
+ export declare class InvalidResourceArnException extends __BaseException {
120
+ readonly name: "InvalidResourceArnException";
121
+ readonly $fault: "client";
121
122
  /**
122
- * <p>Any message associated with the exception.</p>
123
+ * @internal
123
124
  */
124
- message?: string;
125
+ constructor(opts: __ExceptionOptionType<InvalidResourceArnException, __BaseException>);
125
126
  }
126
127
  export interface ListTagsForResourceInput {
127
128
  /**
@@ -164,24 +165,24 @@ export declare namespace ListTagsForResourceOutput {
164
165
  * <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
165
166
  * in the AWS CodeCommit User Guide.</p>
166
167
  */
167
- export interface ResourceArnRequiredException extends __SmithyException, $MetadataBearer {
168
- name: "ResourceArnRequiredException";
169
- $fault: "client";
168
+ export declare class ResourceArnRequiredException extends __BaseException {
169
+ readonly name: "ResourceArnRequiredException";
170
+ readonly $fault: "client";
170
171
  /**
171
- * <p>Any message associated with the exception.</p>
172
+ * @internal
172
173
  */
173
- message?: string;
174
+ constructor(opts: __ExceptionOptionType<ResourceArnRequiredException, __BaseException>);
174
175
  }
175
176
  /**
176
177
  * <p>The specified target branch is not valid.</p>
177
178
  */
178
- export interface InvalidTargetBranchException extends __SmithyException, $MetadataBearer {
179
- name: "InvalidTargetBranchException";
180
- $fault: "client";
179
+ export declare class InvalidTargetBranchException extends __BaseException {
180
+ readonly name: "InvalidTargetBranchException";
181
+ readonly $fault: "client";
181
182
  /**
182
- * <p>Any message associated with the exception.</p>
183
+ * @internal
183
184
  */
184
- message?: string;
185
+ constructor(opts: __ExceptionOptionType<InvalidTargetBranchException, __BaseException>);
185
186
  }
186
187
  export interface MergeBranchesByFastForwardInput {
187
188
  /**
@@ -421,25 +422,25 @@ export declare namespace MergePullRequestByFastForwardOutput {
421
422
  /**
422
423
  * <p>The pull request cannot be merged because one or more approval rules applied to the pull request have conditions that have not been met.</p>
423
424
  */
424
- export interface PullRequestApprovalRulesNotSatisfiedException extends __SmithyException, $MetadataBearer {
425
- name: "PullRequestApprovalRulesNotSatisfiedException";
426
- $fault: "client";
425
+ export declare class PullRequestApprovalRulesNotSatisfiedException extends __BaseException {
426
+ readonly name: "PullRequestApprovalRulesNotSatisfiedException";
427
+ readonly $fault: "client";
427
428
  /**
428
- * <p>Any message associated with the exception.</p>
429
+ * @internal
429
430
  */
430
- message?: string;
431
+ constructor(opts: __ExceptionOptionType<PullRequestApprovalRulesNotSatisfiedException, __BaseException>);
431
432
  }
432
433
  /**
433
434
  * <p>The tip of the source branch in the destination repository does not match the tip of the source branch specified in your request.
434
435
  * The pull request might have been updated. Make sure that you have the latest changes.</p>
435
436
  */
436
- export interface TipOfSourceReferenceIsDifferentException extends __SmithyException, $MetadataBearer {
437
- name: "TipOfSourceReferenceIsDifferentException";
438
- $fault: "client";
437
+ export declare class TipOfSourceReferenceIsDifferentException extends __BaseException {
438
+ readonly name: "TipOfSourceReferenceIsDifferentException";
439
+ readonly $fault: "client";
439
440
  /**
440
- * <p>Any message associated with the exception.</p>
441
+ * @internal
441
442
  */
442
- message?: string;
443
+ constructor(opts: __ExceptionOptionType<TipOfSourceReferenceIsDifferentException, __BaseException>);
443
444
  }
444
445
  export interface MergePullRequestBySquashInput {
445
446
  /**
@@ -586,24 +587,24 @@ export declare namespace MergePullRequestByThreeWayOutput {
586
587
  /**
587
588
  * <p>The override status is not valid. Valid statuses are OVERRIDE and REVOKE.</p>
588
589
  */
589
- export interface InvalidOverrideStatusException extends __SmithyException, $MetadataBearer {
590
- name: "InvalidOverrideStatusException";
591
- $fault: "client";
590
+ export declare class InvalidOverrideStatusException extends __BaseException {
591
+ readonly name: "InvalidOverrideStatusException";
592
+ readonly $fault: "client";
592
593
  /**
593
- * <p>Any message associated with the exception.</p>
594
+ * @internal
594
595
  */
595
- message?: string;
596
+ constructor(opts: __ExceptionOptionType<InvalidOverrideStatusException, __BaseException>);
596
597
  }
597
598
  /**
598
599
  * <p>The pull request has already had its approval rules set to override.</p>
599
600
  */
600
- export interface OverrideAlreadySetException extends __SmithyException, $MetadataBearer {
601
- name: "OverrideAlreadySetException";
602
- $fault: "client";
601
+ export declare class OverrideAlreadySetException extends __BaseException {
602
+ readonly name: "OverrideAlreadySetException";
603
+ readonly $fault: "client";
603
604
  /**
604
- * <p>Any message associated with the exception.</p>
605
+ * @internal
605
606
  */
606
- message?: string;
607
+ constructor(opts: __ExceptionOptionType<OverrideAlreadySetException, __BaseException>);
607
608
  }
608
609
  export interface OverridePullRequestApprovalRulesInput {
609
610
  /**
@@ -632,69 +633,69 @@ export declare namespace OverridePullRequestApprovalRulesInput {
632
633
  /**
633
634
  * <p>An override status is required, but no value was provided. Valid values include OVERRIDE and REVOKE.</p>
634
635
  */
635
- export interface OverrideStatusRequiredException extends __SmithyException, $MetadataBearer {
636
- name: "OverrideStatusRequiredException";
637
- $fault: "client";
636
+ export declare class OverrideStatusRequiredException extends __BaseException {
637
+ readonly name: "OverrideStatusRequiredException";
638
+ readonly $fault: "client";
638
639
  /**
639
- * <p>Any message associated with the exception.</p>
640
+ * @internal
640
641
  */
641
- message?: string;
642
+ constructor(opts: __ExceptionOptionType<OverrideStatusRequiredException, __BaseException>);
642
643
  }
643
644
  /**
644
645
  * <p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>
645
646
  */
646
- export interface CommentContentRequiredException extends __SmithyException, $MetadataBearer {
647
- name: "CommentContentRequiredException";
648
- $fault: "client";
647
+ export declare class CommentContentRequiredException extends __BaseException {
648
+ readonly name: "CommentContentRequiredException";
649
+ readonly $fault: "client";
649
650
  /**
650
- * <p>Any message associated with the exception.</p>
651
+ * @internal
651
652
  */
652
- message?: string;
653
+ constructor(opts: __ExceptionOptionType<CommentContentRequiredException, __BaseException>);
653
654
  }
654
655
  /**
655
656
  * <p>The comment is too large. Comments are limited to 1,000 characters.</p>
656
657
  */
657
- export interface CommentContentSizeLimitExceededException extends __SmithyException, $MetadataBearer {
658
- name: "CommentContentSizeLimitExceededException";
659
- $fault: "client";
658
+ export declare class CommentContentSizeLimitExceededException extends __BaseException {
659
+ readonly name: "CommentContentSizeLimitExceededException";
660
+ readonly $fault: "client";
660
661
  /**
661
- * <p>Any message associated with the exception.</p>
662
+ * @internal
662
663
  */
663
- message?: string;
664
+ constructor(opts: __ExceptionOptionType<CommentContentSizeLimitExceededException, __BaseException>);
664
665
  }
665
666
  /**
666
667
  * <p>The location of the file is not valid. Make sure that you include the file name and
667
668
  * extension.</p>
668
669
  */
669
- export interface InvalidFileLocationException extends __SmithyException, $MetadataBearer {
670
- name: "InvalidFileLocationException";
671
- $fault: "client";
670
+ export declare class InvalidFileLocationException extends __BaseException {
671
+ readonly name: "InvalidFileLocationException";
672
+ readonly $fault: "client";
672
673
  /**
673
- * <p>Any message associated with the exception.</p>
674
+ * @internal
674
675
  */
675
- message?: string;
676
+ constructor(opts: __ExceptionOptionType<InvalidFileLocationException, __BaseException>);
676
677
  }
677
678
  /**
678
679
  * <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>
679
680
  */
680
- export interface InvalidFilePositionException extends __SmithyException, $MetadataBearer {
681
- name: "InvalidFilePositionException";
682
- $fault: "client";
681
+ export declare class InvalidFilePositionException extends __BaseException {
682
+ readonly name: "InvalidFilePositionException";
683
+ readonly $fault: "client";
683
684
  /**
684
- * <p>Any message associated with the exception.</p>
685
+ * @internal
685
686
  */
686
- message?: string;
687
+ constructor(opts: __ExceptionOptionType<InvalidFilePositionException, __BaseException>);
687
688
  }
688
689
  /**
689
690
  * <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>
690
691
  */
691
- export interface InvalidRelativeFileVersionEnumException extends __SmithyException, $MetadataBearer {
692
- name: "InvalidRelativeFileVersionEnumException";
693
- $fault: "client";
692
+ export declare class InvalidRelativeFileVersionEnumException extends __BaseException {
693
+ readonly name: "InvalidRelativeFileVersionEnumException";
694
+ readonly $fault: "client";
694
695
  /**
695
- * <p>Any message associated with the exception.</p>
696
+ * @internal
696
697
  */
697
- message?: string;
698
+ constructor(opts: __ExceptionOptionType<InvalidRelativeFileVersionEnumException, __BaseException>);
698
699
  }
699
700
  export interface PostCommentForComparedCommitInput {
700
701
  /**
@@ -892,13 +893,13 @@ export declare namespace PostCommentReplyOutput {
892
893
  /**
893
894
  * <p>The value of the reaction is not valid. For more information, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit User Guide</a>.</p>
894
895
  */
895
- export interface InvalidReactionValueException extends __SmithyException, $MetadataBearer {
896
- name: "InvalidReactionValueException";
897
- $fault: "client";
896
+ export declare class InvalidReactionValueException extends __BaseException {
897
+ readonly name: "InvalidReactionValueException";
898
+ readonly $fault: "client";
898
899
  /**
899
- * <p>Any message associated with the exception.</p>
900
+ * @internal
900
901
  */
901
- message?: string;
902
+ constructor(opts: __ExceptionOptionType<InvalidReactionValueException, __BaseException>);
902
903
  }
903
904
  export interface PutCommentReactionInput {
904
905
  /**
@@ -920,35 +921,35 @@ export declare namespace PutCommentReactionInput {
920
921
  /**
921
922
  * <p>The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID.</p>
922
923
  */
923
- export interface ReactionLimitExceededException extends __SmithyException, $MetadataBearer {
924
- name: "ReactionLimitExceededException";
925
- $fault: "client";
924
+ export declare class ReactionLimitExceededException extends __BaseException {
925
+ readonly name: "ReactionLimitExceededException";
926
+ readonly $fault: "client";
926
927
  /**
927
- * <p>Any message associated with the exception.</p>
928
+ * @internal
928
929
  */
929
- message?: string;
930
+ constructor(opts: __ExceptionOptionType<ReactionLimitExceededException, __BaseException>);
930
931
  }
931
932
  /**
932
933
  * <p>A reaction value is required. </p>
933
934
  */
934
- export interface ReactionValueRequiredException extends __SmithyException, $MetadataBearer {
935
- name: "ReactionValueRequiredException";
936
- $fault: "client";
935
+ export declare class ReactionValueRequiredException extends __BaseException {
936
+ readonly name: "ReactionValueRequiredException";
937
+ readonly $fault: "client";
937
938
  /**
938
- * <p>Any message associated with the exception.</p>
939
+ * @internal
939
940
  */
940
- message?: string;
941
+ constructor(opts: __ExceptionOptionType<ReactionValueRequiredException, __BaseException>);
941
942
  }
942
943
  /**
943
944
  * <p>The file cannot be added because it is empty. Empty files cannot be added to the repository with this API.</p>
944
945
  */
945
- export interface FileContentRequiredException extends __SmithyException, $MetadataBearer {
946
- name: "FileContentRequiredException";
947
- $fault: "client";
946
+ export declare class FileContentRequiredException extends __BaseException {
947
+ readonly name: "FileContentRequiredException";
948
+ readonly $fault: "client";
948
949
  /**
949
- * <p>Any message associated with the exception.</p>
950
+ * @internal
950
951
  */
951
- message?: string;
952
+ constructor(opts: __ExceptionOptionType<FileContentRequiredException, __BaseException>);
952
953
  }
953
954
  export interface PutFileInput {
954
955
  /**
@@ -1029,103 +1030,103 @@ export declare namespace PutFileOutput {
1029
1030
  * <p>The file was not added or updated because the content of the file is exactly the same as the content of that file in the repository and branch
1030
1031
  * that you specified.</p>
1031
1032
  */
1032
- export interface SameFileContentException extends __SmithyException, $MetadataBearer {
1033
- name: "SameFileContentException";
1034
- $fault: "client";
1033
+ export declare class SameFileContentException extends __BaseException {
1034
+ readonly name: "SameFileContentException";
1035
+ readonly $fault: "client";
1035
1036
  /**
1036
- * <p>Any message associated with the exception.</p>
1037
+ * @internal
1037
1038
  */
1038
- message?: string;
1039
+ constructor(opts: __ExceptionOptionType<SameFileContentException, __BaseException>);
1039
1040
  }
1040
1041
  /**
1041
1042
  * <p>One or more branch names specified for the trigger is not valid.</p>
1042
1043
  */
1043
- export interface InvalidRepositoryTriggerBranchNameException extends __SmithyException, $MetadataBearer {
1044
- name: "InvalidRepositoryTriggerBranchNameException";
1045
- $fault: "client";
1044
+ export declare class InvalidRepositoryTriggerBranchNameException extends __BaseException {
1045
+ readonly name: "InvalidRepositoryTriggerBranchNameException";
1046
+ readonly $fault: "client";
1046
1047
  /**
1047
- * <p>Any message associated with the exception.</p>
1048
+ * @internal
1048
1049
  */
1049
- message?: string;
1050
+ constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerBranchNameException, __BaseException>);
1050
1051
  }
1051
1052
  /**
1052
1053
  * <p>The custom data provided for the trigger is not valid.</p>
1053
1054
  */
1054
- export interface InvalidRepositoryTriggerCustomDataException extends __SmithyException, $MetadataBearer {
1055
- name: "InvalidRepositoryTriggerCustomDataException";
1056
- $fault: "client";
1055
+ export declare class InvalidRepositoryTriggerCustomDataException extends __BaseException {
1056
+ readonly name: "InvalidRepositoryTriggerCustomDataException";
1057
+ readonly $fault: "client";
1057
1058
  /**
1058
- * <p>Any message associated with the exception.</p>
1059
+ * @internal
1059
1060
  */
1060
- message?: string;
1061
+ constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerCustomDataException, __BaseException>);
1061
1062
  }
1062
1063
  /**
1063
1064
  * <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>
1064
1065
  */
1065
- export interface InvalidRepositoryTriggerDestinationArnException extends __SmithyException, $MetadataBearer {
1066
- name: "InvalidRepositoryTriggerDestinationArnException";
1067
- $fault: "client";
1066
+ export declare class InvalidRepositoryTriggerDestinationArnException extends __BaseException {
1067
+ readonly name: "InvalidRepositoryTriggerDestinationArnException";
1068
+ readonly $fault: "client";
1068
1069
  /**
1069
- * <p>Any message associated with the exception.</p>
1070
+ * @internal
1070
1071
  */
1071
- message?: string;
1072
+ constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerDestinationArnException, __BaseException>);
1072
1073
  }
1073
1074
  /**
1074
1075
  * <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>
1075
1076
  */
1076
- export interface InvalidRepositoryTriggerEventsException extends __SmithyException, $MetadataBearer {
1077
- name: "InvalidRepositoryTriggerEventsException";
1078
- $fault: "client";
1077
+ export declare class InvalidRepositoryTriggerEventsException extends __BaseException {
1078
+ readonly name: "InvalidRepositoryTriggerEventsException";
1079
+ readonly $fault: "client";
1079
1080
  /**
1080
- * <p>Any message associated with the exception.</p>
1081
+ * @internal
1081
1082
  */
1082
- message?: string;
1083
+ constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerEventsException, __BaseException>);
1083
1084
  }
1084
1085
  /**
1085
1086
  * <p>The name of the trigger is not valid.</p>
1086
1087
  */
1087
- export interface InvalidRepositoryTriggerNameException extends __SmithyException, $MetadataBearer {
1088
- name: "InvalidRepositoryTriggerNameException";
1089
- $fault: "client";
1088
+ export declare class InvalidRepositoryTriggerNameException extends __BaseException {
1089
+ readonly name: "InvalidRepositoryTriggerNameException";
1090
+ readonly $fault: "client";
1090
1091
  /**
1091
- * <p>Any message associated with the exception.</p>
1092
+ * @internal
1092
1093
  */
1093
- message?: string;
1094
+ constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerNameException, __BaseException>);
1094
1095
  }
1095
1096
  /**
1096
1097
  * <p>The AWS Region for the trigger target does not match the AWS Region for the
1097
1098
  * repository. Triggers must be created in the same Region as the target for the
1098
1099
  * trigger.</p>
1099
1100
  */
1100
- export interface InvalidRepositoryTriggerRegionException extends __SmithyException, $MetadataBearer {
1101
- name: "InvalidRepositoryTriggerRegionException";
1102
- $fault: "client";
1101
+ export declare class InvalidRepositoryTriggerRegionException extends __BaseException {
1102
+ readonly name: "InvalidRepositoryTriggerRegionException";
1103
+ readonly $fault: "client";
1103
1104
  /**
1104
- * <p>Any message associated with the exception.</p>
1105
+ * @internal
1105
1106
  */
1106
- message?: string;
1107
+ constructor(opts: __ExceptionOptionType<InvalidRepositoryTriggerRegionException, __BaseException>);
1107
1108
  }
1108
1109
  /**
1109
1110
  * <p>The number of branches for the trigger was exceeded.</p>
1110
1111
  */
1111
- export interface MaximumBranchesExceededException extends __SmithyException, $MetadataBearer {
1112
- name: "MaximumBranchesExceededException";
1113
- $fault: "client";
1112
+ export declare class MaximumBranchesExceededException extends __BaseException {
1113
+ readonly name: "MaximumBranchesExceededException";
1114
+ readonly $fault: "client";
1114
1115
  /**
1115
- * <p>Any message associated with the exception.</p>
1116
+ * @internal
1116
1117
  */
1117
- message?: string;
1118
+ constructor(opts: __ExceptionOptionType<MaximumBranchesExceededException, __BaseException>);
1118
1119
  }
1119
1120
  /**
1120
1121
  * <p>The number of triggers allowed for the repository was exceeded.</p>
1121
1122
  */
1122
- export interface MaximumRepositoryTriggersExceededException extends __SmithyException, $MetadataBearer {
1123
- name: "MaximumRepositoryTriggersExceededException";
1124
- $fault: "client";
1123
+ export declare class MaximumRepositoryTriggersExceededException extends __BaseException {
1124
+ readonly name: "MaximumRepositoryTriggersExceededException";
1125
+ readonly $fault: "client";
1125
1126
  /**
1126
- * <p>Any message associated with the exception.</p>
1127
+ * @internal
1127
1128
  */
1128
- message?: string;
1129
+ constructor(opts: __ExceptionOptionType<MaximumRepositoryTriggersExceededException, __BaseException>);
1129
1130
  }
1130
1131
  /**
1131
1132
  * <p>Represents the input of a put repository triggers operation.</p>
@@ -1165,58 +1166,58 @@ export declare namespace PutRepositoryTriggersOutput {
1165
1166
  * <p>At least one branch name is required, but was not specified in the trigger
1166
1167
  * configuration.</p>
1167
1168
  */
1168
- export interface RepositoryTriggerBranchNameListRequiredException extends __SmithyException, $MetadataBearer {
1169
- name: "RepositoryTriggerBranchNameListRequiredException";
1170
- $fault: "client";
1169
+ export declare class RepositoryTriggerBranchNameListRequiredException extends __BaseException {
1170
+ readonly name: "RepositoryTriggerBranchNameListRequiredException";
1171
+ readonly $fault: "client";
1171
1172
  /**
1172
- * <p>Any message associated with the exception.</p>
1173
+ * @internal
1173
1174
  */
1174
- message?: string;
1175
+ constructor(opts: __ExceptionOptionType<RepositoryTriggerBranchNameListRequiredException, __BaseException>);
1175
1176
  }
1176
1177
  /**
1177
1178
  * <p>A destination ARN for the target service for the trigger is required, but was not
1178
1179
  * specified.</p>
1179
1180
  */
1180
- export interface RepositoryTriggerDestinationArnRequiredException extends __SmithyException, $MetadataBearer {
1181
- name: "RepositoryTriggerDestinationArnRequiredException";
1182
- $fault: "client";
1181
+ export declare class RepositoryTriggerDestinationArnRequiredException extends __BaseException {
1182
+ readonly name: "RepositoryTriggerDestinationArnRequiredException";
1183
+ readonly $fault: "client";
1183
1184
  /**
1184
- * <p>Any message associated with the exception.</p>
1185
+ * @internal
1185
1186
  */
1186
- message?: string;
1187
+ constructor(opts: __ExceptionOptionType<RepositoryTriggerDestinationArnRequiredException, __BaseException>);
1187
1188
  }
1188
1189
  /**
1189
1190
  * <p>At least one event for the trigger is required, but was not specified.</p>
1190
1191
  */
1191
- export interface RepositoryTriggerEventsListRequiredException extends __SmithyException, $MetadataBearer {
1192
- name: "RepositoryTriggerEventsListRequiredException";
1193
- $fault: "client";
1192
+ export declare class RepositoryTriggerEventsListRequiredException extends __BaseException {
1193
+ readonly name: "RepositoryTriggerEventsListRequiredException";
1194
+ readonly $fault: "client";
1194
1195
  /**
1195
- * <p>Any message associated with the exception.</p>
1196
+ * @internal
1196
1197
  */
1197
- message?: string;
1198
+ constructor(opts: __ExceptionOptionType<RepositoryTriggerEventsListRequiredException, __BaseException>);
1198
1199
  }
1199
1200
  /**
1200
1201
  * <p>A name for the trigger is required, but was not specified.</p>
1201
1202
  */
1202
- export interface RepositoryTriggerNameRequiredException extends __SmithyException, $MetadataBearer {
1203
- name: "RepositoryTriggerNameRequiredException";
1204
- $fault: "client";
1203
+ export declare class RepositoryTriggerNameRequiredException extends __BaseException {
1204
+ readonly name: "RepositoryTriggerNameRequiredException";
1205
+ readonly $fault: "client";
1205
1206
  /**
1206
- * <p>Any message associated with the exception.</p>
1207
+ * @internal
1207
1208
  */
1208
- message?: string;
1209
+ constructor(opts: __ExceptionOptionType<RepositoryTriggerNameRequiredException, __BaseException>);
1209
1210
  }
1210
1211
  /**
1211
1212
  * <p>The list of triggers for the repository is required, but was not specified.</p>
1212
1213
  */
1213
- export interface RepositoryTriggersListRequiredException extends __SmithyException, $MetadataBearer {
1214
- name: "RepositoryTriggersListRequiredException";
1215
- $fault: "client";
1214
+ export declare class RepositoryTriggersListRequiredException extends __BaseException {
1215
+ readonly name: "RepositoryTriggersListRequiredException";
1216
+ readonly $fault: "client";
1216
1217
  /**
1217
- * <p>Any message associated with the exception.</p>
1218
+ * @internal
1218
1219
  */
1219
- message?: string;
1220
+ constructor(opts: __ExceptionOptionType<RepositoryTriggersListRequiredException, __BaseException>);
1220
1221
  }
1221
1222
  export interface TagResourceInput {
1222
1223
  /**
@@ -1239,13 +1240,13 @@ export declare namespace TagResourceInput {
1239
1240
  /**
1240
1241
  * <p>A map of tags is required.</p>
1241
1242
  */
1242
- export interface TagsMapRequiredException extends __SmithyException, $MetadataBearer {
1243
- name: "TagsMapRequiredException";
1244
- $fault: "client";
1243
+ export declare class TagsMapRequiredException extends __BaseException {
1244
+ readonly name: "TagsMapRequiredException";
1245
+ readonly $fault: "client";
1245
1246
  /**
1246
- * <p>Any message associated with the exception.</p>
1247
+ * @internal
1247
1248
  */
1248
- message?: string;
1249
+ constructor(opts: __ExceptionOptionType<TagsMapRequiredException, __BaseException>);
1249
1250
  }
1250
1251
  /**
1251
1252
  * <p>Represents the input of a test repository triggers operation.</p>
@@ -1308,24 +1309,24 @@ export declare namespace TestRepositoryTriggersOutput {
1308
1309
  /**
1309
1310
  * <p>The list of tags is not valid.</p>
1310
1311
  */
1311
- export interface InvalidTagKeysListException extends __SmithyException, $MetadataBearer {
1312
- name: "InvalidTagKeysListException";
1313
- $fault: "client";
1312
+ export declare class InvalidTagKeysListException extends __BaseException {
1313
+ readonly name: "InvalidTagKeysListException";
1314
+ readonly $fault: "client";
1314
1315
  /**
1315
- * <p>Any message associated with the exception.</p>
1316
+ * @internal
1316
1317
  */
1317
- message?: string;
1318
+ constructor(opts: __ExceptionOptionType<InvalidTagKeysListException, __BaseException>);
1318
1319
  }
1319
1320
  /**
1320
1321
  * <p>A list of tag keys is required. The list cannot be empty or null.</p>
1321
1322
  */
1322
- export interface TagKeysListRequiredException extends __SmithyException, $MetadataBearer {
1323
- name: "TagKeysListRequiredException";
1324
- $fault: "client";
1323
+ export declare class TagKeysListRequiredException extends __BaseException {
1324
+ readonly name: "TagKeysListRequiredException";
1325
+ readonly $fault: "client";
1325
1326
  /**
1326
- * <p>Any message associated with the exception.</p>
1327
+ * @internal
1327
1328
  */
1328
- message?: string;
1329
+ constructor(opts: __ExceptionOptionType<TagKeysListRequiredException, __BaseException>);
1329
1330
  }
1330
1331
  export interface UntagResourceInput {
1331
1332
  /**
@@ -1346,13 +1347,13 @@ export declare namespace UntagResourceInput {
1346
1347
  /**
1347
1348
  * <p>The SHA-256 hash signature for the rule content is not valid.</p>
1348
1349
  */
1349
- export interface InvalidRuleContentSha256Exception extends __SmithyException, $MetadataBearer {
1350
- name: "InvalidRuleContentSha256Exception";
1351
- $fault: "client";
1350
+ export declare class InvalidRuleContentSha256Exception extends __BaseException {
1351
+ readonly name: "InvalidRuleContentSha256Exception";
1352
+ readonly $fault: "client";
1352
1353
  /**
1353
- * <p>Any message associated with the exception.</p>
1354
+ * @internal
1354
1355
  */
1355
- message?: string;
1356
+ constructor(opts: __ExceptionOptionType<InvalidRuleContentSha256Exception, __BaseException>);
1356
1357
  }
1357
1358
  export interface UpdateApprovalRuleTemplateContentInput {
1358
1359
  /**
@@ -1448,13 +1449,13 @@ export declare namespace UpdateApprovalRuleTemplateNameOutput {
1448
1449
  /**
1449
1450
  * <p>You cannot modify or delete this comment. Only comment authors can modify or delete their comments.</p>
1450
1451
  */
1451
- export interface CommentNotCreatedByCallerException extends __SmithyException, $MetadataBearer {
1452
- name: "CommentNotCreatedByCallerException";
1453
- $fault: "client";
1452
+ export declare class CommentNotCreatedByCallerException extends __BaseException {
1453
+ readonly name: "CommentNotCreatedByCallerException";
1454
+ readonly $fault: "client";
1454
1455
  /**
1455
- * <p>Any message associated with the exception.</p>
1456
+ * @internal
1456
1457
  */
1457
- message?: string;
1458
+ constructor(opts: __ExceptionOptionType<CommentNotCreatedByCallerException, __BaseException>);
1458
1459
  }
1459
1460
  export interface UpdateCommentInput {
1460
1461
  /**
@@ -1585,36 +1586,36 @@ export declare namespace UpdatePullRequestApprovalRuleContentOutput {
1585
1586
  /**
1586
1587
  * <p>The state for the approval is not valid. Valid values include APPROVE and REVOKE. </p>
1587
1588
  */
1588
- export interface InvalidApprovalStateException extends __SmithyException, $MetadataBearer {
1589
- name: "InvalidApprovalStateException";
1590
- $fault: "client";
1589
+ export declare class InvalidApprovalStateException extends __BaseException {
1590
+ readonly name: "InvalidApprovalStateException";
1591
+ readonly $fault: "client";
1591
1592
  /**
1592
- * <p>Any message associated with the exception.</p>
1593
+ * @internal
1593
1594
  */
1594
- message?: string;
1595
+ constructor(opts: __ExceptionOptionType<InvalidApprovalStateException, __BaseException>);
1595
1596
  }
1596
1597
  /**
1597
1598
  * <p>The number of approvals required for the approval rule exceeds the maximum number allowed.</p>
1598
1599
  */
1599
- export interface MaximumNumberOfApprovalsExceededException extends __SmithyException, $MetadataBearer {
1600
- name: "MaximumNumberOfApprovalsExceededException";
1601
- $fault: "client";
1600
+ export declare class MaximumNumberOfApprovalsExceededException extends __BaseException {
1601
+ readonly name: "MaximumNumberOfApprovalsExceededException";
1602
+ readonly $fault: "client";
1602
1603
  /**
1603
- * <p>Any message associated with the exception.</p>
1604
+ * @internal
1604
1605
  */
1605
- message?: string;
1606
+ constructor(opts: __ExceptionOptionType<MaximumNumberOfApprovalsExceededException, __BaseException>);
1606
1607
  }
1607
1608
  /**
1608
1609
  * <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
1609
1610
  * request that you created.</p>
1610
1611
  */
1611
- export interface PullRequestCannotBeApprovedByAuthorException extends __SmithyException, $MetadataBearer {
1612
- name: "PullRequestCannotBeApprovedByAuthorException";
1613
- $fault: "client";
1612
+ export declare class PullRequestCannotBeApprovedByAuthorException extends __BaseException {
1613
+ readonly name: "PullRequestCannotBeApprovedByAuthorException";
1614
+ readonly $fault: "client";
1614
1615
  /**
1615
- * <p>Any message associated with the exception.</p>
1616
+ * @internal
1616
1617
  */
1617
- message?: string;
1618
+ constructor(opts: __ExceptionOptionType<PullRequestCannotBeApprovedByAuthorException, __BaseException>);
1618
1619
  }
1619
1620
  export interface UpdatePullRequestApprovalStateInput {
1620
1621
  /**
@@ -1668,24 +1669,24 @@ export declare namespace UpdatePullRequestDescriptionOutput {
1668
1669
  /**
1669
1670
  * <p>The pull request status update is not valid. The only valid update is from <code>OPEN</code> to <code>CLOSED</code>.</p>
1670
1671
  */
1671
- export interface InvalidPullRequestStatusUpdateException extends __SmithyException, $MetadataBearer {
1672
- name: "InvalidPullRequestStatusUpdateException";
1673
- $fault: "client";
1672
+ export declare class InvalidPullRequestStatusUpdateException extends __BaseException {
1673
+ readonly name: "InvalidPullRequestStatusUpdateException";
1674
+ readonly $fault: "client";
1674
1675
  /**
1675
- * <p>Any message associated with the exception.</p>
1676
+ * @internal
1676
1677
  */
1677
- message?: string;
1678
+ constructor(opts: __ExceptionOptionType<InvalidPullRequestStatusUpdateException, __BaseException>);
1678
1679
  }
1679
1680
  /**
1680
1681
  * <p>A pull request status is required, but none was provided.</p>
1681
1682
  */
1682
- export interface PullRequestStatusRequiredException extends __SmithyException, $MetadataBearer {
1683
- name: "PullRequestStatusRequiredException";
1684
- $fault: "client";
1683
+ export declare class PullRequestStatusRequiredException extends __BaseException {
1684
+ readonly name: "PullRequestStatusRequiredException";
1685
+ readonly $fault: "client";
1685
1686
  /**
1686
- * <p>Any message associated with the exception.</p>
1687
+ * @internal
1687
1688
  */
1688
- message?: string;
1689
+ constructor(opts: __ExceptionOptionType<PullRequestStatusRequiredException, __BaseException>);
1689
1690
  }
1690
1691
  export interface UpdatePullRequestStatusInput {
1691
1692
  /**