aws-sdk-codecommit 1.30.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,6 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::CodeCommit
11
+
9
12
  class Resource
10
13
 
11
14
  # @param options ({})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -8,6 +10,13 @@
8
10
  module Aws::CodeCommit
9
11
  module Types
10
12
 
13
+ # The specified Amazon Resource Name (ARN) does not exist in the AWS
14
+ # account.
15
+ #
16
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ActorDoesNotExistException AWS API Documentation
17
+ #
18
+ class ActorDoesNotExistException < Aws::EmptyStructure; end
19
+
11
20
  # Returns information about a specific approval on a pull request.
12
21
  #
13
22
  # @!attribute [rw] user_arn
@@ -24,6 +33,7 @@ module Aws::CodeCommit
24
33
  class Approval < Struct.new(
25
34
  :user_arn,
26
35
  :approval_state)
36
+ SENSITIVE = []
27
37
  include Aws::Structure
28
38
  end
29
39
 
@@ -74,9 +84,23 @@ module Aws::CodeCommit
74
84
  :creation_date,
75
85
  :last_modified_user,
76
86
  :origin_approval_rule_template)
87
+ SENSITIVE = []
77
88
  include Aws::Structure
78
89
  end
79
90
 
91
+ # The content for the approval rule is empty. You must provide some
92
+ # content for an approval rule. The content cannot be null.
93
+ #
94
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleContentRequiredException AWS API Documentation
95
+ #
96
+ class ApprovalRuleContentRequiredException < Aws::EmptyStructure; end
97
+
98
+ # The specified approval rule does not exist.
99
+ #
100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleDoesNotExistException AWS API Documentation
101
+ #
102
+ class ApprovalRuleDoesNotExistException < Aws::EmptyStructure; end
103
+
80
104
  # Returns information about an event for an approval rule.
81
105
  #
82
106
  # @!attribute [rw] approval_rule_name
@@ -97,9 +121,23 @@ module Aws::CodeCommit
97
121
  :approval_rule_name,
98
122
  :approval_rule_id,
99
123
  :approval_rule_content)
124
+ SENSITIVE = []
100
125
  include Aws::Structure
101
126
  end
102
127
 
128
+ # An approval rule with that name already exists. Approval rule names
129
+ # must be unique within the scope of a pull request.
130
+ #
131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleNameAlreadyExistsException AWS API Documentation
132
+ #
133
+ class ApprovalRuleNameAlreadyExistsException < Aws::EmptyStructure; end
134
+
135
+ # An approval rule name is required, but was not specified.
136
+ #
137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleNameRequiredException AWS API Documentation
138
+ #
139
+ class ApprovalRuleNameRequiredException < Aws::EmptyStructure; end
140
+
103
141
  # Returns information about an override event for approval rules for a
104
142
  # pull request.
105
143
  #
@@ -117,6 +155,7 @@ module Aws::CodeCommit
117
155
  class ApprovalRuleOverriddenEventMetadata < Struct.new(
118
156
  :revision_id,
119
157
  :override_status)
158
+ SENSITIVE = []
120
159
  include Aws::Structure
121
160
  end
122
161
 
@@ -169,9 +208,48 @@ module Aws::CodeCommit
169
208
  :last_modified_date,
170
209
  :creation_date,
171
210
  :last_modified_user)
211
+ SENSITIVE = []
172
212
  include Aws::Structure
173
213
  end
174
214
 
215
+ # The content for the approval rule template is empty. You must provide
216
+ # some content for an approval rule template. The content cannot be
217
+ # null.
218
+ #
219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateContentRequiredException AWS API Documentation
220
+ #
221
+ class ApprovalRuleTemplateContentRequiredException < Aws::EmptyStructure; end
222
+
223
+ # The specified approval rule template does not exist. Verify that the
224
+ # name is correct and that you are signed in to the AWS Region where the
225
+ # template was created, and then try again.
226
+ #
227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateDoesNotExistException AWS API Documentation
228
+ #
229
+ class ApprovalRuleTemplateDoesNotExistException < Aws::EmptyStructure; end
230
+
231
+ # The approval rule template is associated with one or more
232
+ # repositories. You cannot delete a template that is associated with a
233
+ # repository. Remove all associations, and then try again.
234
+ #
235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateInUseException AWS API Documentation
236
+ #
237
+ class ApprovalRuleTemplateInUseException < Aws::EmptyStructure; end
238
+
239
+ # You cannot create an approval rule template with that name because a
240
+ # template with that name already exists in this AWS Region for your AWS
241
+ # account. Approval rule template names must be unique.
242
+ #
243
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateNameAlreadyExistsException AWS API Documentation
244
+ #
245
+ class ApprovalRuleTemplateNameAlreadyExistsException < Aws::EmptyStructure; end
246
+
247
+ # An approval rule template name is required, but was not specified.
248
+ #
249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateNameRequiredException AWS API Documentation
250
+ #
251
+ class ApprovalRuleTemplateNameRequiredException < Aws::EmptyStructure; end
252
+
175
253
  # Returns information about a change in the approval state for a pull
176
254
  # request.
177
255
  #
@@ -188,9 +266,16 @@ module Aws::CodeCommit
188
266
  class ApprovalStateChangedEventMetadata < Struct.new(
189
267
  :revision_id,
190
268
  :approval_status)
269
+ SENSITIVE = []
191
270
  include Aws::Structure
192
271
  end
193
272
 
273
+ # An approval state is required, but was not specified.
274
+ #
275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalStateRequiredException AWS API Documentation
276
+ #
277
+ class ApprovalStateRequiredException < Aws::EmptyStructure; end
278
+
194
279
  # @note When making an API call, you may pass AssociateApprovalRuleTemplateWithRepositoryInput
195
280
  # data as a hash:
196
281
  #
@@ -213,9 +298,17 @@ module Aws::CodeCommit
213
298
  class AssociateApprovalRuleTemplateWithRepositoryInput < Struct.new(
214
299
  :approval_rule_template_name,
215
300
  :repository_name)
301
+ SENSITIVE = []
216
302
  include Aws::Structure
217
303
  end
218
304
 
305
+ # The specified Amazon Resource Name (ARN) does not exist in the AWS
306
+ # account.
307
+ #
308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/AuthorDoesNotExistException AWS API Documentation
309
+ #
310
+ class AuthorDoesNotExistException < Aws::EmptyStructure; end
311
+
219
312
  # Returns information about errors in a
220
313
  # BatchAssociateApprovalRuleTemplateWithRepositories operation.
221
314
  #
@@ -239,6 +332,7 @@ module Aws::CodeCommit
239
332
  :repository_name,
240
333
  :error_code,
241
334
  :error_message)
335
+ SENSITIVE = []
242
336
  include Aws::Structure
243
337
  end
244
338
 
@@ -270,6 +364,7 @@ module Aws::CodeCommit
270
364
  class BatchAssociateApprovalRuleTemplateWithRepositoriesInput < Struct.new(
271
365
  :approval_rule_template_name,
272
366
  :repository_names)
367
+ SENSITIVE = []
273
368
  include Aws::Structure
274
369
  end
275
370
 
@@ -288,6 +383,7 @@ module Aws::CodeCommit
288
383
  class BatchAssociateApprovalRuleTemplateWithRepositoriesOutput < Struct.new(
289
384
  :associated_repository_names,
290
385
  :errors)
386
+ SENSITIVE = []
291
387
  include Aws::Structure
292
388
  end
293
389
 
@@ -312,6 +408,7 @@ module Aws::CodeCommit
312
408
  :file_path,
313
409
  :exception_name,
314
410
  :message)
411
+ SENSITIVE = []
315
412
  include Aws::Structure
316
413
  end
317
414
 
@@ -396,6 +493,7 @@ module Aws::CodeCommit
396
493
  :conflict_detail_level,
397
494
  :conflict_resolution_strategy,
398
495
  :next_token)
496
+ SENSITIVE = []
399
497
  include Aws::Structure
400
498
  end
401
499
 
@@ -437,6 +535,7 @@ module Aws::CodeCommit
437
535
  :destination_commit_id,
438
536
  :source_commit_id,
439
537
  :base_commit_id)
538
+ SENSITIVE = []
440
539
  include Aws::Structure
441
540
  end
442
541
 
@@ -464,6 +563,7 @@ module Aws::CodeCommit
464
563
  :repository_name,
465
564
  :error_code,
466
565
  :error_message)
566
+ SENSITIVE = []
467
567
  include Aws::Structure
468
568
  end
469
569
 
@@ -495,6 +595,7 @@ module Aws::CodeCommit
495
595
  class BatchDisassociateApprovalRuleTemplateFromRepositoriesInput < Struct.new(
496
596
  :approval_rule_template_name,
497
597
  :repository_names)
598
+ SENSITIVE = []
498
599
  include Aws::Structure
499
600
  end
500
601
 
@@ -513,6 +614,7 @@ module Aws::CodeCommit
513
614
  class BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput < Struct.new(
514
615
  :disassociated_repository_names,
515
616
  :errors)
617
+ SENSITIVE = []
516
618
  include Aws::Structure
517
619
  end
518
620
 
@@ -539,6 +641,7 @@ module Aws::CodeCommit
539
641
  :commit_id,
540
642
  :error_code,
541
643
  :error_message)
644
+ SENSITIVE = []
542
645
  include Aws::Structure
543
646
  end
544
647
 
@@ -568,6 +671,7 @@ module Aws::CodeCommit
568
671
  class BatchGetCommitsInput < Struct.new(
569
672
  :commit_ids,
570
673
  :repository_name)
674
+ SENSITIVE = []
571
675
  include Aws::Structure
572
676
  end
573
677
 
@@ -588,6 +692,7 @@ module Aws::CodeCommit
588
692
  class BatchGetCommitsOutput < Struct.new(
589
693
  :commits,
590
694
  :errors)
695
+ SENSITIVE = []
591
696
  include Aws::Structure
592
697
  end
593
698
 
@@ -613,6 +718,7 @@ module Aws::CodeCommit
613
718
  #
614
719
  class BatchGetRepositoriesInput < Struct.new(
615
720
  :repository_names)
721
+ SENSITIVE = []
616
722
  include Aws::Structure
617
723
  end
618
724
 
@@ -633,9 +739,30 @@ module Aws::CodeCommit
633
739
  class BatchGetRepositoriesOutput < Struct.new(
634
740
  :repositories,
635
741
  :repositories_not_found)
742
+ SENSITIVE = []
636
743
  include Aws::Structure
637
744
  end
638
745
 
746
+ # The before commit ID and the after commit ID are the same, which is
747
+ # not valid. The before commit ID and the after commit ID must be
748
+ # different commit IDs.
749
+ #
750
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BeforeCommitIdAndAfterCommitIdAreSameException AWS API Documentation
751
+ #
752
+ class BeforeCommitIdAndAfterCommitIdAreSameException < Aws::EmptyStructure; end
753
+
754
+ # The specified blob does not exist.
755
+ #
756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BlobIdDoesNotExistException AWS API Documentation
757
+ #
758
+ class BlobIdDoesNotExistException < Aws::EmptyStructure; end
759
+
760
+ # A blob ID is required, but was not specified.
761
+ #
762
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BlobIdRequiredException AWS API Documentation
763
+ #
764
+ class BlobIdRequiredException < Aws::EmptyStructure; end
765
+
639
766
  # Returns information about a specific Git blob object.
640
767
  #
641
768
  # @!attribute [rw] blob_id
@@ -665,9 +792,16 @@ module Aws::CodeCommit
665
792
  :blob_id,
666
793
  :path,
667
794
  :mode)
795
+ SENSITIVE = []
668
796
  include Aws::Structure
669
797
  end
670
798
 
799
+ # The specified branch does not exist.
800
+ #
801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchDoesNotExistException AWS API Documentation
802
+ #
803
+ class BranchDoesNotExistException < Aws::EmptyStructure; end
804
+
671
805
  # Returns information about a branch.
672
806
  #
673
807
  # @!attribute [rw] branch_name
@@ -683,9 +817,57 @@ module Aws::CodeCommit
683
817
  class BranchInfo < Struct.new(
684
818
  :branch_name,
685
819
  :commit_id)
820
+ SENSITIVE = []
686
821
  include Aws::Structure
687
822
  end
688
823
 
824
+ # The specified branch name already exists.
825
+ #
826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchNameExistsException AWS API Documentation
827
+ #
828
+ class BranchNameExistsException < Aws::EmptyStructure; end
829
+
830
+ # The specified branch name is not valid because it is a tag name. Enter
831
+ # the name of a branch in the repository. For a list of valid branch
832
+ # names, use ListBranches.
833
+ #
834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchNameIsTagNameException AWS API Documentation
835
+ #
836
+ class BranchNameIsTagNameException < Aws::EmptyStructure; end
837
+
838
+ # A branch name is required, but was not specified.
839
+ #
840
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchNameRequiredException AWS API Documentation
841
+ #
842
+ class BranchNameRequiredException < Aws::EmptyStructure; end
843
+
844
+ # The approval rule cannot be deleted from the pull request because it
845
+ # was created by an approval rule template and applied to the pull
846
+ # request automatically.
847
+ #
848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CannotDeleteApprovalRuleFromTemplateException AWS API Documentation
849
+ #
850
+ class CannotDeleteApprovalRuleFromTemplateException < Aws::EmptyStructure; end
851
+
852
+ # The approval rule cannot be modified for the pull request because it
853
+ # was created by an approval rule template and applied to the pull
854
+ # request automatically.
855
+ #
856
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CannotModifyApprovalRuleFromTemplateException AWS API Documentation
857
+ #
858
+ class CannotModifyApprovalRuleFromTemplateException < Aws::EmptyStructure; end
859
+
860
+ # A client request token is required. A client request token is an
861
+ # unique, client-generated idempotency token that, when provided in a
862
+ # request, ensures the request cannot be repeated with a changed
863
+ # parameter. If a request is received with the same parameters and a
864
+ # token is included, the request returns information about the initial
865
+ # request that used that token.
866
+ #
867
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ClientRequestTokenRequiredException AWS API Documentation
868
+ #
869
+ class ClientRequestTokenRequiredException < Aws::EmptyStructure; end
870
+
689
871
  # Returns information about a specific comment.
690
872
  #
691
873
  # @!attribute [rw] comment_id
@@ -736,9 +918,50 @@ module Aws::CodeCommit
736
918
  :author_arn,
737
919
  :deleted,
738
920
  :client_request_token)
921
+ SENSITIVE = []
739
922
  include Aws::Structure
740
923
  end
741
924
 
925
+ # The comment is empty. You must provide some content for a comment. The
926
+ # content cannot be null.
927
+ #
928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentContentRequiredException AWS API Documentation
929
+ #
930
+ class CommentContentRequiredException < Aws::EmptyStructure; end
931
+
932
+ # The comment is too large. Comments are limited to 1,000 characters.
933
+ #
934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentContentSizeLimitExceededException AWS API Documentation
935
+ #
936
+ class CommentContentSizeLimitExceededException < Aws::EmptyStructure; end
937
+
938
+ # This comment has already been deleted. You cannot edit or delete a
939
+ # deleted comment.
940
+ #
941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentDeletedException AWS API Documentation
942
+ #
943
+ class CommentDeletedException < Aws::EmptyStructure; end
944
+
945
+ # No comment exists with the provided ID. Verify that you have used the
946
+ # correct ID, and then try again.
947
+ #
948
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentDoesNotExistException AWS API Documentation
949
+ #
950
+ class CommentDoesNotExistException < Aws::EmptyStructure; end
951
+
952
+ # The comment ID is missing or null. A comment ID is required.
953
+ #
954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentIdRequiredException AWS API Documentation
955
+ #
956
+ class CommentIdRequiredException < Aws::EmptyStructure; end
957
+
958
+ # You cannot modify or delete this comment. Only comment authors can
959
+ # modify or delete their comments.
960
+ #
961
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentNotCreatedByCallerException AWS API Documentation
962
+ #
963
+ class CommentNotCreatedByCallerException < Aws::EmptyStructure; end
964
+
742
965
  # Returns information about comments on the comparison between two
