aws-sdk-codecommit 1.29.0 → 1.34.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,12 +14,51 @@ module Aws::CodeCommit
14
14
  AccountId = Shapes::StringShape.new(name: 'AccountId')
15
15
  ActorDoesNotExistException = Shapes::StructureShape.new(name: 'ActorDoesNotExistException')
16
16
  AdditionalData = Shapes::StringShape.new(name: 'AdditionalData')
17
+ Approval = Shapes::StructureShape.new(name: 'Approval')
18
+ ApprovalList = Shapes::ListShape.new(name: 'ApprovalList')
19
+ ApprovalRule = Shapes::StructureShape.new(name: 'ApprovalRule')
20
+ ApprovalRuleContent = Shapes::StringShape.new(name: 'ApprovalRuleContent')
21
+ ApprovalRuleContentRequiredException = Shapes::StructureShape.new(name: 'ApprovalRuleContentRequiredException')
22
+ ApprovalRuleDoesNotExistException = Shapes::StructureShape.new(name: 'ApprovalRuleDoesNotExistException')
23
+ ApprovalRuleEventMetadata = Shapes::StructureShape.new(name: 'ApprovalRuleEventMetadata')
24
+ ApprovalRuleId = Shapes::StringShape.new(name: 'ApprovalRuleId')
25
+ ApprovalRuleName = Shapes::StringShape.new(name: 'ApprovalRuleName')
26
+ ApprovalRuleNameAlreadyExistsException = Shapes::StructureShape.new(name: 'ApprovalRuleNameAlreadyExistsException')
27
+ ApprovalRuleNameRequiredException = Shapes::StructureShape.new(name: 'ApprovalRuleNameRequiredException')
28
+ ApprovalRuleOverriddenEventMetadata = Shapes::StructureShape.new(name: 'ApprovalRuleOverriddenEventMetadata')
29
+ ApprovalRuleTemplate = Shapes::StructureShape.new(name: 'ApprovalRuleTemplate')
30
+ ApprovalRuleTemplateContent = Shapes::StringShape.new(name: 'ApprovalRuleTemplateContent')
31
+ ApprovalRuleTemplateContentRequiredException = Shapes::StructureShape.new(name: 'ApprovalRuleTemplateContentRequiredException')
32
+ ApprovalRuleTemplateDescription = Shapes::StringShape.new(name: 'ApprovalRuleTemplateDescription')
33
+ ApprovalRuleTemplateDoesNotExistException = Shapes::StructureShape.new(name: 'ApprovalRuleTemplateDoesNotExistException')
34
+ ApprovalRuleTemplateId = Shapes::StringShape.new(name: 'ApprovalRuleTemplateId')
35
+ ApprovalRuleTemplateInUseException = Shapes::StructureShape.new(name: 'ApprovalRuleTemplateInUseException')
36
+ ApprovalRuleTemplateName = Shapes::StringShape.new(name: 'ApprovalRuleTemplateName')
37
+ ApprovalRuleTemplateNameAlreadyExistsException = Shapes::StructureShape.new(name: 'ApprovalRuleTemplateNameAlreadyExistsException')
38
+ ApprovalRuleTemplateNameList = Shapes::ListShape.new(name: 'ApprovalRuleTemplateNameList')
39
+ ApprovalRuleTemplateNameRequiredException = Shapes::StructureShape.new(name: 'ApprovalRuleTemplateNameRequiredException')
40
+ ApprovalRulesList = Shapes::ListShape.new(name: 'ApprovalRulesList')
41
+ ApprovalRulesNotSatisfiedList = Shapes::ListShape.new(name: 'ApprovalRulesNotSatisfiedList')
42
+ ApprovalRulesSatisfiedList = Shapes::ListShape.new(name: 'ApprovalRulesSatisfiedList')
43
+ ApprovalState = Shapes::StringShape.new(name: 'ApprovalState')
44
+ ApprovalStateChangedEventMetadata = Shapes::StructureShape.new(name: 'ApprovalStateChangedEventMetadata')
45
+ ApprovalStateRequiredException = Shapes::StructureShape.new(name: 'ApprovalStateRequiredException')
46
+ Approved = Shapes::BooleanShape.new(name: 'Approved')
17
47
  Arn = Shapes::StringShape.new(name: 'Arn')
48
+ AssociateApprovalRuleTemplateWithRepositoryInput = Shapes::StructureShape.new(name: 'AssociateApprovalRuleTemplateWithRepositoryInput')
18
49
  AuthorDoesNotExistException = Shapes::StructureShape.new(name: 'AuthorDoesNotExistException')
50
+ BatchAssociateApprovalRuleTemplateWithRepositoriesError = Shapes::StructureShape.new(name: 'BatchAssociateApprovalRuleTemplateWithRepositoriesError')
51
+ BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList = Shapes::ListShape.new(name: 'BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList')
52
+ BatchAssociateApprovalRuleTemplateWithRepositoriesInput = Shapes::StructureShape.new(name: 'BatchAssociateApprovalRuleTemplateWithRepositoriesInput')
53
+ BatchAssociateApprovalRuleTemplateWithRepositoriesOutput = Shapes::StructureShape.new(name: 'BatchAssociateApprovalRuleTemplateWithRepositoriesOutput')
19
54
  BatchDescribeMergeConflictsError = Shapes::StructureShape.new(name: 'BatchDescribeMergeConflictsError')
20
55
  BatchDescribeMergeConflictsErrors = Shapes::ListShape.new(name: 'BatchDescribeMergeConflictsErrors')
21
56
  BatchDescribeMergeConflictsInput = Shapes::StructureShape.new(name: 'BatchDescribeMergeConflictsInput')
22
57
  BatchDescribeMergeConflictsOutput = Shapes::StructureShape.new(name: 'BatchDescribeMergeConflictsOutput')
58
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesError = Shapes::StructureShape.new(name: 'BatchDisassociateApprovalRuleTemplateFromRepositoriesError')
59
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList = Shapes::ListShape.new(name: 'BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList')
60
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesInput = Shapes::StructureShape.new(name: 'BatchDisassociateApprovalRuleTemplateFromRepositoriesInput')
61
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput = Shapes::StructureShape.new(name: 'BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput')
23
62
  BatchGetCommitsError = Shapes::StructureShape.new(name: 'BatchGetCommitsError')
24
63
  BatchGetCommitsErrorsList = Shapes::ListShape.new(name: 'BatchGetCommitsErrorsList')
25
64
  BatchGetCommitsInput = Shapes::StructureShape.new(name: 'BatchGetCommitsInput')
@@ -37,6 +76,8 @@ module Aws::CodeCommit
37
76
  BranchNameIsTagNameException = Shapes::StructureShape.new(name: 'BranchNameIsTagNameException')
38
77
  BranchNameList = Shapes::ListShape.new(name: 'BranchNameList')
39
78
  BranchNameRequiredException = Shapes::StructureShape.new(name: 'BranchNameRequiredException')
79
+ CannotDeleteApprovalRuleFromTemplateException = Shapes::StructureShape.new(name: 'CannotDeleteApprovalRuleFromTemplateException')
80
+ CannotModifyApprovalRuleFromTemplateException = Shapes::StructureShape.new(name: 'CannotModifyApprovalRuleFromTemplateException')
40
81
  CapitalBoolean = Shapes::BooleanShape.new(name: 'CapitalBoolean')
41
82
  ChangeTypeEnum = Shapes::StringShape.new(name: 'ChangeTypeEnum')
42
83
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
@@ -77,9 +118,13 @@ module Aws::CodeCommit
77
118
  ConflictResolutionStrategyTypeEnum = Shapes::StringShape.new(name: 'ConflictResolutionStrategyTypeEnum')
78
119
  Conflicts = Shapes::ListShape.new(name: 'Conflicts')
79
120
  Content = Shapes::StringShape.new(name: 'Content')
121
+ CreateApprovalRuleTemplateInput = Shapes::StructureShape.new(name: 'CreateApprovalRuleTemplateInput')
122
+ CreateApprovalRuleTemplateOutput = Shapes::StructureShape.new(name: 'CreateApprovalRuleTemplateOutput')
80
123
  CreateBranchInput = Shapes::StructureShape.new(name: 'CreateBranchInput')
81
124
  CreateCommitInput = Shapes::StructureShape.new(name: 'CreateCommitInput')
82
125
  CreateCommitOutput = Shapes::StructureShape.new(name: 'CreateCommitOutput')
126
+ CreatePullRequestApprovalRuleInput = Shapes::StructureShape.new(name: 'CreatePullRequestApprovalRuleInput')
127
+ CreatePullRequestApprovalRuleOutput = Shapes::StructureShape.new(name: 'CreatePullRequestApprovalRuleOutput')
83
128
  CreatePullRequestInput = Shapes::StructureShape.new(name: 'CreatePullRequestInput')
84
129
  CreatePullRequestOutput = Shapes::StructureShape.new(name: 'CreatePullRequestOutput')
85
130
  CreateRepositoryInput = Shapes::StructureShape.new(name: 'CreateRepositoryInput')
@@ -89,6 +134,8 @@ module Aws::CodeCommit
89
134
  CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
90
135
  Date = Shapes::StringShape.new(name: 'Date')
91
136
  DefaultBranchCannotBeDeletedException = Shapes::StructureShape.new(name: 'DefaultBranchCannotBeDeletedException')
137
+ DeleteApprovalRuleTemplateInput = Shapes::StructureShape.new(name: 'DeleteApprovalRuleTemplateInput')
138
+ DeleteApprovalRuleTemplateOutput = Shapes::StructureShape.new(name: 'DeleteApprovalRuleTemplateOutput')
92
139
  DeleteBranchInput = Shapes::StructureShape.new(name: 'DeleteBranchInput')
93
140
  DeleteBranchOutput = Shapes::StructureShape.new(name: 'DeleteBranchOutput')
94
141
  DeleteCommentContentInput = Shapes::StructureShape.new(name: 'DeleteCommentContentInput')
@@ -97,6 +144,8 @@ module Aws::CodeCommit
97
144
  DeleteFileEntry = Shapes::StructureShape.new(name: 'DeleteFileEntry')
98
145
  DeleteFileInput = Shapes::StructureShape.new(name: 'DeleteFileInput')
99
146
  DeleteFileOutput = Shapes::StructureShape.new(name: 'DeleteFileOutput')
147
+ DeletePullRequestApprovalRuleInput = Shapes::StructureShape.new(name: 'DeletePullRequestApprovalRuleInput')
148
+ DeletePullRequestApprovalRuleOutput = Shapes::StructureShape.new(name: 'DeletePullRequestApprovalRuleOutput')
100
149
  DeleteRepositoryInput = Shapes::StructureShape.new(name: 'DeleteRepositoryInput')
101
150
  DeleteRepositoryOutput = Shapes::StructureShape.new(name: 'DeleteRepositoryOutput')
102
151
  DescribeMergeConflictsInput = Shapes::StructureShape.new(name: 'DescribeMergeConflictsInput')
@@ -107,6 +156,7 @@ module Aws::CodeCommit
107
156
  Difference = Shapes::StructureShape.new(name: 'Difference')
108
157
  DifferenceList = Shapes::ListShape.new(name: 'DifferenceList')
109
158
  DirectoryNameConflictsWithFileNameException = Shapes::StructureShape.new(name: 'DirectoryNameConflictsWithFileNameException')
159
+ DisassociateApprovalRuleTemplateFromRepositoryInput = Shapes::StructureShape.new(name: 'DisassociateApprovalRuleTemplateFromRepositoryInput')
110
160
  Email = Shapes::StringShape.new(name: 'Email')
111
161
  EncryptionIntegrityChecksFailedException = Shapes::StructureShape.new(name: 'EncryptionIntegrityChecksFailedException')
112
162
  EncryptionKeyAccessDeniedException = Shapes::StructureShape.new(name: 'EncryptionKeyAccessDeniedException')
@@ -115,6 +165,9 @@ module Aws::CodeCommit
115
165
  EncryptionKeyUnavailableException = Shapes::StructureShape.new(name: 'EncryptionKeyUnavailableException')
116
166
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
117
167
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
168
+ EvaluatePullRequestApprovalRulesInput = Shapes::StructureShape.new(name: 'EvaluatePullRequestApprovalRulesInput')
169
+ EvaluatePullRequestApprovalRulesOutput = Shapes::StructureShape.new(name: 'EvaluatePullRequestApprovalRulesOutput')
170
+ Evaluation = Shapes::StructureShape.new(name: 'Evaluation')
118
171
  EventDate = Shapes::TimestampShape.new(name: 'EventDate')
119
172
  ExceptionName = Shapes::StringShape.new(name: 'ExceptionName')
120
173
  File = Shapes::StructureShape.new(name: 'File')
@@ -140,6 +193,8 @@ module Aws::CodeCommit
140
193
  FolderContentSizeLimitExceededException = Shapes::StructureShape.new(name: 'FolderContentSizeLimitExceededException')
141
194
  FolderDoesNotExistException = Shapes::StructureShape.new(name: 'FolderDoesNotExistException')
142
195
  FolderList = Shapes::ListShape.new(name: 'FolderList')
196
+ GetApprovalRuleTemplateInput = Shapes::StructureShape.new(name: 'GetApprovalRuleTemplateInput')
197
+ GetApprovalRuleTemplateOutput = Shapes::StructureShape.new(name: 'GetApprovalRuleTemplateOutput')
143
198
  GetBlobInput = Shapes::StructureShape.new(name: 'GetBlobInput')
144
199
  GetBlobOutput = Shapes::StructureShape.new(name: 'GetBlobOutput')
145
200
  GetBranchInput = Shapes::StructureShape.new(name: 'GetBranchInput')
@@ -164,8 +219,12 @@ module Aws::CodeCommit
164
219
  GetMergeConflictsOutput = Shapes::StructureShape.new(name: 'GetMergeConflictsOutput')
165
220
  GetMergeOptionsInput = Shapes::StructureShape.new(name: 'GetMergeOptionsInput')
166
221
  GetMergeOptionsOutput = Shapes::StructureShape.new(name: 'GetMergeOptionsOutput')
222
+ GetPullRequestApprovalStatesInput = Shapes::StructureShape.new(name: 'GetPullRequestApprovalStatesInput')
223
+ GetPullRequestApprovalStatesOutput = Shapes::StructureShape.new(name: 'GetPullRequestApprovalStatesOutput')
167
224
  GetPullRequestInput = Shapes::StructureShape.new(name: 'GetPullRequestInput')
