aws-sdk-codecommit 1.30.0 → 1.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,13 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::CodeCommit
9
+ # This class provides a resource oriented interface for CodeCommit.
10
+ # To create a resource object:
11
+ # resource = Aws::CodeCommit::Resource.new(region: 'us-west-2')
12
+ # You can supply a client object with custom configuration that will be used for all resource operations.
13
+ # If you do not pass +:client+, a default client will be constructed.
14
+ # client = Aws::CodeCommit::Client.new(region: 'us-west-2')
15
+ # resource = Aws::CodeCommit::Resource.new(client: client)
9
16
  class Resource
10
17
 
11
18
  # @param options ({})
@@ -8,6 +8,13 @@
8
8
  module Aws::CodeCommit
9
9
  module Types
10
10
 
11
+ # The specified Amazon Resource Name (ARN) does not exist in the AWS
12
+ # account.
13
+ #
14
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ActorDoesNotExistException AWS API Documentation
15
+ #
16
+ class ActorDoesNotExistException < Aws::EmptyStructure; end
17
+
11
18
  # Returns information about a specific approval on a pull request.
12
19
  #
13
20
  # @!attribute [rw] user_arn
@@ -77,6 +84,19 @@ module Aws::CodeCommit
77
84
  include Aws::Structure
78
85
  end
79
86
 
87
+ # The content for the approval rule is empty. You must provide some
88
+ # content for an approval rule. The content cannot be null.
89
+ #
90
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleContentRequiredException AWS API Documentation
91
+ #
92
+ class ApprovalRuleContentRequiredException < Aws::EmptyStructure; end
93
+
94
+ # The specified approval rule does not exist.
95
+ #
96
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleDoesNotExistException AWS API Documentation
97
+ #
98
+ class ApprovalRuleDoesNotExistException < Aws::EmptyStructure; end
99
+
80
100
  # Returns information about an event for an approval rule.
81
101
  #
82
102
  # @!attribute [rw] approval_rule_name
@@ -100,6 +120,19 @@ module Aws::CodeCommit
100
120
  include Aws::Structure
101
121
  end
102
122
 
123
+ # An approval rule with that name already exists. Approval rule names
124
+ # must be unique within the scope of a pull request.
125
+ #
126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleNameAlreadyExistsException AWS API Documentation
127
+ #
128
+ class ApprovalRuleNameAlreadyExistsException < Aws::EmptyStructure; end
129
+
130
+ # An approval rule name is required, but was not specified.
131
+ #
132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleNameRequiredException AWS API Documentation
133
+ #
134
+ class ApprovalRuleNameRequiredException < Aws::EmptyStructure; end
135
+
103
136
  # Returns information about an override event for approval rules for a
104
137
  # pull request.
105
138
  #
@@ -172,6 +205,44 @@ module Aws::CodeCommit
172
205
  include Aws::Structure
173
206
  end
174
207
 
208
+ # The content for the approval rule template is empty. You must provide
209
+ # some content for an approval rule template. The content cannot be
210
+ # null.
211
+ #
212
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateContentRequiredException AWS API Documentation
213
+ #
214
+ class ApprovalRuleTemplateContentRequiredException < Aws::EmptyStructure; end
215
+
216
+ # The specified approval rule template does not exist. Verify that the
217
+ # name is correct and that you are signed in to the AWS Region where the
218
+ # template was created, and then try again.
219
+ #
220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateDoesNotExistException AWS API Documentation
221
+ #
222
+ class ApprovalRuleTemplateDoesNotExistException < Aws::EmptyStructure; end
223
+
224
+ # The approval rule template is associated with one or more
225
+ # repositories. You cannot delete a template that is associated with a
226
+ # repository. Remove all associations, and then try again.
227
+ #
228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateInUseException AWS API Documentation
229
+ #
230
+ class ApprovalRuleTemplateInUseException < Aws::EmptyStructure; end
231
+
232
+ # You cannot create an approval rule template with that name because a
233
+ # template with that name already exists in this AWS Region for your AWS
234
+ # account. Approval rule template names must be unique.
235
+ #
236
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateNameAlreadyExistsException AWS API Documentation
237
+ #
238
+ class ApprovalRuleTemplateNameAlreadyExistsException < Aws::EmptyStructure; end
239
+
240
+ # An approval rule template name is required, but was not specified.
241
+ #
242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalRuleTemplateNameRequiredException AWS API Documentation
243
+ #
244
+ class ApprovalRuleTemplateNameRequiredException < Aws::EmptyStructure; end
245
+
175
246
  # Returns information about a change in the approval state for a pull
176
247
  # request.
177
248
  #
@@ -191,6 +262,12 @@ module Aws::CodeCommit
191
262
  include Aws::Structure
192
263
  end
193
264
 
265
+ # An approval state is required, but was not specified.
266
+ #
267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ApprovalStateRequiredException AWS API Documentation
268
+ #
269
+ class ApprovalStateRequiredException < Aws::EmptyStructure; end
270
+
194
271
  # @note When making an API call, you may pass AssociateApprovalRuleTemplateWithRepositoryInput
195
272
  # data as a hash:
196
273
  #
@@ -216,6 +293,13 @@ module Aws::CodeCommit
216
293
  include Aws::Structure
217
294
  end
218
295
 
296
+ # The specified Amazon Resource Name (ARN) does not exist in the AWS
297
+ # account.
298
+ #
299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/AuthorDoesNotExistException AWS API Documentation
300
+ #
301
+ class AuthorDoesNotExistException < Aws::EmptyStructure; end
302
+
219
303
  # Returns information about errors in a
220
304
  # BatchAssociateApprovalRuleTemplateWithRepositories operation.
221
305
  #
@@ -636,6 +720,26 @@ module Aws::CodeCommit
636
720
  include Aws::Structure
637
721
  end
638
722
 
723
+ # The before commit ID and the after commit ID are the same, which is
724
+ # not valid. The before commit ID and the after commit ID must be
725
+ # different commit IDs.
726
+ #
727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BeforeCommitIdAndAfterCommitIdAreSameException AWS API Documentation
728
+ #
729
+ class BeforeCommitIdAndAfterCommitIdAreSameException < Aws::EmptyStructure; end
730
+
731
+ # The specified blob does not exist.
732
+ #
733
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BlobIdDoesNotExistException AWS API Documentation
734
+ #
735
+ class BlobIdDoesNotExistException < Aws::EmptyStructure; end
736
+
737
+ # A blob ID is required, but was not specified.
738
+ #
739
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BlobIdRequiredException AWS API Documentation
740
+ #
741
+ class BlobIdRequiredException < Aws::EmptyStructure; end
742
+
639
743
  # Returns information about a specific Git blob object.
640
744
  #
641
745
  # @!attribute [rw] blob_id
@@ -668,6 +772,12 @@ module Aws::CodeCommit
668
772
  include Aws::Structure
669
773
  end
670
774
 
775
+ # The specified branch does not exist.
776
+ #
777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchDoesNotExistException AWS API Documentation
778
+ #
779
+ class BranchDoesNotExistException < Aws::EmptyStructure; end
780
+
671
781
  # Returns information about a branch.
672
782
  #
673
783
  # @!attribute [rw] branch_name
@@ -686,6 +796,53 @@ module Aws::CodeCommit
686
796
  include Aws::Structure
687
797
  end
688
798
 
799
+ # The specified branch name already exists.
800
+ #
801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchNameExistsException AWS API Documentation
802
+ #
803
+ class BranchNameExistsException < Aws::EmptyStructure; end
804
+
805
+ # The specified branch name is not valid because it is a tag name. Enter
806
+ # the name of a branch in the repository. For a list of valid branch
807
+ # names, use ListBranches.
808
+ #
809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchNameIsTagNameException AWS API Documentation
810
+ #
811
+ class BranchNameIsTagNameException < Aws::EmptyStructure; end
812
+
813
+ # A branch name is required, but was not specified.
814
+ #
815
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchNameRequiredException AWS API Documentation
816
+ #
817
+ class BranchNameRequiredException < Aws::EmptyStructure; end
818
+
819
+ # The approval rule cannot be deleted from the pull request because it
820
+ # was created by an approval rule template and applied to the pull
821
+ # request automatically.
822
+ #
823
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CannotDeleteApprovalRuleFromTemplateException AWS API Documentation
824
+ #
825
+ class CannotDeleteApprovalRuleFromTemplateException < Aws::EmptyStructure; end
826
+
827
+ # The approval rule cannot be modified for the pull request because it
828
+ # was created by an approval rule template and applied to the pull
829
+ # request automatically.
830
+ #
831
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CannotModifyApprovalRuleFromTemplateException AWS API Documentation
832
+ #
833
+ class CannotModifyApprovalRuleFromTemplateException < Aws::EmptyStructure; end
834
+
835
+ # A client request token is required. A client request token is an
836
+ # unique, client-generated idempotency token that, when provided in a
837
+ # request, ensures the request cannot be repeated with a changed
838
+ # parameter. If a request is received with the same parameters and a
839
+ # token is included, the request returns information about the initial
840
+ # request that used that token.
841
+ #
842
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ClientRequestTokenRequiredException AWS API Documentation
843
+ #
844
+ class ClientRequestTokenRequiredException < Aws::EmptyStructure; end
845
+
689
846
  # Returns information about a specific comment.