743
966
  # commits.
744
967
  #
@@ -787,6 +1010,7 @@ module Aws::CodeCommit
787
1010
  :after_blob_id,
788
1011
  :location,
789
1012
  :comments)
1013
+ SENSITIVE = []
790
1014
  include Aws::Structure
791
1015
  end
792
1016
 
@@ -845,6 +1069,7 @@ module Aws::CodeCommit
845
1069
  :after_blob_id,
846
1070
  :location,
847
1071
  :comments)
1072
+ SENSITIVE = []
848
1073
  include Aws::Structure
849
1074
  end
850
1075
 
@@ -903,9 +1128,64 @@ module Aws::CodeCommit
903
1128
  :author,
904
1129
  :committer,
905
1130
  :additional_data)
1131
+ SENSITIVE = []
906
1132
  include Aws::Structure
907
1133
  end
908
1134
 
1135
+ # The specified commit does not exist or no commit was specified, and
1136
+ # the specified repository has no default branch.
1137
+ #
1138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitDoesNotExistException AWS API Documentation
1139
+ #
1140
+ class CommitDoesNotExistException < Aws::EmptyStructure; end
1141
+
1142
+ # The specified commit ID does not exist.
1143
+ #
1144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdDoesNotExistException AWS API Documentation
1145
+ #
1146
+ class CommitIdDoesNotExistException < Aws::EmptyStructure; end
1147
+
1148
+ # A commit ID was not specified.
1149
+ #
1150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdRequiredException AWS API Documentation
1151
+ #
1152
+ class CommitIdRequiredException < Aws::EmptyStructure; end
1153
+
1154
+ # The maximum number of allowed commit IDs in a batch request is 100.
1155
+ # Verify that your batch requests contains no more than 100 commit IDs,
1156
+ # and then try again.
1157
+ #
1158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdsLimitExceededException AWS API Documentation
1159
+ #
1160
+ class CommitIdsLimitExceededException < Aws::EmptyStructure; end
1161
+
1162
+ # A list of commit IDs is required, but was either not specified or the
1163
+ # list was empty.
1164
+ #
1165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdsListRequiredException AWS API Documentation
1166
+ #
1167
+ class CommitIdsListRequiredException < Aws::EmptyStructure; end
1168
+
1169
+ # The commit message is too long. Provide a shorter string.
1170
+ #
1171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitMessageLengthExceededException AWS API Documentation
1172
+ #
1173
+ class CommitMessageLengthExceededException < Aws::EmptyStructure; end
1174
+
1175
+ # A commit was not specified.
1176
+ #
1177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitRequiredException AWS API Documentation
1178
+ #
1179
+ class CommitRequiredException < Aws::EmptyStructure; end
1180
+
1181
+ # The merge cannot be completed because the target branch has been
1182
+ # modified. Another user might have modified the target branch while the
1183
+ # merge was in progress. Wait a few minutes, and then try again.
1184
+ #
1185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ConcurrentReferenceUpdateException AWS API Documentation
1186
+ #
1187
+ class ConcurrentReferenceUpdateException < Aws::EmptyStructure; end
1188
+
909
1189
  # Information about conflicts in a merge operation.
910
1190
  #
911
1191
  # @!attribute [rw] conflict_metadata
@@ -922,6 +1202,7 @@ module Aws::CodeCommit
922
1202
  class Conflict < Struct.new(
923
1203
  :conflict_metadata,
924
1204
  :merge_hunks)
1205
+ SENSITIVE = []
925
1206
  include Aws::Structure
926
1207
  end
927
1208
 
@@ -989,6 +1270,7 @@ module Aws::CodeCommit
989
1270
  :file_mode_conflict,
990
1271
  :object_type_conflict,
991
1272
  :merge_operations)
1273
+ SENSITIVE = []
992
1274
  include Aws::Structure
993
1275
  end
994
1276
 
@@ -1039,6 +1321,7 @@ module Aws::CodeCommit
1039
1321
  :replace_contents,
1040
1322
  :delete_files,
1041
1323
  :set_file_modes)
1324
+ SENSITIVE = []
1042
1325
  include Aws::Structure
1043
1326
  end
1044
1327
 
@@ -1113,6 +1396,7 @@ module Aws::CodeCommit
1113
1396
  :approval_rule_template_name,
1114
1397
  :approval_rule_template_content,
1115
1398
  :approval_rule_template_description)
1399
+ SENSITIVE = []
1116
1400
  include Aws::Structure
1117
1401
  end
1118
1402
 
@@ -1124,6 +1408,7 @@ module Aws::CodeCommit
1124
1408
  #
1125
1409
  class CreateApprovalRuleTemplateOutput < Struct.new(
1126
1410
  :approval_rule_template)
1411
+ SENSITIVE = []
1127
1412
  include Aws::Structure
1128
1413
  end
1129
1414
 
@@ -1157,6 +1442,7 @@ module Aws::CodeCommit
1157
1442
  :repository_name,
1158
1443
  :branch_name,
1159
1444
  :commit_id)
1445
+ SENSITIVE = []
1160
1446
  include Aws::Structure
1161
1447
  end
1162
1448
 
@@ -1255,6 +1541,7 @@ module Aws::CodeCommit
1255
1541
  :put_files,
1256
1542
  :delete_files,
1257
1543
  :set_file_modes)
1544
+ SENSITIVE = []
1258
1545
  include Aws::Structure
1259
1546
  end
1260
1547
 
@@ -1288,6 +1575,7 @@ module Aws::CodeCommit
1288
1575
  :files_added,
1289
1576
  :files_updated,
1290
1577
  :files_deleted)
1578
+ SENSITIVE = []
1291
1579
  include Aws::Structure
1292
1580
  end
1293
1581
 
@@ -1358,6 +1646,7 @@ module Aws::CodeCommit
1358
1646
  :pull_request_id,
1359
1647
  :approval_rule_name,
1360
1648
  :approval_rule_content)
1649
+ SENSITIVE = []
1361
1650
  include Aws::Structure
1362
1651
  end
1363
1652
 
@@ -1369,6 +1658,7 @@ module Aws::CodeCommit
1369
1658
  #
1370
1659
  class CreatePullRequestApprovalRuleOutput < Struct.new(
1371
1660
  :approval_rule)
1661
+ SENSITIVE = []
1372
1662
  include Aws::Structure
1373
1663
  end
1374
1664
 
@@ -1427,6 +1717,7 @@ module Aws::CodeCommit
1427
1717
  :description,
1428
1718
  :targets,
1429
1719
  :client_request_token)
1720
+ SENSITIVE = []
1430
1721
  include Aws::Structure
1431
1722
  end
1432
1723
 
@@ -1438,6 +1729,7 @@ module Aws::CodeCommit
1438
1729
  #
1439
1730
  class CreatePullRequestOutput < Struct.new(
1440
1731
  :pull_request)
1732
+ SENSITIVE = []
1441
1733
  include Aws::Structure
1442
1734
  end
1443
1735
 
@@ -1494,6 +1786,7 @@ module Aws::CodeCommit
1494
1786
  :repository_name,
1495
1787
  :repository_description,
1496
1788
  :tags)
1789
+ SENSITIVE = []
1497
1790
  include Aws::Structure
1498
1791
  end
1499
1792
 
@@ -1507,6 +1800,7 @@ module Aws::CodeCommit
1507
1800
  #
1508
1801
  class CreateRepositoryOutput < Struct.new(
1509
1802
  :repository_metadata)
1803
+ SENSITIVE = []
1510
1804
  include Aws::Structure
1511
1805
  end
1512
1806
 
@@ -1621,6 +1915,7 @@ module Aws::CodeCommit
1621
1915
  :commit_message,
1622
1916
  :keep_empty_folders,
1623
1917
  :conflict_resolution)
1918
+ SENSITIVE = []
1624
1919
  include Aws::Structure
1625
1920
  end
1626
1921
 
@@ -1638,9 +1933,18 @@ module Aws::CodeCommit
1638
1933
  class CreateUnreferencedMergeCommitOutput < Struct.new(
1639
1934
  :commit_id,
1640
1935
  :tree_id)
1936
+ SENSITIVE = []
1641
1937
  include Aws::Structure
1642
1938
  end
1643
1939
 
1940
+ # The specified branch is the default branch for the repository, and
1941
+ # cannot be deleted. To delete this branch, you must first set another
1942
+ # branch as the default branch.
1943
+ #
1944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DefaultBranchCannotBeDeletedException AWS API Documentation
1945
+ #
1946
+ class DefaultBranchCannotBeDeletedException < Aws::EmptyStructure; end
1947
+
1644
1948
  # @note When making an API call, you may pass DeleteApprovalRuleTemplateInput
1645
1949
  # data as a hash:
1646
1950
  #
@@ -1656,6 +1960,7 @@ module Aws::CodeCommit
1656
1960
  #
1657
1961
  class DeleteApprovalRuleTemplateInput < Struct.new(
1658
1962
  :approval_rule_template_name)
1963
+ SENSITIVE = []
1659
1964
  include Aws::Structure
1660
1965
  end
1661
1966
 
@@ -1669,6 +1974,7 @@ module Aws::CodeCommit
1669
1974
  #
1670
1975
  class DeleteApprovalRuleTemplateOutput < Struct.new(
1671
1976
  :approval_rule_template_id)
1977
+ SENSITIVE = []
1672
1978
  include Aws::Structure
1673
1979
  end
1674
1980
 
@@ -1695,6 +2001,7 @@ module Aws::CodeCommit
1695
2001
  class DeleteBranchInput < Struct.new(
1696
2002
  :repository_name,
1697
2003
  :branch_name)
2004
+ SENSITIVE = []
1698
2005
  include Aws::Structure
1699
2006
  end
1700
2007
 
@@ -1709,6 +2016,7 @@ module Aws::CodeCommit
1709
2016
  #
1710
2017
  class DeleteBranchOutput < Struct.new(
1711
2018
  :deleted_branch)
2019
+ SENSITIVE = []
1712
2020
  include Aws::Structure
1713
2021
  end
1714
2022
 
@@ -1728,6 +2036,7 @@ module Aws::CodeCommit
1728
2036
  #
1729
2037
  class DeleteCommentContentInput < Struct.new(
1730
2038
  :comment_id)
2039
+ SENSITIVE = []
1731
2040
  include Aws::Structure
1732
2041
  end
1733
2042
 
@@ -1739,6 +2048,7 @@ module Aws::CodeCommit
1739
2048
  #
1740
2049
  class DeleteCommentContentOutput < Struct.new(
1741
2050
  :comment)
2051
+ SENSITIVE = []
1742
2052
  include Aws::Structure
1743
2053
  end
1744
2054
 
@@ -1760,6 +2070,7 @@ module Aws::CodeCommit
1760
2070
  #
1761
2071
  class DeleteFileEntry < Struct.new(
1762
2072
  :file_path)
2073
+ SENSITIVE = []
1763
2074
  include Aws::Structure
1764
2075
  end
1765
2076
 
@@ -1838,6 +2149,7 @@ module Aws::CodeCommit
1838
2149
  :commit_message,
1839
2150
  :name,
1840
2151
  :email)
2152
+ SENSITIVE = []
1841
2153
  include Aws::Structure
1842
2154
  end
1843
2155
 
@@ -1867,6 +2179,7 @@ module Aws::CodeCommit
1867
2179
  :blob_id,
1868
2180
  :tree_id,
1869
2181
  :file_path)
2182
+ SENSITIVE = []
1870
2183
  include Aws::Structure
1871
2184
  end
1872
2185
 
@@ -1892,6 +2205,7 @@ module Aws::CodeCommit
1892
2205
  class DeletePullRequestApprovalRuleInput < Struct.new(
1893
2206
  :pull_request_id,
1894
2207
  :approval_rule_name)
2208
+ SENSITIVE = []
1895
2209
  include Aws::Structure
1896
2210
  end
1897
2211
 
@@ -1908,6 +2222,7 @@ module Aws::CodeCommit
1908
2222
  #
1909
2223
  class DeletePullRequestApprovalRuleOutput < Struct.new(
1910
2224
  :approval_rule_id)
2225
+ SENSITIVE = []
1911
2226
  include Aws::Structure
1912
2227
  end
1913
2228
 
@@ -1928,6 +2243,7 @@ module Aws::CodeCommit
1928
2243
  #
1929
2244
  class DeleteRepositoryInput < Struct.new(
1930
2245
  :repository_name)
2246
+ SENSITIVE = []
1931
2247
  include Aws::Structure
1932
2248
  end
1933
2249
 
@@ -1941,6 +2257,7 @@ module Aws::CodeCommit
1941
2257
  #
1942
2258
  class DeleteRepositoryOutput < Struct.new(
1943
2259
  :repository_id)
2260
+ SENSITIVE = []
1944
2261
  include Aws::Structure
1945
2262
  end
1946
2263
 
@@ -2018,6 +2335,7 @@ module Aws::CodeCommit
2018
2335
  :conflict_detail_level,
2019
2336
  :conflict_resolution_strategy,
2020
2337
  :next_token)
2338
+ SENSITIVE = []
2021
2339
  include Aws::Structure
2022
2340
  end
2023
2341
 
@@ -2057,6 +2375,7 @@ module Aws::CodeCommit
2057
2375
  :destination_commit_id,
2058
2376
  :source_commit_id,
2059
2377
  :base_commit_id)
2378
+ SENSITIVE = []
2060
2379
  include Aws::Structure
2061
2380
  end
2062
2381
 
@@ -2106,6 +2425,7 @@ module Aws::CodeCommit
2106
2425
  :actor_arn,
2107
2426
  :next_token,
2108
2427
  :max_results)
2428
+ SENSITIVE = []
2109
2429
  include Aws::Structure
2110
2430
  end
2111
2431
 
@@ -2123,6 +2443,7 @@ module Aws::CodeCommit
2123
2443
  class DescribePullRequestEventsOutput < Struct.new(
2124
2444
  :pull_request_events,
2125
2445
  :next_token)
2446
+ SENSITIVE = []
2126
2447
  include Aws::Structure
2127
2448
  end
2128
2449
 
@@ -2149,9 +2470,19 @@ module Aws::CodeCommit
2149
2470
  :before_blob,
2150
2471
  :after_blob,
2151
2472
  :change_type)
2473
+ SENSITIVE = []
2152
2474
  include Aws::Structure
2153
2475
  end
2154
2476
 
2477
+ # A file cannot be added to the repository because the specified path
2478
+ # name has the same name as a file that already exists in this
2479
+ # repository. Either provide a different name for the file, or specify a
2480
+ # different path for the file.
2481
+ #
2482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DirectoryNameConflictsWithFileNameException AWS API Documentation
2483
+ #
2484
+ class DirectoryNameConflictsWithFileNameException < Aws::EmptyStructure; end
2485
+
2155
2486
  # @note When making an API call, you may pass DisassociateApprovalRuleTemplateFromRepositoryInput
2156
2487
  # data as a hash:
2157
2488
  #
@@ -2175,9 +2506,40 @@ module Aws::CodeCommit
2175
2506
  class DisassociateApprovalRuleTemplateFromRepositoryInput < Struct.new(
2176
2507
  :approval_rule_template_name,
2177
2508
  :repository_name)