168
225
  GetPullRequestOutput = Shapes::StructureShape.new(name: 'GetPullRequestOutput')
226
+ GetPullRequestOverrideStateInput = Shapes::StructureShape.new(name: 'GetPullRequestOverrideStateInput')
227
+ GetPullRequestOverrideStateOutput = Shapes::StructureShape.new(name: 'GetPullRequestOverrideStateOutput')
169
228
  GetRepositoryInput = Shapes::StructureShape.new(name: 'GetRepositoryInput')
170
229
  GetRepositoryOutput = Shapes::StructureShape.new(name: 'GetRepositoryOutput')
171
230
  GetRepositoryTriggersInput = Shapes::StructureShape.new(name: 'GetRepositoryTriggersInput')
@@ -173,6 +232,12 @@ module Aws::CodeCommit
173
232
  HunkContent = Shapes::StringShape.new(name: 'HunkContent')
174
233
  IdempotencyParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotencyParameterMismatchException')
175
234
  InvalidActorArnException = Shapes::StructureShape.new(name: 'InvalidActorArnException')
235
+ InvalidApprovalRuleContentException = Shapes::StructureShape.new(name: 'InvalidApprovalRuleContentException')
236
+ InvalidApprovalRuleNameException = Shapes::StructureShape.new(name: 'InvalidApprovalRuleNameException')
237
+ InvalidApprovalRuleTemplateContentException = Shapes::StructureShape.new(name: 'InvalidApprovalRuleTemplateContentException')
238
+ InvalidApprovalRuleTemplateDescriptionException = Shapes::StructureShape.new(name: 'InvalidApprovalRuleTemplateDescriptionException')
239
+ InvalidApprovalRuleTemplateNameException = Shapes::StructureShape.new(name: 'InvalidApprovalRuleTemplateNameException')
240
+ InvalidApprovalStateException = Shapes::StructureShape.new(name: 'InvalidApprovalStateException')
176
241
  InvalidAuthorArnException = Shapes::StructureShape.new(name: 'InvalidAuthorArnException')
177
242
  InvalidBlobIdException = Shapes::StructureShape.new(name: 'InvalidBlobIdException')
178
243
  InvalidBranchNameException = Shapes::StructureShape.new(name: 'InvalidBranchNameException')
@@ -196,6 +261,7 @@ module Aws::CodeCommit
196
261
  InvalidMaxResultsException = Shapes::StructureShape.new(name: 'InvalidMaxResultsException')
197
262
  InvalidMergeOptionException = Shapes::StructureShape.new(name: 'InvalidMergeOptionException')
198
263
  InvalidOrderException = Shapes::StructureShape.new(name: 'InvalidOrderException')
264
+ InvalidOverrideStatusException = Shapes::StructureShape.new(name: 'InvalidOverrideStatusException')
199
265
  InvalidParentCommitIdException = Shapes::StructureShape.new(name: 'InvalidParentCommitIdException')
200
266
  InvalidPathException = Shapes::StructureShape.new(name: 'InvalidPathException')
201
267
  InvalidPullRequestEventTypeException = Shapes::StructureShape.new(name: 'InvalidPullRequestEventTypeException')
@@ -215,6 +281,8 @@ module Aws::CodeCommit
215
281
  InvalidRepositoryTriggerNameException = Shapes::StructureShape.new(name: 'InvalidRepositoryTriggerNameException')
216
282
  InvalidRepositoryTriggerRegionException = Shapes::StructureShape.new(name: 'InvalidRepositoryTriggerRegionException')
217
283
  InvalidResourceArnException = Shapes::StructureShape.new(name: 'InvalidResourceArnException')
284
+ InvalidRevisionIdException = Shapes::StructureShape.new(name: 'InvalidRevisionIdException')
285
+ InvalidRuleContentSha256Exception = Shapes::StructureShape.new(name: 'InvalidRuleContentSha256Exception')
218
286
  InvalidSortByException = Shapes::StructureShape.new(name: 'InvalidSortByException')
219
287
  InvalidSourceCommitSpecifierException = Shapes::StructureShape.new(name: 'InvalidSourceCommitSpecifierException')
220
288
  InvalidSystemTagUsageException = Shapes::StructureShape.new(name: 'InvalidSystemTagUsageException')
@@ -237,10 +305,16 @@ module Aws::CodeCommit
237
305
  LastModifiedDate = Shapes::TimestampShape.new(name: 'LastModifiedDate')
238
306
  Limit = Shapes::IntegerShape.new(name: 'Limit')
239
307
  LineNumber = Shapes::IntegerShape.new(name: 'LineNumber')
308
+ ListApprovalRuleTemplatesInput = Shapes::StructureShape.new(name: 'ListApprovalRuleTemplatesInput')
309
+ ListApprovalRuleTemplatesOutput = Shapes::StructureShape.new(name: 'ListApprovalRuleTemplatesOutput')
310
+ ListAssociatedApprovalRuleTemplatesForRepositoryInput = Shapes::StructureShape.new(name: 'ListAssociatedApprovalRuleTemplatesForRepositoryInput')
311
+ ListAssociatedApprovalRuleTemplatesForRepositoryOutput = Shapes::StructureShape.new(name: 'ListAssociatedApprovalRuleTemplatesForRepositoryOutput')
240
312
  ListBranchesInput = Shapes::StructureShape.new(name: 'ListBranchesInput')
241
313
  ListBranchesOutput = Shapes::StructureShape.new(name: 'ListBranchesOutput')
242
314
  ListPullRequestsInput = Shapes::StructureShape.new(name: 'ListPullRequestsInput')
243
315
  ListPullRequestsOutput = Shapes::StructureShape.new(name: 'ListPullRequestsOutput')
316
+ ListRepositoriesForApprovalRuleTemplateInput = Shapes::StructureShape.new(name: 'ListRepositoriesForApprovalRuleTemplateInput')
317
+ ListRepositoriesForApprovalRuleTemplateOutput = Shapes::StructureShape.new(name: 'ListRepositoriesForApprovalRuleTemplateOutput')
244
318
  ListRepositoriesInput = Shapes::StructureShape.new(name: 'ListRepositoriesInput')
245
319
  ListRepositoriesOutput = Shapes::StructureShape.new(name: 'ListRepositoriesOutput')
246
320
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
@@ -253,9 +327,11 @@ module Aws::CodeCommit
253
327
  MaximumFileContentToLoadExceededException = Shapes::StructureShape.new(name: 'MaximumFileContentToLoadExceededException')
254
328
  MaximumFileEntriesExceededException = Shapes::StructureShape.new(name: 'MaximumFileEntriesExceededException')
255
329
  MaximumItemsToCompareExceededException = Shapes::StructureShape.new(name: 'MaximumItemsToCompareExceededException')
330
+ MaximumNumberOfApprovalsExceededException = Shapes::StructureShape.new(name: 'MaximumNumberOfApprovalsExceededException')
256
331
  MaximumOpenPullRequestsExceededException = Shapes::StructureShape.new(name: 'MaximumOpenPullRequestsExceededException')
257
332
  MaximumRepositoryNamesExceededException = Shapes::StructureShape.new(name: 'MaximumRepositoryNamesExceededException')
258
333
  MaximumRepositoryTriggersExceededException = Shapes::StructureShape.new(name: 'MaximumRepositoryTriggersExceededException')
334
+ MaximumRuleTemplatesAssociatedWithRepositoryException = Shapes::StructureShape.new(name: 'MaximumRuleTemplatesAssociatedWithRepositoryException')
259
335
  MergeBranchesByFastForwardInput = Shapes::StructureShape.new(name: 'MergeBranchesByFastForwardInput')
260
336
  MergeBranchesByFastForwardOutput = Shapes::StructureShape.new(name: 'MergeBranchesByFastForwardOutput')
261
337
  MergeBranchesBySquashInput = Shapes::StructureShape.new(name: 'MergeBranchesBySquashInput')
@@ -285,11 +361,19 @@ module Aws::CodeCommit
285
361
  NextToken = Shapes::StringShape.new(name: 'NextToken')
286
362
  NoChangeException = Shapes::StructureShape.new(name: 'NoChangeException')
287
363
  NumberOfConflicts = Shapes::IntegerShape.new(name: 'NumberOfConflicts')
364
+ NumberOfRuleTemplatesExceededException = Shapes::StructureShape.new(name: 'NumberOfRuleTemplatesExceededException')
365
+ NumberOfRulesExceededException = Shapes::StructureShape.new(name: 'NumberOfRulesExceededException')
288
366
  ObjectId = Shapes::StringShape.new(name: 'ObjectId')
289
367
  ObjectSize = Shapes::IntegerShape.new(name: 'ObjectSize')
290
368
  ObjectTypeEnum = Shapes::StringShape.new(name: 'ObjectTypeEnum')
291
369
  ObjectTypes = Shapes::StructureShape.new(name: 'ObjectTypes')
292
370
  OrderEnum = Shapes::StringShape.new(name: 'OrderEnum')
371
+ OriginApprovalRuleTemplate = Shapes::StructureShape.new(name: 'OriginApprovalRuleTemplate')
372
+ Overridden = Shapes::BooleanShape.new(name: 'Overridden')
373
+ OverrideAlreadySetException = Shapes::StructureShape.new(name: 'OverrideAlreadySetException')
374
+ OverridePullRequestApprovalRulesInput = Shapes::StructureShape.new(name: 'OverridePullRequestApprovalRulesInput')
375
+ OverrideStatus = Shapes::StringShape.new(name: 'OverrideStatus')
376
+ OverrideStatusRequiredException = Shapes::StructureShape.new(name: 'OverrideStatusRequiredException')
293
377
  ParentCommitDoesNotExistException = Shapes::StructureShape.new(name: 'ParentCommitDoesNotExistException')
294
378
  ParentCommitIdOutdatedException = Shapes::StructureShape.new(name: 'ParentCommitIdOutdatedException')
295
379
  ParentCommitIdRequiredException = Shapes::StructureShape.new(name: 'ParentCommitIdRequiredException')
@@ -306,6 +390,8 @@ module Aws::CodeCommit
306
390
  PostCommentReplyOutput = Shapes::StructureShape.new(name: 'PostCommentReplyOutput')
307
391
  PullRequest = Shapes::StructureShape.new(name: 'PullRequest')
308
392
  PullRequestAlreadyClosedException = Shapes::StructureShape.new(name: 'PullRequestAlreadyClosedException')
393
+ PullRequestApprovalRulesNotSatisfiedException = Shapes::StructureShape.new(name: 'PullRequestApprovalRulesNotSatisfiedException')
394
+ PullRequestCannotBeApprovedByAuthorException = Shapes::StructureShape.new(name: 'PullRequestCannotBeApprovedByAuthorException')
309
395
  PullRequestCreatedEventMetadata = Shapes::StructureShape.new(name: 'PullRequestCreatedEventMetadata')
310
396
  PullRequestDoesNotExistException = Shapes::StructureShape.new(name: 'PullRequestDoesNotExistException')
311
397
  PullRequestEvent = Shapes::StructureShape.new(name: 'PullRequestEvent')
@@ -372,6 +458,10 @@ module Aws::CodeCommit
372
458
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
373
459
  ResourceArnRequiredException = Shapes::StructureShape.new(name: 'ResourceArnRequiredException')
374
460
  RestrictedSourceFileException = Shapes::StructureShape.new(name: 'RestrictedSourceFileException')
461
+ RevisionId = Shapes::StringShape.new(name: 'RevisionId')
462
+ RevisionIdRequiredException = Shapes::StructureShape.new(name: 'RevisionIdRequiredException')
463
+ RevisionNotCurrentException = Shapes::StructureShape.new(name: 'RevisionNotCurrentException')
464
+ RuleContentSha256 = Shapes::StringShape.new(name: 'RuleContentSha256')
375
465
  SameFileContentException = Shapes::StructureShape.new(name: 'SameFileContentException')
376
466
  SamePathRequestException = Shapes::StructureShape.new(name: 'SamePathRequestException')
377
467
  SetFileModeEntries = Shapes::ListShape.new(name: 'SetFileModeEntries')
@@ -404,9 +494,18 @@ module Aws::CodeCommit
404
494
  TitleRequiredException = Shapes::StructureShape.new(name: 'TitleRequiredException')
405
495
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
406
496
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
497
+ UpdateApprovalRuleTemplateContentInput = Shapes::StructureShape.new(name: 'UpdateApprovalRuleTemplateContentInput')
498
+ UpdateApprovalRuleTemplateContentOutput = Shapes::StructureShape.new(name: 'UpdateApprovalRuleTemplateContentOutput')
499
+ UpdateApprovalRuleTemplateDescriptionInput = Shapes::StructureShape.new(name: 'UpdateApprovalRuleTemplateDescriptionInput')
500
+ UpdateApprovalRuleTemplateDescriptionOutput = Shapes::StructureShape.new(name: 'UpdateApprovalRuleTemplateDescriptionOutput')
501
+ UpdateApprovalRuleTemplateNameInput = Shapes::StructureShape.new(name: 'UpdateApprovalRuleTemplateNameInput')
502
+ UpdateApprovalRuleTemplateNameOutput = Shapes::StructureShape.new(name: 'UpdateApprovalRuleTemplateNameOutput')
407
503
  UpdateCommentInput = Shapes::StructureShape.new(name: 'UpdateCommentInput')
408
504
  UpdateCommentOutput = Shapes::StructureShape.new(name: 'UpdateCommentOutput')
409
505
  UpdateDefaultBranchInput = Shapes::StructureShape.new(name: 'UpdateDefaultBranchInput')
506
+ UpdatePullRequestApprovalRuleContentInput = Shapes::StructureShape.new(name: 'UpdatePullRequestApprovalRuleContentInput')
507
+ UpdatePullRequestApprovalRuleContentOutput = Shapes::StructureShape.new(name: 'UpdatePullRequestApprovalRuleContentOutput')
508
+ UpdatePullRequestApprovalStateInput = Shapes::StructureShape.new(name: 'UpdatePullRequestApprovalStateInput')
410
509
  UpdatePullRequestDescriptionInput = Shapes::StructureShape.new(name: 'UpdatePullRequestDescriptionInput')
411
510
  UpdatePullRequestDescriptionOutput = Shapes::StructureShape.new(name: 'UpdatePullRequestDescriptionOutput')
412
511
  UpdatePullRequestStatusInput = Shapes::StructureShape.new(name: 'UpdatePullRequestStatusInput')