690
847
  #
691
848
  # @!attribute [rw] comment_id
@@ -739,6 +896,46 @@ module Aws::CodeCommit
739
896
  include Aws::Structure
740
897
  end
741
898
 
899
+ # The comment is empty. You must provide some content for a comment. The
900
+ # content cannot be null.
901
+ #
902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentContentRequiredException AWS API Documentation
903
+ #
904
+ class CommentContentRequiredException < Aws::EmptyStructure; end
905
+
906
+ # The comment is too large. Comments are limited to 1,000 characters.
907
+ #
908
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentContentSizeLimitExceededException AWS API Documentation
909
+ #
910
+ class CommentContentSizeLimitExceededException < Aws::EmptyStructure; end
911
+
912
+ # This comment has already been deleted. You cannot edit or delete a
913
+ # deleted comment.
914
+ #
915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentDeletedException AWS API Documentation
916
+ #
917
+ class CommentDeletedException < Aws::EmptyStructure; end
918
+
919
+ # No comment exists with the provided ID. Verify that you have used the
920
+ # correct ID, and then try again.
921
+ #
922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentDoesNotExistException AWS API Documentation
923
+ #
924
+ class CommentDoesNotExistException < Aws::EmptyStructure; end
925
+
926
+ # The comment ID is missing or null. A comment ID is required.
927
+ #
928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentIdRequiredException AWS API Documentation
929
+ #
930
+ class CommentIdRequiredException < Aws::EmptyStructure; end
931
+
932
+ # You cannot modify or delete this comment. Only comment authors can
933
+ # modify or delete their comments.
934
+ #
935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentNotCreatedByCallerException AWS API Documentation
936
+ #
937
+ class CommentNotCreatedByCallerException < Aws::EmptyStructure; end
938
+
742
939
  # Returns information about comments on the comparison between two
743
940
  # commits.
744
941
  #
@@ -906,6 +1103,60 @@ module Aws::CodeCommit
906
1103
  include Aws::Structure
907
1104
  end
908
1105
 
1106
+ # The specified commit does not exist or no commit was specified, and
1107
+ # the specified repository has no default branch.
1108
+ #
1109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitDoesNotExistException AWS API Documentation
1110
+ #
1111
+ class CommitDoesNotExistException < Aws::EmptyStructure; end
1112
+
1113
+ # The specified commit ID does not exist.
1114
+ #
1115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdDoesNotExistException AWS API Documentation
1116
+ #
1117
+ class CommitIdDoesNotExistException < Aws::EmptyStructure; end
1118
+
1119
+ # A commit ID was not specified.
1120
+ #
1121
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdRequiredException AWS API Documentation
1122
+ #
1123
+ class CommitIdRequiredException < Aws::EmptyStructure; end
1124
+
1125
+ # The maximum number of allowed commit IDs in a batch request is 100.
1126
+ # Verify that your batch requests contains no more than 100 commit IDs,
1127
+ # and then try again.
1128
+ #
1129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdsLimitExceededException AWS API Documentation
1130
+ #
1131
+ class CommitIdsLimitExceededException < Aws::EmptyStructure; end
1132
+
1133
+ # A list of commit IDs is required, but was either not specified or the
1134
+ # list was empty.
1135
+ #
1136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitIdsListRequiredException AWS API Documentation
1137
+ #
1138
+ class CommitIdsListRequiredException < Aws::EmptyStructure; end
1139
+
1140
+ # The commit message is too long. Provide a shorter string.
1141
+ #
1142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitMessageLengthExceededException AWS API Documentation
1143
+ #
1144
+ class CommitMessageLengthExceededException < Aws::EmptyStructure; end
1145
+
1146
+ # A commit was not specified.
1147
+ #
1148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommitRequiredException AWS API Documentation
1149
+ #
1150
+ class CommitRequiredException < Aws::EmptyStructure; end
1151
+
1152
+ # The merge cannot be completed because the target branch has been
1153
+ # modified. Another user might have modified the target branch while the
1154
+ # merge was in progress. Wait a few minutes, and then try again.
1155
+ #
1156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ConcurrentReferenceUpdateException AWS API Documentation
1157
+ #
1158
+ class ConcurrentReferenceUpdateException < Aws::EmptyStructure; end
1159
+
909
1160
  # Information about conflicts in a merge operation.
910
1161
  #
911
1162
  # @!attribute [rw] conflict_metadata
@@ -1641,6 +1892,14 @@ module Aws::CodeCommit
1641
1892
  include Aws::Structure
1642
1893
  end
1643
1894
 
1895
+ # The specified branch is the default branch for the repository, and
1896
+ # cannot be deleted. To delete this branch, you must first set another
1897
+ # branch as the default branch.
1898
+ #
1899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DefaultBranchCannotBeDeletedException AWS API Documentation
1900
+ #
1901
+ class DefaultBranchCannotBeDeletedException < Aws::EmptyStructure; end
1902
+
1644
1903
  # @note When making an API call, you may pass DeleteApprovalRuleTemplateInput
1645
1904
  # data as a hash:
1646
1905
  #
@@ -2152,6 +2411,15 @@ module Aws::CodeCommit
2152
2411
  include Aws::Structure
2153
2412
  end
2154
2413
 
2414
+ # A file cannot be added to the repository because the specified path
2415
+ # name has the same name as a file that already exists in this
2416
+ # repository. Either provide a different name for the file, or specify a
2417
+ # different path for the file.
2418
+ #
2419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DirectoryNameConflictsWithFileNameException AWS API Documentation
2420
+ #
2421
+ class DirectoryNameConflictsWithFileNameException < Aws::EmptyStructure; end
2422
+
2155
2423
  # @note When making an API call, you may pass DisassociateApprovalRuleTemplateFromRepositoryInput
2156
2424
  # data as a hash:
2157
2425
  #
@@ -2178,6 +2446,36 @@ module Aws::CodeCommit
2178
2446
  include Aws::Structure
2179
2447
  end
2180
2448
 
2449
+ # An encryption integrity check failed.
2450
+ #
2451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionIntegrityChecksFailedException AWS API Documentation
2452
+ #
2453
+ class EncryptionIntegrityChecksFailedException < Aws::EmptyStructure; end
2454
+
2455
+ # An encryption key could not be accessed.
2456
+ #
2457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyAccessDeniedException AWS API Documentation
2458
+ #
2459
+ class EncryptionKeyAccessDeniedException < Aws::EmptyStructure; end
2460
+
2461
+ # The encryption key is disabled.
2462
+ #
2463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyDisabledException AWS API Documentation
2464
+ #
2465
+ class EncryptionKeyDisabledException < Aws::EmptyStructure; end
2466
+
2467
+ # No encryption key was found.
2468
+ #
2469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyNotFoundException AWS API Documentation
2470
+ #
2471
+ class EncryptionKeyNotFoundException < Aws::EmptyStructure; end
2472
+
2473
+ # The encryption key is not available.
2474
+ #
2475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EncryptionKeyUnavailableException AWS API Documentation
2476
+ #
2477
+ class EncryptionKeyUnavailableException < Aws::EmptyStructure; end
2478
+
2181
2479
  # @note When making an API call, you may pass EvaluatePullRequestApprovalRulesInput
2182
2480
  # data as a hash:
2183
2481
  #
@@ -2279,6 +2577,44 @@ module Aws::CodeCommit
2279
2577
  include Aws::Structure
2280
2578
  end
2281
2579
 
2580
+ # The commit cannot be created because both a source file and file
2581
+ # content have been specified for the same file. You cannot provide
2582
+ # both. Either specify a source file or provide the file content
2583
+ # directly.
2584
+ #
2585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileContentAndSourceFileSpecifiedException AWS API Documentation
2586
+ #
2587
+ class FileContentAndSourceFileSpecifiedException < Aws::EmptyStructure; end
2588
+
2589
+ # The file cannot be added because it is empty. Empty files cannot be
2590
+ # added to the repository with this API.
2591
+ #
2592
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileContentRequiredException AWS API Documentation
2593
+ #
2594
+ class FileContentRequiredException < Aws::EmptyStructure; end
2595
+
2596
+ # The file cannot be added because it is too large. The maximum file
2597
+ # size is 6 MB, and the combined file content change size is 7 MB.
2598
+ # Consider making these changes using a Git client.
2599
+ #
2600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileContentSizeLimitExceededException AWS API Documentation
2601
+ #
2602
+ class FileContentSizeLimitExceededException < Aws::EmptyStructure; end
2603
+
2604
+ # The specified file does not exist. Verify that you have used the
2605
+ # correct file name, full path, and extension.
2606
+ #
2607
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileDoesNotExistException AWS API Documentation
2608
+ #
2609
+ class FileDoesNotExistException < Aws::EmptyStructure; end
2610
+
2611
+ # The commit cannot be created because no files have been specified as
2612
+ # added, updated, or changed (PutFile or DeleteFile) for the commit.
2613
+ #
2614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileEntryRequiredException AWS API Documentation
2615
+ #
2616
+ class FileEntryRequiredException < Aws::EmptyStructure; end
2617
+
2282
2618
  # A file to be added, updated, or deleted as part of a commit.