2509
+ SENSITIVE = []
2178
2510
  include Aws::Structure
2179
2511
  end
2180
2512
 
2513
+ # An encryption integrity check failed.
2514
+ #
2515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionIntegrityChecksFailedException AWS API Documentation
2516
+ #
2517
+ class EncryptionIntegrityChecksFailedException < Aws::EmptyStructure; end
2518
+
2519
+ # An encryption key could not be accessed.
2520
+ #
2521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyAccessDeniedException AWS API Documentation
2522
+ #
2523
+ class EncryptionKeyAccessDeniedException < Aws::EmptyStructure; end
2524
+
2525
+ # The encryption key is disabled.
2526
+ #
2527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyDisabledException AWS API Documentation
2528
+ #
2529
+ class EncryptionKeyDisabledException < Aws::EmptyStructure; end
2530
+
2531
+ # No encryption key was found.
2532
+ #
2533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyNotFoundException AWS API Documentation
2534
+ #
2535
+ class EncryptionKeyNotFoundException < Aws::EmptyStructure; end
2536
+
2537
+ # The encryption key is not available.
2538
+ #
2539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyUnavailableException AWS API Documentation
2540
+ #
2541
+ class EncryptionKeyUnavailableException < Aws::EmptyStructure; end
2542
+
2181
2543
  # @note When making an API call, you may pass EvaluatePullRequestApprovalRulesInput
2182
2544
  # data as a hash:
2183
2545
  #
@@ -2200,6 +2562,7 @@ module Aws::CodeCommit
2200
2562
  class EvaluatePullRequestApprovalRulesInput < Struct.new(
2201
2563
  :pull_request_id,
2202
2564
  :revision_id)
2565
+ SENSITIVE = []
2203
2566
  include Aws::Structure
2204
2567
  end
2205
2568
 
@@ -2215,6 +2578,7 @@ module Aws::CodeCommit
2215
2578
  #
2216
2579
  class EvaluatePullRequestApprovalRulesOutput < Struct.new(
2217
2580
  :evaluation)
2581
+ SENSITIVE = []
2218
2582
  include Aws::Structure
2219
2583
  end
2220
2584
 
@@ -2246,6 +2610,7 @@ module Aws::CodeCommit
2246
2610
  :overridden,
2247
2611
  :approval_rules_satisfied,
2248
2612
  :approval_rules_not_satisfied)
2613
+ SENSITIVE = []
2249
2614
  include Aws::Structure
2250
2615
  end
2251
2616
 
@@ -2276,9 +2641,48 @@ module Aws::CodeCommit
2276
2641
  :absolute_path,
2277
2642
  :relative_path,
2278
2643
  :file_mode)
2644
+ SENSITIVE = []
2279
2645
  include Aws::Structure
2280
2646
  end
2281
2647
 
2648
+ # The commit cannot be created because both a source file and file
2649
+ # content have been specified for the same file. You cannot provide
2650
+ # both. Either specify a source file or provide the file content
2651
+ # directly.
2652
+ #
2653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileContentAndSourceFileSpecifiedException AWS API Documentation
2654
+ #
2655
+ class FileContentAndSourceFileSpecifiedException < Aws::EmptyStructure; end
2656
+
2657
+ # The file cannot be added because it is empty. Empty files cannot be
2658
+ # added to the repository with this API.
2659
+ #
2660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileContentRequiredException AWS API Documentation
2661
+ #
2662
+ class FileContentRequiredException < Aws::EmptyStructure; end
2663
+
2664
+ # The file cannot be added because it is too large. The maximum file
2665
+ # size is 6 MB, and the combined file content change size is 7 MB.
2666
+ # Consider making these changes using a Git client.
2667
+ #
2668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileContentSizeLimitExceededException AWS API Documentation
2669
+ #
2670
+ class FileContentSizeLimitExceededException < Aws::EmptyStructure; end
2671
+
2672
+ # The specified file does not exist. Verify that you have used the
2673
+ # correct file name, full path, and extension.
2674
+ #
2675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileDoesNotExistException AWS API Documentation
2676
+ #
2677
+ class FileDoesNotExistException < Aws::EmptyStructure; end
2678
+
2679
+ # The commit cannot be created because no files have been specified as
2680
+ # added, updated, or changed (PutFile or DeleteFile) for the commit.
2681
+ #
2682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileEntryRequiredException AWS API Documentation
2683
+ #
2684
+ class FileEntryRequiredException < Aws::EmptyStructure; end
2685
+
2282
2686
  # A file to be added, updated, or deleted as part of a commit.
2283
2687
  #
2284
2688
  # @!attribute [rw] absolute_path
@@ -2301,9 +2705,17 @@ module Aws::CodeCommit
2301
2705
  :absolute_path,
2302
2706
  :blob_id,
2303
2707
  :file_mode)
2708
+ SENSITIVE = []
2304
2709
  include Aws::Structure
2305
2710
  end
2306
2711
 
2712
+ # The commit cannot be created because no file mode has been specified.
2713
+ # A file mode is required to update mode permissions for a file.
2714
+ #
2715
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileModeRequiredException AWS API Documentation
2716
+ #
2717
+ class FileModeRequiredException < Aws::EmptyStructure; end
2718
+
2307
2719
  # Information about file modes in a merge or pull request.
2308
2720
  #
2309
2721
  # @!attribute [rw] source
@@ -2325,9 +2737,27 @@ module Aws::CodeCommit
2325
2737
  :source,
2326
2738
  :destination,
2327
2739
  :base)
2740
+ SENSITIVE = []
2328
2741
  include Aws::Structure
2329
2742
  end
2330
2743
 
2744
+ # A file cannot be added to the repository because the specified file
2745
+ # name has the same name as a directory in this repository. Either
2746
+ # provide another name for the file, or add the file in a directory that
2747
+ # does not match the file name.
2748
+ #
2749
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileNameConflictsWithDirectoryNameException AWS API Documentation
2750
+ #
2751
+ class FileNameConflictsWithDirectoryNameException < Aws::EmptyStructure; end
2752
+
2753
+ # The commit cannot be created because a specified file path points to a
2754
+ # submodule. Verify that the destination files have valid file paths
2755
+ # that do not point to a submodule.
2756
+ #
2757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FilePathConflictsWithSubmodulePathException AWS API Documentation
2758
+ #
2759
+ class FilePathConflictsWithSubmodulePathException < Aws::EmptyStructure; end
2760
+
2331
2761
  # Information about the size of files in a merge or pull request.
2332
2762
  #
2333
2763
  # @!attribute [rw] source
@@ -2348,9 +2778,22 @@ module Aws::CodeCommit
2348
2778
  :source,
2349
2779
  :destination,
2350
2780
  :base)
2781
+ SENSITIVE = []
2351
2782
  include Aws::Structure
2352
2783
  end
2353
2784
 
2785
+ # The specified file exceeds the file size limit for AWS CodeCommit. For
2786
+ # more information about limits in AWS CodeCommit, see [AWS CodeCommit
2787
+ # User Guide][1].
2788
+ #
2789
+ #
2790
+ #
2791
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
2792
+ #
2793
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileTooLargeException AWS API Documentation
2794
+ #
2795
+ class FileTooLargeException < Aws::EmptyStructure; end
2796
+
2354
2797
  # Returns information about a folder in a repository.
2355
2798
  #
2356
2799
  # @!attribute [rw] tree_id
@@ -2373,9 +2816,26 @@ module Aws::CodeCommit
2373
2816
  :tree_id,
2374
2817
  :absolute_path,
2375
2818
  :relative_path)
2819
+ SENSITIVE = []
2376
2820
  include Aws::Structure
2377
2821
  end
2378
2822
 
2823
+ # The commit cannot be created because at least one of the overall
2824
+ # changes in the commit results in a folder whose contents exceed the
2825
+ # limit of 6 MB. Either reduce the number and size of your changes, or
2826
+ # split the changes across multiple folders.
2827
+ #
2828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FolderContentSizeLimitExceededException AWS API Documentation
2829
+ #
2830
+ class FolderContentSizeLimitExceededException < Aws::EmptyStructure; end
2831
+
2832
+ # The specified folder does not exist. Either the folder name is not
2833
+ # correct, or you did not enter the full path to the folder.
2834
+ #
2835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FolderDoesNotExistException AWS API Documentation
2836
+ #
2837
+ class FolderDoesNotExistException < Aws::EmptyStructure; end
2838
+
2379
2839
  # @note When making an API call, you may pass GetApprovalRuleTemplateInput
2380
2840
  # data as a hash:
2381
2841
  #
@@ -2392,6 +2852,7 @@ module Aws::CodeCommit
2392
2852
  #
2393
2853
  class GetApprovalRuleTemplateInput < Struct.new(
2394
2854
  :approval_rule_template_name)
2855
+ SENSITIVE = []
2395
2856
  include Aws::Structure
2396
2857
  end
2397
2858
 
@@ -2403,6 +2864,7 @@ module Aws::CodeCommit
2403
2864
  #
2404
2865
  class GetApprovalRuleTemplateOutput < Struct.new(
2405
2866
  :approval_rule_template)
2867
+ SENSITIVE = []
2406
2868
  include Aws::Structure
2407
2869
  end
2408
2870
 
@@ -2429,6 +2891,7 @@ module Aws::CodeCommit
2429
2891
  class GetBlobInput < Struct.new(
2430
2892
  :repository_name,
2431
2893
  :blob_id)
2894
+ SENSITIVE = []
2432
2895
  include Aws::Structure
2433
2896
  end
2434
2897
 
@@ -2442,6 +2905,7 @@ module Aws::CodeCommit
2442
2905
  #
2443
2906
  class GetBlobOutput < Struct.new(
2444
2907
  :content)
2908
+ SENSITIVE = []
2445
2909
  include Aws::Structure
2446
2910
  end
2447
2911
 
@@ -2469,6 +2933,7 @@ module Aws::CodeCommit
2469
2933
  class GetBranchInput < Struct.new(
2470
2934
  :repository_name,
2471
2935
  :branch_name)
2936
+ SENSITIVE = []
2472
2937
  include Aws::Structure
2473
2938
  end
2474
2939
 
@@ -2482,6 +2947,7 @@ module Aws::CodeCommit
2482
2947
  #
2483
2948
  class GetBranchOutput < Struct.new(
2484
2949
  :branch)
2950
+ SENSITIVE = []
2485
2951
  include Aws::Structure
2486
2952
  end
2487
2953
 
@@ -2501,6 +2967,7 @@ module Aws::CodeCommit
2501
2967
  #
2502
2968
  class GetCommentInput < Struct.new(
2503
2969
  :comment_id)
2970
+ SENSITIVE = []
2504
2971
  include Aws::Structure
2505
2972
  end
2506
2973
 
@@ -2512,6 +2979,7 @@ module Aws::CodeCommit
2512
2979
  #
2513
2980
  class GetCommentOutput < Struct.new(
2514
2981
  :comment)
2982
+ SENSITIVE = []
2515
2983
  include Aws::Structure
2516
2984
  end
2517
2985
 
@@ -2559,6 +3027,7 @@ module Aws::CodeCommit
2559
3027
  :after_commit_id,
2560
3028
  :next_token,
2561
3029
  :max_results)
3030
+ SENSITIVE = []
2562
3031
  include Aws::Structure
2563
3032
  end
2564
3033
 
@@ -2576,6 +3045,7 @@ module Aws::CodeCommit
2576
3045
  class GetCommentsForComparedCommitOutput < Struct.new(
2577
3046
  :comments_for_compared_commit_data,
2578
3047
  :next_token)
3048
+ SENSITIVE = []
2579
3049
  include Aws::Structure
2580
3050
  end
2581
3051
 
@@ -2630,6 +3100,7 @@ module Aws::CodeCommit
2630
3100
  :after_commit_id,
2631
3101
  :next_token,
2632
3102
  :max_results)
3103
+ SENSITIVE = []
2633
3104
  include Aws::Structure
2634
3105
  end
2635
3106
 
@@ -2647,6 +3118,7 @@ module Aws::CodeCommit
2647
3118
  class GetCommentsForPullRequestOutput < Struct.new(
2648
3119
  :comments_for_pull_request_data,
2649
3120
  :next_token)
3121
+ SENSITIVE = []
2650
3122
  include Aws::Structure
2651
3123
  end
2652
3124
 
@@ -2673,6 +3145,7 @@ module Aws::CodeCommit
2673
3145
  class GetCommitInput < Struct.new(
2674
3146
  :repository_name,
2675
3147
  :commit_id)
3148
+ SENSITIVE = []
2676
3149
  include Aws::Structure
2677
3150
  end
2678
3151
 
@@ -2687,6 +3160,7 @@ module Aws::CodeCommit
2687
3160
  #
2688
3161
  class GetCommitOutput < Struct.new(
2689
3162
  :commit)
3163
+ SENSITIVE = []
2690
3164
  include Aws::Structure
2691
3165
  end
2692
3166
 
@@ -2754,6 +3228,7 @@ module Aws::CodeCommit
2754
3228
  :after_path,
2755
3229
  :max_results,
2756
3230
  :next_token)
3231
+ SENSITIVE = []
2757
3232
  include Aws::Structure
2758
3233
  end
2759
3234
 
@@ -2773,6 +3248,7 @@ module Aws::CodeCommit
2773
3248
  class GetDifferencesOutput < Struct.new(
2774
3249
  :differences,
2775
3250
  :next_token)
3251
+ SENSITIVE = []
2776
3252
  include Aws::Structure
2777
3253
  end
2778
3254
 
@@ -2808,6 +3284,7 @@ module Aws::CodeCommit
2808
3284
  :repository_name,
2809
3285
  :commit_specifier,
2810
3286
  :file_path)
3287
+ SENSITIVE = []
2811
3288
  include Aws::Structure
2812
3289
  end
2813
3290
 
@@ -2854,6 +3331,7 @@ module Aws::CodeCommit
2854
3331
  :file_mode,
2855
3332
  :file_size,
2856
3333
  :file_content)
3334
+ SENSITIVE = []
2857
3335
  include Aws::Structure
2858
3336
  end
2859
3337
 
@@ -2891,6 +3369,7 @@ module Aws::CodeCommit
2891
3369
  :repository_name,
2892
3370
  :commit_specifier,
2893
3371
  :folder_path)
3372
+ SENSITIVE = []
2894
3373
  include Aws::Structure
2895
3374
  end
2896
3375
 
@@ -2935,6 +3414,7 @@ module Aws::CodeCommit
2935
3414
  :files,
2936
3415
  :symbolic_links,
2937
3416
  :sub_modules)
3417
+ SENSITIVE = []
2938
3418
  include Aws::Structure
2939
3419
  end
2940
3420
 
@@ -2987,6 +3467,7 @@ module Aws::CodeCommit
2987
3467
  :destination_commit_specifier,
2988
3468
  :conflict_detail_level,
2989
3469
  :conflict_resolution_strategy)
3470
+ SENSITIVE = []
2990
3471
  include Aws::Structure
2991
3472
  end
2992
3473
 
@@ -3017,6 +3498,7 @@ module Aws::CodeCommit
3017
3498
  :destination_commit_id,
3018
3499
  :base_commit_id,
3019
3500
  :merged_commit_id)
3501
+ SENSITIVE = []
3020
3502
  include Aws::Structure
3021
3503
  end
3022
3504
 
@@ -3087,6 +3569,7 @@ module Aws::CodeCommit
3087
3569
  :max_conflict_files,