@@ -418,6 +517,96 @@ module Aws::CodeCommit
418
517
  UserInfo = Shapes::StructureShape.new(name: 'UserInfo')
419
518
  blob = Shapes::BlobShape.new(name: 'blob')
420
519
 
520
+ ActorDoesNotExistException.struct_class = Types::ActorDoesNotExistException
521
+
522
+ Approval.add_member(:user_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "userArn"))
523
+ Approval.add_member(:approval_state, Shapes::ShapeRef.new(shape: ApprovalState, location_name: "approvalState"))
524
+ Approval.struct_class = Types::Approval
525
+
526
+ ApprovalList.member = Shapes::ShapeRef.new(shape: Approval)
527
+
528
+ ApprovalRule.add_member(:approval_rule_id, Shapes::ShapeRef.new(shape: ApprovalRuleId, location_name: "approvalRuleId"))
529
+ ApprovalRule.add_member(:approval_rule_name, Shapes::ShapeRef.new(shape: ApprovalRuleName, location_name: "approvalRuleName"))
530
+ ApprovalRule.add_member(:approval_rule_content, Shapes::ShapeRef.new(shape: ApprovalRuleContent, location_name: "approvalRuleContent"))
531
+ ApprovalRule.add_member(:rule_content_sha_256, Shapes::ShapeRef.new(shape: RuleContentSha256, location_name: "ruleContentSha256"))
532
+ ApprovalRule.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
533
+ ApprovalRule.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
534
+ ApprovalRule.add_member(:last_modified_user, Shapes::ShapeRef.new(shape: Arn, location_name: "lastModifiedUser"))
535
+ ApprovalRule.add_member(:origin_approval_rule_template, Shapes::ShapeRef.new(shape: OriginApprovalRuleTemplate, location_name: "originApprovalRuleTemplate"))
536
+ ApprovalRule.struct_class = Types::ApprovalRule
537
+
538
+ ApprovalRuleContentRequiredException.struct_class = Types::ApprovalRuleContentRequiredException
539
+
540
+ ApprovalRuleDoesNotExistException.struct_class = Types::ApprovalRuleDoesNotExistException
541
+
542
+ ApprovalRuleEventMetadata.add_member(:approval_rule_name, Shapes::ShapeRef.new(shape: ApprovalRuleName, location_name: "approvalRuleName"))
543
+ ApprovalRuleEventMetadata.add_member(:approval_rule_id, Shapes::ShapeRef.new(shape: ApprovalRuleId, location_name: "approvalRuleId"))
544
+ ApprovalRuleEventMetadata.add_member(:approval_rule_content, Shapes::ShapeRef.new(shape: ApprovalRuleContent, location_name: "approvalRuleContent"))
545
+ ApprovalRuleEventMetadata.struct_class = Types::ApprovalRuleEventMetadata
546
+
547
+ ApprovalRuleNameAlreadyExistsException.struct_class = Types::ApprovalRuleNameAlreadyExistsException
548
+
549
+ ApprovalRuleNameRequiredException.struct_class = Types::ApprovalRuleNameRequiredException
550
+
551
+ ApprovalRuleOverriddenEventMetadata.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
552
+ ApprovalRuleOverriddenEventMetadata.add_member(:override_status, Shapes::ShapeRef.new(shape: OverrideStatus, location_name: "overrideStatus"))
553
+ ApprovalRuleOverriddenEventMetadata.struct_class = Types::ApprovalRuleOverriddenEventMetadata
554
+
555
+ ApprovalRuleTemplate.add_member(:approval_rule_template_id, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateId, location_name: "approvalRuleTemplateId"))
556
+ ApprovalRuleTemplate.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, location_name: "approvalRuleTemplateName"))
557
+ ApprovalRuleTemplate.add_member(:approval_rule_template_description, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDescription, location_name: "approvalRuleTemplateDescription"))
558
+ ApprovalRuleTemplate.add_member(:approval_rule_template_content, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateContent, location_name: "approvalRuleTemplateContent"))
559
+ ApprovalRuleTemplate.add_member(:rule_content_sha_256, Shapes::ShapeRef.new(shape: RuleContentSha256, location_name: "ruleContentSha256"))
560
+ ApprovalRuleTemplate.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
561
+ ApprovalRuleTemplate.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
562
+ ApprovalRuleTemplate.add_member(:last_modified_user, Shapes::ShapeRef.new(shape: Arn, location_name: "lastModifiedUser"))
563
+ ApprovalRuleTemplate.struct_class = Types::ApprovalRuleTemplate
564
+
565
+ ApprovalRuleTemplateContentRequiredException.struct_class = Types::ApprovalRuleTemplateContentRequiredException
566
+
567
+ ApprovalRuleTemplateDoesNotExistException.struct_class = Types::ApprovalRuleTemplateDoesNotExistException
568
+
569
+ ApprovalRuleTemplateInUseException.struct_class = Types::ApprovalRuleTemplateInUseException
570
+
571
+ ApprovalRuleTemplateNameAlreadyExistsException.struct_class = Types::ApprovalRuleTemplateNameAlreadyExistsException
572
+
573
+ ApprovalRuleTemplateNameList.member = Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName)
574
+
575
+ ApprovalRuleTemplateNameRequiredException.struct_class = Types::ApprovalRuleTemplateNameRequiredException
576
+
577
+ ApprovalRulesList.member = Shapes::ShapeRef.new(shape: ApprovalRule)
578
+
579
+ ApprovalRulesNotSatisfiedList.member = Shapes::ShapeRef.new(shape: ApprovalRuleName)
580
+
581
+ ApprovalRulesSatisfiedList.member = Shapes::ShapeRef.new(shape: ApprovalRuleName)
582
+
583
+ ApprovalStateChangedEventMetadata.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
584
+ ApprovalStateChangedEventMetadata.add_member(:approval_status, Shapes::ShapeRef.new(shape: ApprovalState, location_name: "approvalStatus"))
585
+ ApprovalStateChangedEventMetadata.struct_class = Types::ApprovalStateChangedEventMetadata
586
+
587
+ ApprovalStateRequiredException.struct_class = Types::ApprovalStateRequiredException
588
+
589
+ AssociateApprovalRuleTemplateWithRepositoryInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
590
+ AssociateApprovalRuleTemplateWithRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
591
+ AssociateApprovalRuleTemplateWithRepositoryInput.struct_class = Types::AssociateApprovalRuleTemplateWithRepositoryInput
592
+
593
+ AuthorDoesNotExistException.struct_class = Types::AuthorDoesNotExistException
594
+
595
+ BatchAssociateApprovalRuleTemplateWithRepositoriesError.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
596
+ BatchAssociateApprovalRuleTemplateWithRepositoriesError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
597
+ BatchAssociateApprovalRuleTemplateWithRepositoriesError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
598
+ BatchAssociateApprovalRuleTemplateWithRepositoriesError.struct_class = Types::BatchAssociateApprovalRuleTemplateWithRepositoriesError
599
+
600
+ BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList.member = Shapes::ShapeRef.new(shape: BatchAssociateApprovalRuleTemplateWithRepositoriesError)
601
+
602
+ BatchAssociateApprovalRuleTemplateWithRepositoriesInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
603
+ BatchAssociateApprovalRuleTemplateWithRepositoriesInput.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, required: true, location_name: "repositoryNames"))
604
+ BatchAssociateApprovalRuleTemplateWithRepositoriesInput.struct_class = Types::BatchAssociateApprovalRuleTemplateWithRepositoriesInput
605
+
606
+ BatchAssociateApprovalRuleTemplateWithRepositoriesOutput.add_member(:associated_repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, required: true, location_name: "associatedRepositoryNames"))
607
+ BatchAssociateApprovalRuleTemplateWithRepositoriesOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList, required: true, location_name: "errors"))
608
+ BatchAssociateApprovalRuleTemplateWithRepositoriesOutput.struct_class = Types::BatchAssociateApprovalRuleTemplateWithRepositoriesOutput
609
+
421
610
  BatchDescribeMergeConflictsError.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "filePath"))
422
611
  BatchDescribeMergeConflictsError.add_member(:exception_name, Shapes::ShapeRef.new(shape: ExceptionName, required: true, location_name: "exceptionName"))
423
612
  BatchDescribeMergeConflictsError.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "message"))
@@ -445,6 +634,21 @@ module Aws::CodeCommit
445
634
  BatchDescribeMergeConflictsOutput.add_member(:base_commit_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "baseCommitId"))
446
635
  BatchDescribeMergeConflictsOutput.struct_class = Types::BatchDescribeMergeConflictsOutput
447
636
 
637
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesError.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
638
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
639
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
640
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesError.struct_class = Types::BatchDisassociateApprovalRuleTemplateFromRepositoriesError
641
+
642
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList.member = Shapes::ShapeRef.new(shape: BatchDisassociateApprovalRuleTemplateFromRepositoriesError)
643
+
644
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
645
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesInput.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, required: true, location_name: "repositoryNames"))
646
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesInput.struct_class = Types::BatchDisassociateApprovalRuleTemplateFromRepositoriesInput
647
+
648
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput.add_member(:disassociated_repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, required: true, location_name: "disassociatedRepositoryNames"))
649
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList, required: true, location_name: "errors"))
650
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput.struct_class = Types::BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput
651
+
448
652
  BatchGetCommitsError.add_member(:commit_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "commitId"))
449
653
  BatchGetCommitsError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
450
654
  BatchGetCommitsError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
@@ -467,17 +671,37 @@ module Aws::CodeCommit
467
671
  BatchGetRepositoriesOutput.add_member(:repositories_not_found, Shapes::ShapeRef.new(shape: RepositoryNotFoundList, location_name: "repositoriesNotFound"))
468
672
  BatchGetRepositoriesOutput.struct_class = Types::BatchGetRepositoriesOutput
469
673
 
674
+ BeforeCommitIdAndAfterCommitIdAreSameException.struct_class = Types::BeforeCommitIdAndAfterCommitIdAreSameException
675
+
676
+ BlobIdDoesNotExistException.struct_class = Types::BlobIdDoesNotExistException
677
+
678
+ BlobIdRequiredException.struct_class = Types::BlobIdRequiredException
679
+
470
680
  BlobMetadata.add_member(:blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "blobId"))
471
681
  BlobMetadata.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "path"))
472
682
  BlobMetadata.add_member(:mode, Shapes::ShapeRef.new(shape: Mode, location_name: "mode"))
473
683
  BlobMetadata.struct_class = Types::BlobMetadata
474
684
 
685
+ BranchDoesNotExistException.struct_class = Types::BranchDoesNotExistException
686
+
475
687
  BranchInfo.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "branchName"))
476
688
  BranchInfo.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "commitId"))
477
689
  BranchInfo.struct_class = Types::BranchInfo
478
690
 
691
+ BranchNameExistsException.struct_class = Types::BranchNameExistsException
692
+
693
+ BranchNameIsTagNameException.struct_class = Types::BranchNameIsTagNameException
694
+
479
695
  BranchNameList.member = Shapes::ShapeRef.new(shape: BranchName)
480
696
 
697
+ BranchNameRequiredException.struct_class = Types::BranchNameRequiredException
698
+
699
+ CannotDeleteApprovalRuleFromTemplateException.struct_class = Types::CannotDeleteApprovalRuleFromTemplateException
700
+
701
+ CannotModifyApprovalRuleFromTemplateException.struct_class = Types::CannotModifyApprovalRuleFromTemplateException
702
+
703
+ ClientRequestTokenRequiredException.struct_class = Types::ClientRequestTokenRequiredException
704
+
481
705
  Comment.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentId, location_name: "commentId"))
482
706
  Comment.add_member(:content, Shapes::ShapeRef.new(shape: Content, location_name: "content"))
483
707
  Comment.add_member(:in_reply_to, Shapes::ShapeRef.new(shape: CommentId, location_name: "inReplyTo"))
@@ -488,6 +712,18 @@ module Aws::CodeCommit
488
712
  Comment.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
489
713
  Comment.struct_class = Types::Comment
490
714
 
715
+ CommentContentRequiredException.struct_class = Types::CommentContentRequiredException
716
+
717
+ CommentContentSizeLimitExceededException.struct_class = Types::CommentContentSizeLimitExceededException
718
+
719
+ CommentDeletedException.struct_class = Types::CommentDeletedException
720
+
721
+ CommentDoesNotExistException.struct_class = Types::CommentDoesNotExistException
722
+
723
+ CommentIdRequiredException.struct_class = Types::CommentIdRequiredException
724
+
725
+ CommentNotCreatedByCallerException.struct_class = Types::CommentNotCreatedByCallerException
726
+
491
727
  Comments.member = Shapes::ShapeRef.new(shape: Comment)
492
728
 
493
729
  CommentsForComparedCommit.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
@@ -522,10 +758,26 @@ module Aws::CodeCommit
522
758
  Commit.add_member(:additional_data, Shapes::ShapeRef.new(shape: AdditionalData, location_name: "additionalData"))
523
759
  Commit.struct_class = Types::Commit
524
760
 
761
+ CommitDoesNotExistException.struct_class = Types::CommitDoesNotExistException
762
+
763
+ CommitIdDoesNotExistException.struct_class = Types::CommitIdDoesNotExistException
764
+
765
+ CommitIdRequiredException.struct_class = Types::CommitIdRequiredException
766
+
525
767
  CommitIdsInputList.member = Shapes::ShapeRef.new(shape: ObjectId)
526
768
 
769
+ CommitIdsLimitExceededException.struct_class = Types::CommitIdsLimitExceededException
770
+
771
+ CommitIdsListRequiredException.struct_class = Types::CommitIdsListRequiredException
772
+
773
+ CommitMessageLengthExceededException.struct_class = Types::CommitMessageLengthExceededException
774
+
527
775
  CommitObjectsList.member = Shapes::ShapeRef.new(shape: Commit)
528
776
 
777
+ CommitRequiredException.struct_class = Types::CommitRequiredException
778
+
779
+ ConcurrentReferenceUpdateException.struct_class = Types::ConcurrentReferenceUpdateException
780
+
529
781
  Conflict.add_member(:conflict_metadata, Shapes::ShapeRef.new(shape: ConflictMetadata, location_name: "conflictMetadata"))
530
782
  Conflict.add_member(:merge_hunks, Shapes::ShapeRef.new(shape: MergeHunks, location_name: "mergeHunks"))