2283
2619
  #
2284
2620
  # @!attribute [rw] absolute_path
@@ -2304,6 +2640,13 @@ module Aws::CodeCommit
2304
2640
  include Aws::Structure
2305
2641
  end
2306
2642
 
2643
+ # The commit cannot be created because no file mode has been specified.
2644
+ # A file mode is required to update mode permissions for a file.
2645
+ #
2646
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileModeRequiredException AWS API Documentation
2647
+ #
2648
+ class FileModeRequiredException < Aws::EmptyStructure; end
2649
+
2307
2650
  # Information about file modes in a merge or pull request.
2308
2651
  #
2309
2652
  # @!attribute [rw] source
@@ -2328,6 +2671,23 @@ module Aws::CodeCommit
2328
2671
  include Aws::Structure
2329
2672
  end
2330
2673
 
2674
+ # A file cannot be added to the repository because the specified file
2675
+ # name has the same name as a directory in this repository. Either
2676
+ # provide another name for the file, or add the file in a directory that
2677
+ # does not match the file name.
2678
+ #
2679
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileNameConflictsWithDirectoryNameException AWS API Documentation
2680
+ #
2681
+ class FileNameConflictsWithDirectoryNameException < Aws::EmptyStructure; end
2682
+
2683
+ # The commit cannot be created because a specified file path points to a
2684
+ # submodule. Verify that the destination files have valid file paths
2685
+ # that do not point to a submodule.
2686
+ #
2687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FilePathConflictsWithSubmodulePathException AWS API Documentation
2688
+ #
2689
+ class FilePathConflictsWithSubmodulePathException < Aws::EmptyStructure; end
2690
+
2331
2691
  # Information about the size of files in a merge or pull request.
2332
2692
  #
2333
2693
  # @!attribute [rw] source
@@ -2351,6 +2711,18 @@ module Aws::CodeCommit
2351
2711
  include Aws::Structure
2352
2712
  end
2353
2713
 
2714
+ # The specified file exceeds the file size limit for AWS CodeCommit. For
2715
+ # more information about limits in AWS CodeCommit, see [AWS CodeCommit
2716
+ # User Guide][1].
2717
+ #
2718
+ #
2719
+ #
2720
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
2721
+ #
2722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FileTooLargeException AWS API Documentation
2723
+ #
2724
+ class FileTooLargeException < Aws::EmptyStructure; end
2725
+
2354
2726
  # Returns information about a folder in a repository.
2355
2727
  #
2356
2728
  # @!attribute [rw] tree_id
@@ -2376,6 +2748,22 @@ module Aws::CodeCommit
2376
2748
  include Aws::Structure
2377
2749
  end
2378
2750
 
2751
+ # The commit cannot be created because at least one of the overall
2752
+ # changes in the commit results in a folder whose contents exceed the
2753
+ # limit of 6 MB. Either reduce the number and size of your changes, or
2754
+ # split the changes across multiple folders.
2755
+ #
2756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FolderContentSizeLimitExceededException AWS API Documentation
2757
+ #
2758
+ class FolderContentSizeLimitExceededException < Aws::EmptyStructure; end
2759
+
2760
+ # The specified folder does not exist. Either the folder name is not
2761
+ # correct, or you did not enter the full path to the folder.
2762
+ #
2763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/FolderDoesNotExistException AWS API Documentation
2764
+ #
2765
+ class FolderDoesNotExistException < Aws::EmptyStructure; end
2766
+
2379
2767
  # @note When making an API call, you may pass GetApprovalRuleTemplateInput
2380
2768
  # data as a hash:
2381
2769
  #
@@ -3392,111 +3780,559 @@ module Aws::CodeCommit
3392
3780
  include Aws::Structure
3393
3781
  end
3394
3782
 
3395
- # Information about whether a file is binary or textual in a merge or
3396
- # pull request operation.
3397
- #
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]
3783
+ # The client request token is not valid. Either the token is not in a
3784
+ # valid format, or the token has been used in a previous request and
3785
+ # cannot be reused.
3402
3786
  #
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]
3787
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/IdempotencyParameterMismatchException AWS API Documentation
3407
3788
  #
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]
3789
+ class IdempotencyParameterMismatchException < Aws::EmptyStructure; end
3790
+
3791
+ # The Amazon Resource Name (ARN) is not valid. Make sure that you have
3792
+ # provided the full ARN for the user who initiated the change for the
3793
+ # pull request, and then try again.
3412
3794
  #
3413
- # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/IsBinaryFile AWS API Documentation
3795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidActorArnException AWS API Documentation
3414
3796
  #
3415
- class IsBinaryFile < Struct.new(
3416
- :source,
3417
- :destination,
3418
- :base)
3419
- include Aws::Structure
3420
- end
3797
+ class InvalidActorArnException < Aws::EmptyStructure; end
3421
3798
 
3422
- # @note When making an API call, you may pass ListApprovalRuleTemplatesInput
3423
- # data as a hash:
3799
+ # The content for the approval rule is not valid.
3424
3800
  #
3425
- # {
3426
- # next_token: "NextToken",
3427
- # max_results: 1,
3428
- # }
3801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleContentException AWS API Documentation
3429
3802
  #
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]
3803
+ class InvalidApprovalRuleContentException < Aws::EmptyStructure; end
3804
+
3805
+ # The name for the approval rule is not valid.
3434
3806
  #
3435
- # @!attribute [rw] max_results
3436
- # A non-zero, non-negative integer used to limit the number of
3437
- # returned results.
3438
- # @return [Integer]
3807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleNameException AWS API Documentation
3439
3808
  #
3440
- # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesInput AWS API Documentation
3809
+ class InvalidApprovalRuleNameException < Aws::EmptyStructure; end
3810
+
3811
+ # The content of the approval rule template is not valid.
3441
3812
  #
3442
- class ListApprovalRuleTemplatesInput < Struct.new(
3443
- :next_token,
3444
- :max_results)
3445
- include Aws::Structure
3446
- end
3813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleTemplateContentException AWS API Documentation
3814
+ #
3815
+ class InvalidApprovalRuleTemplateContentException < Aws::EmptyStructure; end
3447
3816
 
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>]
3817
+ # The description for the approval rule template is not valid because it
3818
+ # exceeds the maximum characters allowed for a description. For more
3819
+ # information about limits in AWS CodeCommit, see [AWS CodeCommit User
3820
+ # Guide][1].
3452
3821
  #
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
3822
  #
3458
- # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesOutput AWS API Documentation
3459
3823
  #
3460
- class ListApprovalRuleTemplatesOutput < Struct.new(
3461
- :approval_rule_template_names,
3462
- :next_token)
3463
- include Aws::Structure
3464
- end
3824
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
3825
+ #
3826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleTemplateDescriptionException AWS API Documentation
3827
+ #
3828
+ class InvalidApprovalRuleTemplateDescriptionException < Aws::EmptyStructure; end
3465
3829
 
3466
- # @note When making an API call, you may pass ListAssociatedApprovalRuleTemplatesForRepositoryInput
3467
- # data as a hash:
3830
+ # The name of the approval rule template is not valid. Template names
3831
+ # must be between 1 and 100 valid characters in length. For more
3832
+ # information about limits in AWS CodeCommit, see [AWS CodeCommit User
3833
+ # Guide][1].
3468
3834
  #
3469
- # {
3470
- # repository_name: "RepositoryName", # required
3471
- # next_token: "NextToken",
3472
- # max_results: 1,
3473
- # }
3474
3835
  #
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
3836
  #
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]
3837
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html
3484
3838
  #
3485
- # @!attribute [rw] max_results
3486
- # A non-zero, non-negative integer used to limit the number of
3487
- # returned results.
3488
- # @return [Integer]
3839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalRuleTemplateNameException AWS API Documentation
3489
3840
  #
3490
- # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepositoryInput AWS API Documentation
3841
+ class InvalidApprovalRuleTemplateNameException < Aws::EmptyStructure; end
3842
+
3843
+ # The state for the approval is not valid. Valid values include APPROVE
3844
+ # and REVOKE.
3491
3845
  #
3492
- class ListAssociatedApprovalRuleTemplatesForRepositoryInput < Struct.new(
3493
- :repository_name,
3494
- :next_token,
3495
- :max_results)
3496
- include Aws::Structure
3497
- end
3846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidApprovalStateException AWS API Documentation
3847
+ #
3848
+ class InvalidApprovalStateException < Aws::EmptyStructure; end
3498
3849
 