3088
3570
  :conflict_resolution_strategy,
3089
3571
  :next_token)
3572
+ SENSITIVE = []
3090
3573
  include Aws::Structure
3091
3574
  end
3092
3575
 
@@ -3128,6 +3611,7 @@ module Aws::CodeCommit
3128
3611
  :base_commit_id,
3129
3612
  :conflict_metadata_list,
3130
3613
  :next_token)
3614
+ SENSITIVE = []
3131
3615
  include Aws::Structure
3132
3616
  end
3133
3617
 
@@ -3180,6 +3664,7 @@ module Aws::CodeCommit
3180
3664
  :destination_commit_specifier,
3181
3665
  :conflict_detail_level,
3182
3666
  :conflict_resolution_strategy)
3667
+ SENSITIVE = []
3183
3668
  include Aws::Structure
3184
3669
  end
3185
3670
 
@@ -3208,6 +3693,7 @@ module Aws::CodeCommit
3208
3693
  :source_commit_id,
3209
3694
  :destination_commit_id,
3210
3695
  :base_commit_id)
3696
+ SENSITIVE = []
3211
3697
  include Aws::Structure
3212
3698
  end
3213
3699
 
@@ -3232,6 +3718,7 @@ module Aws::CodeCommit
3232
3718
  class GetPullRequestApprovalStatesInput < Struct.new(
3233
3719
  :pull_request_id,
3234
3720
  :revision_id)
3721
+ SENSITIVE = []
3235
3722
  include Aws::Structure
3236
3723
  end
3237
3724
 
@@ -3243,6 +3730,7 @@ module Aws::CodeCommit
3243
3730
  #
3244
3731
  class GetPullRequestApprovalStatesOutput < Struct.new(
3245
3732
  :approvals)
3733
+ SENSITIVE = []
3246
3734
  include Aws::Structure
3247
3735
  end
3248
3736
 
@@ -3262,6 +3750,7 @@ module Aws::CodeCommit
3262
3750
  #
3263
3751
  class GetPullRequestInput < Struct.new(
3264
3752
  :pull_request_id)
3753
+ SENSITIVE = []
3265
3754
  include Aws::Structure
3266
3755
  end
3267
3756
 
@@ -3273,6 +3762,7 @@ module Aws::CodeCommit
3273
3762
  #
3274
3763
  class GetPullRequestOutput < Struct.new(
3275
3764
  :pull_request)
3765
+ SENSITIVE = []
3276
3766
  include Aws::Structure
3277
3767
  end
3278
3768
 
@@ -3299,6 +3789,7 @@ module Aws::CodeCommit
3299
3789
  class GetPullRequestOverrideStateInput < Struct.new(
3300
3790
  :pull_request_id,
3301
3791
  :revision_id)
3792
+ SENSITIVE = []
3302
3793
  include Aws::Structure
3303
3794
  end
3304
3795
 
@@ -3318,6 +3809,7 @@ module Aws::CodeCommit
3318
3809
  class GetPullRequestOverrideStateOutput < Struct.new(
3319
3810
  :overridden,
3320
3811
  :overrider)
3812
+ SENSITIVE = []
3321
3813
  include Aws::Structure
3322
3814
  end
3323
3815
 
@@ -3338,6 +3830,7 @@ module Aws::CodeCommit
3338
3830
  #
3339
3831
  class GetRepositoryInput < Struct.new(
3340
3832
  :repository_name)
3833
+ SENSITIVE = []
3341
3834
  include Aws::Structure
3342
3835
  end
3343
3836
 
@@ -3351,6 +3844,7 @@ module Aws::CodeCommit
3351
3844
  #
3352
3845
  class GetRepositoryOutput < Struct.new(
3353
3846
  :repository_metadata)
3847
+ SENSITIVE = []
3354
3848
  include Aws::Structure
3355
3849
  end
3356
3850
 
@@ -3371,6 +3865,7 @@ module Aws::CodeCommit
3371
3865
  #
3372
3866
  class GetRepositoryTriggersInput < Struct.new(
3373
3867
  :repository_name)
3868
+ SENSITIVE = []
3374
3869
  include Aws::Structure
3375
3870
  end
3376
3871
 
@@ -3389,112 +3884,565 @@ module Aws::CodeCommit
3389
3884
  class GetRepositoryTriggersOutput < Struct.new(
3390
3885
  :configuration_id,
3391
3886
  :triggers)
3887
+ SENSITIVE = []
3392
3888
  include Aws::Structure
3393
3889
  end
3394
3890
 
3395
- # Information about whether a file is binary or textual in a merge or
3396
- # pull request operation.
3891
+ # The client request token is not valid. Either the token is not in a
3892
+ # valid format, or the token has been used in a previous request and
3893
+ # cannot be reused.
3397
3894
  #
3398
- # @!attribute [rw] source
3399
- # The binary or non-binary status of file in the source of a merge or
3400
- # pull request.
3401
- # @return [Boolean]
3402
- #
3403
- # @!attribute [rw] destination
3404
- # The binary or non-binary status of a file in the destination of a
3405
- # merge or pull request.
3406
- # @return [Boolean]
3895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/IdempotencyParameterMismatchException AWS API Documentation
3407
3896
  #
3408
- # @!attribute [rw] base
3409
- # The binary or non-binary status of a file in the base of a merge or
3410
- # pull request.
3411
- # @return [Boolean]
3897
+ class IdempotencyParameterMismatchException < Aws::EmptyStructure; end
3898
+
3899
+ # The Amazon Resource Name (ARN) is not valid. Make sure that you have
3900
+ # provided the full ARN for the user who initiated the change for the
3901
+ # pull request, and then try again.
3412
3902
  #
3413
- # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/IsBinaryFile AWS API Documentation
3903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidActorArnException AWS API Documentation
3414
3904
  #
3415
- class IsBinaryFile < Struct.new(
3416
- :source,
3417
- :destination,
3418
- :base)
3419
- include Aws::Structure
3420
- end
3905
+ class InvalidActorArnException < Aws::EmptyStructure; end
3421
3906
 
3422
- # @note When making an API call, you may pass ListApprovalRuleTemplatesInput
3423
- # data as a hash:
3907
+ # The content for the approval rule is not valid.
3424
3908
  #
3425
- # {
3426
- # next_token: "NextToken",
3427
- # max_results: 1,
3428
- # }
3909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleContentException AWS API Documentation
3429
3910
  #
3430
- # @!attribute [rw] next_token
3431
- # An enumeration token that, when provided in a request, returns the
3432
- # next batch of the results.
3433
- # @return [String]
3911
+ class InvalidApprovalRuleContentException < Aws::EmptyStructure; end
3912
+
3913
+ # The name for the approval rule is not valid.
3434
3914
  #
3435
- # @!attribute [rw] max_results
3436
- # A non-zero, non-negative integer used to limit the number of
3437
- # returned results.
3438
- # @return [Integer]
3915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleNameException AWS API Documentation
3439
3916
  #
3440
- # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesInput AWS API Documentation
3917
+ class InvalidApprovalRuleNameException < Aws::EmptyStructure; end
3918
+
3919
+ # The content of the approval rule template is not valid.
3441
3920
  #
3442
- class ListApprovalRuleTemplatesInput < Struct.new(
3443
- :next_token,
3444
- :max_results)
3445
- include Aws::Structure
3446
- end
3921
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleTemplateContentException AWS API Documentation
3922
+ #
3923
+ class InvalidApprovalRuleTemplateContentException < Aws::EmptyStructure; end
3447
3924
 
3448
- # @!attribute [rw] approval_rule_template_names
3449
- # The names of all the approval rule templates found in the AWS Region
3450
- # for your AWS account.
3451
- # @return [Array<String>]
3925
+ # The description for the approval rule template is not valid because it
3926
+ # exceeds the maximum characters allowed for a description. For more
3927
+ # information about limits in AWS CodeCommit, see [AWS CodeCommit User
3928
+ # Guide][1].
3452
3929
  #
3453
- # @!attribute [rw] next_token
3454
- # An enumeration token that allows the operation to batch the next
3455
- # results of the operation.
3456
- # @return [String]
3457
3930
  #
3458
- # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesOutput AWS API Documentation
3459
3931
  #
3460
- class ListApprovalRuleTemplatesOutput < Struct.new(
3461
- :approval_rule_template_names,
3462
- :next_token)
3463
- include Aws::Structure
3464
- end
3932
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
3933
+ #
3934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleTemplateDescriptionException AWS API Documentation
3935
+ #
3936
+ class InvalidApprovalRuleTemplateDescriptionException < Aws::EmptyStructure; end
3465
3937
 
3466
- # @note When making an API call, you may pass ListAssociatedApprovalRuleTemplatesForRepositoryInput
3467
- # data as a hash:
3938
+ # The name of the approval rule template is not valid. Template names
3939
+ # must be between 1 and 100 valid characters in length. For more
3940
+ # information about limits in AWS CodeCommit, see [AWS CodeCommit User
3941
+ # Guide][1].
3468
3942
  #
3469
- # {
3470
- # repository_name: "RepositoryName", # required
3471
- # next_token: "NextToken",
3472
- # max_results: 1,
3473
- # }
3474
3943
  #
3475
- # @!attribute [rw] repository_name
3476
- # The name of the repository for which you want to list all associated
3477
- # approval rule templates.
3478
- # @return [String]
3479
3944
  #
3480
- # @!attribute [rw] next_token
3481
- # An enumeration token that, when provided in a request, returns the
3482
- # next batch of the results.
3483
- # @return [String]
3945
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
3484
3946
  #
3485
- # @!attribute [rw] max_results
3486
- # A non-zero, non-negative integer used to limit the number of
3487
- # returned results.
3488
- # @return [Integer]
3947
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleTemplateNameException AWS API Documentation
3489
3948
  #
3490
- # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepositoryInput AWS API Documentation
3949
+ class InvalidApprovalRuleTemplateNameException < Aws::EmptyStructure; end
3950
+
3951
+ # The state for the approval is not valid. Valid values include APPROVE
3952
+ # and REVOKE.
3491
3953
  #