531
783
  Conflict.struct_class = Types::Conflict
@@ -551,6 +803,14 @@ module Aws::CodeCommit
551
803
 
552
804
  Conflicts.member = Shapes::ShapeRef.new(shape: Conflict)
553
805
 
806
+ CreateApprovalRuleTemplateInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
807
+ CreateApprovalRuleTemplateInput.add_member(:approval_rule_template_content, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateContent, required: true, location_name: "approvalRuleTemplateContent"))
808
+ CreateApprovalRuleTemplateInput.add_member(:approval_rule_template_description, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDescription, location_name: "approvalRuleTemplateDescription"))
809
+ CreateApprovalRuleTemplateInput.struct_class = Types::CreateApprovalRuleTemplateInput
810
+
811
+ CreateApprovalRuleTemplateOutput.add_member(:approval_rule_template, Shapes::ShapeRef.new(shape: ApprovalRuleTemplate, required: true, location_name: "approvalRuleTemplate"))
812
+ CreateApprovalRuleTemplateOutput.struct_class = Types::CreateApprovalRuleTemplateOutput
813
+
554
814
  CreateBranchInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
555
815
  CreateBranchInput.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
556
816
  CreateBranchInput.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "commitId"))
@@ -575,6 +835,14 @@ module Aws::CodeCommit
575
835
  CreateCommitOutput.add_member(:files_deleted, Shapes::ShapeRef.new(shape: FilesMetadata, location_name: "filesDeleted"))
576
836
  CreateCommitOutput.struct_class = Types::CreateCommitOutput
577
837
 
838
+ CreatePullRequestApprovalRuleInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
839
+ CreatePullRequestApprovalRuleInput.add_member(:approval_rule_name, Shapes::ShapeRef.new(shape: ApprovalRuleName, required: true, location_name: "approvalRuleName"))
840
+ CreatePullRequestApprovalRuleInput.add_member(:approval_rule_content, Shapes::ShapeRef.new(shape: ApprovalRuleContent, required: true, location_name: "approvalRuleContent"))
841
+ CreatePullRequestApprovalRuleInput.struct_class = Types::CreatePullRequestApprovalRuleInput
842
+
843
+ CreatePullRequestApprovalRuleOutput.add_member(:approval_rule, Shapes::ShapeRef.new(shape: ApprovalRule, required: true, location_name: "approvalRule"))
844
+ CreatePullRequestApprovalRuleOutput.struct_class = Types::CreatePullRequestApprovalRuleOutput
845
+
578
846
  CreatePullRequestInput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
579
847
  CreatePullRequestInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
580
848
  CreatePullRequestInput.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, required: true, location_name: "targets"))
@@ -609,6 +877,14 @@ module Aws::CodeCommit
609
877
  CreateUnreferencedMergeCommitOutput.add_member(:tree_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "treeId"))
610
878
  CreateUnreferencedMergeCommitOutput.struct_class = Types::CreateUnreferencedMergeCommitOutput
611
879
 
880
+ DefaultBranchCannotBeDeletedException.struct_class = Types::DefaultBranchCannotBeDeletedException
881
+
882
+ DeleteApprovalRuleTemplateInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
883
+ DeleteApprovalRuleTemplateInput.struct_class = Types::DeleteApprovalRuleTemplateInput
884
+
885
+ DeleteApprovalRuleTemplateOutput.add_member(:approval_rule_template_id, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateId, required: true, location_name: "approvalRuleTemplateId"))
886
+ DeleteApprovalRuleTemplateOutput.struct_class = Types::DeleteApprovalRuleTemplateOutput
887
+
612
888
  DeleteBranchInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
613
889
  DeleteBranchInput.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
614
890
  DeleteBranchInput.struct_class = Types::DeleteBranchInput
@@ -643,6 +919,13 @@ module Aws::CodeCommit
643
919
  DeleteFileOutput.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "filePath"))
644
920
  DeleteFileOutput.struct_class = Types::DeleteFileOutput
645
921
 
922
+ DeletePullRequestApprovalRuleInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
923
+ DeletePullRequestApprovalRuleInput.add_member(:approval_rule_name, Shapes::ShapeRef.new(shape: ApprovalRuleName, required: true, location_name: "approvalRuleName"))
924
+ DeletePullRequestApprovalRuleInput.struct_class = Types::DeletePullRequestApprovalRuleInput
925
+
926
+ DeletePullRequestApprovalRuleOutput.add_member(:approval_rule_id, Shapes::ShapeRef.new(shape: ApprovalRuleId, required: true, location_name: "approvalRuleId"))
927
+ DeletePullRequestApprovalRuleOutput.struct_class = Types::DeletePullRequestApprovalRuleOutput
928
+
646
929
  DeleteRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
647
930
  DeleteRepositoryInput.struct_class = Types::DeleteRepositoryInput
648
931
 
@@ -686,12 +969,51 @@ module Aws::CodeCommit
686
969
 
687
970
  DifferenceList.member = Shapes::ShapeRef.new(shape: Difference)
688
971
 
972
+ DirectoryNameConflictsWithFileNameException.struct_class = Types::DirectoryNameConflictsWithFileNameException
973
+
974
+ DisassociateApprovalRuleTemplateFromRepositoryInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
975
+ DisassociateApprovalRuleTemplateFromRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
976
+ DisassociateApprovalRuleTemplateFromRepositoryInput.struct_class = Types::DisassociateApprovalRuleTemplateFromRepositoryInput
977
+
978
+ EncryptionIntegrityChecksFailedException.struct_class = Types::EncryptionIntegrityChecksFailedException
979
+
980
+ EncryptionKeyAccessDeniedException.struct_class = Types::EncryptionKeyAccessDeniedException
981
+
982
+ EncryptionKeyDisabledException.struct_class = Types::EncryptionKeyDisabledException
983
+
984
+ EncryptionKeyNotFoundException.struct_class = Types::EncryptionKeyNotFoundException
985
+
986
+ EncryptionKeyUnavailableException.struct_class = Types::EncryptionKeyUnavailableException
987
+
988
+ EvaluatePullRequestApprovalRulesInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
989
+ EvaluatePullRequestApprovalRulesInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
990
+ EvaluatePullRequestApprovalRulesInput.struct_class = Types::EvaluatePullRequestApprovalRulesInput
991
+
992
+ EvaluatePullRequestApprovalRulesOutput.add_member(:evaluation, Shapes::ShapeRef.new(shape: Evaluation, required: true, location_name: "evaluation"))
993
+ EvaluatePullRequestApprovalRulesOutput.struct_class = Types::EvaluatePullRequestApprovalRulesOutput
994
+
995
+ Evaluation.add_member(:approved, Shapes::ShapeRef.new(shape: Approved, location_name: "approved"))
996
+ Evaluation.add_member(:overridden, Shapes::ShapeRef.new(shape: Overridden, location_name: "overridden"))
997
+ Evaluation.add_member(:approval_rules_satisfied, Shapes::ShapeRef.new(shape: ApprovalRulesSatisfiedList, location_name: "approvalRulesSatisfied"))
998
+ Evaluation.add_member(:approval_rules_not_satisfied, Shapes::ShapeRef.new(shape: ApprovalRulesNotSatisfiedList, location_name: "approvalRulesNotSatisfied"))
999
+ Evaluation.struct_class = Types::Evaluation
1000
+
689
1001
  File.add_member(:blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "blobId"))
690
1002
  File.add_member(:absolute_path, Shapes::ShapeRef.new(shape: Path, location_name: "absolutePath"))
691
1003
  File.add_member(:relative_path, Shapes::ShapeRef.new(shape: Path, location_name: "relativePath"))
692
1004
  File.add_member(:file_mode, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "fileMode"))
693
1005
  File.struct_class = Types::File
694
1006
 
1007
+ FileContentAndSourceFileSpecifiedException.struct_class = Types::FileContentAndSourceFileSpecifiedException
1008
+
1009
+ FileContentRequiredException.struct_class = Types::FileContentRequiredException
1010
+
1011
+ FileContentSizeLimitExceededException.struct_class = Types::FileContentSizeLimitExceededException
1012
+
1013
+ FileDoesNotExistException.struct_class = Types::FileDoesNotExistException
1014
+
1015
+ FileEntryRequiredException.struct_class = Types::FileEntryRequiredException
1016
+
695
1017
  FileList.member = Shapes::ShapeRef.new(shape: File)
696
1018
 
697
1019
  FileMetadata.add_member(:absolute_path, Shapes::ShapeRef.new(shape: Path, location_name: "absolutePath"))
@@ -699,11 +1021,17 @@ module Aws::CodeCommit
699
1021
  FileMetadata.add_member(:file_mode, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "fileMode"))
700
1022
  FileMetadata.struct_class = Types::FileMetadata
701
1023
 
1024
+ FileModeRequiredException.struct_class = Types::FileModeRequiredException
1025
+
702
1026
  FileModes.add_member(:source, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "source"))
703
1027
  FileModes.add_member(:destination, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "destination"))
704
1028
  FileModes.add_member(:base, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "base"))
705
1029
  FileModes.struct_class = Types::FileModes
706
1030
 
1031
+ FileNameConflictsWithDirectoryNameException.struct_class = Types::FileNameConflictsWithDirectoryNameException
1032
+
1033
+ FilePathConflictsWithSubmodulePathException.struct_class = Types::FilePathConflictsWithSubmodulePathException
1034
+
707
1035
  FilePaths.member = Shapes::ShapeRef.new(shape: Path)
708
1036
 
709
1037
  FileSizes.add_member(:source, Shapes::ShapeRef.new(shape: FileSize, location_name: "source"))
@@ -711,6 +1039,8 @@ module Aws::CodeCommit
711
1039
  FileSizes.add_member(:base, Shapes::ShapeRef.new(shape: FileSize, location_name: "base"))
712
1040
  FileSizes.struct_class = Types::FileSizes
713
1041
 
1042
+ FileTooLargeException.struct_class = Types::FileTooLargeException
1043
+
714
1044
  FilesMetadata.member = Shapes::ShapeRef.new(shape: FileMetadata)
715
1045
 
716
1046
  Folder.add_member(:tree_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "treeId"))
@@ -718,8 +1048,18 @@ module Aws::CodeCommit
718
1048
  Folder.add_member(:relative_path, Shapes::ShapeRef.new(shape: Path, location_name: "relativePath"))
719
1049
  Folder.struct_class = Types::Folder
720
1050
 
1051
+ FolderContentSizeLimitExceededException.struct_class = Types::FolderContentSizeLimitExceededException
1052
+
1053
+ FolderDoesNotExistException.struct_class = Types::FolderDoesNotExistException
1054
+
721
1055
  FolderList.member = Shapes::ShapeRef.new(shape: Folder)
722
1056
 
1057
+ GetApprovalRuleTemplateInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
1058
+ GetApprovalRuleTemplateInput.struct_class = Types::GetApprovalRuleTemplateInput
1059
+
1060
+ GetApprovalRuleTemplateOutput.add_member(:approval_rule_template, Shapes::ShapeRef.new(shape: ApprovalRuleTemplate, required: true, location_name: "approvalRuleTemplate"))
1061
+ GetApprovalRuleTemplateOutput.struct_class = Types::GetApprovalRuleTemplateOutput
1062
+
723
1063
  GetBlobInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
724
1064
  GetBlobInput.add_member(:blob_id, Shapes::ShapeRef.new(shape: ObjectId, required: true, location_name: "blobId"))
725
1065
  GetBlobInput.struct_class = Types::GetBlobInput
@@ -854,12 +1194,27 @@ module Aws::CodeCommit
854
1194
  GetMergeOptionsOutput.add_member(:base_commit_id, Shapes::ShapeRef.new(shape: ObjectId, required: true, location_name: "baseCommitId"))
855
1195
  GetMergeOptionsOutput.struct_class = Types::GetMergeOptionsOutput
856
1196
 
1197
+ GetPullRequestApprovalStatesInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1198
+ GetPullRequestApprovalStatesInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
1199
+ GetPullRequestApprovalStatesInput.struct_class = Types::GetPullRequestApprovalStatesInput
1200
+
1201
+ GetPullRequestApprovalStatesOutput.add_member(:approvals, Shapes::ShapeRef.new(shape: ApprovalList, location_name: "approvals"))
1202
+ GetPullRequestApprovalStatesOutput.struct_class = Types::GetPullRequestApprovalStatesOutput
1203
+
857
1204
  GetPullRequestInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
858
1205
  GetPullRequestInput.struct_class = Types::GetPullRequestInput
859
1206
 
860
1207
  GetPullRequestOutput.add_member(:pull_request, Shapes::ShapeRef.new(shape: PullRequest, required: true, location_name: "pullRequest"))
861
1208
  GetPullRequestOutput.struct_class = Types::GetPullRequestOutput
862
1209
 
1210
+ GetPullRequestOverrideStateInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1211
+ GetPullRequestOverrideStateInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
1212
+ GetPullRequestOverrideStateInput.struct_class = Types::GetPullRequestOverrideStateInput
1213
+
1214
+ GetPullRequestOverrideStateOutput.add_member(:overridden, Shapes::ShapeRef.new(shape: Overridden, location_name: "overridden"))
1215
+ GetPullRequestOverrideStateOutput.add_member(:overrider, Shapes::ShapeRef.new(shape: Arn, location_name: "overrider"))
1216
+ GetPullRequestOverrideStateOutput.struct_class = Types::GetPullRequestOverrideStateOutput
1217
+
863
1218
  GetRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
864
1219
  GetRepositoryInput.struct_class = Types::GetRepositoryInput
865
1220
 
@@ -873,11 +1228,152 @@ module Aws::CodeCommit
873
1228
  GetRepositoryTriggersOutput.add_member(:triggers, Shapes::ShapeRef.new(shape: RepositoryTriggersList, location_name: "triggers"))
874
1229
  GetRepositoryTriggersOutput.struct_class = Types::GetRepositoryTriggersOutput
875
1230
 