3499
- # @!attribute [rw] approval_rule_template_names
3850
+ # The Amazon Resource Name (ARN) is not valid. Make sure that you have
3851
+ # provided the full ARN for the author of the pull request, and then try
3852
+ # again.
3853
+ #
3854
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidAuthorArnException AWS API Documentation
3855
+ #
3856
+ class InvalidAuthorArnException < Aws::EmptyStructure; end
3857
+
3858
+ # The specified blob is not valid.
3859
+ #
3860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidBlobIdException AWS API Documentation
3861
+ #
3862
+ class InvalidBlobIdException < Aws::EmptyStructure; end
3863
+
3864
+ # The specified reference name is not valid.
3865
+ #
3866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidBranchNameException AWS API Documentation
3867
+ #
3868
+ class InvalidBranchNameException < Aws::EmptyStructure; end
3869
+
3870
+ # The client request token is not valid.
3871
+ #
3872
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidClientRequestTokenException AWS API Documentation
3873
+ #
3874
+ class InvalidClientRequestTokenException < Aws::EmptyStructure; end
3875
+
3876
+ # The comment ID is not in a valid format. Make sure that you have
3877
+ # provided the full comment ID.
3878
+ #
3879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidCommentIdException AWS API Documentation
3880
+ #
3881
+ class InvalidCommentIdException < Aws::EmptyStructure; end
3882
+
3883
+ # The specified commit is not valid.
3884
+ #
3885
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidCommitException AWS API Documentation
3886
+ #
3887
+ class InvalidCommitException < Aws::EmptyStructure; end
3888
+
3889
+ # The specified commit ID is not valid.
3890
+ #
3891
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidCommitIdException AWS API Documentation
3892
+ #
3893
+ class InvalidCommitIdException < Aws::EmptyStructure; end
3894
+
3895
+ # The specified conflict detail level is not valid.
3896
+ #
3897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidConflictDetailLevelException AWS API Documentation
3898
+ #
3899
+ class InvalidConflictDetailLevelException < Aws::EmptyStructure; end
3900
+
3901
+ # The specified conflict resolution list is not valid.
3902
+ #
3903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidConflictResolutionException AWS API Documentation
3904
+ #
3905
+ class InvalidConflictResolutionException < Aws::EmptyStructure; end
3906
+
3907
+ # The specified conflict resolution strategy is not valid.
3908
+ #
3909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidConflictResolutionStrategyException AWS API Documentation
3910
+ #
3911
+ class InvalidConflictResolutionStrategyException < Aws::EmptyStructure; end
3912
+
3913
+ # The specified continuation token is not valid.
3914
+ #
3915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidContinuationTokenException AWS API Documentation
3916
+ #
3917
+ class InvalidContinuationTokenException < Aws::EmptyStructure; end
3918
+
3919
+ # The specified deletion parameter is not valid.
3920
+ #
3921
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidDeletionParameterException AWS API Documentation
3922
+ #
3923
+ class InvalidDeletionParameterException < Aws::EmptyStructure; end
3924
+
3925
+ # The pull request description is not valid. Descriptions cannot be more
3926
+ # than 1,000 characters.
3927
+ #
3928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidDescriptionException AWS API Documentation
3929
+ #
3930
+ class InvalidDescriptionException < Aws::EmptyStructure; end
3931
+
3932
+ # The destination commit specifier is not valid. You must provide a
3933
+ # valid branch name, tag, or full commit ID.
3934
+ #
3935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidDestinationCommitSpecifierException AWS API Documentation
3936
+ #
3937
+ class InvalidDestinationCommitSpecifierException < Aws::EmptyStructure; end
3938
+
3939
+ # The specified email address either contains one or more characters
3940
+ # that are not allowed, or it exceeds the maximum number of characters
3941
+ # allowed for an email address.
3942
+ #
3943
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidEmailException AWS API Documentation
3944
+ #
3945
+ class InvalidEmailException < Aws::EmptyStructure; end
3946
+
3947
+ # The location of the file is not valid. Make sure that you include the
3948
+ # file name and extension.
3949
+ #
3950
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidFileLocationException AWS API Documentation
3951
+ #
3952
+ class InvalidFileLocationException < Aws::EmptyStructure; end
3953
+
3954
+ # The specified file mode permission is not valid. For a list of valid
3955
+ # file mode permissions, see PutFile.
3956
+ #
3957
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidFileModeException AWS API Documentation
3958
+ #
3959
+ class InvalidFileModeException < Aws::EmptyStructure; end
3960
+
3961
+ # The position is not valid. Make sure that the line number exists in
3962
+ # the version of the file you want to comment on.
3963
+ #
3964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidFilePositionException AWS API Documentation
3965
+ #
3966
+ class InvalidFilePositionException < Aws::EmptyStructure; end
3967
+
3968
+ # The specified value for the number of conflict files to return is not
3969
+ # valid.
3970
+ #
3971
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMaxConflictFilesException AWS API Documentation
3972
+ #
3973
+ class InvalidMaxConflictFilesException < Aws::EmptyStructure; end
3974
+
3975
+ # The specified value for the number of merge hunks to return is not
3976
+ # valid.
3977
+ #
3978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMaxMergeHunksException AWS API Documentation
3979
+ #
3980
+ class InvalidMaxMergeHunksException < Aws::EmptyStructure; end
3981
+
3982
+ # The specified number of maximum results is not valid.
3983
+ #
3984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMaxResultsException AWS API Documentation
3985
+ #
3986
+ class InvalidMaxResultsException < Aws::EmptyStructure; end
3987
+
3988
+ # The specified merge option is not valid for this operation. Not all
3989
+ # merge strategies are supported for all operations.
3990
+ #
3991
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidMergeOptionException AWS API Documentation
3992
+ #
3993
+ class InvalidMergeOptionException < Aws::EmptyStructure; end
3994
+
3995
+ # The specified sort order is not valid.
3996
+ #
3997
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidOrderException AWS API Documentation
3998
+ #
3999
+ class InvalidOrderException < Aws::EmptyStructure; end
4000
+
4001
+ # The override status is not valid. Valid statuses are OVERRIDE and
4002
+ # REVOKE.
4003
+ #
4004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidOverrideStatusException AWS API Documentation
4005
+ #
4006
+ class InvalidOverrideStatusException < Aws::EmptyStructure; end
4007
+
4008
+ # The parent commit ID is not valid. The commit ID cannot be empty, and
4009
+ # must match the head commit ID for the branch of the repository where
4010
+ # you want to add or update a file.
4011
+ #
4012
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidParentCommitIdException AWS API Documentation
4013
+ #
4014
+ class InvalidParentCommitIdException < Aws::EmptyStructure; end
4015
+
4016
+ # The specified path is not valid.
4017
+ #
4018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPathException AWS API Documentation
4019
+ #
4020
+ class InvalidPathException < Aws::EmptyStructure; end
4021
+
4022
+ # The pull request event type is not valid.
4023
+ #
4024
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestEventTypeException AWS API Documentation
4025
+ #
4026
+ class InvalidPullRequestEventTypeException < Aws::EmptyStructure; end
4027
+
4028
+ # The pull request ID is not valid. Make sure that you have provided the
4029
+ # full ID and that the pull request is in the specified repository, and
4030
+ # then try again.
4031
+ #
4032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestIdException AWS API Documentation
4033
+ #
4034
+ class InvalidPullRequestIdException < Aws::EmptyStructure; end
4035
+
4036
+ # The pull request status is not valid. The only valid values are `OPEN`
4037
+ # and `CLOSED`.
4038
+ #
4039
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestStatusException AWS API Documentation
4040
+ #
4041
+ class InvalidPullRequestStatusException < Aws::EmptyStructure; end
4042
+
4043
+ # The pull request status update is not valid. The only valid update is
4044
+ # from `OPEN` to `CLOSED`.
4045
+ #
4046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidPullRequestStatusUpdateException AWS API Documentation
4047
+ #
4048
+ class InvalidPullRequestStatusUpdateException < Aws::EmptyStructure; end
4049
+
4050
+ # The specified reference name format is not valid. Reference names must
4051
+ # conform to the Git references format (for example, refs/heads/master).
4052
+ # For more information, see [Git Internals - Git References][1] or
4053
+ # consult your Git documentation.
4054
+ #
4055
+ #
4056
+ #
4057
+ # [1]: https://git-scm.com/book/en/v2/Git-Internals-Git-References
4058
+ #
4059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidReferenceNameException AWS API Documentation
4060
+ #
4061
+ class InvalidReferenceNameException < Aws::EmptyStructure; end
4062
+
4063
+ # Either the enum is not in a valid format, or the specified file
4064
+ # version enum is not valid in respect to the current file version.
4065
+ #
4066
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRelativeFileVersionEnumException AWS API Documentation
4067
+ #
4068
+ class InvalidRelativeFileVersionEnumException < Aws::EmptyStructure; end
4069
+
4070
+ # Automerge was specified for resolving the conflict, but the
4071
+ # replacement type is not valid or content is missing.
4072
+ #
4073
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidReplacementContentException AWS API Documentation
4074
+ #
4075
+ class InvalidReplacementContentException < Aws::EmptyStructure; end
4076
+
4077
+ # Automerge was specified for resolving the conflict, but the specified
4078
+ # replacement type is not valid.
4079
+ #
4080
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidReplacementTypeException AWS API Documentation
4081
+ #
4082
+ class InvalidReplacementTypeException < Aws::EmptyStructure; end
4083
+
4084
+ # The specified repository description is not valid.
4085
+ #
4086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryDescriptionException AWS API Documentation
4087
+ #
4088
+ class InvalidRepositoryDescriptionException < Aws::EmptyStructure; end
4089
+
4090
+ # A specified repository name is not valid.
4091
+ #
4092
+ # <note markdown="1"> This exception occurs only when a specified repository name is not
4093
+ # valid. Other exceptions occur when a required repository parameter is
4094
+ # missing, or when a specified repository does not exist.
4095
+ #
4096
+ # </note>
4097
+ #
4098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryNameException AWS API Documentation
4099
+ #
4100
+ class InvalidRepositoryNameException < Aws::EmptyStructure; end
4101
+
4102
+ # One or more branch names specified for the trigger is not valid.
4103
+ #
4104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerBranchNameException AWS API Documentation
4105
+ #
4106
+ class InvalidRepositoryTriggerBranchNameException < Aws::EmptyStructure; end
4107
+
4108
+ # The custom data provided for the trigger is not valid.
4109
+ #
4110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerCustomDataException AWS API Documentation
4111
+ #
4112
+ class InvalidRepositoryTriggerCustomDataException < Aws::EmptyStructure; end
4113
+
4114
+ # The Amazon Resource Name (ARN) for the trigger is not valid for the
4115
+ # specified destination. The most common reason for this error is that
4116
+ # the ARN does not meet the requirements for the service type.
4117
+ #
4118
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerDestinationArnException AWS API Documentation
4119
+ #
4120
+ class InvalidRepositoryTriggerDestinationArnException < Aws::EmptyStructure; end
4121
+
4122
+ # One or more events specified for the trigger is not valid. Check to
4123
+ # make sure that all events specified match the requirements for allowed
4124
+ # events.
4125
+ #
4126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerEventsException AWS API Documentation
4127
+ #
4128
+ class InvalidRepositoryTriggerEventsException < Aws::EmptyStructure; end
4129
+
4130
+ # The name of the trigger is not valid.
4131
+ #
4132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerNameException AWS API Documentation
4133
+ #
4134
+ class InvalidRepositoryTriggerNameException < Aws::EmptyStructure; end
4135
+
4136
+ # The AWS Region for the trigger target does not match the AWS Region
4137
+ # for the repository. Triggers must be created in the same Region as the
4138
+ # target for the trigger.
4139
+ #
4140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRepositoryTriggerRegionException AWS API Documentation
4141
+ #
4142
+ class InvalidRepositoryTriggerRegionException < Aws::EmptyStructure; end
4143
+
4144
+ # The value for the resource ARN is not valid. For more information
4145
+ # about resources in AWS CodeCommit, see [CodeCommit Resources and
4146
+ # Operations][1] in the AWS CodeCommit User Guide.
4147
+ #
4148
+ #
4149
+ #
4150
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats
4151
+ #
4152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidResourceArnException AWS API Documentation
4153
+ #
4154
+ class InvalidResourceArnException < Aws::EmptyStructure; end
4155
+
4156
+ # The revision ID is not valid. Use GetPullRequest to determine the
4157
+ # value.
4158
+ #
4159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRevisionIdException AWS API Documentation
4160
+ #
4161
+ class InvalidRevisionIdException < Aws::EmptyStructure; end
4162
+
4163
+ # The SHA-256 hash signature for the rule content is not valid.
4164
+ #
4165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidRuleContentSha256Exception AWS API Documentation
4166
+ #
4167
+ class InvalidRuleContentSha256Exception < Aws::EmptyStructure; end
4168
+
4169
+ # The specified sort by value is not valid.
4170
+ #
4171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidSortByException AWS API Documentation
4172
+ #
4173
+ class InvalidSortByException < Aws::EmptyStructure; end
4174
+
4175
+ # The source commit specifier is not valid. You must provide a valid
4176
+ # branch name, tag, or full commit ID.
4177
+ #
4178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidSourceCommitSpecifierException AWS API Documentation
4179
+ #
4180
+ class InvalidSourceCommitSpecifierException < Aws::EmptyStructure; end
4181
+
4182
+ # The specified tag is not valid. Key names cannot be prefixed with
4183
+ # aws:.
4184
+ #
4185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidSystemTagUsageException AWS API Documentation
4186
+ #
4187
+ class InvalidSystemTagUsageException < Aws::EmptyStructure; end
4188
+
4189
+ # The list of tags is not valid.
4190
+ #
4191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTagKeysListException AWS API Documentation
4192
+ #
4193
+ class InvalidTagKeysListException < Aws::EmptyStructure; end
4194
+
4195
+ # The map of tags is not valid.
4196
+ #
4197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTagsMapException AWS API Documentation
4198
+ #
4199
+ class InvalidTagsMapException < Aws::EmptyStructure; end
4200
+
4201
+ # The specified target branch is not valid.
4202
+ #
4203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTargetBranchException AWS API Documentation
4204
+ #
4205
+ class InvalidTargetBranchException < Aws::EmptyStructure; end
4206
+
4207
+ # The target for the pull request is not valid. A target must contain
4208
+ # the full values for the repository name, source branch, and
4209
+ # destination branch for the pull request.
4210
+ #
4211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTargetException AWS API Documentation
4212
+ #
4213
+ class InvalidTargetException < Aws::EmptyStructure; end
4214
+
4215
+ # The targets for the pull request is not valid or not in a valid
4216
+ # format. Targets are a list of target objects. Each target object must
4217
+ # contain the full values for the repository name, source branch, and
4218
+ # destination branch for a pull request.
4219
+ #
4220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTargetsException AWS API Documentation
4221
+ #
4222
+ class InvalidTargetsException < Aws::EmptyStructure; end
4223
+
4224
+ # The title of the pull request is not valid. Pull request titles cannot
4225
+ # exceed 100 characters in length.
4226
+ #
4227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/InvalidTitleException AWS API Documentation
4228
+ #
4229
+ class InvalidTitleException < Aws::EmptyStructure; end
4230
+
4231
+ # Information about whether a file is binary or textual in a merge or
4232
+ # pull request operation.
4233
+ #
4234
+ # @!attribute [rw] source
4235
+ # The binary or non-binary status of file in the source of a merge or
4236
+ # pull request.
4237
+ # @return [Boolean]
4238
+ #
4239
+ # @!attribute [rw] destination
4240
+ # The binary or non-binary status of a file in the destination of a
4241
+ # merge or pull request.
4242
+ # @return [Boolean]
4243
+ #
4244
+ # @!attribute [rw] base
4245
+ # The binary or non-binary status of a file in the base of a merge or
4246
+ # pull request.
4247
+ # @return [Boolean]
4248
+ #
4249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/IsBinaryFile AWS API Documentation
4250
+ #
4251
+ class IsBinaryFile < Struct.new(
4252
+ :source,
4253
+ :destination,
4254
+ :base)
4255
+ include Aws::Structure
4256
+ end
4257
+
4258
+ # @note When making an API call, you may pass ListApprovalRuleTemplatesInput
4259
+ # data as a hash:
4260
+ #
4261
+ # {
4262
+ # next_token: "NextToken",
4263
+ # max_results: 1,
4264
+ # }
4265
+ #
4266
+ # @!attribute [rw] next_token
4267
+ # An enumeration token that, when provided in a request, returns the
4268
+ # next batch of the results.
4269
+ # @return [String]
4270
+ #
4271
+ # @!attribute [rw] max_results
4272
+ # A non-zero, non-negative integer used to limit the number of
4273
+ # returned results.
4274
+ # @return [Integer]
4275
+ #
4276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesInput AWS API Documentation
4277
+ #
4278
+ class ListApprovalRuleTemplatesInput < Struct.new(
4279
+ :next_token,
4280
+ :max_results)
4281
+ include Aws::Structure
4282
+ end
4283
+
4284
+ # @!attribute [rw] approval_rule_template_names
4285
+ # The names of all the approval rule templates found in the AWS Region
4286
+ # for your AWS account.
4287
+ # @return [Array<String>]
4288
+ #
4289
+ # @!attribute [rw] next_token
4290
+ # An enumeration token that allows the operation to batch the next
4291
+ # results of the operation.
4292
+ # @return [String]
4293
+ #
4294
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplatesOutput AWS API Documentation
4295
+ #
4296
+ class ListApprovalRuleTemplatesOutput < Struct.new(
4297
+ :approval_rule_template_names,
4298
+ :next_token)
4299
+ include Aws::Structure
4300
+ end
4301
+
4302
+ # @note When making an API call, you may pass ListAssociatedApprovalRuleTemplatesForRepositoryInput
4303
+ # data as a hash:
4304
+ #
4305
+ # {
4306
+ # repository_name: "RepositoryName", # required
4307
+ # next_token: "NextToken",
4308
+ # max_results: 1,
4309
+ # }
4310
+ #
4311
+ # @!attribute [rw] repository_name
4312
+ # The name of the repository for which you want to list all associated
4313
+ # approval rule templates.
4314
+ # @return [String]
4315
+ #
4316
+ # @!attribute [rw] next_token
4317
+ # An enumeration token that, when provided in a request, returns the
4318
+ # next batch of the results.
4319
+ # @return [String]
4320
+ #
4321
+ # @!attribute [rw] max_results
4322
+ # A non-zero, non-negative integer used to limit the number of
4323
+ # returned results.
4324
+ # @return [Integer]
4325
+ #
4326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepositoryInput AWS API Documentation
4327
+ #
4328
+ class ListAssociatedApprovalRuleTemplatesForRepositoryInput < Struct.new(
4329
+ :repository_name,
4330
+ :next_token,
4331
+ :max_results)
4332
+ include Aws::Structure
4333
+ end
4334
+
4335
+ # @!attribute [rw] approval_rule_template_names
3500
4336
  # The names of all approval rule templates associated with the