3492
- class ListAssociatedApprovalRuleTemplatesForRepositoryInput < Struct.new(
3493
- :repository_name,
3494
- :next_token,
3495
- :max_results)
3496
- include Aws::Structure
3497
- end
3954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalStateException AWS API Documentation
3955
+ #
3956
+ class InvalidApprovalStateException < Aws::EmptyStructure; end
3957
+
3958
+ # The Amazon Resource Name (ARN) is not valid. Make sure that you have
3959
+ # provided the full ARN for the author of the pull request, and then try
3960
+ # again.
3961
+ #
3962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidAuthorArnException AWS API Documentation
3963
+ #
3964
+ class InvalidAuthorArnException < Aws::EmptyStructure; end
3965
+
3966
+ # The specified blob is not valid.
3967
+ #
3968
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidBlobIdException AWS API Documentation
3969
+ #
3970
+ class InvalidBlobIdException < Aws::EmptyStructure; end
3971
+
3972
+ # The specified reference name is not valid.
3973
+ #
3974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidBranchNameException AWS API Documentation
3975
+ #
3976
+ class InvalidBranchNameException < Aws::EmptyStructure; end
3977
+
3978
+ # The client request token is not valid.
3979
+ #
3980
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidClientRequestTokenException AWS API Documentation
3981
+ #
3982
+ class InvalidClientRequestTokenException < Aws::EmptyStructure; end
3983
+
3984
+ # The comment ID is not in a valid format. Make sure that you have
3985
+ # provided the full comment ID.
3986
+ #
3987
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidCommentIdException AWS API Documentation
3988
+ #
3989
+ class InvalidCommentIdException < Aws::EmptyStructure; end
3990
+
3991
+ # The specified commit is not valid.
3992
+ #
3993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidCommitException AWS API Documentation
3994
+ #
3995
+ class InvalidCommitException < Aws::EmptyStructure; end
3996
+
3997
+ # The specified commit ID is not valid.
3998
+ #
3999
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidCommitIdException AWS API Documentation
4000
+ #
4001
+ class InvalidCommitIdException < Aws::EmptyStructure; end
4002
+
4003
+ # The specified conflict detail level is not valid.
4004
+ #
4005
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidConflictDetailLevelException AWS API Documentation
4006
+ #
4007
+ class InvalidConflictDetailLevelException < Aws::EmptyStructure; end
4008
+
4009
+ # The specified conflict resolution list is not valid.
4010
+ #
4011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidConflictResolutionException AWS API Documentation
4012
+ #
4013
+ class InvalidConflictResolutionException < Aws::EmptyStructure; end
4014
+
4015
+ # The specified conflict resolution strategy is not valid.
4016
+ #
4017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidConflictResolutionStrategyException AWS API Documentation
4018
+ #
4019
+ class InvalidConflictResolutionStrategyException < Aws::EmptyStructure; end
4020
+
4021
+ # The specified continuation token is not valid.
4022
+ #
4023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidContinuationTokenException AWS API Documentation
4024
+ #
4025
+ class InvalidContinuationTokenException < Aws::EmptyStructure; end
4026
+
4027
+ # The specified deletion parameter is not valid.
4028
+ #
4029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidDeletionParameterException AWS API Documentation
4030
+ #
4031
+ class InvalidDeletionParameterException < Aws::EmptyStructure; end
4032
+
4033
+ # The pull request description is not valid. Descriptions cannot be more
4034
+ # than 1,000 characters.
4035
+ #
4036
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidDescriptionException AWS API Documentation
4037
+ #
4038
+ class InvalidDescriptionException < Aws::EmptyStructure; end
4039
+
4040
+ # The destination commit specifier is not valid. You must provide a
4041
+ # valid branch name, tag, or full commit ID.
4042
+ #
4043
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidDestinationCommitSpecifierException AWS API Documentation
4044
+ #
4045
+ class InvalidDestinationCommitSpecifierException < Aws::EmptyStructure; end
4046
+
4047
+ # The specified email address either contains one or more characters
4048
+ # that are not allowed, or it exceeds the maximum number of characters
4049
+ # allowed for an email address.
4050
+ #
4051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidEmailException AWS API Documentation
4052
+ #
4053
+ class InvalidEmailException < Aws::EmptyStructure; end
4054
+
4055
+ # The location of the file is not valid. Make sure that you include the
4056
+ # file name and extension.
4057
+ #
4058
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidFileLocationException AWS API Documentation
4059
+ #
4060
+ class InvalidFileLocationException < Aws::EmptyStructure; end
4061
+
4062
+ # The specified file mode permission is not valid. For a list of valid
4063
+ # file mode permissions, see PutFile.
4064
+ #
4065
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidFileModeException AWS API Documentation
4066
+ #
4067
+ class InvalidFileModeException < Aws::EmptyStructure; end
4068
+
4069
+ # The position is not valid. Make sure that the line number exists in
4070
+ # the version of the file you want to comment on.
4071
+ #
4072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidFilePositionException AWS API Documentation
4073
+ #
4074
+ class InvalidFilePositionException < Aws::EmptyStructure; end
4075
+
4076
+ # The specified value for the number of conflict files to return is not
4077
+ # valid.
4078
+ #
4079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMaxConflictFilesException AWS API Documentation
4080
+ #
4081
+ class InvalidMaxConflictFilesException < Aws::EmptyStructure; end
4082
+
4083
+ # The specified value for the number of merge hunks to return is not
4084
+ # valid.
4085
+ #
4086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMaxMergeHunksException AWS API Documentation
4087
+ #
4088
+ class InvalidMaxMergeHunksException < Aws::EmptyStructure; end
4089
+
4090
+ # The specified number of maximum results is not valid.
4091
+ #
4092
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMaxResultsException AWS API Documentation
4093
+ #
4094
+ class InvalidMaxResultsException < Aws::EmptyStructure; end
4095
+
4096
+ # The specified merge option is not valid for this operation. Not all
4097
+ # merge strategies are supported for all operations.
4098
+ #
4099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMergeOptionException AWS API Documentation
4100
+ #
4101
+ class InvalidMergeOptionException < Aws::EmptyStructure; end
4102
+
4103
+ # The specified sort order is not valid.
4104
+ #
4105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidOrderException AWS API Documentation
4106
+ #
4107
+ class InvalidOrderException < Aws::EmptyStructure; end
4108
+
4109
+ # The override status is not valid. Valid statuses are OVERRIDE and
4110
+ # REVOKE.
4111
+ #
4112
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidOverrideStatusException AWS API Documentation
4113
+ #
4114
+ class InvalidOverrideStatusException < Aws::EmptyStructure; end
4115
+
4116
+ # The parent commit ID is not valid. The commit ID cannot be empty, and
4117
+ # must match the head commit ID for the branch of the repository where
4118
+ # you want to add or update a file.
4119
+ #
4120
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidParentCommitIdException AWS API Documentation
4121
+ #
4122
+ class InvalidParentCommitIdException < Aws::EmptyStructure; end
4123
+
4124
+ # The specified path is not valid.
4125
+ #
4126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPathException AWS API Documentation
4127
+ #
4128
+ class InvalidPathException < Aws::EmptyStructure; end
4129
+
4130
+ # The pull request event type is not valid.
4131
+ #
4132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestEventTypeException AWS API Documentation
4133
+ #
4134
+ class InvalidPullRequestEventTypeException < Aws::EmptyStructure; end
4135
+
4136
+ # The pull request ID is not valid. Make sure that you have provided the
4137
+ # full ID and that the pull request is in the specified repository, and
4138
+ # then try again.
4139
+ #
4140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestIdException AWS API Documentation
4141
+ #
4142
+ class InvalidPullRequestIdException < Aws::EmptyStructure; end
4143
+
4144
+ # The pull request status is not valid. The only valid values are `OPEN`
4145
+ # and `CLOSED`.
4146
+ #
4147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestStatusException AWS API Documentation
4148
+ #
4149
+ class InvalidPullRequestStatusException < Aws::EmptyStructure; end
4150
+
4151
+ # The pull request status update is not valid. The only valid update is
4152
+ # from `OPEN` to `CLOSED`.
4153
+ #
4154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestStatusUpdateException AWS API Documentation
4155
+ #
4156
+ class InvalidPullRequestStatusUpdateException < Aws::EmptyStructure; end
4157
+
4158
+ # The specified reference name format is not valid. Reference names must
4159
+ # conform to the Git references format (for example, refs/heads/master).
4160
+ # For more information, see [Git Internals - Git References][1] or
4161
+ # consult your Git documentation.
4162
+ #
4163
+ #
4164
+ #
4165
+ # [1]: https://git-scm.com/book/en/v2/Git-Internals-Git-References
4166
+ #
4167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidReferenceNameException AWS API Documentation
4168
+ #
4169
+ class InvalidReferenceNameException < Aws::EmptyStructure; end
4170
+
4171
+ # Either the enum is not in a valid format, or the specified file
4172
+ # version enum is not valid in respect to the current file version.
4173
+ #
4174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRelativeFileVersionEnumException AWS API Documentation
4175
+ #
4176
+ class InvalidRelativeFileVersionEnumException < Aws::EmptyStructure; end
4177
+
4178
+ # Automerge was specified for resolving the conflict, but the
4179
+ # replacement type is not valid or content is missing.
4180
+ #
4181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidReplacementContentException AWS API Documentation
4182
+ #
4183
+ class InvalidReplacementContentException < Aws::EmptyStructure; end
4184
+
4185
+ # Automerge was specified for resolving the conflict, but the specified
4186
+ # replacement type is not valid.
4187
+ #
4188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidReplacementTypeException AWS API Documentation
4189
+ #
4190
+ class InvalidReplacementTypeException < Aws::EmptyStructure; end
4191
+
4192
+ # The specified repository description is not valid.
4193
+ #
4194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryDescriptionException AWS API Documentation
4195
+ #
4196
+ class InvalidRepositoryDescriptionException < Aws::EmptyStructure; end
4197
+
4198
+ # A specified repository name is not valid.
4199
+ #
4200
+ # <note markdown="1"> This exception occurs only when a specified repository name is not
4201
+ # valid. Other exceptions occur when a required repository parameter is
4202
+ # missing, or when a specified repository does not exist.
4203
+ #
4204
+ # </note>
4205
+ #
4206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryNameException AWS API Documentation
4207
+ #
4208
+ class InvalidRepositoryNameException < Aws::EmptyStructure; end
4209
+
4210
+ # One or more branch names specified for the trigger is not valid.
4211
+ #
4212
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerBranchNameException AWS API Documentation
4213
+ #
4214
+ class InvalidRepositoryTriggerBranchNameException < Aws::EmptyStructure; end
4215
+
4216
+ # The custom data provided for the trigger is not valid.
4217
+ #
4218
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerCustomDataException AWS API Documentation
4219
+ #
4220
+ class InvalidRepositoryTriggerCustomDataException < Aws::EmptyStructure; end
4221
+
4222
+ # The Amazon Resource Name (ARN) for the trigger is not valid for the
4223
+ # specified destination. The most common reason for this error is that
4224
+ # the ARN does not meet the requirements for the service type.
4225
+ #
4226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerDestinationArnException AWS API Documentation
4227
+ #
4228
+ class InvalidRepositoryTriggerDestinationArnException < Aws::EmptyStructure; end
4229
+
4230
+ # One or more events specified for the trigger is not valid. Check to
4231
+ # make sure that all events specified match the requirements for allowed
4232
+ # events.
4233
+ #
4234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerEventsException AWS API Documentation
4235
+ #
4236
+ class InvalidRepositoryTriggerEventsException < Aws::EmptyStructure; end
4237
+
4238
+ # The name of the trigger is not valid.
4239
+ #
4240
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerNameException AWS API Documentation
4241
+ #
4242
+ class InvalidRepositoryTriggerNameException < Aws::EmptyStructure; end
4243
+
4244
+ # The AWS Region for the trigger target does not match the AWS Region
4245
+ # for the repository. Triggers must be created in the same Region as the
4246
+ # target for the trigger.
4247
+ #
4248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerRegionException AWS API Documentation
4249
+ #
4250
+ class InvalidRepositoryTriggerRegionException < Aws::EmptyStructure; end
4251
+
4252
+ # The value for the resource ARN is not valid. For more information
4253
+ # about resources in AWS CodeCommit, see [CodeCommit Resources and
4254
+ # Operations][1] in the AWS CodeCommit User Guide.
4255
+ #
4256
+ #
4257
+ #
4258
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats
4259
+ #
4260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidResourceArnException AWS API Documentation
4261
+ #
4262
+ class InvalidResourceArnException < Aws::EmptyStructure; end
4263
+
4264
+ # The revision ID is not valid. Use GetPullRequest to determine the
4265
+ # value.
4266
+ #
4267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRevisionIdException AWS API Documentation
4268
+ #
4269
+ class InvalidRevisionIdException < Aws::EmptyStructure; end
4270
+
4271
+ # The SHA-256 hash signature for the rule content is not valid.
4272
+ #
4273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRuleContentSha256Exception AWS API Documentation
4274
+ #
4275
+ class InvalidRuleContentSha256Exception < Aws::EmptyStructure; end
4276
+
4277
+ # The specified sort by value is not valid.
4278
+ #
4279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidSortByException AWS API Documentation
4280
+ #
4281
+ class InvalidSortByException < Aws::EmptyStructure; end
4282
+
4283
+ # The source commit specifier is not valid. You must provide a valid
4284
+ # branch name, tag, or full commit ID.
4285
+ #
4286
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidSourceCommitSpecifierException AWS API Documentation
4287
+ #
4288
+ class InvalidSourceCommitSpecifierException < Aws::EmptyStructure; end
4289
+
4290
+ # The specified tag is not valid. Key names cannot be prefixed with
4291
+ # aws:.
4292
+ #
4293
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidSystemTagUsageException AWS API Documentation
4294
+ #
4295
+ class InvalidSystemTagUsageException < Aws::EmptyStructure; end
4296
+
4297
+ # The list of tags is not valid.
4298
+ #
4299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTagKeysListException AWS API Documentation
4300
+ #
4301
+ class InvalidTagKeysListException < Aws::EmptyStructure; end
4302
+
4303
+ # The map of tags is not valid.
4304
+ #
4305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTagsMapException AWS API Documentation
4306
+ #
4307
+ class InvalidTagsMapException < Aws::EmptyStructure; end
4308
+
4309
+ # The specified target branch is not valid.
4310
+ #
4311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTargetBranchException AWS API Documentation
4312
+ #
4313
+ class InvalidTargetBranchException < Aws::EmptyStructure; end
4314
+
4315
+ # The target for the pull request is not valid. A target must contain
4316
+ # the full values for the repository name, source branch, and
4317
+ # destination branch for the pull request.
4318
+ #
4319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTargetException AWS API Documentation
4320
+ #
4321
+ class InvalidTargetException < Aws::EmptyStructure; end
4322
+
4323
+ # The targets for the pull request is not valid or not in a valid
4324
+ # format. Targets are a list of target objects. Each target object must
4325
+ # contain the full values for the repository name, source branch, and
4326
+ # destination branch for a pull request.
4327
+ #
4328
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTargetsException AWS API Documentation
4329
+ #
4330
+ class InvalidTargetsException < Aws::EmptyStructure; end
4331
+
4332
+ # The title of the pull request is not valid. Pull request titles cannot
4333
+ # exceed 100 characters in length.
4334
+ #
4335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTitleException AWS API Documentation
4336
+ #
4337
+ class InvalidTitleException < Aws::EmptyStructure; end
4338
+
4339
+ # Information about whether a file is binary or textual in a merge or
4340
+ # pull request operation.
4341
+ #
4342
+ # @!attribute [rw] source
4343
+ # The binary or non-binary status of file in the source of a merge or
4344
+ # pull request.
4345
+ # @return [Boolean]
4346
+ #
4347
+ # @!attribute [rw] destination
4348
+ # The binary or non-binary status of a file in the destination of a
4349
+ # merge or pull request.
4350
+ # @return [Boolean]
4351
+ #
4352
+ # @!attribute [rw] base
4353
+ # The binary or non-binary status of a file in the base of a merge or
4354
+ # pull request.
4355
+ # @return [Boolean]
4356
+ #
4357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/IsBinaryFile AWS API Documentation
4358
+ #
4359
+ class IsBinaryFile < Struct.new(
4360
+ :source,
4361
+ :destination,
4362
+ :base)
4363
+ SENSITIVE = []
4364
+ include Aws::Structure
4365
+ end
4366
+
4367
+ # @note When making an API call, you may pass ListApprovalRuleTemplatesInput
4368
+ # data as a hash:
4369
+ #
4370
+ # {
4371
+ # next_token: "NextToken",
4372
+ # max_results: 1,
4373
+ # }
4374
+ #
4375
+ # @!attribute [rw] next_token
4376
+ # An enumeration token that, when provided in a request, returns the
4377
+ # next batch of the results.
4378
+ # @return [String]
4379
+ #
4380
+ # @!attribute [rw] max_results
4381
+ # A non-zero, non-negative integer used to limit the number of
4382
+ # returned results.
4383
+ # @return [Integer]
4384
+ #
4385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesInput AWS API Documentation
4386
+ #
4387
+ class ListApprovalRuleTemplatesInput < Struct.new(
4388
+ :next_token,
4389
+ :max_results)
4390
+ SENSITIVE = []
4391
+ include Aws::Structure
4392
+ end
4393
+
4394
+ # @!attribute [rw] approval_rule_template_names
4395
+ # The names of all the approval rule templates found in the AWS Region
4396
+ # for your AWS account.
4397
+ # @return [Array<String>]
4398
+ #
4399
+ # @!attribute [rw] next_token
4400
+ # An enumeration token that allows the operation to batch the next
4401
+ # results of the operation.
4402
+ # @return [String]
4403
+ #
4404
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesOutput AWS API Documentation
4405
+ #
4406
+ class ListApprovalRuleTemplatesOutput < Struct.new(
4407
+ :approval_rule_template_names,
4408
+ :next_token)
4409
+ SENSITIVE = []
4410
+ include Aws::Structure
4411
+ end
4412
+
4413
+ # @note When making an API call, you may pass ListAssociatedApprovalRuleTemplatesForRepositoryInput
4414
+ # data as a hash:
4415
+ #
4416
+ # {
4417
+ # repository_name: "RepositoryName", # required
4418
+ # next_token: "NextToken",
4419
+ # max_results: 1,
4420
+ # }
4421
+ #
4422
+ # @!attribute [rw] repository_name
4423
+ # The name of the repository for which you want to list all associated
4424
+ # approval rule templates.
4425
+ # @return [String]
4426
+ #
4427
+ # @!attribute [rw] next_token
4428
+ # An enumeration token that, when provided in a request, returns the
4429
+ # next batch of the results.
4430
+ # @return [String]
4431
+ #
4432
+ # @!attribute [rw] max_results
4433
+ # A non-zero, non-negative integer used to limit the number of
4434
+ # returned results.
4435
+ # @return [Integer]
4436
+ #
4437
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepositoryInput AWS API Documentation
4438
+ #
4439
+ class ListAssociatedApprovalRuleTemplatesForRepositoryInput < Struct.new(
4440
+ :repository_name,
4441
+ :next_token,
4442
+ :max_results)
4443
+ SENSITIVE = []
4444
+ include Aws::Structure
4445
+ end
3498
4446
 
3499
4447
  # @!attribute [rw] approval_rule_template_names
3500
4448
  # The names of all approval rule templates associated with the
@@ -3511,6 +4459,7 @@ module Aws::CodeCommit
3511
4459
  class ListAssociatedApprovalRuleTemplatesForRepositoryOutput < Struct.new(
3512
4460
  :approval_rule_template_names,
3513
4461
  :next_token)
4462
+ SENSITIVE = []
3514
4463
  include Aws::Structure
3515
4464
  end
3516
4465
 
@@ -3537,6 +4486,7 @@ module Aws::CodeCommit
3537
4486
  class ListBranchesInput < Struct.new(
3538
4487
  :repository_name,
3539
4488
  :next_token)
4489
+ SENSITIVE = []
3540
4490
  include Aws::Structure
3541
4491
  end
3542
4492
 
@@ -3555,6 +4505,7 @@ module Aws::CodeCommit
3555
4505
  class ListBranchesOutput < Struct.new(
3556
4506
  :branches,
3557
4507
  :next_token)
4508
+ SENSITIVE = []
3558
4509
  include Aws::Structure
3559
4510
  end
3560
4511
 
@@ -3602,6 +4553,7 @@ module Aws::CodeCommit
3602
4553
  :pull_request_status,
3603
4554
  :next_token,
3604
4555
  :max_results)
4556
+ SENSITIVE = []
3605
4557
  include Aws::Structure
3606
4558
  end
3607
4559
 
@@ -3619,6 +4571,7 @@ module Aws::CodeCommit
3619
4571
  class ListPullRequestsOutput < Struct.new(
3620
4572
  :pull_request_ids,
3621
4573
  :next_token)
4574
+ SENSITIVE = []
3622
4575
  include Aws::Structure
3623
4576
  end
3624
4577
 