1231
+ IdempotencyParameterMismatchException.struct_class = Types::IdempotencyParameterMismatchException
1232
+
1233
+ InvalidActorArnException.struct_class = Types::InvalidActorArnException
1234
+
1235
+ InvalidApprovalRuleContentException.struct_class = Types::InvalidApprovalRuleContentException
1236
+
1237
+ InvalidApprovalRuleNameException.struct_class = Types::InvalidApprovalRuleNameException
1238
+
1239
+ InvalidApprovalRuleTemplateContentException.struct_class = Types::InvalidApprovalRuleTemplateContentException
1240
+
1241
+ InvalidApprovalRuleTemplateDescriptionException.struct_class = Types::InvalidApprovalRuleTemplateDescriptionException
1242
+
1243
+ InvalidApprovalRuleTemplateNameException.struct_class = Types::InvalidApprovalRuleTemplateNameException
1244
+
1245
+ InvalidApprovalStateException.struct_class = Types::InvalidApprovalStateException
1246
+
1247
+ InvalidAuthorArnException.struct_class = Types::InvalidAuthorArnException
1248
+
1249
+ InvalidBlobIdException.struct_class = Types::InvalidBlobIdException
1250
+
1251
+ InvalidBranchNameException.struct_class = Types::InvalidBranchNameException
1252
+
1253
+ InvalidClientRequestTokenException.struct_class = Types::InvalidClientRequestTokenException
1254
+
1255
+ InvalidCommentIdException.struct_class = Types::InvalidCommentIdException
1256
+
1257
+ InvalidCommitException.struct_class = Types::InvalidCommitException
1258
+
1259
+ InvalidCommitIdException.struct_class = Types::InvalidCommitIdException
1260
+
1261
+ InvalidConflictDetailLevelException.struct_class = Types::InvalidConflictDetailLevelException
1262
+
1263
+ InvalidConflictResolutionException.struct_class = Types::InvalidConflictResolutionException
1264
+
1265
+ InvalidConflictResolutionStrategyException.struct_class = Types::InvalidConflictResolutionStrategyException
1266
+
1267
+ InvalidContinuationTokenException.struct_class = Types::InvalidContinuationTokenException
1268
+
1269
+ InvalidDeletionParameterException.struct_class = Types::InvalidDeletionParameterException
1270
+
1271
+ InvalidDescriptionException.struct_class = Types::InvalidDescriptionException
1272
+
1273
+ InvalidDestinationCommitSpecifierException.struct_class = Types::InvalidDestinationCommitSpecifierException
1274
+
1275
+ InvalidEmailException.struct_class = Types::InvalidEmailException
1276
+
1277
+ InvalidFileLocationException.struct_class = Types::InvalidFileLocationException
1278
+
1279
+ InvalidFileModeException.struct_class = Types::InvalidFileModeException
1280
+
1281
+ InvalidFilePositionException.struct_class = Types::InvalidFilePositionException
1282
+
1283
+ InvalidMaxConflictFilesException.struct_class = Types::InvalidMaxConflictFilesException
1284
+
1285
+ InvalidMaxMergeHunksException.struct_class = Types::InvalidMaxMergeHunksException
1286
+
1287
+ InvalidMaxResultsException.struct_class = Types::InvalidMaxResultsException
1288
+
1289
+ InvalidMergeOptionException.struct_class = Types::InvalidMergeOptionException
1290
+
1291
+ InvalidOrderException.struct_class = Types::InvalidOrderException
1292
+
1293
+ InvalidOverrideStatusException.struct_class = Types::InvalidOverrideStatusException
1294
+
1295
+ InvalidParentCommitIdException.struct_class = Types::InvalidParentCommitIdException
1296
+
1297
+ InvalidPathException.struct_class = Types::InvalidPathException
1298
+
1299
+ InvalidPullRequestEventTypeException.struct_class = Types::InvalidPullRequestEventTypeException
1300
+
1301
+ InvalidPullRequestIdException.struct_class = Types::InvalidPullRequestIdException
1302
+
1303
+ InvalidPullRequestStatusException.struct_class = Types::InvalidPullRequestStatusException
1304
+
1305
+ InvalidPullRequestStatusUpdateException.struct_class = Types::InvalidPullRequestStatusUpdateException
1306
+
1307
+ InvalidReferenceNameException.struct_class = Types::InvalidReferenceNameException
1308
+
1309
+ InvalidRelativeFileVersionEnumException.struct_class = Types::InvalidRelativeFileVersionEnumException
1310
+
1311
+ InvalidReplacementContentException.struct_class = Types::InvalidReplacementContentException
1312
+
1313
+ InvalidReplacementTypeException.struct_class = Types::InvalidReplacementTypeException
1314
+
1315
+ InvalidRepositoryDescriptionException.struct_class = Types::InvalidRepositoryDescriptionException
1316
+
1317
+ InvalidRepositoryNameException.struct_class = Types::InvalidRepositoryNameException
1318
+
1319
+ InvalidRepositoryTriggerBranchNameException.struct_class = Types::InvalidRepositoryTriggerBranchNameException
1320
+
1321
+ InvalidRepositoryTriggerCustomDataException.struct_class = Types::InvalidRepositoryTriggerCustomDataException
1322
+
1323
+ InvalidRepositoryTriggerDestinationArnException.struct_class = Types::InvalidRepositoryTriggerDestinationArnException
1324
+
1325
+ InvalidRepositoryTriggerEventsException.struct_class = Types::InvalidRepositoryTriggerEventsException
1326
+
1327
+ InvalidRepositoryTriggerNameException.struct_class = Types::InvalidRepositoryTriggerNameException
1328
+
1329
+ InvalidRepositoryTriggerRegionException.struct_class = Types::InvalidRepositoryTriggerRegionException
1330
+
1331
+ InvalidResourceArnException.struct_class = Types::InvalidResourceArnException
1332
+
1333
+ InvalidRevisionIdException.struct_class = Types::InvalidRevisionIdException
1334
+
1335
+ InvalidRuleContentSha256Exception.struct_class = Types::InvalidRuleContentSha256Exception
1336
+
1337
+ InvalidSortByException.struct_class = Types::InvalidSortByException
1338
+
1339
+ InvalidSourceCommitSpecifierException.struct_class = Types::InvalidSourceCommitSpecifierException
1340
+
1341
+ InvalidSystemTagUsageException.struct_class = Types::InvalidSystemTagUsageException
1342
+
1343
+ InvalidTagKeysListException.struct_class = Types::InvalidTagKeysListException
1344
+
1345
+ InvalidTagsMapException.struct_class = Types::InvalidTagsMapException
1346
+
1347
+ InvalidTargetBranchException.struct_class = Types::InvalidTargetBranchException
1348
+
1349
+ InvalidTargetException.struct_class = Types::InvalidTargetException
1350
+
1351
+ InvalidTargetsException.struct_class = Types::InvalidTargetsException
1352
+
1353
+ InvalidTitleException.struct_class = Types::InvalidTitleException
1354
+
876
1355
  IsBinaryFile.add_member(:source, Shapes::ShapeRef.new(shape: CapitalBoolean, location_name: "source"))
877
1356
  IsBinaryFile.add_member(:destination, Shapes::ShapeRef.new(shape: CapitalBoolean, location_name: "destination"))
878
1357
  IsBinaryFile.add_member(:base, Shapes::ShapeRef.new(shape: CapitalBoolean, location_name: "base"))
879
1358
  IsBinaryFile.struct_class = Types::IsBinaryFile
880
1359
 
1360
+ ListApprovalRuleTemplatesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1361
+ ListApprovalRuleTemplatesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1362
+ ListApprovalRuleTemplatesInput.struct_class = Types::ListApprovalRuleTemplatesInput
1363
+
1364
+ ListApprovalRuleTemplatesOutput.add_member(:approval_rule_template_names, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameList, location_name: "approvalRuleTemplateNames"))
1365
+ ListApprovalRuleTemplatesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1366
+ ListApprovalRuleTemplatesOutput.struct_class = Types::ListApprovalRuleTemplatesOutput
1367
+
1368
+ ListAssociatedApprovalRuleTemplatesForRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1369
+ ListAssociatedApprovalRuleTemplatesForRepositoryInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1370
+ ListAssociatedApprovalRuleTemplatesForRepositoryInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1371
+ ListAssociatedApprovalRuleTemplatesForRepositoryInput.struct_class = Types::ListAssociatedApprovalRuleTemplatesForRepositoryInput
1372
+
1373
+ ListAssociatedApprovalRuleTemplatesForRepositoryOutput.add_member(:approval_rule_template_names, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameList, location_name: "approvalRuleTemplateNames"))
1374
+ ListAssociatedApprovalRuleTemplatesForRepositoryOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1375
+ ListAssociatedApprovalRuleTemplatesForRepositoryOutput.struct_class = Types::ListAssociatedApprovalRuleTemplatesForRepositoryOutput
1376
+
881
1377
  ListBranchesInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
882
1378
  ListBranchesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
883
1379
  ListBranchesInput.struct_class = Types::ListBranchesInput
@@ -897,6 +1393,15 @@ module Aws::CodeCommit
897
1393
  ListPullRequestsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
898
1394
  ListPullRequestsOutput.struct_class = Types::ListPullRequestsOutput
899
1395
 
1396
+ ListRepositoriesForApprovalRuleTemplateInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
1397
+ ListRepositoriesForApprovalRuleTemplateInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1398
+ ListRepositoriesForApprovalRuleTemplateInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1399
+ ListRepositoriesForApprovalRuleTemplateInput.struct_class = Types::ListRepositoriesForApprovalRuleTemplateInput
1400
+
1401
+ ListRepositoriesForApprovalRuleTemplateOutput.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, location_name: "repositoryNames"))
1402
+ ListRepositoriesForApprovalRuleTemplateOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1403
+ ListRepositoriesForApprovalRuleTemplateOutput.struct_class = Types::ListRepositoriesForApprovalRuleTemplateOutput
1404
+
900
1405
  ListRepositoriesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
901
1406
  ListRepositoriesInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortByEnum, location_name: "sortBy"))
902
1407
  ListRepositoriesInput.add_member(:order, Shapes::ShapeRef.new(shape: OrderEnum, location_name: "order"))
@@ -919,6 +1424,28 @@ module Aws::CodeCommit
919
1424
  Location.add_member(:relative_file_version, Shapes::ShapeRef.new(shape: RelativeFileVersionEnum, location_name: "relativeFileVersion"))
920
1425
  Location.struct_class = Types::Location
921
1426
 
1427
+ ManualMergeRequiredException.struct_class = Types::ManualMergeRequiredException
1428
+
1429
+ MaximumBranchesExceededException.struct_class = Types::MaximumBranchesExceededException
1430
+
1431
+ MaximumConflictResolutionEntriesExceededException.struct_class = Types::MaximumConflictResolutionEntriesExceededException
1432
+
1433
+ MaximumFileContentToLoadExceededException.struct_class = Types::MaximumFileContentToLoadExceededException
1434
+
1435
+ MaximumFileEntriesExceededException.struct_class = Types::MaximumFileEntriesExceededException
1436
+
1437
+ MaximumItemsToCompareExceededException.struct_class = Types::MaximumItemsToCompareExceededException
1438
+
1439
+ MaximumNumberOfApprovalsExceededException.struct_class = Types::MaximumNumberOfApprovalsExceededException
1440
+
1441
+ MaximumOpenPullRequestsExceededException.struct_class = Types::MaximumOpenPullRequestsExceededException
1442
+
1443
+ MaximumRepositoryNamesExceededException.struct_class = Types::MaximumRepositoryNamesExceededException
1444
+
1445
+ MaximumRepositoryTriggersExceededException.struct_class = Types::MaximumRepositoryTriggersExceededException
1446
+
1447
+ MaximumRuleTemplatesAssociatedWithRepositoryException.struct_class = Types::MaximumRuleTemplatesAssociatedWithRepositoryException
1448
+
922
1449
  MergeBranchesByFastForwardInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
923
1450
  MergeBranchesByFastForwardInput.add_member(:source_commit_specifier, Shapes::ShapeRef.new(shape: CommitName, required: true, location_name: "sourceCommitSpecifier"))
924
1451
  MergeBranchesByFastForwardInput.add_member(:destination_commit_specifier, Shapes::ShapeRef.new(shape: CommitName, required: true, location_name: "destinationCommitSpecifier"))
@@ -986,6 +1513,8 @@ module Aws::CodeCommit
986
1513
  MergeOperations.add_member(:destination, Shapes::ShapeRef.new(shape: ChangeTypeEnum, location_name: "destination"))
987
1514
  MergeOperations.struct_class = Types::MergeOperations
988
1515
 
1516
+ MergeOptionRequiredException.struct_class = Types::MergeOptionRequiredException
1517
+
989
1518
  MergeOptions.member = Shapes::ShapeRef.new(shape: MergeOptionTypeEnum)
990
1519
 
991
1520
  MergePullRequestByFastForwardInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
@@ -1026,13 +1555,48 @@ module Aws::CodeCommit
1026
1555
  MergePullRequestByThreeWayOutput.add_member(:pull_request, Shapes::ShapeRef.new(shape: PullRequest, location_name: "pullRequest"))
1027
1556
  MergePullRequestByThreeWayOutput.struct_class = Types::MergePullRequestByThreeWayOutput
1028
1557
 
1558
+ MultipleConflictResolutionEntriesException.struct_class = Types::MultipleConflictResolutionEntriesException
1559
+
1560
+ MultipleRepositoriesInPullRequestException.struct_class = Types::MultipleRepositoriesInPullRequestException
1561
+
1562
+ NameLengthExceededException.struct_class = Types::NameLengthExceededException
1563
+
1564
+ NoChangeException.struct_class = Types::NoChangeException
1565
+
1566
+ NumberOfRuleTemplatesExceededException.struct_class = Types::NumberOfRuleTemplatesExceededException
1567
+
1568
+ NumberOfRulesExceededException.struct_class = Types::NumberOfRulesExceededException
1569
+
1029
1570
  ObjectTypes.add_member(:source, Shapes::ShapeRef.new(shape: ObjectTypeEnum, location_name: "source"))
1030
1571
  ObjectTypes.add_member(:destination, Shapes::ShapeRef.new(shape: ObjectTypeEnum, location_name: "destination"))
1031
1572
  ObjectTypes.add_member(:base, Shapes::ShapeRef.new(shape: ObjectTypeEnum, location_name: "base"))
1032
1573
  ObjectTypes.struct_class = Types::ObjectTypes
1033
1574
 