3501
4337
  # repository.
3502
4338
  # @return [Array<String>]
@@ -3810,6 +4646,84 @@ module Aws::CodeCommit
3810
4646
  include Aws::Structure
3811
4647
  end
3812
4648
 
4649
+ # The pull request cannot be merged automatically into the destination
4650
+ # branch. You must manually merge the branches and resolve any
4651
+ # conflicts.
4652
+ #
4653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ManualMergeRequiredException AWS API Documentation
4654
+ #
4655
+ class ManualMergeRequiredException < Aws::EmptyStructure; end
4656
+
4657
+ # The number of branches for the trigger was exceeded.
4658
+ #
4659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumBranchesExceededException AWS API Documentation
4660
+ #
4661
+ class MaximumBranchesExceededException < Aws::EmptyStructure; end
4662
+
4663
+ # The number of allowed conflict resolution entries was exceeded.
4664
+ #
4665
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumConflictResolutionEntriesExceededException AWS API Documentation
4666
+ #
4667
+ class MaximumConflictResolutionEntriesExceededException < Aws::EmptyStructure; end
4668
+
4669
+ # The number of files to load exceeds the allowed limit.
4670
+ #
4671
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumFileContentToLoadExceededException AWS API Documentation
4672
+ #
4673
+ class MaximumFileContentToLoadExceededException < Aws::EmptyStructure; end
4674
+
4675
+ # The number of specified files to change as part of this commit exceeds
4676
+ # the maximum number of files that can be changed in a single commit.
4677
+ # Consider using a Git client for these changes.
4678
+ #
4679
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumFileEntriesExceededException AWS API Documentation
4680
+ #
4681
+ class MaximumFileEntriesExceededException < Aws::EmptyStructure; end
4682
+
4683
+ # The number of items to compare between the source or destination
4684
+ # branches and the merge base has exceeded the maximum allowed.
4685
+ #
4686
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumItemsToCompareExceededException AWS API Documentation
4687
+ #
4688
+ class MaximumItemsToCompareExceededException < Aws::EmptyStructure; end
4689
+
4690
+ # The number of approvals required for the approval rule exceeds the
4691
+ # maximum number allowed.
4692
+ #
4693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumNumberOfApprovalsExceededException AWS API Documentation
4694
+ #
4695
+ class MaximumNumberOfApprovalsExceededException < Aws::EmptyStructure; end
4696
+
4697
+ # You cannot create the pull request because the repository has too many
4698
+ # open pull requests. The maximum number of open pull requests for a
4699
+ # repository is 1,000. Close one or more open pull requests, and then
4700
+ # try again.
4701
+ #
4702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumOpenPullRequestsExceededException AWS API Documentation
4703
+ #
4704
+ class MaximumOpenPullRequestsExceededException < Aws::EmptyStructure; end
4705
+
4706
+ # The maximum number of allowed repository names was exceeded.
4707
+ # Currently, this number is 100.
4708
+ #
4709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumRepositoryNamesExceededException AWS API Documentation
4710
+ #
4711
+ class MaximumRepositoryNamesExceededException < Aws::EmptyStructure; end
4712
+
4713
+ # The number of triggers allowed for the repository was exceeded.
4714
+ #
4715
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumRepositoryTriggersExceededException AWS API Documentation
4716
+ #
4717
+ class MaximumRepositoryTriggersExceededException < Aws::EmptyStructure; end
4718
+
4719
+ # The maximum number of approval rule templates for a repository has
4720
+ # been exceeded. You cannot associate more than 25 approval rule
4721
+ # templates with a repository.
4722
+ #
4723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MaximumRuleTemplatesAssociatedWithRepositoryException AWS API Documentation
4724
+ #
4725
+ class MaximumRuleTemplatesAssociatedWithRepositoryException < Aws::EmptyStructure; end
4726
+
3813
4727
  # @note When making an API call, you may pass MergeBranchesByFastForwardInput