@@ -3652,6 +4605,7 @@ module Aws::CodeCommit
3652
4605
  :approval_rule_template_name,
3653
4606
  :next_token,
3654
4607
  :max_results)
4608
+ SENSITIVE = []
3655
4609
  include Aws::Structure
3656
4610
  end
3657
4611
 
@@ -3670,6 +4624,7 @@ module Aws::CodeCommit
3670
4624
  class ListRepositoriesForApprovalRuleTemplateOutput < Struct.new(
3671
4625
  :repository_names,
3672
4626
  :next_token)
4627
+ SENSITIVE = []
3673
4628
  include Aws::Structure
3674
4629
  end
3675
4630
 
@@ -3707,6 +4662,7 @@ module Aws::CodeCommit
3707
4662
  :next_token,
3708
4663
  :sort_by,
3709
4664
  :order)
4665
+ SENSITIVE = []
3710
4666
  include Aws::Structure
3711
4667
  end
3712
4668
 
@@ -3728,6 +4684,7 @@ module Aws::CodeCommit
3728
4684
  class ListRepositoriesOutput < Struct.new(
3729
4685
  :repositories,
3730
4686
  :next_token)
4687
+ SENSITIVE = []
3731
4688
  include Aws::Structure
3732
4689
  end
3733
4690
 
@@ -3754,6 +4711,7 @@ module Aws::CodeCommit
3754
4711
  class ListTagsForResourceInput < Struct.new(
3755
4712
  :resource_arn,
3756
4713
  :next_token)
4714
+ SENSITIVE = []
3757
4715
  include Aws::Structure
3758
4716
  end
3759
4717
 
@@ -3772,6 +4730,7 @@ module Aws::CodeCommit
3772
4730
  class ListTagsForResourceOutput < Struct.new(
3773
4731
  :tags,
3774
4732
  :next_token)
4733
+ SENSITIVE = []
3775
4734
  include Aws::Structure
3776
4735
  end
3777
4736
 
@@ -3807,9 +4766,88 @@ module Aws::CodeCommit
3807
4766
  :file_path,
3808
4767
  :file_position,
3809
4768
  :relative_file_version)
4769
+ SENSITIVE = []
3810
4770
  include Aws::Structure
3811
4771
  end
3812
4772
 
4773
+ # The pull request cannot be merged automatically into the destination
4774
+ # branch. You must manually merge the branches and resolve any
4775
+ # conflicts.
4776
+ #
4777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ManualMergeRequiredException AWS API Documentation
4778
+ #
4779
+ class ManualMergeRequiredException < Aws::EmptyStructure; end
4780
+
4781
+ # The number of branches for the trigger was exceeded.
4782
+ #
4783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumBranchesExceededException AWS API Documentation
4784
+ #
4785
+ class MaximumBranchesExceededException < Aws::EmptyStructure; end
4786
+
4787
+ # The number of allowed conflict resolution entries was exceeded.
4788
+ #
4789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumConflictResolutionEntriesExceededException AWS API Documentation
4790
+ #
4791
+ class MaximumConflictResolutionEntriesExceededException < Aws::EmptyStructure; end
4792
+
4793
+ # The number of files to load exceeds the allowed limit.
4794
+ #
4795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumFileContentToLoadExceededException AWS API Documentation
4796
+ #
4797
+ class MaximumFileContentToLoadExceededException < Aws::EmptyStructure; end
4798
+
4799
+ # The number of specified files to change as part of this commit exceeds
4800
+ # the maximum number of files that can be changed in a single commit.
4801
+ # Consider using a Git client for these changes.
4802
+ #
4803
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumFileEntriesExceededException AWS API Documentation
4804
+ #
4805
+ class MaximumFileEntriesExceededException < Aws::EmptyStructure; end
4806
+
4807
+ # The number of items to compare between the source or destination
4808
+ # branches and the merge base has exceeded the maximum allowed.
4809
+ #
4810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumItemsToCompareExceededException AWS API Documentation
4811
+ #
4812
+ class MaximumItemsToCompareExceededException < Aws::EmptyStructure; end
4813
+
4814
+ # The number of approvals required for the approval rule exceeds the
4815
+ # maximum number allowed.
4816
+ #
4817
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumNumberOfApprovalsExceededException AWS API Documentation
4818
+ #
4819
+ class MaximumNumberOfApprovalsExceededException < Aws::EmptyStructure; end
4820
+
4821
+ # You cannot create the pull request because the repository has too many
4822
+ # open pull requests. The maximum number of open pull requests for a
4823
+ # repository is 1,000. Close one or more open pull requests, and then
4824
+ # try again.
4825
+ #
4826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumOpenPullRequestsExceededException AWS API Documentation
4827
+ #
4828
+ class MaximumOpenPullRequestsExceededException < Aws::EmptyStructure; end
4829
+
4830
+ # The maximum number of allowed repository names was exceeded.
4831
+ # Currently, this number is 100.
4832
+ #
4833
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumRepositoryNamesExceededException AWS API Documentation
4834
+ #
4835
+ class MaximumRepositoryNamesExceededException < Aws::EmptyStructure; end
4836
+
4837
+ # The number of triggers allowed for the repository was exceeded.
4838
+ #
4839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumRepositoryTriggersExceededException AWS API Documentation
4840
+ #
4841
+ class MaximumRepositoryTriggersExceededException < Aws::EmptyStructure; end
4842
+
4843
+ # The maximum number of approval rule templates for a repository has
4844
+ # been exceeded. You cannot associate more than 25 approval rule
4845
+ # templates with a repository.
4846
+ #
4847
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumRuleTemplatesAssociatedWithRepositoryException AWS API Documentation
4848
+ #
4849
+ class MaximumRuleTemplatesAssociatedWithRepositoryException < Aws::EmptyStructure; end
4850
+
3813
4851
  # @note When making an API call, you may pass MergeBranchesByFastForwardInput
3814
4852
  # data as a hash:
3815
4853
  #
@@ -3845,6 +4883,7 @@ module Aws::CodeCommit
3845
4883
  :source_commit_specifier,
3846
4884
  :destination_commit_specifier,
3847
4885
  :target_branch)
4886
+ SENSITIVE = []
3848
4887
  include Aws::Structure
3849
4888
  end
3850
4889
 
@@ -3861,6 +4900,7 @@ module Aws::CodeCommit
3861
4900
  class MergeBranchesByFastForwardOutput < Struct.new(
3862
4901
  :commit_id,
3863
4902
  :tree_id)
4903
+ SENSITIVE = []
3864
4904
  include Aws::Structure
3865
4905
  end
3866
4906
 
@@ -3974,6 +5014,7 @@ module Aws::CodeCommit
3974
5014
  :commit_message,
3975
5015
  :keep_empty_folders,
3976
5016
  :conflict_resolution)
5017
+ SENSITIVE = []
3977
5018
  include Aws::Structure
3978
5019
  end
3979
5020
 
@@ -3990,6 +5031,7 @@ module Aws::CodeCommit
3990
5031
  class MergeBranchesBySquashOutput < Struct.new(
3991
5032
  :commit_id,
3992
5033
  :tree_id)
5034
+ SENSITIVE = []
3993
5035
  include Aws::Structure
3994
5036
  end
3995
5037
 
@@ -4103,6 +5145,7 @@ module Aws::CodeCommit
4103
5145
  :commit_message,
4104
5146
  :keep_empty_folders,
4105
5147
  :conflict_resolution)
5148
+ SENSITIVE = []
4106
5149
  include Aws::Structure
4107
5150
  end
4108
5151
 
@@ -4119,6 +5162,7 @@ module Aws::CodeCommit
4119
5162
  class MergeBranchesByThreeWayOutput < Struct.new(
4120
5163
  :commit_id,
4121
5164
  :tree_id)
5165
+ SENSITIVE = []
4122
5166
  include Aws::Structure
4123
5167
  end
4124
5168
 
@@ -4155,6 +5199,7 @@ module Aws::CodeCommit
4155
5199
  :source,
4156
5200
  :destination,
4157
5201
  :base)
5202
+ SENSITIVE = []
4158
5203
  include Aws::Structure
4159
5204
  end
4160
5205
 
@@ -4180,6 +5225,7 @@ module Aws::CodeCommit
4180
5225
  :start_line,
4181
5226
  :end_line,
4182
5227
  :hunk_content)
5228
+ SENSITIVE = []
4183
5229
  include Aws::Structure
4184
5230
  end
4185
5231
 
@@ -4209,6 +5255,7 @@ module Aws::CodeCommit
4209
5255
  :merged_by,
4210
5256
  :merge_commit_id,
4211
5257
  :merge_option)
5258
+ SENSITIVE = []
4212
5259
  include Aws::Structure
4213
5260
  end
4214
5261
 
@@ -4229,9 +5276,16 @@ module Aws::CodeCommit
4229
5276
  class MergeOperations < Struct.new(
4230
5277
  :source,
4231
5278
  :destination)
5279
+ SENSITIVE = []
4232
5280
  include Aws::Structure
4233
5281
  end
4234
5282
 
5283
+ # A merge option or stategy is required, and none was provided.
5284
+ #
5285
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeOptionRequiredException AWS API Documentation
5286
+ #
5287
+ class MergeOptionRequiredException < Aws::EmptyStructure; end
5288
+
4235
5289
  # @note When making an API call, you may pass MergePullRequestByFastForwardInput
4236
5290
  # data as a hash:
4237
5291
  #
@@ -4263,6 +5317,7 @@ module Aws::CodeCommit
4263
5317
  :pull_request_id,
4264
5318
  :repository_name,
4265
5319
  :source_commit_id)
5320
+ SENSITIVE = []
4266
5321
  include Aws::Structure
4267
5322
  end
4268
5323
 
@@ -4274,6 +5329,7 @@ module Aws::CodeCommit
4274
5329
  #
4275
5330
  class MergePullRequestByFastForwardOutput < Struct.new(
4276
5331
  :pull_request)
5332
+ SENSITIVE = []
4277
5333
  include Aws::Structure
4278
5334
  end
4279
5335
 
@@ -4383,6 +5439,7 @@ module Aws::CodeCommit
4383
5439
  :email,
4384
5440
  :keep_empty_folders,
4385
5441
  :conflict_resolution)
5442
+ SENSITIVE = []
4386
5443
  include Aws::Structure
4387
5444
  end
4388
5445
 
@@ -4394,6 +5451,7 @@ module Aws::CodeCommit
4394
5451
  #
4395
5452
  class MergePullRequestBySquashOutput < Struct.new(
4396
5453
  :pull_request)
5454
+ SENSITIVE = []
4397
5455
  include Aws::Structure
4398
5456
  end
4399
5457
 
@@ -4503,6 +5561,7 @@ module Aws::CodeCommit
4503
5561
  :email,
4504
5562
  :keep_empty_folders,
4505
5563
  :conflict_resolution)
5564
+ SENSITIVE = []
4506
5565
  include Aws::Structure
4507
5566
  end
4508
5567
 
@@ -4514,9 +5573,54 @@ module Aws::CodeCommit
4514
5573
  #
4515
5574
  class MergePullRequestByThreeWayOutput < Struct.new(
4516
5575
  :pull_request)
5576
+ SENSITIVE = []
4517
5577
  include Aws::Structure
4518
5578
  end
4519
5579
 
5580
+ # More than one conflict resolution entries exists for the conflict. A
5581
+ # conflict can have only one conflict resolution entry.
5582
+ #
5583
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MultipleConflictResolutionEntriesException AWS API Documentation
5584
+ #
5585
+ class MultipleConflictResolutionEntriesException < Aws::EmptyStructure; end
5586
+
5587
+ # You cannot include more than one repository in a pull request. Make
5588
+ # sure you have specified only one repository name in your request, and
5589
+ # then try again.
5590
+ #
5591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MultipleRepositoriesInPullRequestException AWS API Documentation
5592
+ #
5593
+ class MultipleRepositoriesInPullRequestException < Aws::EmptyStructure; end
5594
+
5595
+ # The user name is not valid because it has exceeded the character limit
5596
+ # for author names.
5597
+ #
5598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NameLengthExceededException AWS API Documentation
5599
+ #
5600
+ class NameLengthExceededException < Aws::EmptyStructure; end
5601
+
5602
+ # The commit cannot be created because no changes will be made to the
5603
+ # repository as a result of this commit. A commit must contain at least
5604
+ # one change.
5605
+ #
5606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NoChangeException AWS API Documentation
5607
+ #
5608
+ class NoChangeException < Aws::EmptyStructure; end
5609
+
5610
+ # The maximum number of approval rule templates has been exceeded for
5611
+ # this AWS Region.
5612
+ #
5613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NumberOfRuleTemplatesExceededException AWS API Documentation
5614
+ #
5615
+ class NumberOfRuleTemplatesExceededException < Aws::EmptyStructure; end
5616
+
5617
+ # The approval rule cannot be added. The pull request has the maximum
5618
+ # number of approval rules associated with it.
5619
+ #
5620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NumberOfRulesExceededException AWS API Documentation
5621
+ #
5622
+ class NumberOfRulesExceededException < Aws::EmptyStructure; end
5623
+
4520
5624
  # Information about the type of an object in a merge operation.
4521
5625
  #
4522
5626
  # @!attribute [rw] source
@@ -4537,6 +5641,7 @@ module Aws::CodeCommit
4537
5641
  :source,
4538
5642
  :destination,
4539
5643
  :base)
5644
+ SENSITIVE = []
4540
5645
  include Aws::Structure
4541
5646
  end
4542
5647
 
@@ -4556,9 +5661,16 @@ module Aws::CodeCommit
4556
5661
  class OriginApprovalRuleTemplate < Struct.new(
4557
5662
  :approval_rule_template_id,
4558
5663
  :approval_rule_template_name)
5664
+ SENSITIVE = []
4559
5665
  include Aws::Structure
4560
5666
  end
4561
5667
 
5668
+ # The pull request has already had its approval rules set to override.
5669
+ #
5670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverrideAlreadySetException AWS API Documentation
5671
+ #
5672
+ class OverrideAlreadySetException < Aws::EmptyStructure; end
5673
+
4562
5674
  # @note When making an API call, you may pass OverridePullRequestApprovalRulesInput
4563
5675
  # data as a hash:
4564
5676
  #
@@ -4593,9 +5705,53 @@ module Aws::CodeCommit
4593
5705
  :pull_request_id,
4594
5706
  :revision_id,
4595
5707
  :override_status)
5708
+ SENSITIVE = []
4596
5709
  include Aws::Structure
4597
5710
  end
4598
5711
 
5712
+ # An override status is required, but no value was provided. Valid
5713
+ # values include OVERRIDE and REVOKE.
5714
+ #
5715
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverrideStatusRequiredException AWS API Documentation
5716
+ #
5717
+ class OverrideStatusRequiredException < Aws::EmptyStructure; end
5718
+
5719
+ # The parent commit ID is not valid because it does not exist. The
5720
+ # specified parent commit ID does not exist in the specified branch of
5721
+ # the repository.
5722
+ #
5723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ParentCommitDoesNotExistException AWS API Documentation
5724
+ #
5725
+ class ParentCommitDoesNotExistException < Aws::EmptyStructure; end
5726
+
5727
+ # The file could not be added because the provided parent commit ID is
5728
+ # not the current tip of the specified branch. To view the full commit
5729
+ # ID of the current head of the branch, use GetBranch.
5730
+ #
5731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ParentCommitIdOutdatedException AWS API Documentation
5732
+ #
5733
+ class ParentCommitIdOutdatedException < Aws::EmptyStructure; end
5734
+
5735
+ # A parent commit ID is required. To view the full commit ID of a branch
5736
+ # in a repository, use GetBranch or a Git command (for example, git pull
5737
+ # or git log).
5738
+ #
5739
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ParentCommitIdRequiredException AWS API Documentation
5740
+ #
5741
+ class ParentCommitIdRequiredException < Aws::EmptyStructure; end
5742
+
5743
+ # The specified path does not exist.
5744
+ #
5745
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PathDoesNotExistException AWS API Documentation
5746
+ #
5747
+ class PathDoesNotExistException < Aws::EmptyStructure; end
5748
+
5749
+ # The folderPath for a location cannot be null.
5750
+ #
5751
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PathRequiredException AWS API Documentation
5752
+ #
5753
+ class PathRequiredException < Aws::EmptyStructure; end
5754
+
4599
5755
  # @note When making an API call, you may pass PostCommentForComparedCommitInput