1575
+ OriginApprovalRuleTemplate.add_member(:approval_rule_template_id, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateId, location_name: "approvalRuleTemplateId"))
1576
+ OriginApprovalRuleTemplate.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, location_name: "approvalRuleTemplateName"))
1577
+ OriginApprovalRuleTemplate.struct_class = Types::OriginApprovalRuleTemplate
1578
+
1579
+ OverrideAlreadySetException.struct_class = Types::OverrideAlreadySetException
1580
+
1581
+ OverridePullRequestApprovalRulesInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1582
+ OverridePullRequestApprovalRulesInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
1583
+ OverridePullRequestApprovalRulesInput.add_member(:override_status, Shapes::ShapeRef.new(shape: OverrideStatus, required: true, location_name: "overrideStatus"))
1584
+ OverridePullRequestApprovalRulesInput.struct_class = Types::OverridePullRequestApprovalRulesInput
1585
+
1586
+ OverrideStatusRequiredException.struct_class = Types::OverrideStatusRequiredException
1587
+
1588
+ ParentCommitDoesNotExistException.struct_class = Types::ParentCommitDoesNotExistException
1589
+
1590
+ ParentCommitIdOutdatedException.struct_class = Types::ParentCommitIdOutdatedException
1591
+
1592
+ ParentCommitIdRequiredException.struct_class = Types::ParentCommitIdRequiredException
1593
+
1034
1594
  ParentList.member = Shapes::ShapeRef.new(shape: ObjectId)
1035
1595
 
1596
+ PathDoesNotExistException.struct_class = Types::PathDoesNotExistException
1597
+
1598
+ PathRequiredException.struct_class = Types::PathRequiredException
1599
+
1036
1600
  PostCommentForComparedCommitInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1037
1601
  PostCommentForComparedCommitInput.add_member(:before_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "beforeCommitId"))
1038
1602
  PostCommentForComparedCommitInput.add_member(:after_commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "afterCommitId"))
@@ -1086,14 +1650,24 @@ module Aws::CodeCommit
1086
1650
  PullRequest.add_member(:author_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "authorArn"))
1087
1651
  PullRequest.add_member(:pull_request_targets, Shapes::ShapeRef.new(shape: PullRequestTargetList, location_name: "pullRequestTargets"))
1088
1652
  PullRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
1653
+ PullRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
1654
+ PullRequest.add_member(:approval_rules, Shapes::ShapeRef.new(shape: ApprovalRulesList, location_name: "approvalRules"))
1089
1655
  PullRequest.struct_class = Types::PullRequest
1090
1656
 
1657
+ PullRequestAlreadyClosedException.struct_class = Types::PullRequestAlreadyClosedException
1658
+
1659
+ PullRequestApprovalRulesNotSatisfiedException.struct_class = Types::PullRequestApprovalRulesNotSatisfiedException
1660
+
1661
+ PullRequestCannotBeApprovedByAuthorException.struct_class = Types::PullRequestCannotBeApprovedByAuthorException
1662
+
1091
1663
  PullRequestCreatedEventMetadata.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
1092
1664
  PullRequestCreatedEventMetadata.add_member(:source_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "sourceCommitId"))
1093
1665
  PullRequestCreatedEventMetadata.add_member(:destination_commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "destinationCommitId"))
1094
1666
  PullRequestCreatedEventMetadata.add_member(:merge_base, Shapes::ShapeRef.new(shape: CommitId, location_name: "mergeBase"))
1095
1667
  PullRequestCreatedEventMetadata.struct_class = Types::PullRequestCreatedEventMetadata
1096
1668
 
1669
+ PullRequestDoesNotExistException.struct_class = Types::PullRequestDoesNotExistException
1670
+
1097
1671
  PullRequestEvent.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, location_name: "pullRequestId"))
1098
1672
  PullRequestEvent.add_member(:event_date, Shapes::ShapeRef.new(shape: EventDate, location_name: "eventDate"))
1099
1673
  PullRequestEvent.add_member(:pull_request_event_type, Shapes::ShapeRef.new(shape: PullRequestEventType, location_name: "pullRequestEventType"))
@@ -1102,12 +1676,17 @@ module Aws::CodeCommit
1102
1676
  PullRequestEvent.add_member(:pull_request_status_changed_event_metadata, Shapes::ShapeRef.new(shape: PullRequestStatusChangedEventMetadata, location_name: "pullRequestStatusChangedEventMetadata"))
1103
1677
  PullRequestEvent.add_member(:pull_request_source_reference_updated_event_metadata, Shapes::ShapeRef.new(shape: PullRequestSourceReferenceUpdatedEventMetadata, location_name: "pullRequestSourceReferenceUpdatedEventMetadata"))
1104
1678
  PullRequestEvent.add_member(:pull_request_merged_state_changed_event_metadata, Shapes::ShapeRef.new(shape: PullRequestMergedStateChangedEventMetadata, location_name: "pullRequestMergedStateChangedEventMetadata"))
1679
+ PullRequestEvent.add_member(:approval_rule_event_metadata, Shapes::ShapeRef.new(shape: ApprovalRuleEventMetadata, location_name: "approvalRuleEventMetadata"))
1680
+ PullRequestEvent.add_member(:approval_state_changed_event_metadata, Shapes::ShapeRef.new(shape: ApprovalStateChangedEventMetadata, location_name: "approvalStateChangedEventMetadata"))
1681
+ PullRequestEvent.add_member(:approval_rule_overridden_event_metadata, Shapes::ShapeRef.new(shape: ApprovalRuleOverriddenEventMetadata, location_name: "approvalRuleOverriddenEventMetadata"))
1105
1682
  PullRequestEvent.struct_class = Types::PullRequestEvent
1106
1683
 
1107
1684
  PullRequestEventList.member = Shapes::ShapeRef.new(shape: PullRequestEvent)
1108
1685
 
1109
1686
  PullRequestIdList.member = Shapes::ShapeRef.new(shape: PullRequestId)
1110
1687
 
1688
+ PullRequestIdRequiredException.struct_class = Types::PullRequestIdRequiredException
1689
+
1111
1690
  PullRequestMergedStateChangedEventMetadata.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
1112
1691
  PullRequestMergedStateChangedEventMetadata.add_member(:destination_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "destinationReference"))
1113
1692
  PullRequestMergedStateChangedEventMetadata.add_member(:merge_metadata, Shapes::ShapeRef.new(shape: MergeMetadata, location_name: "mergeMetadata"))
@@ -1122,6 +1701,8 @@ module Aws::CodeCommit
1122
1701
  PullRequestStatusChangedEventMetadata.add_member(:pull_request_status, Shapes::ShapeRef.new(shape: PullRequestStatusEnum, location_name: "pullRequestStatus"))
1123
1702
  PullRequestStatusChangedEventMetadata.struct_class = Types::PullRequestStatusChangedEventMetadata
1124
1703
 
1704
+ PullRequestStatusRequiredException.struct_class = Types::PullRequestStatusRequiredException
1705
+
1125
1706
  PullRequestTarget.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
1126
1707
  PullRequestTarget.add_member(:source_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "sourceReference"))
1127
1708
  PullRequestTarget.add_member(:destination_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "destinationReference"))
@@ -1141,6 +1722,8 @@ module Aws::CodeCommit
1141
1722
  PutFileEntry.add_member(:source_file, Shapes::ShapeRef.new(shape: SourceFileSpecifier, location_name: "sourceFile"))
1142
1723
  PutFileEntry.struct_class = Types::PutFileEntry
1143
1724
 
1725
+ PutFileEntryConflictException.struct_class = Types::PutFileEntryConflictException
1726
+
1144
1727
  PutFileInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1145
1728
  PutFileInput.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
1146
1729
  PutFileInput.add_member(:file_content, Shapes::ShapeRef.new(shape: FileContent, required: true, location_name: "fileContent"))
@@ -1164,6 +1747,12 @@ module Aws::CodeCommit
1164
1747
  PutRepositoryTriggersOutput.add_member(:configuration_id, Shapes::ShapeRef.new(shape: RepositoryTriggersConfigurationId, location_name: "configurationId"))
1165
1748
  PutRepositoryTriggersOutput.struct_class = Types::PutRepositoryTriggersOutput
1166
1749
 
1750
+ ReferenceDoesNotExistException.struct_class = Types::ReferenceDoesNotExistException
1751
+
1752
+ ReferenceNameRequiredException.struct_class = Types::ReferenceNameRequiredException
1753
+
1754
+ ReferenceTypeNotSupportedException.struct_class = Types::ReferenceTypeNotSupportedException
1755
+
1167
1756
  ReplaceContentEntries.member = Shapes::ShapeRef.new(shape: ReplaceContentEntry)
1168
1757
 
1169
1758
  ReplaceContentEntry.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "filePath"))
@@ -1172,6 +1761,14 @@ module Aws::CodeCommit
1172
1761
  ReplaceContentEntry.add_member(:file_mode, Shapes::ShapeRef.new(shape: FileModeTypeEnum, location_name: "fileMode"))
1173
1762
  ReplaceContentEntry.struct_class = Types::ReplaceContentEntry
1174
1763
 
1764
+ ReplacementContentRequiredException.struct_class = Types::ReplacementContentRequiredException
1765
+
1766
+ ReplacementTypeRequiredException.struct_class = Types::ReplacementTypeRequiredException
1767
+
1768
+ RepositoryDoesNotExistException.struct_class = Types::RepositoryDoesNotExistException
1769
+
1770
+ RepositoryLimitExceededException.struct_class = Types::RepositoryLimitExceededException
1771
+
1175
1772
  RepositoryMetadata.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
1176
1773
  RepositoryMetadata.add_member(:repository_id, Shapes::ShapeRef.new(shape: RepositoryId, location_name: "repositoryId"))
1177
1774
  RepositoryMetadata.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
@@ -1186,6 +1783,8 @@ module Aws::CodeCommit
1186
1783
 
1187
1784
  RepositoryMetadataList.member = Shapes::ShapeRef.new(shape: RepositoryMetadata)
1188
1785
 
1786
+ RepositoryNameExistsException.struct_class = Types::RepositoryNameExistsException
1787
+
1189
1788
  RepositoryNameIdPair.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
1190
1789
  RepositoryNameIdPair.add_member(:repository_id, Shapes::ShapeRef.new(shape: RepositoryId, location_name: "repositoryId"))
1191
1790
  RepositoryNameIdPair.struct_class = Types::RepositoryNameIdPair
@@ -1194,6 +1793,12 @@ module Aws::CodeCommit
1194
1793
 
1195
1794
  RepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
1196
1795
 
1796
+ RepositoryNameRequiredException.struct_class = Types::RepositoryNameRequiredException
1797
+
1798
+ RepositoryNamesRequiredException.struct_class = Types::RepositoryNamesRequiredException
1799
+
1800
+ RepositoryNotAssociatedWithPullRequestException.struct_class = Types::RepositoryNotAssociatedWithPullRequestException
1801
+
1197
1802
  RepositoryNotFoundList.member = Shapes::ShapeRef.new(shape: RepositoryName)
1198
1803
 
1199
1804
  RepositoryTrigger.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryTriggerName, required: true, location_name: "name"))
@@ -1203,8 +1808,14 @@ module Aws::CodeCommit
1203
1808
  RepositoryTrigger.add_member(:events, Shapes::ShapeRef.new(shape: RepositoryTriggerEventList, required: true, location_name: "events"))
1204
1809
  RepositoryTrigger.struct_class = Types::RepositoryTrigger
1205
1810
 
1811
+ RepositoryTriggerBranchNameListRequiredException.struct_class = Types::RepositoryTriggerBranchNameListRequiredException
1812
+
1813
+ RepositoryTriggerDestinationArnRequiredException.struct_class = Types::RepositoryTriggerDestinationArnRequiredException
1814
+
1206
1815
  RepositoryTriggerEventList.member = Shapes::ShapeRef.new(shape: RepositoryTriggerEventEnum)
1207
1816
 
1817
+ RepositoryTriggerEventsListRequiredException.struct_class = Types::RepositoryTriggerEventsListRequiredException
1818
+
1208
1819
  RepositoryTriggerExecutionFailure.add_member(:trigger, Shapes::ShapeRef.new(shape: RepositoryTriggerName, location_name: "trigger"))
1209
1820
  RepositoryTriggerExecutionFailure.add_member(:failure_message, Shapes::ShapeRef.new(shape: RepositoryTriggerExecutionFailureMessage, location_name: "failureMessage"))
1210
1821
  RepositoryTriggerExecutionFailure.struct_class = Types::RepositoryTriggerExecutionFailure
@@ -1213,14 +1824,34 @@ module Aws::CodeCommit
1213
1824
 
1214
1825
  RepositoryTriggerNameList.member = Shapes::ShapeRef.new(shape: RepositoryTriggerName)
1215
1826
 
1827
+ RepositoryTriggerNameRequiredException.struct_class = Types::RepositoryTriggerNameRequiredException
1828
+
1216
1829
  RepositoryTriggersList.member = Shapes::ShapeRef.new(shape: RepositoryTrigger)
1217
1830
 
1831
+ RepositoryTriggersListRequiredException.struct_class = Types::RepositoryTriggersListRequiredException
1832
+
1833
+ ResourceArnRequiredException.struct_class = Types::ResourceArnRequiredException
1834
+
1835
+ RestrictedSourceFileException.struct_class = Types::RestrictedSourceFileException
1836
+
1837
+ RevisionIdRequiredException.struct_class = Types::RevisionIdRequiredException
1838
+
1839
+ RevisionNotCurrentException.struct_class = Types::RevisionNotCurrentException
1840
+
1841
+ SameFileContentException.struct_class = Types::SameFileContentException
1842
+
1843
+ SamePathRequestException.struct_class = Types::SamePathRequestException
1844
+
1218
1845
  SetFileModeEntries.member = Shapes::ShapeRef.new(shape: SetFileModeEntry)
1219
1846
 
1220
1847
  SetFileModeEntry.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "filePath"))
1221
1848
  SetFileModeEntry.add_member(:file_mode, Shapes::ShapeRef.new(shape: FileModeTypeEnum, required: true, location_name: "fileMode"))
1222
1849
  SetFileModeEntry.struct_class = Types::SetFileModeEntry
1223
1850
 
1851
+ SourceAndDestinationAreSameException.struct_class = Types::SourceAndDestinationAreSameException
1852
+
1853
+ SourceFileOrContentRequiredException.struct_class = Types::SourceFileOrContentRequiredException
1854
+
1224
1855
  SourceFileSpecifier.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "filePath"))
1225
1856
  SourceFileSpecifier.add_member(:is_move, Shapes::ShapeRef.new(shape: IsMove, location_name: "isMove"))