3814
4728
  # data as a hash:
3815
4729
  #
@@ -4232,6 +5146,12 @@ module Aws::CodeCommit
4232
5146
  include Aws::Structure
4233
5147
  end
4234
5148
 
5149
+ # A merge option or stategy is required, and none was provided.
5150
+ #
5151
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeOptionRequiredException AWS API Documentation
5152
+ #
5153
+ class MergeOptionRequiredException < Aws::EmptyStructure; end
5154
+
4235
5155
  # @note When making an API call, you may pass MergePullRequestByFastForwardInput
4236
5156
  # data as a hash:
4237
5157
  #
@@ -4517,6 +5437,50 @@ module Aws::CodeCommit
4517
5437
  include Aws::Structure
4518
5438
  end
4519
5439
 
5440
+ # More than one conflict resolution entries exists for the conflict. A
5441
+ # conflict can have only one conflict resolution entry.
5442
+ #
5443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MultipleConflictResolutionEntriesException AWS API Documentation
5444
+ #
5445
+ class MultipleConflictResolutionEntriesException < Aws::EmptyStructure; end
5446
+
5447
+ # You cannot include more than one repository in a pull request. Make
5448
+ # sure you have specified only one repository name in your request, and
5449
+ # then try again.
5450
+ #
5451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MultipleRepositoriesInPullRequestException AWS API Documentation
5452
+ #
5453
+ class MultipleRepositoriesInPullRequestException < Aws::EmptyStructure; end
5454
+
5455
+ # The user name is not valid because it has exceeded the character limit
5456
+ # for author names.
5457
+ #
5458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NameLengthExceededException AWS API Documentation
5459
+ #
5460
+ class NameLengthExceededException < Aws::EmptyStructure; end
5461
+
5462
+ # The commit cannot be created because no changes will be made to the
5463
+ # repository as a result of this commit. A commit must contain at least
5464
+ # one change.
5465
+ #
5466
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NoChangeException AWS API Documentation
5467
+ #
5468
+ class NoChangeException < Aws::EmptyStructure; end
5469
+
5470
+ # The maximum number of approval rule templates has been exceeded for
5471
+ # this AWS Region.
5472
+ #
5473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NumberOfRuleTemplatesExceededException AWS API Documentation
5474
+ #
5475
+ class NumberOfRuleTemplatesExceededException < Aws::EmptyStructure; end
5476
+
5477
+ # The approval rule cannot be added. The pull request has the maximum
5478
+ # number of approval rules associated with it.
5479
+ #
5480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/NumberOfRulesExceededException AWS API Documentation
5481
+ #
5482
+ class NumberOfRulesExceededException < Aws::EmptyStructure; end
5483
+
4520
5484
  # Information about the type of an object in a merge operation.
4521
5485
  #
4522
5486
  # @!attribute [rw] source
@@ -4559,6 +5523,12 @@ module Aws::CodeCommit
4559
5523
  include Aws::Structure
4560
5524
  end
4561
5525
 
5526
+ # The pull request has already had its approval rules set to override.
5527
+ #
5528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverrideAlreadySetException AWS API Documentation
5529
+ #
5530
+ class OverrideAlreadySetException < Aws::EmptyStructure; end
5531
+
4562
5532
  # @note When making an API call, you may pass OverridePullRequestApprovalRulesInput
4563
5533
  # data as a hash:
4564
5534
  #
@@ -4596,6 +5566,49 @@ module Aws::CodeCommit
4596
5566
  include Aws::Structure
4597
5567
  end
4598
5568
 