4600
5756
  # data as a hash:
4601
5757
  #
@@ -4656,6 +5812,7 @@ module Aws::CodeCommit
4656
5812
  :location,
4657
5813
  :content,
4658
5814
  :client_request_token)
5815
+ SENSITIVE = []
4659
5816
  include Aws::Structure
4660
5817
  end
4661
5818
 
@@ -4703,6 +5860,7 @@ module Aws::CodeCommit
4703
5860
  :after_blob_id,
4704
5861
  :location,
4705
5862
  :comment)
5863
+ SENSITIVE = []
4706
5864
  include Aws::Structure
4707
5865
  end
4708
5866
 
@@ -4776,6 +5934,7 @@ module Aws::CodeCommit
4776
5934
  :location,
4777
5935
  :content,
4778
5936
  :client_request_token)
5937
+ SENSITIVE = []
4779
5938
  include Aws::Structure
4780
5939
  end
4781
5940
 
@@ -4828,6 +5987,7 @@ module Aws::CodeCommit
4828
5987
  :after_blob_id,
4829
5988
  :location,
4830
5989
  :comment)
5990
+ SENSITIVE = []
4831
5991
  include Aws::Structure
4832
5992
  end
4833
5993
 
@@ -4867,6 +6027,7 @@ module Aws::CodeCommit
4867
6027
  :in_reply_to,
4868
6028
  :client_request_token,
4869
6029
  :content)
6030
+ SENSITIVE = []
4870
6031
  include Aws::Structure
4871
6032
  end
4872
6033
 
@@ -4878,6 +6039,7 @@ module Aws::CodeCommit
4878
6039
  #
4879
6040
  class PostCommentReplyOutput < Struct.new(
4880
6041
  :comment)
6042
+ SENSITIVE = []
4881
6043
  include Aws::Structure
4882
6044
  end
4883
6045
 
@@ -4953,9 +6115,32 @@ module Aws::CodeCommit
4953
6115
  :client_request_token,
4954
6116
  :revision_id,
4955
6117
  :approval_rules)
6118
+ SENSITIVE = []
4956
6119
  include Aws::Structure
4957
6120
  end
4958
6121
 
6122
+ # The pull request status cannot be updated because it is already
6123
+ # closed.
6124
+ #
6125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestAlreadyClosedException AWS API Documentation
6126
+ #
6127
+ class PullRequestAlreadyClosedException < Aws::EmptyStructure; end
6128
+
6129
+ # The pull request cannot be merged because one or more approval rules
6130
+ # applied to the pull request have conditions that have not been met.
6131
+ #
6132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestApprovalRulesNotSatisfiedException AWS API Documentation
6133
+ #
6134
+ class PullRequestApprovalRulesNotSatisfiedException < Aws::EmptyStructure; end
6135
+
6136
+ # The approval cannot be applied because the user approving the pull
6137
+ # request matches the user who created the pull request. You cannot
6138
+ # approve a pull request that you created.
6139
+ #
6140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestCannotBeApprovedByAuthorException AWS API Documentation
6141
+ #
6142
+ class PullRequestCannotBeApprovedByAuthorException < Aws::EmptyStructure; end
6143
+
4959
6144
  # Metadata about the pull request that is used when comparing the pull
4960
6145
  # request source with its destination.
4961
6146
  #
@@ -4985,9 +6170,18 @@ module Aws::CodeCommit
4985
6170
  :source_commit_id,
4986
6171
  :destination_commit_id,
4987
6172
  :merge_base)
6173
+ SENSITIVE = []
4988
6174
  include Aws::Structure
4989
6175
  end
4990
6176
 
6177
+ # The pull request ID could not be found. Make sure that you have
6178
+ # specified the correct repository name and pull request ID, and then
6179
+ # try again.
6180
+ #
6181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestDoesNotExistException AWS API Documentation
6182
+ #
6183
+ class PullRequestDoesNotExistException < Aws::EmptyStructure; end
6184
+
4991
6185
  # Returns information about a pull request event.
4992
6186
  #
4993
6187
  # @!attribute [rw] pull_request_id
@@ -5056,9 +6250,16 @@ module Aws::CodeCommit
5056
6250
  :approval_rule_event_metadata,
5057
6251
  :approval_state_changed_event_metadata,
5058
6252
  :approval_rule_overridden_event_metadata)
6253
+ SENSITIVE = []
5059
6254
  include Aws::Structure
5060
6255
  end
5061
6256
 
6257
+ # A pull request ID is required, but none was provided.
6258
+ #
6259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestIdRequiredException AWS API Documentation
6260
+ #
6261
+ class PullRequestIdRequiredException < Aws::EmptyStructure; end
6262
+
5062
6263
  # Returns information about the change in the merge state for a pull
5063
6264
  # request event.
5064
6265
  #
@@ -5080,6 +6281,7 @@ module Aws::CodeCommit
5080
6281
  :repository_name,
5081
6282
  :destination_reference,
5082
6283
  :merge_metadata)
6284
+ SENSITIVE = []
5083
6285
  include Aws::Structure
5084
6286
  end
5085
6287
 
@@ -5111,6 +6313,7 @@ module Aws::CodeCommit
5111
6313
  :before_commit_id,
5112
6314
  :after_commit_id,
5113
6315
  :merge_base)
6316
+ SENSITIVE = []
5114
6317
  include Aws::Structure
5115
6318
  end
5116
6319
 
@@ -5124,9 +6327,16 @@ module Aws::CodeCommit
5124
6327
  #
5125
6328
  class PullRequestStatusChangedEventMetadata < Struct.new(
5126
6329
  :pull_request_status)
6330
+ SENSITIVE = []
5127
6331
  include Aws::Structure
5128
6332
  end
5129
6333
 
6334
+ # A pull request status is required, but none was provided.
6335
+ #
6336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestStatusRequiredException AWS API Documentation
6337
+ #
6338
+ class PullRequestStatusRequiredException < Aws::EmptyStructure; end
6339
+
5130
6340
  # Returns information about a pull request target.
5131
6341
  #
5132
6342
  # @!attribute [rw] repository_name
@@ -5176,6 +6386,7 @@ module Aws::CodeCommit
5176
6386
  :source_commit,
5177
6387
  :merge_base,
5178
6388
  :merge_metadata)
6389
+ SENSITIVE = []
5179
6390
  include Aws::Structure
5180
6391
  end
5181
6392
 
@@ -5221,9 +6432,17 @@ module Aws::CodeCommit
5221
6432
  :file_mode,
5222
6433
  :file_content,
5223
6434
  :source_file)
6435
+ SENSITIVE = []
5224
6436
  include Aws::Structure
5225
6437
  end
5226
6438
 
6439
+ # The commit cannot be created because one or more files specified in
6440
+ # the commit reference both a file and a folder.
6441
+ #
6442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFileEntryConflictException AWS API Documentation
6443
+ #
6444
+ class PutFileEntryConflictException < Aws::EmptyStructure; end
6445
+
5227
6446
  # @note When making an API call, you may pass PutFileInput
5228
6447
  # data as a hash:
5229
6448
  #
@@ -5306,6 +6525,7 @@ module Aws::CodeCommit
5306
6525
  :commit_message,
5307
6526
  :name,
5308
6527
  :email)
6528
+ SENSITIVE = []
5309
6529
  include Aws::Structure
5310
6530
  end
5311
6531
 
@@ -5328,6 +6548,7 @@ module Aws::CodeCommit
5328
6548
  :commit_id,
5329
6549
  :blob_id,
5330
6550
  :tree_id)
6551
+ SENSITIVE = []
5331
6552
  include Aws::Structure
5332
6553
  end
5333
6554
 
@@ -5363,6 +6584,7 @@ module Aws::CodeCommit
5363
6584
  class PutRepositoryTriggersInput < Struct.new(
5364
6585
  :repository_name,
5365
6586
  :triggers)
6587
+ SENSITIVE = []
5366
6588
  include Aws::Structure
5367
6589
  end
5368
6590
 
@@ -5376,9 +6598,29 @@ module Aws::CodeCommit
5376
6598
  #
5377
6599
  class PutRepositoryTriggersOutput < Struct.new(
5378
6600
  :configuration_id)
6601
+ SENSITIVE = []
5379
6602
  include Aws::Structure
5380
6603
  end
5381
6604
 
6605
+ # The specified reference does not exist. You must provide a full commit
6606
+ # ID.
6607
+ #
6608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReferenceDoesNotExistException AWS API Documentation
6609
+ #
6610
+ class ReferenceDoesNotExistException < Aws::EmptyStructure; end
6611
+
6612
+ # A reference name is required, but none was provided.
6613
+ #
6614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReferenceNameRequiredException AWS API Documentation
6615
+ #
6616
+ class ReferenceNameRequiredException < Aws::EmptyStructure; end
6617
+
6618
+ # The specified reference is not a supported type.
6619
+ #
6620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReferenceTypeNotSupportedException AWS API Documentation
6621
+ #
6622
+ class ReferenceTypeNotSupportedException < Aws::EmptyStructure; end
6623
+
5382
6624
  # Information about a replacement content entry in the conflict of a
5383
6625
  # merge or pull request operation.
5384
6626
  #
@@ -5417,9 +6659,35 @@ module Aws::CodeCommit
5417
6659
  :replacement_type,
5418
6660
  :content,
5419
6661
  :file_mode)
6662
+ SENSITIVE = []
5420
6663
  include Aws::Structure
5421
6664
  end
5422
6665
 
6666
+ # USE\_NEW\_CONTENT was specified, but no replacement content has been
6667
+ # provided.
6668
+ #
6669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReplacementContentRequiredException AWS API Documentation
6670
+ #
6671
+ class ReplacementContentRequiredException < Aws::EmptyStructure; end
6672
+
6673
+ # A replacement type is required.
6674
+ #
6675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReplacementTypeRequiredException AWS API Documentation
6676
+ #
6677
+ class ReplacementTypeRequiredException < Aws::EmptyStructure; end
6678
+
6679
+ # The specified repository does not exist.
6680
+ #
6681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryDoesNotExistException AWS API Documentation
6682
+ #
6683
+ class RepositoryDoesNotExistException < Aws::EmptyStructure; end
6684
+
6685
+ # A repository resource limit was exceeded.
6686
+ #
6687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryLimitExceededException AWS API Documentation
6688
+ #
6689
+ class RepositoryLimitExceededException < Aws::EmptyStructure; end
6690
+
5423
6691
  # Information about a repository.
5424
6692
  #
5425
6693
  # @!attribute [rw] account_id
@@ -5476,9 +6744,16 @@ module Aws::CodeCommit
5476
6744
  :clone_url_http,
5477
6745
  :clone_url_ssh,
5478
6746
  :arn)
6747
+ SENSITIVE = []
5479
6748
  include Aws::Structure
5480
6749
  end
5481
6750
 
6751
+ # The specified repository name already exists.
6752
+ #
6753
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameExistsException AWS API Documentation
6754
+ #
6755
+ class RepositoryNameExistsException < Aws::EmptyStructure; end
6756
+
5482
6757
  # Information about a repository name and ID.
5483
6758
  #
5484
6759
  # @!attribute [rw] repository_name
@@ -5494,9 +6769,31 @@ module Aws::CodeCommit
5494
6769
  class RepositoryNameIdPair < Struct.new(
5495
6770
  :repository_name,
5496
6771
  :repository_id)
6772
+ SENSITIVE = []
5497
6773
  include Aws::Structure
5498
6774
  end
5499
6775
 
6776
+ # A repository name is required, but was not specified.
6777
+ #
6778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameRequiredException AWS API Documentation
6779
+ #
6780
+ class RepositoryNameRequiredException < Aws::EmptyStructure; end
6781
+
6782
+ # At least one repository name object is required, but was not
6783
+ # specified.
6784
+ #
6785
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNamesRequiredException AWS API Documentation
6786
+ #
6787
+ class RepositoryNamesRequiredException < Aws::EmptyStructure; end
6788
+
6789
+ # The repository does not contain any pull requests with that pull
6790
+ # request ID. Use GetPullRequest to verify the correct repository name
6791
+ # for the pull request ID.
6792
+ #
6793
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNotAssociatedWithPullRequestException AWS API Documentation
6794
+ #
6795
+ class RepositoryNotAssociatedWithPullRequestException < Aws::EmptyStructure; end
6796
+
5500
6797
  # Information about a trigger for a repository.
5501
6798
  #
5502
6799
  # @note When making an API call, you may pass RepositoryTrigger
@@ -5551,9 +6848,30 @@ module Aws::CodeCommit
5551
6848
  :custom_data,
5552
6849
  :branches,
5553
6850
  :events)
6851
+ SENSITIVE = []
5554
6852
  include Aws::Structure
5555
6853
  end
5556
6854
 
6855
+ # At least one branch name is required, but was not specified in the
6856
+ # trigger configuration.
6857
+ #
6858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerBranchNameListRequiredException AWS API Documentation
6859
+ #
6860
+ class RepositoryTriggerBranchNameListRequiredException < Aws::EmptyStructure; end
6861
+
6862
+ # A destination ARN for the target service for the trigger is required,
6863
+ # but was not specified.
6864
+ #
6865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerDestinationArnRequiredException AWS API Documentation
6866
+ #
6867
+ class RepositoryTriggerDestinationArnRequiredException < Aws::EmptyStructure; end
6868
+
6869
+ # At least one event for the trigger is required, but was not specified.
6870
+ #
6871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerEventsListRequiredException AWS API Documentation
6872
+ #
6873
+ class RepositoryTriggerEventsListRequiredException < Aws::EmptyStructure; end
6874
+
5557
6875
  # A trigger failed to run.
5558
6876
  #
5559
6877
  # @!attribute [rw] trigger
@@ -5569,9 +6887,74 @@ module Aws::CodeCommit
5569
6887
  class RepositoryTriggerExecutionFailure < Struct.new(
5570
6888
  :trigger,
5571
6889
  :failure_message)
6890
+ SENSITIVE = []
5572
6891
  include Aws::Structure
5573
6892
  end
5574
6893
 