1226
1857
  SourceFileSpecifier.struct_class = Types::SourceFileSpecifier
@@ -1242,6 +1873,10 @@ module Aws::CodeCommit
1242
1873
 
1243
1874
  TagKeysList.member = Shapes::ShapeRef.new(shape: TagKey)
1244
1875
 
1876
+ TagKeysListRequiredException.struct_class = Types::TagKeysListRequiredException
1877
+
1878
+ TagPolicyException.struct_class = Types::TagPolicyException
1879
+
1245
1880
  TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
1246
1881
  TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "tags"))
1247
1882
  TagResourceInput.struct_class = Types::TagResourceInput
@@ -1249,6 +1884,8 @@ module Aws::CodeCommit
1249
1884
  TagsMap.key = Shapes::ShapeRef.new(shape: TagKey)
1250
1885
  TagsMap.value = Shapes::ShapeRef.new(shape: TagValue)
1251
1886
 
1887
+ TagsMapRequiredException.struct_class = Types::TagsMapRequiredException
1888
+
1252
1889
  Target.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1253
1890
  Target.add_member(:source_reference, Shapes::ShapeRef.new(shape: ReferenceName, required: true, location_name: "sourceReference"))
1254
1891
  Target.add_member(:destination_reference, Shapes::ShapeRef.new(shape: ReferenceName, location_name: "destinationReference"))
@@ -1256,6 +1893,10 @@ module Aws::CodeCommit
1256
1893
 
1257
1894
  TargetList.member = Shapes::ShapeRef.new(shape: Target)
1258
1895
 
1896
+ TargetRequiredException.struct_class = Types::TargetRequiredException
1897
+
1898
+ TargetsRequiredException.struct_class = Types::TargetsRequiredException
1899
+
1259
1900
  TestRepositoryTriggersInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1260
1901
  TestRepositoryTriggersInput.add_member(:triggers, Shapes::ShapeRef.new(shape: RepositoryTriggersList, required: true, location_name: "triggers"))
1261
1902
  TestRepositoryTriggersInput.struct_class = Types::TestRepositoryTriggersInput
@@ -1264,10 +1905,40 @@ module Aws::CodeCommit
1264
1905
  TestRepositoryTriggersOutput.add_member(:failed_executions, Shapes::ShapeRef.new(shape: RepositoryTriggerExecutionFailureList, location_name: "failedExecutions"))
1265
1906
  TestRepositoryTriggersOutput.struct_class = Types::TestRepositoryTriggersOutput
1266
1907
 
1908
+ TipOfSourceReferenceIsDifferentException.struct_class = Types::TipOfSourceReferenceIsDifferentException
1909
+
1910
+ TipsDivergenceExceededException.struct_class = Types::TipsDivergenceExceededException
1911
+
1912
+ TitleRequiredException.struct_class = Types::TitleRequiredException
1913
+
1914
+ TooManyTagsException.struct_class = Types::TooManyTagsException
1915
+
1267
1916
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
1268
1917
  UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeysList, required: true, location_name: "tagKeys"))
1269
1918
  UntagResourceInput.struct_class = Types::UntagResourceInput
1270
1919
 
1920
+ UpdateApprovalRuleTemplateContentInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
1921
+ UpdateApprovalRuleTemplateContentInput.add_member(:new_rule_content, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateContent, required: true, location_name: "newRuleContent"))
1922
+ UpdateApprovalRuleTemplateContentInput.add_member(:existing_rule_content_sha_256, Shapes::ShapeRef.new(shape: RuleContentSha256, location_name: "existingRuleContentSha256"))
1923
+ UpdateApprovalRuleTemplateContentInput.struct_class = Types::UpdateApprovalRuleTemplateContentInput
1924
+
1925
+ UpdateApprovalRuleTemplateContentOutput.add_member(:approval_rule_template, Shapes::ShapeRef.new(shape: ApprovalRuleTemplate, required: true, location_name: "approvalRuleTemplate"))
1926
+ UpdateApprovalRuleTemplateContentOutput.struct_class = Types::UpdateApprovalRuleTemplateContentOutput
1927
+
1928
+ UpdateApprovalRuleTemplateDescriptionInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
1929
+ UpdateApprovalRuleTemplateDescriptionInput.add_member(:approval_rule_template_description, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDescription, required: true, location_name: "approvalRuleTemplateDescription"))
1930
+ UpdateApprovalRuleTemplateDescriptionInput.struct_class = Types::UpdateApprovalRuleTemplateDescriptionInput
1931
+
1932
+ UpdateApprovalRuleTemplateDescriptionOutput.add_member(:approval_rule_template, Shapes::ShapeRef.new(shape: ApprovalRuleTemplate, required: true, location_name: "approvalRuleTemplate"))
1933
+ UpdateApprovalRuleTemplateDescriptionOutput.struct_class = Types::UpdateApprovalRuleTemplateDescriptionOutput
1934
+
1935
+ UpdateApprovalRuleTemplateNameInput.add_member(:old_approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "oldApprovalRuleTemplateName"))
1936
+ UpdateApprovalRuleTemplateNameInput.add_member(:new_approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "newApprovalRuleTemplateName"))
1937
+ UpdateApprovalRuleTemplateNameInput.struct_class = Types::UpdateApprovalRuleTemplateNameInput
1938
+
1939
+ UpdateApprovalRuleTemplateNameOutput.add_member(:approval_rule_template, Shapes::ShapeRef.new(shape: ApprovalRuleTemplate, required: true, location_name: "approvalRuleTemplate"))
1940
+ UpdateApprovalRuleTemplateNameOutput.struct_class = Types::UpdateApprovalRuleTemplateNameOutput
1941
+
1271
1942
  UpdateCommentInput.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentId, required: true, location_name: "commentId"))
1272
1943
  UpdateCommentInput.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "content"))
1273
1944
  UpdateCommentInput.struct_class = Types::UpdateCommentInput
@@ -1279,6 +1950,20 @@ module Aws::CodeCommit
1279
1950
  UpdateDefaultBranchInput.add_member(:default_branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "defaultBranchName"))
1280
1951
  UpdateDefaultBranchInput.struct_class = Types::UpdateDefaultBranchInput
1281
1952
 
1953
+ UpdatePullRequestApprovalRuleContentInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1954
+ UpdatePullRequestApprovalRuleContentInput.add_member(:approval_rule_name, Shapes::ShapeRef.new(shape: ApprovalRuleName, required: true, location_name: "approvalRuleName"))
1955
+ UpdatePullRequestApprovalRuleContentInput.add_member(:existing_rule_content_sha_256, Shapes::ShapeRef.new(shape: RuleContentSha256, location_name: "existingRuleContentSha256"))
1956
+ UpdatePullRequestApprovalRuleContentInput.add_member(:new_rule_content, Shapes::ShapeRef.new(shape: ApprovalRuleContent, required: true, location_name: "newRuleContent"))
1957
+ UpdatePullRequestApprovalRuleContentInput.struct_class = Types::UpdatePullRequestApprovalRuleContentInput
1958
+
1959
+ UpdatePullRequestApprovalRuleContentOutput.add_member(:approval_rule, Shapes::ShapeRef.new(shape: ApprovalRule, required: true, location_name: "approvalRule"))
1960
+ UpdatePullRequestApprovalRuleContentOutput.struct_class = Types::UpdatePullRequestApprovalRuleContentOutput
1961
+
1962
+ UpdatePullRequestApprovalStateInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1963
+ UpdatePullRequestApprovalStateInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
1964
+ UpdatePullRequestApprovalStateInput.add_member(:approval_state, Shapes::ShapeRef.new(shape: ApprovalState, required: true, location_name: "approvalState"))
1965
+ UpdatePullRequestApprovalStateInput.struct_class = Types::UpdatePullRequestApprovalStateInput
1966
+
1282
1967
  UpdatePullRequestDescriptionInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1283
1968
  UpdatePullRequestDescriptionInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
1284
1969
  UpdatePullRequestDescriptionInput.struct_class = Types::UpdatePullRequestDescriptionInput
@@ -1332,6 +2017,44 @@ module Aws::CodeCommit
1332
2017
  "uid" => "codecommit-2015-04-13",
1333
2018
  }
1334
2019
 
2020
+ api.add_operation(:associate_approval_rule_template_with_repository, Seahorse::Model::Operation.new.tap do |o|
2021
+ o.name = "AssociateApprovalRuleTemplateWithRepository"
2022
+ o.http_method = "POST"
2023
+ o.http_request_uri = "/"
2024
+ o.input = Shapes::ShapeRef.new(shape: AssociateApprovalRuleTemplateWithRepositoryInput)
2025
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2026
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
2027
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
2028
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
2029
+ o.errors << Shapes::ShapeRef.new(shape: MaximumRuleTemplatesAssociatedWithRepositoryException)
2030
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
2031
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
2032
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
2033
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2034
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2035
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2036
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2037
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2038
+ end)
2039
+
2040
+ api.add_operation(:batch_associate_approval_rule_template_with_repositories, Seahorse::Model::Operation.new.tap do |o|
2041
+ o.name = "BatchAssociateApprovalRuleTemplateWithRepositories"
2042
+ o.http_method = "POST"
2043
+ o.http_request_uri = "/"
2044
+ o.input = Shapes::ShapeRef.new(shape: BatchAssociateApprovalRuleTemplateWithRepositoriesInput)
2045
+ o.output = Shapes::ShapeRef.new(shape: BatchAssociateApprovalRuleTemplateWithRepositoriesOutput)
2046
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
2047
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
2048
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
2049
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNamesRequiredException)
2050
+ o.errors << Shapes::ShapeRef.new(shape: MaximumRepositoryNamesExceededException)
2051
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2052
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2053
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2054
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2055
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2056
+ end)
2057
+
1335
2058
  api.add_operation(:batch_describe_merge_conflicts, Seahorse::Model::Operation.new.tap do |o|
1336
2059
  o.name = "BatchDescribeMergeConflicts"
1337
2060
  o.http_method = "POST"
@@ -1361,6 +2084,24 @@ module Aws::CodeCommit
1361
2084
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1362
2085
  end)
1363
2086
 
2087
+ api.add_operation(:batch_disassociate_approval_rule_template_from_repositories, Seahorse::Model::Operation.new.tap do |o|
2088
+ o.name = "BatchDisassociateApprovalRuleTemplateFromRepositories"
2089
+ o.http_method = "POST"
2090
+ o.http_request_uri = "/"
2091
+ o.input = Shapes::ShapeRef.new(shape: BatchDisassociateApprovalRuleTemplateFromRepositoriesInput)
2092
+ o.output = Shapes::ShapeRef.new(shape: BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput)
2093
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
2094
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
2095
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
2096
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNamesRequiredException)
2097
+ o.errors << Shapes::ShapeRef.new(shape: MaximumRepositoryNamesExceededException)
2098
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2099
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2100
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2101
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2102
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2103
+ end)
2104
+
1364
2105
  api.add_operation(:batch_get_commits, Seahorse::Model::Operation.new.tap do |o|
1365
2106
  o.name = "BatchGetCommits"
1366
2107
  o.http_method = "POST"
@@ -1395,6 +2136,21 @@ module Aws::CodeCommit
1395
2136
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1396
2137
  end)
1397
2138
 
2139
+ api.add_operation(:create_approval_rule_template, Seahorse::Model::Operation.new.tap do |o|
2140
+ o.name = "CreateApprovalRuleTemplate"
2141
+ o.http_method = "POST"
2142
+ o.http_request_uri = "/"
2143
+ o.input = Shapes::ShapeRef.new(shape: CreateApprovalRuleTemplateInput)
2144
+ o.output = Shapes::ShapeRef.new(shape: CreateApprovalRuleTemplateOutput)
2145
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
2146
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
2147
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameAlreadyExistsException)
2148
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateContentRequiredException)
2149
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateContentException)
2150
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateDescriptionException)
2151
+ o.errors << Shapes::ShapeRef.new(shape: NumberOfRuleTemplatesExceededException)
2152
+ end)
2153
+
1398
2154
  api.add_operation(:create_branch, Seahorse::Model::Operation.new.tap do |o|
1399
2155
  o.name = "CreateBranch"
1400
2156
  o.http_method = "POST"
@@ -1496,6 +2252,29 @@ module Aws::CodeCommit
1496
2252
  o.errors << Shapes::ShapeRef.new(shape: SourceAndDestinationAreSameException)
1497
2253
  end)
1498
2254
 
2255
+ api.add_operation(:create_pull_request_approval_rule, Seahorse::Model::Operation.new.tap do |o|
2256
+ o.name = "CreatePullRequestApprovalRule"
2257
+ o.http_method = "POST"
2258
+ o.http_request_uri = "/"
2259
+ o.input = Shapes::ShapeRef.new(shape: CreatePullRequestApprovalRuleInput)
2260
+ o.output = Shapes::ShapeRef.new(shape: CreatePullRequestApprovalRuleOutput)
2261
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleNameRequiredException)
2262
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleNameException)
2263
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleNameAlreadyExistsException)
2264
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleContentRequiredException)
2265
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleContentException)
2266
+ o.errors << Shapes::ShapeRef.new(shape: NumberOfRulesExceededException)
2267
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
2268
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
2269
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
2270
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
2271
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2272
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2273
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2274
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2275
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2276
+ end)
2277
+
1499
2278
  api.add_operation(:create_repository, Seahorse::Model::Operation.new.tap do |o|
1500
2279
  o.name = "CreateRepository"
1501
2280
  o.http_method = "POST"
@@ -1562,6 +2341,17 @@ module Aws::CodeCommit
1562
2341
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1563
2342
  end)
1564
2343
 
2344
+ api.add_operation(:delete_approval_rule_template, Seahorse::Model::Operation.new.tap do |o|
2345
+ o.name = "DeleteApprovalRuleTemplate"
2346
+ o.http_method = "POST"
2347
+ o.http_request_uri = "/"
2348
+ o.input = Shapes::ShapeRef.new(shape: DeleteApprovalRuleTemplateInput)
2349
+ o.output = Shapes::ShapeRef.new(shape: DeleteApprovalRuleTemplateOutput)
2350
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
2351
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
2352
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateInUseException)
2353
+ end)
2354
+
1565
2355
  api.add_operation(:delete_branch, Seahorse::Model::Operation.new.tap do |o|
1566
2356
  o.name = "DeleteBranch"
1567
2357
  o.http_method = "POST"
@@ -1623,6 +2413,26 @@ module Aws::CodeCommit
1623
2413
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1624
2414
  end)