5569
+ # An override status is required, but no value was provided. Valid
5570
+ # values include OVERRIDE and REVOKE.
5571
+ #
5572
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverrideStatusRequiredException AWS API Documentation
5573
+ #
5574
+ class OverrideStatusRequiredException < Aws::EmptyStructure; end
5575
+
5576
+ # The parent commit ID is not valid because it does not exist. The
5577
+ # specified parent commit ID does not exist in the specified branch of
5578
+ # the repository.
5579
+ #
5580
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ParentCommitDoesNotExistException AWS API Documentation
5581
+ #
5582
+ class ParentCommitDoesNotExistException < Aws::EmptyStructure; end
5583
+
5584
+ # The file could not be added because the provided parent commit ID is
5585
+ # not the current tip of the specified branch. To view the full commit
5586
+ # ID of the current head of the branch, use GetBranch.
5587
+ #
5588
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ParentCommitIdOutdatedException AWS API Documentation
5589
+ #
5590
+ class ParentCommitIdOutdatedException < Aws::EmptyStructure; end
5591
+
5592
+ # A parent commit ID is required. To view the full commit ID of a branch
5593
+ # in a repository, use GetBranch or a Git command (for example, git pull
5594
+ # or git log).
5595
+ #
5596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ParentCommitIdRequiredException AWS API Documentation
5597
+ #
5598
+ class ParentCommitIdRequiredException < Aws::EmptyStructure; end
5599
+
5600
+ # The specified path does not exist.
5601
+ #
5602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PathDoesNotExistException AWS API Documentation
5603
+ #
5604
+ class PathDoesNotExistException < Aws::EmptyStructure; end
5605
+
5606
+ # The folderPath for a location cannot be null.
5607
+ #
5608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PathRequiredException AWS API Documentation
5609
+ #
5610
+ class PathRequiredException < Aws::EmptyStructure; end
5611
+
4599
5612
  # @note When making an API call, you may pass PostCommentForComparedCommitInput
4600
5613
  # data as a hash:
4601
5614
  #
@@ -4956,6 +5969,28 @@ module Aws::CodeCommit
4956
5969
  include Aws::Structure
4957
5970
  end
4958
5971
 
5972
+ # The pull request status cannot be updated because it is already
5973
+ # closed.
5974
+ #
5975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestAlreadyClosedException AWS API Documentation
5976
+ #
5977
+ class PullRequestAlreadyClosedException < Aws::EmptyStructure; end
5978
+
5979
+ # The pull request cannot be merged because one or more approval rules
5980
+ # applied to the pull request have conditions that have not been met.
5981
+ #
5982
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestApprovalRulesNotSatisfiedException AWS API Documentation
5983
+ #
5984
+ class PullRequestApprovalRulesNotSatisfiedException < Aws::EmptyStructure; end
5985
+
5986
+ # The approval cannot be applied because the user approving the pull
5987
+ # request matches the user who created the pull request. You cannot
5988
+ # approve a pull request that you created.
5989
+ #
5990
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestCannotBeApprovedByAuthorException AWS API Documentation
5991
+ #
5992
+ class PullRequestCannotBeApprovedByAuthorException < Aws::EmptyStructure; end
5993
+
4959
5994
  # Metadata about the pull request that is used when comparing the pull
4960
5995
  # request source with its destination.
4961
5996
  #
@@ -4988,6 +6023,14 @@ module Aws::CodeCommit
4988
6023
  include Aws::Structure
4989
6024
  end
4990
6025
 
6026
+ # The pull request ID could not be found. Make sure that you have
6027
+ # specified the correct repository name and pull request ID, and then
6028
+ # try again.
6029
+ #
6030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestDoesNotExistException AWS API Documentation
6031
+ #
6032
+ class PullRequestDoesNotExistException < Aws::EmptyStructure; end
6033
+
4991
6034
  # Returns information about a pull request event.
4992
6035
  #
4993
6036
  # @!attribute [rw] pull_request_id
@@ -5059,6 +6102,12 @@ module Aws::CodeCommit
5059
6102
  include Aws::Structure
5060
6103
  end
5061
6104
 
6105
+ # A pull request ID is required, but none was provided.
6106
+ #
6107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestIdRequiredException AWS API Documentation
6108
+ #
6109
+ class PullRequestIdRequiredException < Aws::EmptyStructure; end
6110
+
5062
6111
  # Returns information about the change in the merge state for a pull
5063
6112
  # request event.
5064
6113
  #
@@ -5127,6 +6176,12 @@ module Aws::CodeCommit
5127
6176
  include Aws::Structure
5128
6177
  end
5129
6178
 
6179
+ # A pull request status is required, but none was provided.
6180
+ #
6181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestStatusRequiredException AWS API Documentation
6182
+ #
6183
+ class PullRequestStatusRequiredException < Aws::EmptyStructure; end
6184
+
5130
6185
  # Returns information about a pull request target.
5131
6186
  #
5132
6187
  # @!attribute [rw] repository_name
@@ -5224,6 +6279,13 @@ module Aws::CodeCommit
5224
6279
  include Aws::Structure
5225
6280
  end
5226
6281
 
6282
+ # The commit cannot be created because one or more files specified in
6283
+ # the commit reference both a file and a folder.
6284
+ #
6285
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFileEntryConflictException AWS API Documentation
6286
+ #
6287
+ class PutFileEntryConflictException < Aws::EmptyStructure; end
6288
+
5227
6289
  # @note When making an API call, you may pass PutFileInput
5228
6290
  # data as a hash:
5229
6291
  #
@@ -5379,6 +6441,25 @@ module Aws::CodeCommit
5379
6441
  include Aws::Structure
5380
6442
  end
5381
6443
 
6444
+ # The specified reference does not exist. You must provide a full commit
6445
+ # ID.
6446
+ #
6447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReferenceDoesNotExistException AWS API Documentation
6448
+ #
6449
+ class ReferenceDoesNotExistException < Aws::EmptyStructure; end
6450
+
6451
+ # A reference name is required, but none was provided.
6452
+ #
6453
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReferenceNameRequiredException AWS API Documentation
6454
+ #
6455
+ class ReferenceNameRequiredException < Aws::EmptyStructure; end
6456
+
6457
+ # The specified reference is not a supported type.
6458
+ #
6459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReferenceTypeNotSupportedException AWS API Documentation
6460
+ #
6461
+ class ReferenceTypeNotSupportedException < Aws::EmptyStructure; end
6462
+
5382
6463
  # Information about a replacement content entry in the conflict of a
5383
6464
  # merge or pull request operation.
5384
6465
  #
@@ -5420,6 +6501,31 @@ module Aws::CodeCommit
5420
6501
  include Aws::Structure
5421
6502
  end
5422
6503
 
6504
+ # USE\_NEW\_CONTENT was specified, but no replacement content has been
6505
+ # provided.
6506
+ #
6507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReplacementContentRequiredException AWS API Documentation
6508
+ #
6509
+ class ReplacementContentRequiredException < Aws::EmptyStructure; end
6510
+
6511
+ # A replacement type is required.
6512
+ #
6513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ReplacementTypeRequiredException AWS API Documentation
6514
+ #
6515
+ class ReplacementTypeRequiredException < Aws::EmptyStructure; end
6516
+
6517
+ # The specified repository does not exist.
6518
+ #
6519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryDoesNotExistException AWS API Documentation
6520
+ #
6521
+ class RepositoryDoesNotExistException < Aws::EmptyStructure; end
6522
+
6523
+ # A repository resource limit was exceeded.
6524
+ #
6525
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryLimitExceededException AWS API Documentation
6526
+ #
6527
+ class RepositoryLimitExceededException < Aws::EmptyStructure; end
6528
+
5423
6529
  # Information about a repository.
5424
6530
  #
5425
6531
  # @!attribute [rw] account_id
@@ -5479,6 +6585,12 @@ module Aws::CodeCommit
5479
6585
  include Aws::Structure
5480
6586
  end
5481
6587
 
6588
+ # The specified repository name already exists.
6589
+ #
6590
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameExistsException AWS API Documentation
6591
+ #
6592
+ class RepositoryNameExistsException < Aws::EmptyStructure; end
6593
+
5482
6594
  # Information about a repository name and ID.
5483
6595
  #
5484
6596
  # @!attribute [rw] repository_name
@@ -5497,6 +6609,27 @@ module Aws::CodeCommit
5497
6609
  include Aws::Structure
5498
6610
  end
5499
6611
 
6612
+ # A repository name is required, but was not specified.
6613
+ #
6614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameRequiredException AWS API Documentation
6615
+ #
6616
+ class RepositoryNameRequiredException < Aws::EmptyStructure; end
6617
+
6618
+ # At least one repository name object is required, but was not
6619
+ # specified.
6620
+ #
6621
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNamesRequiredException AWS API Documentation
6622
+ #
6623
+ class RepositoryNamesRequiredException < Aws::EmptyStructure; end
6624
+
6625
+ # The repository does not contain any pull requests with that pull
6626
+ # request ID. Use GetPullRequest to verify the correct repository name
6627
+ # for the pull request ID.
6628
+ #
6629
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNotAssociatedWithPullRequestException AWS API Documentation
6630
+ #
6631
+ class RepositoryNotAssociatedWithPullRequestException < Aws::EmptyStructure; end
6632
+
5500
6633
  # Information about a trigger for a repository.