6894
+ # A name for the trigger is required, but was not specified.
6895
+ #
6896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerNameRequiredException AWS API Documentation
6897
+ #
6898
+ class RepositoryTriggerNameRequiredException < Aws::EmptyStructure; end
6899
+
6900
+ # The list of triggers for the repository is required, but was not
6901
+ # specified.
6902
+ #
6903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggersListRequiredException AWS API Documentation
6904
+ #
6905
+ class RepositoryTriggersListRequiredException < Aws::EmptyStructure; end
6906
+
6907
+ # A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is
6908
+ # required. For a list of valid resources in AWS CodeCommit, see
6909
+ # [CodeCommit Resources and Operations][1] in the AWS CodeCommit User
6910
+ # Guide.
6911
+ #
6912
+ #
6913
+ #
6914
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats
6915
+ #
6916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ResourceArnRequiredException AWS API Documentation
6917
+ #
6918
+ class ResourceArnRequiredException < Aws::EmptyStructure; end
6919
+
6920
+ # The commit cannot be created because one of the changes specifies
6921
+ # copying or moving a .gitkeep file.
6922
+ #
6923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RestrictedSourceFileException AWS API Documentation
6924
+ #
6925
+ class RestrictedSourceFileException < Aws::EmptyStructure; end
6926
+
6927
+ # A revision ID is required, but was not provided.
6928
+ #
6929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RevisionIdRequiredException AWS API Documentation
6930
+ #
6931
+ class RevisionIdRequiredException < Aws::EmptyStructure; end
6932
+
6933
+ # The revision ID provided in the request does not match the current
6934
+ # revision ID. Use GetPullRequest to retrieve the current revision ID.
6935
+ #
6936
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RevisionNotCurrentException AWS API Documentation
6937
+ #
6938
+ class RevisionNotCurrentException < Aws::EmptyStructure; end
6939
+
6940
+ # The file was not added or updated because the content of the file is
6941
+ # exactly the same as the content of that file in the repository and
6942
+ # branch that you specified.
6943
+ #
6944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SameFileContentException AWS API Documentation
6945
+ #
6946
+ class SameFileContentException < Aws::EmptyStructure; end
6947
+
6948
+ # The commit cannot be created because one or more changes in this
6949
+ # commit duplicate actions in the same file path. For example, you
6950
+ # cannot make the same delete request to the same file in the same file
6951
+ # path twice, or make a delete request and a move request to the same
6952
+ # file as part of the same commit.
6953
+ #
6954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SamePathRequestException AWS API Documentation
6955
+ #
6956
+ class SamePathRequestException < Aws::EmptyStructure; end
6957
+
5575
6958
  # Information about the file mode changes.
5576
6959
  #
5577
6960
  # @note When making an API call, you may pass SetFileModeEntry
@@ -5595,9 +6978,25 @@ module Aws::CodeCommit
5595
6978
  class SetFileModeEntry < Struct.new(
5596
6979
  :file_path,
5597
6980
  :file_mode)
6981
+ SENSITIVE = []
5598
6982
  include Aws::Structure
5599
6983
  end
5600
6984
 
6985
+ # The source branch and destination branch for the pull request are the
6986
+ # same. You must specify different branches for the source and
6987
+ # destination.
6988
+ #
6989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SourceAndDestinationAreSameException AWS API Documentation
6990
+ #
6991
+ class SourceAndDestinationAreSameException < Aws::EmptyStructure; end
6992
+
6993
+ # The commit cannot be created because no source files or file content
6994
+ # have been specified for the commit.
6995
+ #
6996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SourceFileOrContentRequiredException AWS API Documentation
6997
+ #
6998
+ class SourceFileOrContentRequiredException < Aws::EmptyStructure; end
6999
+
5601
7000
  # Information about a source file that is part of changes made in a
5602
7001
  # commit.
5603
7002
  #
@@ -5622,6 +7021,7 @@ module Aws::CodeCommit
5622
7021
  class SourceFileSpecifier < Struct.new(
5623
7022
  :file_path,
5624
7023
  :is_move)
7024
+ SENSITIVE = []
5625
7025
  include Aws::Structure
5626
7026
  end
5627
7027
 
@@ -5648,6 +7048,7 @@ module Aws::CodeCommit
5648
7048
  :commit_id,
5649
7049
  :absolute_path,
5650
7050
  :relative_path)
7051
+ SENSITIVE = []
5651
7052
  include Aws::Structure
5652
7053
  end
5653
7054
 
@@ -5679,9 +7080,22 @@ module Aws::CodeCommit
5679
7080
  :absolute_path,
5680
7081
  :relative_path,
5681
7082
  :file_mode)
7083
+ SENSITIVE = []
5682
7084
  include Aws::Structure
5683
7085
  end
5684
7086
 
7087
+ # A list of tag keys is required. The list cannot be empty or null.
7088
+ #
7089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagKeysListRequiredException AWS API Documentation
7090
+ #
7091
+ class TagKeysListRequiredException < Aws::EmptyStructure; end
7092
+
7093
+ # The tag policy is not valid.
7094
+ #
7095
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagPolicyException AWS API Documentation
7096
+ #
7097
+ class TagPolicyException < Aws::EmptyStructure; end
7098
+
5685
7099
  # @note When making an API call, you may pass TagResourceInput
5686
7100
  # data as a hash:
5687
7101
  #
@@ -5706,9 +7120,16 @@ module Aws::CodeCommit
5706
7120
  class TagResourceInput < Struct.new(
5707
7121
  :resource_arn,
5708
7122
  :tags)
7123
+ SENSITIVE = []
5709
7124
  include Aws::Structure
5710
7125
  end
5711
7126
 
7127
+ # A map of tags is required.
7128
+ #
7129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagsMapRequiredException AWS API Documentation
7130
+ #
7131
+ class TagsMapRequiredException < Aws::EmptyStructure; end
7132
+
5712
7133
  # Returns information about a target for a pull request.
5713
7134
  #
5714
7135
  # @note When making an API call, you may pass Target
@@ -5740,9 +7161,24 @@ module Aws::CodeCommit
5740
7161
  :repository_name,
5741
7162
  :source_reference,
5742
7163
  :destination_reference)
7164
+ SENSITIVE = []
5743
7165
  include Aws::Structure
5744
7166
  end
5745
7167
 
7168
+ # A pull request target is required. It cannot be empty or null. A pull
7169
+ # request target must contain the full values for the repository name,
7170
+ # source branch, and destination branch for the pull request.
7171
+ #
7172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TargetRequiredException AWS API Documentation
7173
+ #
7174
+ class TargetRequiredException < Aws::EmptyStructure; end
7175
+
7176
+ # An array of target objects is required. It cannot be empty or null.
7177
+ #
7178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TargetsRequiredException AWS API Documentation
7179
+ #
7180
+ class TargetsRequiredException < Aws::EmptyStructure; end
7181
+
5746
7182
  # Represents the input of a test repository triggers operation.
5747
7183
  #
5748
7184
  # @note When making an API call, you may pass TestRepositoryTriggersInput
@@ -5774,6 +7210,7 @@ module Aws::CodeCommit
5774
7210
  class TestRepositoryTriggersInput < Struct.new(
5775
7211
  :repository_name,
5776
7212
  :triggers)
7213
+ SENSITIVE = []
5777
7214
  include Aws::Structure
5778
7215
  end
5779
7216
 
@@ -5795,9 +7232,40 @@ module Aws::CodeCommit
5795
7232
  class TestRepositoryTriggersOutput < Struct.new(
5796
7233
  :successful_executions,
5797
7234
  :failed_executions)
7235
+ SENSITIVE = []
5798
7236
  include Aws::Structure
5799
7237
  end
5800
7238
 
7239
+ # The tip of the source branch in the destination repository does not
7240
+ # match the tip of the source branch specified in your request. The pull
7241
+ # request might have been updated. Make sure that you have the latest
7242
+ # changes.
7243
+ #
7244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TipOfSourceReferenceIsDifferentException AWS API Documentation
7245
+ #
7246
+ class TipOfSourceReferenceIsDifferentException < Aws::EmptyStructure; end
7247
+
7248
+ # The divergence between the tips of the provided commit specifiers is
7249
+ # too great to determine whether there might be any merge conflicts.
7250
+ # Locally compare the specifiers using `git diff` or a diff tool.
7251
+ #
7252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TipsDivergenceExceededException AWS API Documentation
7253
+ #
7254
+ class TipsDivergenceExceededException < Aws::EmptyStructure; end
7255
+
7256
+ # A pull request title is required. It cannot be empty or null.
7257
+ #
7258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TitleRequiredException AWS API Documentation
7259
+ #
7260
+ class TitleRequiredException < Aws::EmptyStructure; end
7261
+
7262
+ # The maximum number of tags for an AWS CodeCommit resource has been
7263
+ # exceeded.
7264
+ #
7265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TooManyTagsException AWS API Documentation
7266
+ #
7267
+ class TooManyTagsException < Aws::EmptyStructure; end
7268
+
5801
7269
  # @note When making an API call, you may pass UntagResourceInput
5802
7270
  # data as a hash:
5803
7271
  #
@@ -5820,6 +7288,7 @@ module Aws::CodeCommit
5820
7288
  class UntagResourceInput < Struct.new(
5821
7289
  :resource_arn,
5822
7290
  :tag_keys)
7291
+ SENSITIVE = []
5823
7292
  include Aws::Structure
5824
7293
  end
5825
7294
 
@@ -5853,6 +7322,7 @@ module Aws::CodeCommit
5853
7322
  :approval_rule_template_name,
5854
7323
  :new_rule_content,
5855
7324
  :existing_rule_content_sha_256)
7325
+ SENSITIVE = []
5856
7326
  include Aws::Structure
5857
7327
  end
5858
7328
 
@@ -5864,6 +7334,7 @@ module Aws::CodeCommit
5864
7334
  #
5865
7335
  class UpdateApprovalRuleTemplateContentOutput < Struct.new(
5866
7336
  :approval_rule_template)
7337
+ SENSITIVE = []
5867
7338
  include Aws::Structure
5868
7339
  end
5869
7340
 
@@ -5889,6 +7360,7 @@ module Aws::CodeCommit
5889
7360
  class UpdateApprovalRuleTemplateDescriptionInput < Struct.new(
5890
7361
  :approval_rule_template_name,
5891
7362
  :approval_rule_template_description)
7363
+ SENSITIVE = []
5892
7364
  include Aws::Structure
5893
7365
  end
5894
7366
 
@@ -5900,6 +7372,7 @@ module Aws::CodeCommit
5900
7372
  #
5901
7373
  class UpdateApprovalRuleTemplateDescriptionOutput < Struct.new(
5902
7374
  :approval_rule_template)
7375
+ SENSITIVE = []
5903
7376
  include Aws::Structure
5904
7377
  end
5905
7378
 
@@ -5924,6 +7397,7 @@ module Aws::CodeCommit
5924
7397
  class UpdateApprovalRuleTemplateNameInput < Struct.new(
5925
7398
  :old_approval_rule_template_name,
5926
7399
  :new_approval_rule_template_name)
7400
+ SENSITIVE = []
5927
7401
  include Aws::Structure
5928
7402
  end
5929
7403
 
@@ -5935,6 +7409,7 @@ module Aws::CodeCommit
5935
7409
  #
5936
7410
  class UpdateApprovalRuleTemplateNameOutput < Struct.new(
5937
7411
  :approval_rule_template)
7412
+ SENSITIVE = []
5938
7413
  include Aws::Structure
5939
7414
  end
5940
7415
 
@@ -5961,6 +7436,7 @@ module Aws::CodeCommit
5961
7436
  class UpdateCommentInput < Struct.new(
5962
7437
  :comment_id,
5963
7438
  :content)
7439
+ SENSITIVE = []
5964
7440
  include Aws::Structure
5965
7441
  end
5966
7442
 
@@ -5972,6 +7448,7 @@ module Aws::CodeCommit
5972
7448
  #
5973
7449
  class UpdateCommentOutput < Struct.new(
5974
7450
  :comment)
7451
+ SENSITIVE = []
5975
7452
  include Aws::Structure
5976
7453
  end
5977
7454
 
@@ -5998,6 +7475,7 @@ module Aws::CodeCommit
5998
7475
  class UpdateDefaultBranchInput < Struct.new(
5999
7476
  :repository_name,
6000
7477
  :default_branch_name)
7478
+ SENSITIVE = []
6001
7479
  include Aws::Structure
6002
7480
  end
6003
7481
 
@@ -6071,6 +7549,7 @@ module Aws::CodeCommit
6071
7549
  :approval_rule_name,
6072
7550
  :existing_rule_content_sha_256,
6073
7551
  :new_rule_content)
7552
+ SENSITIVE = []
6074
7553
  include Aws::Structure
6075
7554
  end
6076
7555
 
@@ -6082,6 +7561,7 @@ module Aws::CodeCommit
6082
7561
  #
6083
7562
  class UpdatePullRequestApprovalRuleContentOutput < Struct.new(
6084
7563
  :approval_rule)
7564
+ SENSITIVE = []
6085
7565
  include Aws::Structure
6086
7566
  end
6087
7567
 
@@ -6112,6 +7592,7 @@ module Aws::CodeCommit
6112
7592
  :pull_request_id,
6113
7593
  :revision_id,
6114
7594
  :approval_state)
7595
+ SENSITIVE = []
6115
7596
  include Aws::Structure
6116
7597
  end
6117
7598
 
@@ -6138,6 +7619,7 @@ module Aws::CodeCommit
6138
7619
  class UpdatePullRequestDescriptionInput < Struct.new(
6139
7620
  :pull_request_id,
6140
7621
  :description)
7622
+ SENSITIVE = []
6141
7623
  include Aws::Structure
6142
7624
  end
6143
7625
 
@@ -6149,6 +7631,7 @@ module Aws::CodeCommit
6149
7631
  #
6150
7632
  class UpdatePullRequestDescriptionOutput < Struct.new(
6151
7633
  :pull_request)
7634
+ SENSITIVE = []
6152
7635
  include Aws::Structure
6153
7636
  end
6154
7637
 
@@ -6176,6 +7659,7 @@ module Aws::CodeCommit
6176
7659
  class UpdatePullRequestStatusInput < Struct.new(
6177
7660
  :pull_request_id,
6178
7661
  :pull_request_status)
7662
+ SENSITIVE = []
6179
7663
  include Aws::Structure
6180
7664
  end
6181
7665
 
@@ -6187,6 +7671,7 @@ module Aws::CodeCommit
6187
7671
  #
6188
7672
  class UpdatePullRequestStatusOutput < Struct.new(
6189
7673
  :pull_request)
7674
+ SENSITIVE = []
6190
7675
  include Aws::Structure
6191
7676
  end
6192
7677
 
@@ -6213,6 +7698,7 @@ module Aws::CodeCommit
6213
7698
  class UpdatePullRequestTitleInput < Struct.new(
6214
7699
  :pull_request_id,
6215
7700
  :title)
7701
+ SENSITIVE = []
6216
7702
  include Aws::Structure
6217
7703
  end
6218
7704
 
@@ -6224,6 +7710,7 @@ module Aws::CodeCommit
6224
7710
  #
6225
7711
  class UpdatePullRequestTitleOutput < Struct.new(
6226
7712
  :pull_request)
7713
+ SENSITIVE = []
6227
7714
  include Aws::Structure
6228
7715
  end
6229
7716
 
@@ -6252,6 +7739,7 @@ module Aws::CodeCommit
6252
7739
  class UpdateRepositoryDescriptionInput < Struct.new(
6253
7740
  :repository_name,
6254
7741
  :repository_description)
7742
+ SENSITIVE = []
6255
7743
  include Aws::Structure
6256
7744
  end
6257
7745
 
@@ -6278,6 +7766,7 @@ module Aws::CodeCommit
6278
7766
  class UpdateRepositoryNameInput < Struct.new(
6279
7767
  :old_name,
6280
7768
  :new_name)
7769
+ SENSITIVE = []
6281
7770
  include Aws::Structure
6282
7771
  end
6283
7772
 
@@ -6303,6 +7792,7 @@ module Aws::CodeCommit
6303
7792
  :name,
6304
7793
  :email,
6305
7794
  :date)
7795
+ SENSITIVE = []
6306
7796
  include Aws::Structure
6307
7797
  end
6308
7798