1625
2415
 
2416
+ api.add_operation(:delete_pull_request_approval_rule, Seahorse::Model::Operation.new.tap do |o|
2417
+ o.name = "DeletePullRequestApprovalRule"
2418
+ o.http_method = "POST"
2419
+ o.http_request_uri = "/"
2420
+ o.input = Shapes::ShapeRef.new(shape: DeletePullRequestApprovalRuleInput)
2421
+ o.output = Shapes::ShapeRef.new(shape: DeletePullRequestApprovalRuleOutput)
2422
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
2423
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
2424
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
2425
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
2426
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleNameRequiredException)
2427
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleNameException)
2428
+ o.errors << Shapes::ShapeRef.new(shape: CannotDeleteApprovalRuleFromTemplateException)
2429
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2430
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2431
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2432
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2433
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2434
+ end)
2435
+
1626
2436
  api.add_operation(:delete_repository, Seahorse::Model::Operation.new.tap do |o|
1627
2437
  o.name = "DeleteRepository"
1628
2438
  o.http_method = "POST"
@@ -1702,6 +2512,55 @@ module Aws::CodeCommit
1702
2512
  )
1703
2513
  end)
1704
2514
 
2515
+ api.add_operation(:disassociate_approval_rule_template_from_repository, Seahorse::Model::Operation.new.tap do |o|
2516
+ o.name = "DisassociateApprovalRuleTemplateFromRepository"
2517
+ o.http_method = "POST"
2518
+ o.http_request_uri = "/"
2519
+ o.input = Shapes::ShapeRef.new(shape: DisassociateApprovalRuleTemplateFromRepositoryInput)
2520
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2521
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
2522
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
2523
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
2524
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
2525
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
2526
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
2527
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2528
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2529
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2530
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2531
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2532
+ end)
2533
+
2534
+ api.add_operation(:evaluate_pull_request_approval_rules, Seahorse::Model::Operation.new.tap do |o|
2535
+ o.name = "EvaluatePullRequestApprovalRules"
2536
+ o.http_method = "POST"
2537
+ o.http_request_uri = "/"
2538
+ o.input = Shapes::ShapeRef.new(shape: EvaluatePullRequestApprovalRulesInput)
2539
+ o.output = Shapes::ShapeRef.new(shape: EvaluatePullRequestApprovalRulesOutput)
2540
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
2541
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
2542
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
2543
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRevisionIdException)
2544
+ o.errors << Shapes::ShapeRef.new(shape: RevisionIdRequiredException)
2545
+ o.errors << Shapes::ShapeRef.new(shape: RevisionNotCurrentException)
2546
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2547
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2548
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2549
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2550
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2551
+ end)
2552
+
2553
+ api.add_operation(:get_approval_rule_template, Seahorse::Model::Operation.new.tap do |o|
2554
+ o.name = "GetApprovalRuleTemplate"
2555
+ o.http_method = "POST"
2556
+ o.http_request_uri = "/"
2557
+ o.input = Shapes::ShapeRef.new(shape: GetApprovalRuleTemplateInput)
2558
+ o.output = Shapes::ShapeRef.new(shape: GetApprovalRuleTemplateOutput)
2559
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
2560
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
2561
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
2562
+ end)
2563
+
1705
2564
  api.add_operation(:get_blob, Seahorse::Model::Operation.new.tap do |o|
1706
2565
  o.name = "GetBlob"
1707
2566
  o.http_method = "POST"
@@ -2000,6 +2859,42 @@ module Aws::CodeCommit
2000
2859
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2001
2860
  end)
2002
2861
 
2862
+ api.add_operation(:get_pull_request_approval_states, Seahorse::Model::Operation.new.tap do |o|
2863
+ o.name = "GetPullRequestApprovalStates"
2864
+ o.http_method = "POST"
2865
+ o.http_request_uri = "/"
2866
+ o.input = Shapes::ShapeRef.new(shape: GetPullRequestApprovalStatesInput)
2867
+ o.output = Shapes::ShapeRef.new(shape: GetPullRequestApprovalStatesOutput)
2868
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
2869
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
2870
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
2871
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRevisionIdException)
2872
+ o.errors << Shapes::ShapeRef.new(shape: RevisionIdRequiredException)
2873
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2874
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2875
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2876
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2877
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2878
+ end)
2879
+
2880
+ api.add_operation(:get_pull_request_override_state, Seahorse::Model::Operation.new.tap do |o|
2881
+ o.name = "GetPullRequestOverrideState"
2882
+ o.http_method = "POST"
2883
+ o.http_request_uri = "/"
2884
+ o.input = Shapes::ShapeRef.new(shape: GetPullRequestOverrideStateInput)
2885
+ o.output = Shapes::ShapeRef.new(shape: GetPullRequestOverrideStateOutput)
2886
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
2887
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
2888
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
2889
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRevisionIdException)
2890
+ o.errors << Shapes::ShapeRef.new(shape: RevisionIdRequiredException)
2891
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2892
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2893
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2894
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2895
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2896
+ end)
2897
+
2003
2898
  api.add_operation(:get_repository, Seahorse::Model::Operation.new.tap do |o|
2004
2899
  o.name = "GetRepository"
2005
2900
  o.http_method = "POST"
@@ -2032,6 +2927,46 @@ module Aws::CodeCommit
2032
2927
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2033
2928
  end)
2034
2929
 
2930
+ api.add_operation(:list_approval_rule_templates, Seahorse::Model::Operation.new.tap do |o|
2931
+ o.name = "ListApprovalRuleTemplates"
2932
+ o.http_method = "POST"
2933
+ o.http_request_uri = "/"
2934
+ o.input = Shapes::ShapeRef.new(shape: ListApprovalRuleTemplatesInput)
2935
+ o.output = Shapes::ShapeRef.new(shape: ListApprovalRuleTemplatesOutput)
2936
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
2937
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
2938
+ o[:pager] = Aws::Pager.new(
2939
+ limit_key: "max_results",
2940
+ tokens: {
2941
+ "next_token" => "next_token"
2942
+ }
2943
+ )
2944
+ end)
2945
+
2946
+ api.add_operation(:list_associated_approval_rule_templates_for_repository, Seahorse::Model::Operation.new.tap do |o|
2947
+ o.name = "ListAssociatedApprovalRuleTemplatesForRepository"
2948
+ o.http_method = "POST"
2949
+ o.http_request_uri = "/"
2950
+ o.input = Shapes::ShapeRef.new(shape: ListAssociatedApprovalRuleTemplatesForRepositoryInput)
2951
+ o.output = Shapes::ShapeRef.new(shape: ListAssociatedApprovalRuleTemplatesForRepositoryOutput)
2952
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
2953
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
2954
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
2955
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
2956
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
2957
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2958
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2959
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2960
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2961
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2962
+ o[:pager] = Aws::Pager.new(
2963
+ limit_key: "max_results",
2964
+ tokens: {
2965
+ "next_token" => "next_token"
2966
+ }
2967
+ )
2968
+ end)
2969
+
2035
2970
  api.add_operation(:list_branches, Seahorse::Model::Operation.new.tap do |o|
2036
2971
  o.name = "ListBranches"
2037
2972
  o.http_method = "POST"
@@ -2097,6 +3032,30 @@ module Aws::CodeCommit
2097
3032
  )
2098
3033
  end)
2099
3034
 
3035
+ api.add_operation(:list_repositories_for_approval_rule_template, Seahorse::Model::Operation.new.tap do |o|
3036
+ o.name = "ListRepositoriesForApprovalRuleTemplate"
3037
+ o.http_method = "POST"
3038
+ o.http_request_uri = "/"
3039
+ o.input = Shapes::ShapeRef.new(shape: ListRepositoriesForApprovalRuleTemplateInput)
3040
+ o.output = Shapes::ShapeRef.new(shape: ListRepositoriesForApprovalRuleTemplateOutput)
3041
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
3042
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
3043
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
3044
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
3045
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
3046
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
3047
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
3048
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
3049
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
3050
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
3051
+ o[:pager] = Aws::Pager.new(
3052
+ limit_key: "max_results",
3053
+ tokens: {
3054
+ "next_token" => "next_token"
3055
+ }
3056
+ )
3057
+ end)
3058
+
2100
3059
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2101
3060
  o.name = "ListTagsForResource"
2102
3061
  o.http_method = "POST"
@@ -2249,6 +3208,7 @@ module Aws::CodeCommit
2249
3208
  o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
2250
3209
  o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
2251
3210
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentReferenceUpdateException)
3211
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestApprovalRulesNotSatisfiedException)
2252
3212
  o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2253
3213
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2254
3214
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
@@ -2294,6 +3254,7 @@ module Aws::CodeCommit
2294
3254
  o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
2295
3255
  o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
2296
3256
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotAssociatedWithPullRequestException)
3257
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestApprovalRulesNotSatisfiedException)
2297
3258
  o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2298
3259
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2299
3260
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
@@ -2339,6 +3300,30 @@ module Aws::CodeCommit
2339
3300
  o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
2340
3301
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotAssociatedWithPullRequestException)
2341
3302
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentReferenceUpdateException)
3303
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestApprovalRulesNotSatisfiedException)
3304
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
3305
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
3306
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
3307
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
3308
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
3309
+ end)
3310
+
3311
+ api.add_operation(:override_pull_request_approval_rules, Seahorse::Model::Operation.new.tap do |o|
3312
+ o.name = "OverridePullRequestApprovalRules"
3313
+ o.http_method = "POST"
3314
+ o.http_request_uri = "/"
3315
+ o.input = Shapes::ShapeRef.new(shape: OverridePullRequestApprovalRulesInput)
3316
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3317
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
3318
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
3319
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
3320
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRevisionIdException)
3321
+ o.errors << Shapes::ShapeRef.new(shape: RevisionIdRequiredException)
3322
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOverrideStatusException)
3323
+ o.errors << Shapes::ShapeRef.new(shape: OverrideStatusRequiredException)
3324
+ o.errors << Shapes::ShapeRef.new(shape: OverrideAlreadySetException)
3325
+ o.errors << Shapes::ShapeRef.new(shape: RevisionNotCurrentException)
3326
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
2342
3327
  o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2343
3328
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2344
3329
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
@@ -2559,6 +3544,44 @@ module Aws::CodeCommit
2559
3544
  o.errors << Shapes::ShapeRef.new(shape: TagPolicyException)
2560
3545
  end)
2561
3546
 
3547
+ api.add_operation(:update_approval_rule_template_content, Seahorse::Model::Operation.new.tap do |o|
3548
+ o.name = "UpdateApprovalRuleTemplateContent"
3549
+ o.http_method = "POST"
3550
+ o.http_request_uri = "/"
3551
+ o.input = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateContentInput)
3552
+ o.output = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateContentOutput)
3553
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
3554
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
3555
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
3556
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateContentException)
3557
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRuleContentSha256Exception)
3558
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateContentRequiredException)
3559
+ end)
3560
+
3561
+ api.add_operation(:update_approval_rule_template_description, Seahorse::Model::Operation.new.tap do |o|
3562
+ o.name = "UpdateApprovalRuleTemplateDescription"
3563
+ o.http_method = "POST"
3564
+ o.http_request_uri = "/"
3565
+ o.input = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateDescriptionInput)
3566
+ o.output = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateDescriptionOutput)
3567
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
3568
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
3569
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
3570
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateDescriptionException)
3571
+ end)
3572
+
3573
+ api.add_operation(:update_approval_rule_template_name, Seahorse::Model::Operation.new.tap do |o|
3574
+ o.name = "UpdateApprovalRuleTemplateName"
3575
+ o.http_method = "POST"
3576
+ o.http_request_uri = "/"
3577
+ o.input = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateNameInput)
3578
+ o.output = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateNameOutput)
3579
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
3580
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
3581
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
3582
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameAlreadyExistsException)
3583
+ end)
3584
+
2562
3585
  api.add_operation(:update_comment, Seahorse::Model::Operation.new.tap do |o|
2563
3586
  o.name = "UpdateComment"
2564
3587
  o.http_method = "POST"
@@ -2593,6 +3616,54 @@ module Aws::CodeCommit
2593
3616
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2594
3617
  end)
2595
3618
 
3619
+ api.add_operation(:update_pull_request_approval_rule_content, Seahorse::Model::Operation.new.tap do |o|
3620
+ o.name = "UpdatePullRequestApprovalRuleContent"
3621
+ o.http_method = "POST"
3622
+ o.http_request_uri = "/"
3623
+ o.input = Shapes::ShapeRef.new(shape: UpdatePullRequestApprovalRuleContentInput)
3624
+ o.output = Shapes::ShapeRef.new(shape: UpdatePullRequestApprovalRuleContentOutput)
3625
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
3626
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
3627
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
3628
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
3629
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleNameRequiredException)
3630
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleNameException)
3631
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleDoesNotExistException)
3632
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRuleContentSha256Exception)
3633
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleContentRequiredException)
3634
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleContentException)
3635
+ o.errors << Shapes::ShapeRef.new(shape: CannotModifyApprovalRuleFromTemplateException)
3636
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
3637
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
3638
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
3639
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
3640
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
3641
+ end)
3642
+
3643
+ api.add_operation(:update_pull_request_approval_state, Seahorse::Model::Operation.new.tap do |o|
3644
+ o.name = "UpdatePullRequestApprovalState"
3645
+ o.http_method = "POST"
3646
+ o.http_request_uri = "/"
3647
+ o.input = Shapes::ShapeRef.new(shape: UpdatePullRequestApprovalStateInput)
3648
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3649
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
3650
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
3651
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
3652
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRevisionIdException)
3653
+ o.errors << Shapes::ShapeRef.new(shape: RevisionIdRequiredException)
3654
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalStateException)
3655
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalStateRequiredException)
3656
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestCannotBeApprovedByAuthorException)
3657
+ o.errors << Shapes::ShapeRef.new(shape: RevisionNotCurrentException)
3658
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
3659
+ o.errors << Shapes::ShapeRef.new(shape: MaximumNumberOfApprovalsExceededException)
3660
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
3661
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
3662
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
3663
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
3664
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
3665
+ end)
3666
+
2596
3667
  api.add_operation(:update_pull_request_description, Seahorse::Model::Operation.new.tap do |o|
2597
3668
  o.name = "UpdatePullRequestDescription"
2598
3669
  o.http_method = "POST"