5501
6634
  #
5502
6635
  # @note When making an API call, you may pass RepositoryTrigger
@@ -5554,6 +6687,26 @@ module Aws::CodeCommit
5554
6687
  include Aws::Structure
5555
6688
  end
5556
6689
 
6690
+ # At least one branch name is required, but was not specified in the
6691
+ # trigger configuration.
6692
+ #
6693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerBranchNameListRequiredException AWS API Documentation
6694
+ #
6695
+ class RepositoryTriggerBranchNameListRequiredException < Aws::EmptyStructure; end
6696
+
6697
+ # A destination ARN for the target service for the trigger is required,
6698
+ # but was not specified.
6699
+ #
6700
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerDestinationArnRequiredException AWS API Documentation
6701
+ #
6702
+ class RepositoryTriggerDestinationArnRequiredException < Aws::EmptyStructure; end
6703
+
6704
+ # At least one event for the trigger is required, but was not specified.
6705
+ #
6706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerEventsListRequiredException AWS API Documentation
6707
+ #
6708
+ class RepositoryTriggerEventsListRequiredException < Aws::EmptyStructure; end
6709
+
5557
6710
  # A trigger failed to run.
5558
6711
  #
5559
6712
  # @!attribute [rw] trigger
@@ -5572,6 +6725,70 @@ module Aws::CodeCommit
5572
6725
  include Aws::Structure
5573
6726
  end
5574
6727
 
6728
+ # A name for the trigger is required, but was not specified.
6729
+ #
6730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerNameRequiredException AWS API Documentation
6731
+ #
6732
+ class RepositoryTriggerNameRequiredException < Aws::EmptyStructure; end
6733
+
6734
+ # The list of triggers for the repository is required, but was not
6735
+ # specified.
6736
+ #
6737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggersListRequiredException AWS API Documentation
6738
+ #
6739
+ class RepositoryTriggersListRequiredException < Aws::EmptyStructure; end
6740
+
6741
+ # A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is
6742
+ # required. For a list of valid resources in AWS CodeCommit, see
6743
+ # [CodeCommit Resources and Operations][1] in the AWS CodeCommit User
6744
+ # Guide.
6745
+ #
6746
+ #
6747
+ #
6748
+ # [1]: https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats
6749
+ #
6750
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ResourceArnRequiredException AWS API Documentation
6751
+ #
6752
+ class ResourceArnRequiredException < Aws::EmptyStructure; end
6753
+
6754
+ # The commit cannot be created because one of the changes specifies
6755
+ # copying or moving a .gitkeep file.
6756
+ #
6757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RestrictedSourceFileException AWS API Documentation
6758
+ #
6759
+ class RestrictedSourceFileException < Aws::EmptyStructure; end
6760
+
6761
+ # A revision ID is required, but was not provided.
6762
+ #
6763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RevisionIdRequiredException AWS API Documentation
6764
+ #
6765
+ class RevisionIdRequiredException < Aws::EmptyStructure; end
6766
+
6767
+ # The revision ID provided in the request does not match the current
6768
+ # revision ID. Use GetPullRequest to retrieve the current revision ID.
6769
+ #
6770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RevisionNotCurrentException AWS API Documentation
6771
+ #
6772
+ class RevisionNotCurrentException < Aws::EmptyStructure; end
6773
+
6774
+ # The file was not added or updated because the content of the file is
6775
+ # exactly the same as the content of that file in the repository and
6776
+ # branch that you specified.
6777
+ #
6778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SameFileContentException AWS API Documentation
6779
+ #
6780
+ class SameFileContentException < Aws::EmptyStructure; end
6781
+
6782
+ # The commit cannot be created because one or more changes in this
6783
+ # commit duplicate actions in the same file path. For example, you
6784
+ # cannot make the same delete request to the same file in the same file
6785
+ # path twice, or make a delete request and a move request to the same
6786
+ # file as part of the same commit.
6787
+ #
6788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SamePathRequestException AWS API Documentation
6789
+ #
6790
+ class SamePathRequestException < Aws::EmptyStructure; end
6791
+
5575
6792
  # Information about the file mode changes.
5576
6793
  #
5577
6794
  # @note When making an API call, you may pass SetFileModeEntry
@@ -5598,6 +6815,21 @@ module Aws::CodeCommit
5598
6815
  include Aws::Structure
5599
6816
  end
5600
6817
 
6818
+ # The source branch and destination branch for the pull request are the
6819
+ # same. You must specify different branches for the source and
6820
+ # destination.
6821
+ #
6822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SourceAndDestinationAreSameException AWS API Documentation
6823
+ #
6824
+ class SourceAndDestinationAreSameException < Aws::EmptyStructure; end
6825
+
6826
+ # The commit cannot be created because no source files or file content
6827
+ # have been specified for the commit.
6828
+ #
6829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/SourceFileOrContentRequiredException AWS API Documentation
6830
+ #
6831
+ class SourceFileOrContentRequiredException < Aws::EmptyStructure; end
6832
+
5601
6833
  # Information about a source file that is part of changes made in a
5602
6834
  # commit.
5603
6835
  #
@@ -5682,6 +6914,18 @@ module Aws::CodeCommit
5682
6914
  include Aws::Structure
5683
6915
  end
5684
6916
 
6917
+ # A list of tag keys is required. The list cannot be empty or null.
6918
+ #
6919
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagKeysListRequiredException AWS API Documentation
6920
+ #
6921
+ class TagKeysListRequiredException < Aws::EmptyStructure; end
6922
+
6923
+ # The tag policy is not valid.
6924
+ #
6925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagPolicyException AWS API Documentation
6926
+ #
6927
+ class TagPolicyException < Aws::EmptyStructure; end
6928
+
5685
6929
  # @note When making an API call, you may pass TagResourceInput
5686
6930
  # data as a hash:
5687
6931
  #
@@ -5709,6 +6953,12 @@ module Aws::CodeCommit
5709
6953
  include Aws::Structure
5710
6954
  end
5711
6955
 
6956
+ # A map of tags is required.
6957
+ #
6958
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagsMapRequiredException AWS API Documentation
6959
+ #
6960
+ class TagsMapRequiredException < Aws::EmptyStructure; end
6961
+
5712
6962
  # Returns information about a target for a pull request.
5713
6963
  #
5714
6964
  # @note When making an API call, you may pass Target
@@ -5743,6 +6993,20 @@ module Aws::CodeCommit
5743
6993
  include Aws::Structure
5744
6994
  end
5745
6995
 
6996
+ # A pull request target is required. It cannot be empty or null. A pull
6997
+ # request target must contain the full values for the repository name,
6998
+ # source branch, and destination branch for the pull request.
6999
+ #
7000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TargetRequiredException AWS API Documentation
7001
+ #
7002
+ class TargetRequiredException < Aws::EmptyStructure; end
7003
+
7004
+ # An array of target objects is required. It cannot be empty or null.
7005
+ #
7006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TargetsRequiredException AWS API Documentation
7007
+ #
7008
+ class TargetsRequiredException < Aws::EmptyStructure; end
7009
+
5746
7010
  # Represents the input of a test repository triggers operation.
5747
7011
  #
5748
7012
  # @note When making an API call, you may pass TestRepositoryTriggersInput
@@ -5798,6 +7062,36 @@ module Aws::CodeCommit
5798
7062
  include Aws::Structure
5799
7063
  end
5800
7064
 
7065
+ # The tip of the source branch in the destination repository does not
7066
+ # match the tip of the source branch specified in your request. The pull
7067
+ # request might have been updated. Make sure that you have the latest
7068
+ # changes.
7069
+ #
7070
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TipOfSourceReferenceIsDifferentException AWS API Documentation
7071
+ #
7072
+ class TipOfSourceReferenceIsDifferentException < Aws::EmptyStructure; end
7073
+
7074
+ # The divergence between the tips of the provided commit specifiers is
7075
+ # too great to determine whether there might be any merge conflicts.
7076
+ # Locally compare the specifiers using `git diff` or a diff tool.
7077
+ #
7078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TipsDivergenceExceededException AWS API Documentation
7079
+ #
7080
+ class TipsDivergenceExceededException < Aws::EmptyStructure; end
7081
+
7082
+ # A pull request title is required. It cannot be empty or null.
7083
+ #
7084
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TitleRequiredException AWS API Documentation
7085
+ #
7086
+ class TitleRequiredException < Aws::EmptyStructure; end
7087
+
7088
+ # The maximum number of tags for an AWS CodeCommit resource has been
7089
+ # exceeded.
7090
+ #
7091
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TooManyTagsException AWS API Documentation
7092
+ #
7093
+ class TooManyTagsException < Aws::EmptyStructure; end
7094
+
5801
7095
  # @note When making an API call, you may pass UntagResourceInput
5802
7096
  # data as a hash:
5803
7097
  #