aws-sdk-codecommit 1.29.0 → 1.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,72 @@ module Aws::CodeCommit
418
517
  UserInfo = Shapes::StructureShape.new(name: 'UserInfo')
419
518
  blob = Shapes::BlobShape.new(name: 'blob')
420
519
 
520
+ Approval.add_member(:user_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "userArn"))
521
+ Approval.add_member(:approval_state, Shapes::ShapeRef.new(shape: ApprovalState, location_name: "approvalState"))
522
+ Approval.struct_class = Types::Approval
523
+
524
+ ApprovalList.member = Shapes::ShapeRef.new(shape: Approval)
525
+
526
+ ApprovalRule.add_member(:approval_rule_id, Shapes::ShapeRef.new(shape: ApprovalRuleId, location_name: "approvalRuleId"))
527
+ ApprovalRule.add_member(:approval_rule_name, Shapes::ShapeRef.new(shape: ApprovalRuleName, location_name: "approvalRuleName"))
528
+ ApprovalRule.add_member(:approval_rule_content, Shapes::ShapeRef.new(shape: ApprovalRuleContent, location_name: "approvalRuleContent"))
529
+ ApprovalRule.add_member(:rule_content_sha_256, Shapes::ShapeRef.new(shape: RuleContentSha256, location_name: "ruleContentSha256"))
530
+ ApprovalRule.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
531
+ ApprovalRule.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
532
+ ApprovalRule.add_member(:last_modified_user, Shapes::ShapeRef.new(shape: Arn, location_name: "lastModifiedUser"))
533
+ ApprovalRule.add_member(:origin_approval_rule_template, Shapes::ShapeRef.new(shape: OriginApprovalRuleTemplate, location_name: "originApprovalRuleTemplate"))
534
+ ApprovalRule.struct_class = Types::ApprovalRule
535
+
536
+ ApprovalRuleEventMetadata.add_member(:approval_rule_name, Shapes::ShapeRef.new(shape: ApprovalRuleName, location_name: "approvalRuleName"))
537
+ ApprovalRuleEventMetadata.add_member(:approval_rule_id, Shapes::ShapeRef.new(shape: ApprovalRuleId, location_name: "approvalRuleId"))
538
+ ApprovalRuleEventMetadata.add_member(:approval_rule_content, Shapes::ShapeRef.new(shape: ApprovalRuleContent, location_name: "approvalRuleContent"))
539
+ ApprovalRuleEventMetadata.struct_class = Types::ApprovalRuleEventMetadata
540
+
541
+ ApprovalRuleOverriddenEventMetadata.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
542
+ ApprovalRuleOverriddenEventMetadata.add_member(:override_status, Shapes::ShapeRef.new(shape: OverrideStatus, location_name: "overrideStatus"))
543
+ ApprovalRuleOverriddenEventMetadata.struct_class = Types::ApprovalRuleOverriddenEventMetadata
544
+
545
+ ApprovalRuleTemplate.add_member(:approval_rule_template_id, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateId, location_name: "approvalRuleTemplateId"))
546
+ ApprovalRuleTemplate.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, location_name: "approvalRuleTemplateName"))
547
+ ApprovalRuleTemplate.add_member(:approval_rule_template_description, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDescription, location_name: "approvalRuleTemplateDescription"))
548
+ ApprovalRuleTemplate.add_member(:approval_rule_template_content, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateContent, location_name: "approvalRuleTemplateContent"))
549
+ ApprovalRuleTemplate.add_member(:rule_content_sha_256, Shapes::ShapeRef.new(shape: RuleContentSha256, location_name: "ruleContentSha256"))
550
+ ApprovalRuleTemplate.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
551
+ ApprovalRuleTemplate.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
552
+ ApprovalRuleTemplate.add_member(:last_modified_user, Shapes::ShapeRef.new(shape: Arn, location_name: "lastModifiedUser"))
553
+ ApprovalRuleTemplate.struct_class = Types::ApprovalRuleTemplate
554
+
555
+ ApprovalRuleTemplateNameList.member = Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName)
556
+
557
+ ApprovalRulesList.member = Shapes::ShapeRef.new(shape: ApprovalRule)
558
+
559
+ ApprovalRulesNotSatisfiedList.member = Shapes::ShapeRef.new(shape: ApprovalRuleName)
560
+
561
+ ApprovalRulesSatisfiedList.member = Shapes::ShapeRef.new(shape: ApprovalRuleName)
562
+
563
+ ApprovalStateChangedEventMetadata.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
564
+ ApprovalStateChangedEventMetadata.add_member(:approval_status, Shapes::ShapeRef.new(shape: ApprovalState, location_name: "approvalStatus"))
565
+ ApprovalStateChangedEventMetadata.struct_class = Types::ApprovalStateChangedEventMetadata
566
+
567
+ AssociateApprovalRuleTemplateWithRepositoryInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
568
+ AssociateApprovalRuleTemplateWithRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
569
+ AssociateApprovalRuleTemplateWithRepositoryInput.struct_class = Types::AssociateApprovalRuleTemplateWithRepositoryInput
570
+
571
+ BatchAssociateApprovalRuleTemplateWithRepositoriesError.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
572
+ BatchAssociateApprovalRuleTemplateWithRepositoriesError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
573
+ BatchAssociateApprovalRuleTemplateWithRepositoriesError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
574
+ BatchAssociateApprovalRuleTemplateWithRepositoriesError.struct_class = Types::BatchAssociateApprovalRuleTemplateWithRepositoriesError
575
+
576
+ BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList.member = Shapes::ShapeRef.new(shape: BatchAssociateApprovalRuleTemplateWithRepositoriesError)
577
+
578
+ BatchAssociateApprovalRuleTemplateWithRepositoriesInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
579
+ BatchAssociateApprovalRuleTemplateWithRepositoriesInput.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, required: true, location_name: "repositoryNames"))
580
+ BatchAssociateApprovalRuleTemplateWithRepositoriesInput.struct_class = Types::BatchAssociateApprovalRuleTemplateWithRepositoriesInput
581
+
582
+ BatchAssociateApprovalRuleTemplateWithRepositoriesOutput.add_member(:associated_repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, required: true, location_name: "associatedRepositoryNames"))
583
+ BatchAssociateApprovalRuleTemplateWithRepositoriesOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList, required: true, location_name: "errors"))
584
+ BatchAssociateApprovalRuleTemplateWithRepositoriesOutput.struct_class = Types::BatchAssociateApprovalRuleTemplateWithRepositoriesOutput
585
+
421
586
  BatchDescribeMergeConflictsError.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "filePath"))
422
587
  BatchDescribeMergeConflictsError.add_member(:exception_name, Shapes::ShapeRef.new(shape: ExceptionName, required: true, location_name: "exceptionName"))
423
588
  BatchDescribeMergeConflictsError.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "message"))
@@ -445,6 +610,21 @@ module Aws::CodeCommit
445
610
  BatchDescribeMergeConflictsOutput.add_member(:base_commit_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "baseCommitId"))
446
611
  BatchDescribeMergeConflictsOutput.struct_class = Types::BatchDescribeMergeConflictsOutput
447
612
 
613
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesError.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
614
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
615
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
616
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesError.struct_class = Types::BatchDisassociateApprovalRuleTemplateFromRepositoriesError
617
+
618
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList.member = Shapes::ShapeRef.new(shape: BatchDisassociateApprovalRuleTemplateFromRepositoriesError)
619
+
620
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
621
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesInput.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, required: true, location_name: "repositoryNames"))
622
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesInput.struct_class = Types::BatchDisassociateApprovalRuleTemplateFromRepositoriesInput
623
+
624
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput.add_member(:disassociated_repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, required: true, location_name: "disassociatedRepositoryNames"))
625
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList, required: true, location_name: "errors"))
626
+ BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput.struct_class = Types::BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput
627
+
448
628
  BatchGetCommitsError.add_member(:commit_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "commitId"))
449
629
  BatchGetCommitsError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
450
630
  BatchGetCommitsError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
@@ -551,6 +731,14 @@ module Aws::CodeCommit
551
731
 
552
732
  Conflicts.member = Shapes::ShapeRef.new(shape: Conflict)
553
733
 
734
+ CreateApprovalRuleTemplateInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
735
+ CreateApprovalRuleTemplateInput.add_member(:approval_rule_template_content, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateContent, required: true, location_name: "approvalRuleTemplateContent"))
736
+ CreateApprovalRuleTemplateInput.add_member(:approval_rule_template_description, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDescription, location_name: "approvalRuleTemplateDescription"))
737
+ CreateApprovalRuleTemplateInput.struct_class = Types::CreateApprovalRuleTemplateInput
738
+
739
+ CreateApprovalRuleTemplateOutput.add_member(:approval_rule_template, Shapes::ShapeRef.new(shape: ApprovalRuleTemplate, required: true, location_name: "approvalRuleTemplate"))
740
+ CreateApprovalRuleTemplateOutput.struct_class = Types::CreateApprovalRuleTemplateOutput
741
+
554
742
  CreateBranchInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
555
743
  CreateBranchInput.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
556
744
  CreateBranchInput.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "commitId"))
@@ -575,6 +763,14 @@ module Aws::CodeCommit
575
763
  CreateCommitOutput.add_member(:files_deleted, Shapes::ShapeRef.new(shape: FilesMetadata, location_name: "filesDeleted"))
576
764
  CreateCommitOutput.struct_class = Types::CreateCommitOutput
577
765
 
766
+ CreatePullRequestApprovalRuleInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
767
+ CreatePullRequestApprovalRuleInput.add_member(:approval_rule_name, Shapes::ShapeRef.new(shape: ApprovalRuleName, required: true, location_name: "approvalRuleName"))
768
+ CreatePullRequestApprovalRuleInput.add_member(:approval_rule_content, Shapes::ShapeRef.new(shape: ApprovalRuleContent, required: true, location_name: "approvalRuleContent"))
769
+ CreatePullRequestApprovalRuleInput.struct_class = Types::CreatePullRequestApprovalRuleInput
770
+
771
+ CreatePullRequestApprovalRuleOutput.add_member(:approval_rule, Shapes::ShapeRef.new(shape: ApprovalRule, required: true, location_name: "approvalRule"))
772
+ CreatePullRequestApprovalRuleOutput.struct_class = Types::CreatePullRequestApprovalRuleOutput
773
+
578
774
  CreatePullRequestInput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
579
775
  CreatePullRequestInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
580
776
  CreatePullRequestInput.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, required: true, location_name: "targets"))
@@ -609,6 +805,12 @@ module Aws::CodeCommit
609
805
  CreateUnreferencedMergeCommitOutput.add_member(:tree_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "treeId"))
610
806
  CreateUnreferencedMergeCommitOutput.struct_class = Types::CreateUnreferencedMergeCommitOutput
611
807
 
808
+ DeleteApprovalRuleTemplateInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
809
+ DeleteApprovalRuleTemplateInput.struct_class = Types::DeleteApprovalRuleTemplateInput
810
+
811
+ DeleteApprovalRuleTemplateOutput.add_member(:approval_rule_template_id, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateId, required: true, location_name: "approvalRuleTemplateId"))
812
+ DeleteApprovalRuleTemplateOutput.struct_class = Types::DeleteApprovalRuleTemplateOutput
813
+
612
814
  DeleteBranchInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
613
815
  DeleteBranchInput.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
614
816
  DeleteBranchInput.struct_class = Types::DeleteBranchInput
@@ -643,6 +845,13 @@ module Aws::CodeCommit
643
845
  DeleteFileOutput.add_member(:file_path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "filePath"))
644
846
  DeleteFileOutput.struct_class = Types::DeleteFileOutput
645
847
 
848
+ DeletePullRequestApprovalRuleInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
849
+ DeletePullRequestApprovalRuleInput.add_member(:approval_rule_name, Shapes::ShapeRef.new(shape: ApprovalRuleName, required: true, location_name: "approvalRuleName"))
850
+ DeletePullRequestApprovalRuleInput.struct_class = Types::DeletePullRequestApprovalRuleInput
851
+
852
+ DeletePullRequestApprovalRuleOutput.add_member(:approval_rule_id, Shapes::ShapeRef.new(shape: ApprovalRuleId, required: true, location_name: "approvalRuleId"))
853
+ DeletePullRequestApprovalRuleOutput.struct_class = Types::DeletePullRequestApprovalRuleOutput
854
+
646
855
  DeleteRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
647
856
  DeleteRepositoryInput.struct_class = Types::DeleteRepositoryInput
648
857
 
@@ -686,6 +895,23 @@ module Aws::CodeCommit
686
895
 
687
896
  DifferenceList.member = Shapes::ShapeRef.new(shape: Difference)
688
897
 
898
+ DisassociateApprovalRuleTemplateFromRepositoryInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
899
+ DisassociateApprovalRuleTemplateFromRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
900
+ DisassociateApprovalRuleTemplateFromRepositoryInput.struct_class = Types::DisassociateApprovalRuleTemplateFromRepositoryInput
901
+
902
+ EvaluatePullRequestApprovalRulesInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
903
+ EvaluatePullRequestApprovalRulesInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
904
+ EvaluatePullRequestApprovalRulesInput.struct_class = Types::EvaluatePullRequestApprovalRulesInput
905
+
906
+ EvaluatePullRequestApprovalRulesOutput.add_member(:evaluation, Shapes::ShapeRef.new(shape: Evaluation, required: true, location_name: "evaluation"))
907
+ EvaluatePullRequestApprovalRulesOutput.struct_class = Types::EvaluatePullRequestApprovalRulesOutput
908
+
909
+ Evaluation.add_member(:approved, Shapes::ShapeRef.new(shape: Approved, location_name: "approved"))
910
+ Evaluation.add_member(:overridden, Shapes::ShapeRef.new(shape: Overridden, location_name: "overridden"))
911
+ Evaluation.add_member(:approval_rules_satisfied, Shapes::ShapeRef.new(shape: ApprovalRulesSatisfiedList, location_name: "approvalRulesSatisfied"))
912
+ Evaluation.add_member(:approval_rules_not_satisfied, Shapes::ShapeRef.new(shape: ApprovalRulesNotSatisfiedList, location_name: "approvalRulesNotSatisfied"))
913
+ Evaluation.struct_class = Types::Evaluation
914
+
689
915
  File.add_member(:blob_id, Shapes::ShapeRef.new(shape: ObjectId, location_name: "blobId"))
690
916
  File.add_member(:absolute_path, Shapes::ShapeRef.new(shape: Path, location_name: "absolutePath"))
691
917
  File.add_member(:relative_path, Shapes::ShapeRef.new(shape: Path, location_name: "relativePath"))
@@ -720,6 +946,12 @@ module Aws::CodeCommit
720
946
 
721
947
  FolderList.member = Shapes::ShapeRef.new(shape: Folder)
722
948
 
949
+ GetApprovalRuleTemplateInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
950
+ GetApprovalRuleTemplateInput.struct_class = Types::GetApprovalRuleTemplateInput
951
+
952
+ GetApprovalRuleTemplateOutput.add_member(:approval_rule_template, Shapes::ShapeRef.new(shape: ApprovalRuleTemplate, required: true, location_name: "approvalRuleTemplate"))
953
+ GetApprovalRuleTemplateOutput.struct_class = Types::GetApprovalRuleTemplateOutput
954
+
723
955
  GetBlobInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
724
956
  GetBlobInput.add_member(:blob_id, Shapes::ShapeRef.new(shape: ObjectId, required: true, location_name: "blobId"))
725
957
  GetBlobInput.struct_class = Types::GetBlobInput
@@ -854,12 +1086,27 @@ module Aws::CodeCommit
854
1086
  GetMergeOptionsOutput.add_member(:base_commit_id, Shapes::ShapeRef.new(shape: ObjectId, required: true, location_name: "baseCommitId"))
855
1087
  GetMergeOptionsOutput.struct_class = Types::GetMergeOptionsOutput
856
1088
 
1089
+ GetPullRequestApprovalStatesInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1090
+ GetPullRequestApprovalStatesInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
1091
+ GetPullRequestApprovalStatesInput.struct_class = Types::GetPullRequestApprovalStatesInput
1092
+
1093
+ GetPullRequestApprovalStatesOutput.add_member(:approvals, Shapes::ShapeRef.new(shape: ApprovalList, location_name: "approvals"))
1094
+ GetPullRequestApprovalStatesOutput.struct_class = Types::GetPullRequestApprovalStatesOutput
1095
+
857
1096
  GetPullRequestInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
858
1097
  GetPullRequestInput.struct_class = Types::GetPullRequestInput
859
1098
 
860
1099
  GetPullRequestOutput.add_member(:pull_request, Shapes::ShapeRef.new(shape: PullRequest, required: true, location_name: "pullRequest"))
861
1100
  GetPullRequestOutput.struct_class = Types::GetPullRequestOutput
862
1101
 
1102
+ GetPullRequestOverrideStateInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1103
+ GetPullRequestOverrideStateInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
1104
+ GetPullRequestOverrideStateInput.struct_class = Types::GetPullRequestOverrideStateInput
1105
+
1106
+ GetPullRequestOverrideStateOutput.add_member(:overridden, Shapes::ShapeRef.new(shape: Overridden, location_name: "overridden"))
1107
+ GetPullRequestOverrideStateOutput.add_member(:overrider, Shapes::ShapeRef.new(shape: Arn, location_name: "overrider"))
1108
+ GetPullRequestOverrideStateOutput.struct_class = Types::GetPullRequestOverrideStateOutput
1109
+
863
1110
  GetRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
864
1111
  GetRepositoryInput.struct_class = Types::GetRepositoryInput
865
1112
 
@@ -878,6 +1125,23 @@ module Aws::CodeCommit
878
1125
  IsBinaryFile.add_member(:base, Shapes::ShapeRef.new(shape: CapitalBoolean, location_name: "base"))
879
1126
  IsBinaryFile.struct_class = Types::IsBinaryFile
880
1127
 
1128
+ ListApprovalRuleTemplatesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1129
+ ListApprovalRuleTemplatesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1130
+ ListApprovalRuleTemplatesInput.struct_class = Types::ListApprovalRuleTemplatesInput
1131
+
1132
+ ListApprovalRuleTemplatesOutput.add_member(:approval_rule_template_names, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameList, location_name: "approvalRuleTemplateNames"))
1133
+ ListApprovalRuleTemplatesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1134
+ ListApprovalRuleTemplatesOutput.struct_class = Types::ListApprovalRuleTemplatesOutput
1135
+
1136
+ ListAssociatedApprovalRuleTemplatesForRepositoryInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1137
+ ListAssociatedApprovalRuleTemplatesForRepositoryInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1138
+ ListAssociatedApprovalRuleTemplatesForRepositoryInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1139
+ ListAssociatedApprovalRuleTemplatesForRepositoryInput.struct_class = Types::ListAssociatedApprovalRuleTemplatesForRepositoryInput
1140
+
1141
+ ListAssociatedApprovalRuleTemplatesForRepositoryOutput.add_member(:approval_rule_template_names, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameList, location_name: "approvalRuleTemplateNames"))
1142
+ ListAssociatedApprovalRuleTemplatesForRepositoryOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1143
+ ListAssociatedApprovalRuleTemplatesForRepositoryOutput.struct_class = Types::ListAssociatedApprovalRuleTemplatesForRepositoryOutput
1144
+
881
1145
  ListBranchesInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
882
1146
  ListBranchesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
883
1147
  ListBranchesInput.struct_class = Types::ListBranchesInput
@@ -897,6 +1161,15 @@ module Aws::CodeCommit
897
1161
  ListPullRequestsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
898
1162
  ListPullRequestsOutput.struct_class = Types::ListPullRequestsOutput
899
1163
 
1164
+ ListRepositoriesForApprovalRuleTemplateInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
1165
+ ListRepositoriesForApprovalRuleTemplateInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1166
+ ListRepositoriesForApprovalRuleTemplateInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1167
+ ListRepositoriesForApprovalRuleTemplateInput.struct_class = Types::ListRepositoriesForApprovalRuleTemplateInput
1168
+
1169
+ ListRepositoriesForApprovalRuleTemplateOutput.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, location_name: "repositoryNames"))
1170
+ ListRepositoriesForApprovalRuleTemplateOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1171
+ ListRepositoriesForApprovalRuleTemplateOutput.struct_class = Types::ListRepositoriesForApprovalRuleTemplateOutput
1172
+
900
1173
  ListRepositoriesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
901
1174
  ListRepositoriesInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortByEnum, location_name: "sortBy"))
902
1175
  ListRepositoriesInput.add_member(:order, Shapes::ShapeRef.new(shape: OrderEnum, location_name: "order"))
@@ -1031,6 +1304,15 @@ module Aws::CodeCommit
1031
1304
  ObjectTypes.add_member(:base, Shapes::ShapeRef.new(shape: ObjectTypeEnum, location_name: "base"))
1032
1305
  ObjectTypes.struct_class = Types::ObjectTypes
1033
1306
 
1307
+ OriginApprovalRuleTemplate.add_member(:approval_rule_template_id, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateId, location_name: "approvalRuleTemplateId"))
1308
+ OriginApprovalRuleTemplate.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, location_name: "approvalRuleTemplateName"))
1309
+ OriginApprovalRuleTemplate.struct_class = Types::OriginApprovalRuleTemplate
1310
+
1311
+ OverridePullRequestApprovalRulesInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1312
+ OverridePullRequestApprovalRulesInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
1313
+ OverridePullRequestApprovalRulesInput.add_member(:override_status, Shapes::ShapeRef.new(shape: OverrideStatus, required: true, location_name: "overrideStatus"))
1314
+ OverridePullRequestApprovalRulesInput.struct_class = Types::OverridePullRequestApprovalRulesInput
1315
+
1034
1316
  ParentList.member = Shapes::ShapeRef.new(shape: ObjectId)
1035
1317
 
1036
1318
  PostCommentForComparedCommitInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
@@ -1086,6 +1368,8 @@ module Aws::CodeCommit
1086
1368
  PullRequest.add_member(:author_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "authorArn"))
1087
1369
  PullRequest.add_member(:pull_request_targets, Shapes::ShapeRef.new(shape: PullRequestTargetList, location_name: "pullRequestTargets"))
1088
1370
  PullRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
1371
+ PullRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
1372
+ PullRequest.add_member(:approval_rules, Shapes::ShapeRef.new(shape: ApprovalRulesList, location_name: "approvalRules"))
1089
1373
  PullRequest.struct_class = Types::PullRequest
1090
1374
 
1091
1375
  PullRequestCreatedEventMetadata.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
@@ -1102,6 +1386,9 @@ module Aws::CodeCommit
1102
1386
  PullRequestEvent.add_member(:pull_request_status_changed_event_metadata, Shapes::ShapeRef.new(shape: PullRequestStatusChangedEventMetadata, location_name: "pullRequestStatusChangedEventMetadata"))
1103
1387
  PullRequestEvent.add_member(:pull_request_source_reference_updated_event_metadata, Shapes::ShapeRef.new(shape: PullRequestSourceReferenceUpdatedEventMetadata, location_name: "pullRequestSourceReferenceUpdatedEventMetadata"))
1104
1388
  PullRequestEvent.add_member(:pull_request_merged_state_changed_event_metadata, Shapes::ShapeRef.new(shape: PullRequestMergedStateChangedEventMetadata, location_name: "pullRequestMergedStateChangedEventMetadata"))
1389
+ PullRequestEvent.add_member(:approval_rule_event_metadata, Shapes::ShapeRef.new(shape: ApprovalRuleEventMetadata, location_name: "approvalRuleEventMetadata"))
1390
+ PullRequestEvent.add_member(:approval_state_changed_event_metadata, Shapes::ShapeRef.new(shape: ApprovalStateChangedEventMetadata, location_name: "approvalStateChangedEventMetadata"))
1391
+ PullRequestEvent.add_member(:approval_rule_overridden_event_metadata, Shapes::ShapeRef.new(shape: ApprovalRuleOverriddenEventMetadata, location_name: "approvalRuleOverriddenEventMetadata"))
1105
1392
  PullRequestEvent.struct_class = Types::PullRequestEvent
1106
1393
 
1107
1394
  PullRequestEventList.member = Shapes::ShapeRef.new(shape: PullRequestEvent)
@@ -1268,6 +1555,28 @@ module Aws::CodeCommit
1268
1555
  UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeysList, required: true, location_name: "tagKeys"))
1269
1556
  UntagResourceInput.struct_class = Types::UntagResourceInput
1270
1557
 
1558
+ UpdateApprovalRuleTemplateContentInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
1559
+ UpdateApprovalRuleTemplateContentInput.add_member(:new_rule_content, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateContent, required: true, location_name: "newRuleContent"))
1560
+ UpdateApprovalRuleTemplateContentInput.add_member(:existing_rule_content_sha_256, Shapes::ShapeRef.new(shape: RuleContentSha256, location_name: "existingRuleContentSha256"))
1561
+ UpdateApprovalRuleTemplateContentInput.struct_class = Types::UpdateApprovalRuleTemplateContentInput
1562
+
1563
+ UpdateApprovalRuleTemplateContentOutput.add_member(:approval_rule_template, Shapes::ShapeRef.new(shape: ApprovalRuleTemplate, required: true, location_name: "approvalRuleTemplate"))
1564
+ UpdateApprovalRuleTemplateContentOutput.struct_class = Types::UpdateApprovalRuleTemplateContentOutput
1565
+
1566
+ UpdateApprovalRuleTemplateDescriptionInput.add_member(:approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "approvalRuleTemplateName"))
1567
+ UpdateApprovalRuleTemplateDescriptionInput.add_member(:approval_rule_template_description, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDescription, required: true, location_name: "approvalRuleTemplateDescription"))
1568
+ UpdateApprovalRuleTemplateDescriptionInput.struct_class = Types::UpdateApprovalRuleTemplateDescriptionInput
1569
+
1570
+ UpdateApprovalRuleTemplateDescriptionOutput.add_member(:approval_rule_template, Shapes::ShapeRef.new(shape: ApprovalRuleTemplate, required: true, location_name: "approvalRuleTemplate"))
1571
+ UpdateApprovalRuleTemplateDescriptionOutput.struct_class = Types::UpdateApprovalRuleTemplateDescriptionOutput
1572
+
1573
+ UpdateApprovalRuleTemplateNameInput.add_member(:old_approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "oldApprovalRuleTemplateName"))
1574
+ UpdateApprovalRuleTemplateNameInput.add_member(:new_approval_rule_template_name, Shapes::ShapeRef.new(shape: ApprovalRuleTemplateName, required: true, location_name: "newApprovalRuleTemplateName"))
1575
+ UpdateApprovalRuleTemplateNameInput.struct_class = Types::UpdateApprovalRuleTemplateNameInput
1576
+
1577
+ UpdateApprovalRuleTemplateNameOutput.add_member(:approval_rule_template, Shapes::ShapeRef.new(shape: ApprovalRuleTemplate, required: true, location_name: "approvalRuleTemplate"))
1578
+ UpdateApprovalRuleTemplateNameOutput.struct_class = Types::UpdateApprovalRuleTemplateNameOutput
1579
+
1271
1580
  UpdateCommentInput.add_member(:comment_id, Shapes::ShapeRef.new(shape: CommentId, required: true, location_name: "commentId"))
1272
1581
  UpdateCommentInput.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "content"))
1273
1582
  UpdateCommentInput.struct_class = Types::UpdateCommentInput
@@ -1279,6 +1588,20 @@ module Aws::CodeCommit
1279
1588
  UpdateDefaultBranchInput.add_member(:default_branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "defaultBranchName"))
1280
1589
  UpdateDefaultBranchInput.struct_class = Types::UpdateDefaultBranchInput
1281
1590
 
1591
+ UpdatePullRequestApprovalRuleContentInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1592
+ UpdatePullRequestApprovalRuleContentInput.add_member(:approval_rule_name, Shapes::ShapeRef.new(shape: ApprovalRuleName, required: true, location_name: "approvalRuleName"))
1593
+ UpdatePullRequestApprovalRuleContentInput.add_member(:existing_rule_content_sha_256, Shapes::ShapeRef.new(shape: RuleContentSha256, location_name: "existingRuleContentSha256"))
1594
+ UpdatePullRequestApprovalRuleContentInput.add_member(:new_rule_content, Shapes::ShapeRef.new(shape: ApprovalRuleContent, required: true, location_name: "newRuleContent"))
1595
+ UpdatePullRequestApprovalRuleContentInput.struct_class = Types::UpdatePullRequestApprovalRuleContentInput
1596
+
1597
+ UpdatePullRequestApprovalRuleContentOutput.add_member(:approval_rule, Shapes::ShapeRef.new(shape: ApprovalRule, required: true, location_name: "approvalRule"))
1598
+ UpdatePullRequestApprovalRuleContentOutput.struct_class = Types::UpdatePullRequestApprovalRuleContentOutput
1599
+
1600
+ UpdatePullRequestApprovalStateInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1601
+ UpdatePullRequestApprovalStateInput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
1602
+ UpdatePullRequestApprovalStateInput.add_member(:approval_state, Shapes::ShapeRef.new(shape: ApprovalState, required: true, location_name: "approvalState"))
1603
+ UpdatePullRequestApprovalStateInput.struct_class = Types::UpdatePullRequestApprovalStateInput
1604
+
1282
1605
  UpdatePullRequestDescriptionInput.add_member(:pull_request_id, Shapes::ShapeRef.new(shape: PullRequestId, required: true, location_name: "pullRequestId"))
1283
1606
  UpdatePullRequestDescriptionInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
1284
1607
  UpdatePullRequestDescriptionInput.struct_class = Types::UpdatePullRequestDescriptionInput
@@ -1332,6 +1655,44 @@ module Aws::CodeCommit
1332
1655
  "uid" => "codecommit-2015-04-13",
1333
1656
  }
1334
1657
 
1658
+ api.add_operation(:associate_approval_rule_template_with_repository, Seahorse::Model::Operation.new.tap do |o|
1659
+ o.name = "AssociateApprovalRuleTemplateWithRepository"
1660
+ o.http_method = "POST"
1661
+ o.http_request_uri = "/"
1662
+ o.input = Shapes::ShapeRef.new(shape: AssociateApprovalRuleTemplateWithRepositoryInput)
1663
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1664
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
1665
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
1666
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
1667
+ o.errors << Shapes::ShapeRef.new(shape: MaximumRuleTemplatesAssociatedWithRepositoryException)
1668
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
1669
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
1670
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
1671
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
1672
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
1673
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
1674
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
1675
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1676
+ end)
1677
+
1678
+ api.add_operation(:batch_associate_approval_rule_template_with_repositories, Seahorse::Model::Operation.new.tap do |o|
1679
+ o.name = "BatchAssociateApprovalRuleTemplateWithRepositories"
1680
+ o.http_method = "POST"
1681
+ o.http_request_uri = "/"
1682
+ o.input = Shapes::ShapeRef.new(shape: BatchAssociateApprovalRuleTemplateWithRepositoriesInput)
1683
+ o.output = Shapes::ShapeRef.new(shape: BatchAssociateApprovalRuleTemplateWithRepositoriesOutput)
1684
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
1685
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
1686
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
1687
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNamesRequiredException)
1688
+ o.errors << Shapes::ShapeRef.new(shape: MaximumRepositoryNamesExceededException)
1689
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
1690
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
1691
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
1692
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
1693
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1694
+ end)
1695
+
1335
1696
  api.add_operation(:batch_describe_merge_conflicts, Seahorse::Model::Operation.new.tap do |o|
1336
1697
  o.name = "BatchDescribeMergeConflicts"
1337
1698
  o.http_method = "POST"
@@ -1361,6 +1722,24 @@ module Aws::CodeCommit
1361
1722
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1362
1723
  end)
1363
1724
 
1725
+ api.add_operation(:batch_disassociate_approval_rule_template_from_repositories, Seahorse::Model::Operation.new.tap do |o|
1726
+ o.name = "BatchDisassociateApprovalRuleTemplateFromRepositories"
1727
+ o.http_method = "POST"
1728
+ o.http_request_uri = "/"
1729
+ o.input = Shapes::ShapeRef.new(shape: BatchDisassociateApprovalRuleTemplateFromRepositoriesInput)
1730
+ o.output = Shapes::ShapeRef.new(shape: BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput)
1731
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
1732
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
1733
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
1734
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNamesRequiredException)
1735
+ o.errors << Shapes::ShapeRef.new(shape: MaximumRepositoryNamesExceededException)
1736
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
1737
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
1738
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
1739
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
1740
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1741
+ end)
1742
+
1364
1743
  api.add_operation(:batch_get_commits, Seahorse::Model::Operation.new.tap do |o|
1365
1744
  o.name = "BatchGetCommits"
1366
1745
  o.http_method = "POST"
@@ -1395,6 +1774,21 @@ module Aws::CodeCommit
1395
1774
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1396
1775
  end)
1397
1776
 
1777
+ api.add_operation(:create_approval_rule_template, Seahorse::Model::Operation.new.tap do |o|
1778
+ o.name = "CreateApprovalRuleTemplate"
1779
+ o.http_method = "POST"
1780
+ o.http_request_uri = "/"
1781
+ o.input = Shapes::ShapeRef.new(shape: CreateApprovalRuleTemplateInput)
1782
+ o.output = Shapes::ShapeRef.new(shape: CreateApprovalRuleTemplateOutput)
1783
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
1784
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
1785
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameAlreadyExistsException)
1786
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateContentRequiredException)
1787
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateContentException)
1788
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateDescriptionException)
1789
+ o.errors << Shapes::ShapeRef.new(shape: NumberOfRuleTemplatesExceededException)
1790
+ end)
1791
+
1398
1792
  api.add_operation(:create_branch, Seahorse::Model::Operation.new.tap do |o|
1399
1793
  o.name = "CreateBranch"
1400
1794
  o.http_method = "POST"
@@ -1496,6 +1890,29 @@ module Aws::CodeCommit
1496
1890
  o.errors << Shapes::ShapeRef.new(shape: SourceAndDestinationAreSameException)
1497
1891
  end)
1498
1892
 
1893
+ api.add_operation(:create_pull_request_approval_rule, Seahorse::Model::Operation.new.tap do |o|
1894
+ o.name = "CreatePullRequestApprovalRule"
1895
+ o.http_method = "POST"
1896
+ o.http_request_uri = "/"
1897
+ o.input = Shapes::ShapeRef.new(shape: CreatePullRequestApprovalRuleInput)
1898
+ o.output = Shapes::ShapeRef.new(shape: CreatePullRequestApprovalRuleOutput)
1899
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleNameRequiredException)
1900
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleNameException)
1901
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleNameAlreadyExistsException)
1902
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleContentRequiredException)
1903
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleContentException)
1904
+ o.errors << Shapes::ShapeRef.new(shape: NumberOfRulesExceededException)
1905
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
1906
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
1907
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
1908
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
1909
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
1910
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
1911
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
1912
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
1913
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1914
+ end)
1915
+
1499
1916
  api.add_operation(:create_repository, Seahorse::Model::Operation.new.tap do |o|
1500
1917
  o.name = "CreateRepository"
1501
1918
  o.http_method = "POST"
@@ -1562,6 +1979,17 @@ module Aws::CodeCommit
1562
1979
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1563
1980
  end)
1564
1981
 
1982
+ api.add_operation(:delete_approval_rule_template, Seahorse::Model::Operation.new.tap do |o|
1983
+ o.name = "DeleteApprovalRuleTemplate"
1984
+ o.http_method = "POST"
1985
+ o.http_request_uri = "/"
1986
+ o.input = Shapes::ShapeRef.new(shape: DeleteApprovalRuleTemplateInput)
1987
+ o.output = Shapes::ShapeRef.new(shape: DeleteApprovalRuleTemplateOutput)
1988
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
1989
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
1990
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateInUseException)
1991
+ end)
1992
+
1565
1993
  api.add_operation(:delete_branch, Seahorse::Model::Operation.new.tap do |o|
1566
1994
  o.name = "DeleteBranch"
1567
1995
  o.http_method = "POST"
@@ -1623,6 +2051,26 @@ module Aws::CodeCommit
1623
2051
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
1624
2052
  end)
1625
2053
 
2054
+ api.add_operation(:delete_pull_request_approval_rule, Seahorse::Model::Operation.new.tap do |o|
2055
+ o.name = "DeletePullRequestApprovalRule"
2056
+ o.http_method = "POST"
2057
+ o.http_request_uri = "/"
2058
+ o.input = Shapes::ShapeRef.new(shape: DeletePullRequestApprovalRuleInput)
2059
+ o.output = Shapes::ShapeRef.new(shape: DeletePullRequestApprovalRuleOutput)
2060
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
2061
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
2062
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
2063
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
2064
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleNameRequiredException)
2065
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleNameException)
2066
+ o.errors << Shapes::ShapeRef.new(shape: CannotDeleteApprovalRuleFromTemplateException)
2067
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2068
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2069
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2070
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2071
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2072
+ end)
2073
+
1626
2074
  api.add_operation(:delete_repository, Seahorse::Model::Operation.new.tap do |o|
1627
2075
  o.name = "DeleteRepository"
1628
2076
  o.http_method = "POST"
@@ -1702,6 +2150,55 @@ module Aws::CodeCommit
1702
2150
  )
1703
2151
  end)
1704
2152
 
2153
+ api.add_operation(:disassociate_approval_rule_template_from_repository, Seahorse::Model::Operation.new.tap do |o|
2154
+ o.name = "DisassociateApprovalRuleTemplateFromRepository"
2155
+ o.http_method = "POST"
2156
+ o.http_request_uri = "/"
2157
+ o.input = Shapes::ShapeRef.new(shape: DisassociateApprovalRuleTemplateFromRepositoryInput)
2158
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2159
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
2160
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
2161
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
2162
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
2163
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
2164
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
2165
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2166
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2167
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2168
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2169
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2170
+ end)
2171
+
2172
+ api.add_operation(:evaluate_pull_request_approval_rules, Seahorse::Model::Operation.new.tap do |o|
2173
+ o.name = "EvaluatePullRequestApprovalRules"
2174
+ o.http_method = "POST"
2175
+ o.http_request_uri = "/"
2176
+ o.input = Shapes::ShapeRef.new(shape: EvaluatePullRequestApprovalRulesInput)
2177
+ o.output = Shapes::ShapeRef.new(shape: EvaluatePullRequestApprovalRulesOutput)
2178
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
2179
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
2180
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
2181
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRevisionIdException)
2182
+ o.errors << Shapes::ShapeRef.new(shape: RevisionIdRequiredException)
2183
+ o.errors << Shapes::ShapeRef.new(shape: RevisionNotCurrentException)
2184
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2185
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2186
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2187
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2188
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2189
+ end)
2190
+
2191
+ api.add_operation(:get_approval_rule_template, Seahorse::Model::Operation.new.tap do |o|
2192
+ o.name = "GetApprovalRuleTemplate"
2193
+ o.http_method = "POST"
2194
+ o.http_request_uri = "/"
2195
+ o.input = Shapes::ShapeRef.new(shape: GetApprovalRuleTemplateInput)
2196
+ o.output = Shapes::ShapeRef.new(shape: GetApprovalRuleTemplateOutput)
2197
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
2198
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
2199
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
2200
+ end)
2201
+
1705
2202
  api.add_operation(:get_blob, Seahorse::Model::Operation.new.tap do |o|
1706
2203
  o.name = "GetBlob"
1707
2204
  o.http_method = "POST"
@@ -2000,6 +2497,42 @@ module Aws::CodeCommit
2000
2497
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2001
2498
  end)
2002
2499
 
2500
+ api.add_operation(:get_pull_request_approval_states, Seahorse::Model::Operation.new.tap do |o|
2501
+ o.name = "GetPullRequestApprovalStates"
2502
+ o.http_method = "POST"
2503
+ o.http_request_uri = "/"
2504
+ o.input = Shapes::ShapeRef.new(shape: GetPullRequestApprovalStatesInput)
2505
+ o.output = Shapes::ShapeRef.new(shape: GetPullRequestApprovalStatesOutput)
2506
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
2507
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
2508
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
2509
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRevisionIdException)
2510
+ o.errors << Shapes::ShapeRef.new(shape: RevisionIdRequiredException)
2511
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2512
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2513
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2514
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2515
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2516
+ end)
2517
+
2518
+ api.add_operation(:get_pull_request_override_state, Seahorse::Model::Operation.new.tap do |o|
2519
+ o.name = "GetPullRequestOverrideState"
2520
+ o.http_method = "POST"
2521
+ o.http_request_uri = "/"
2522
+ o.input = Shapes::ShapeRef.new(shape: GetPullRequestOverrideStateInput)
2523
+ o.output = Shapes::ShapeRef.new(shape: GetPullRequestOverrideStateOutput)
2524
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
2525
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
2526
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
2527
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRevisionIdException)
2528
+ o.errors << Shapes::ShapeRef.new(shape: RevisionIdRequiredException)
2529
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2530
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2531
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2532
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2533
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2534
+ end)
2535
+
2003
2536
  api.add_operation(:get_repository, Seahorse::Model::Operation.new.tap do |o|
2004
2537
  o.name = "GetRepository"
2005
2538
  o.http_method = "POST"
@@ -2032,6 +2565,46 @@ module Aws::CodeCommit
2032
2565
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2033
2566
  end)
2034
2567
 
2568
+ api.add_operation(:list_approval_rule_templates, Seahorse::Model::Operation.new.tap do |o|
2569
+ o.name = "ListApprovalRuleTemplates"
2570
+ o.http_method = "POST"
2571
+ o.http_request_uri = "/"
2572
+ o.input = Shapes::ShapeRef.new(shape: ListApprovalRuleTemplatesInput)
2573
+ o.output = Shapes::ShapeRef.new(shape: ListApprovalRuleTemplatesOutput)
2574
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
2575
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
2576
+ o[:pager] = Aws::Pager.new(
2577
+ limit_key: "max_results",
2578
+ tokens: {
2579
+ "next_token" => "next_token"
2580
+ }
2581
+ )
2582
+ end)
2583
+
2584
+ api.add_operation(:list_associated_approval_rule_templates_for_repository, Seahorse::Model::Operation.new.tap do |o|
2585
+ o.name = "ListAssociatedApprovalRuleTemplatesForRepository"
2586
+ o.http_method = "POST"
2587
+ o.http_request_uri = "/"
2588
+ o.input = Shapes::ShapeRef.new(shape: ListAssociatedApprovalRuleTemplatesForRepositoryInput)
2589
+ o.output = Shapes::ShapeRef.new(shape: ListAssociatedApprovalRuleTemplatesForRepositoryOutput)
2590
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNameRequiredException)
2591
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
2592
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
2593
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
2594
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
2595
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2596
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2597
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2598
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2599
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2600
+ o[:pager] = Aws::Pager.new(
2601
+ limit_key: "max_results",
2602
+ tokens: {
2603
+ "next_token" => "next_token"
2604
+ }
2605
+ )
2606
+ end)
2607
+
2035
2608
  api.add_operation(:list_branches, Seahorse::Model::Operation.new.tap do |o|
2036
2609
  o.name = "ListBranches"
2037
2610
  o.http_method = "POST"
@@ -2097,6 +2670,30 @@ module Aws::CodeCommit
2097
2670
  )
2098
2671
  end)
2099
2672
 
2673
+ api.add_operation(:list_repositories_for_approval_rule_template, Seahorse::Model::Operation.new.tap do |o|
2674
+ o.name = "ListRepositoriesForApprovalRuleTemplate"
2675
+ o.http_method = "POST"
2676
+ o.http_request_uri = "/"
2677
+ o.input = Shapes::ShapeRef.new(shape: ListRepositoriesForApprovalRuleTemplateInput)
2678
+ o.output = Shapes::ShapeRef.new(shape: ListRepositoriesForApprovalRuleTemplateOutput)
2679
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
2680
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
2681
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
2682
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
2683
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContinuationTokenException)
2684
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2685
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2686
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2687
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2688
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2689
+ o[:pager] = Aws::Pager.new(
2690
+ limit_key: "max_results",
2691
+ tokens: {
2692
+ "next_token" => "next_token"
2693
+ }
2694
+ )
2695
+ end)
2696
+
2100
2697
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2101
2698
  o.name = "ListTagsForResource"
2102
2699
  o.http_method = "POST"
@@ -2249,6 +2846,7 @@ module Aws::CodeCommit
2249
2846
  o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
2250
2847
  o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
2251
2848
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentReferenceUpdateException)
2849
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestApprovalRulesNotSatisfiedException)
2252
2850
  o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2253
2851
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2254
2852
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
@@ -2294,6 +2892,7 @@ module Aws::CodeCommit
2294
2892
  o.errors << Shapes::ShapeRef.new(shape: InvalidRepositoryNameException)
2295
2893
  o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
2296
2894
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotAssociatedWithPullRequestException)
2895
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestApprovalRulesNotSatisfiedException)
2297
2896
  o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2298
2897
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2299
2898
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
@@ -2339,6 +2938,30 @@ module Aws::CodeCommit
2339
2938
  o.errors << Shapes::ShapeRef.new(shape: RepositoryDoesNotExistException)
2340
2939
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotAssociatedWithPullRequestException)
2341
2940
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentReferenceUpdateException)
2941
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestApprovalRulesNotSatisfiedException)
2942
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2943
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2944
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
2945
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
2946
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2947
+ end)
2948
+
2949
+ api.add_operation(:override_pull_request_approval_rules, Seahorse::Model::Operation.new.tap do |o|
2950
+ o.name = "OverridePullRequestApprovalRules"
2951
+ o.http_method = "POST"
2952
+ o.http_request_uri = "/"
2953
+ o.input = Shapes::ShapeRef.new(shape: OverridePullRequestApprovalRulesInput)
2954
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2955
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
2956
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
2957
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
2958
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRevisionIdException)
2959
+ o.errors << Shapes::ShapeRef.new(shape: RevisionIdRequiredException)
2960
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOverrideStatusException)
2961
+ o.errors << Shapes::ShapeRef.new(shape: OverrideStatusRequiredException)
2962
+ o.errors << Shapes::ShapeRef.new(shape: OverrideAlreadySetException)
2963
+ o.errors << Shapes::ShapeRef.new(shape: RevisionNotCurrentException)
2964
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
2342
2965
  o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
2343
2966
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
2344
2967
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
@@ -2559,6 +3182,44 @@ module Aws::CodeCommit
2559
3182
  o.errors << Shapes::ShapeRef.new(shape: TagPolicyException)
2560
3183
  end)
2561
3184
 
3185
+ api.add_operation(:update_approval_rule_template_content, Seahorse::Model::Operation.new.tap do |o|
3186
+ o.name = "UpdateApprovalRuleTemplateContent"
3187
+ o.http_method = "POST"
3188
+ o.http_request_uri = "/"
3189
+ o.input = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateContentInput)
3190
+ o.output = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateContentOutput)
3191
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
3192
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
3193
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
3194
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateContentException)
3195
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRuleContentSha256Exception)
3196
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateContentRequiredException)
3197
+ end)
3198
+
3199
+ api.add_operation(:update_approval_rule_template_description, Seahorse::Model::Operation.new.tap do |o|
3200
+ o.name = "UpdateApprovalRuleTemplateDescription"
3201
+ o.http_method = "POST"
3202
+ o.http_request_uri = "/"
3203
+ o.input = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateDescriptionInput)
3204
+ o.output = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateDescriptionOutput)
3205
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
3206
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
3207
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
3208
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateDescriptionException)
3209
+ end)
3210
+
3211
+ api.add_operation(:update_approval_rule_template_name, Seahorse::Model::Operation.new.tap do |o|
3212
+ o.name = "UpdateApprovalRuleTemplateName"
3213
+ o.http_method = "POST"
3214
+ o.http_request_uri = "/"
3215
+ o.input = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateNameInput)
3216
+ o.output = Shapes::ShapeRef.new(shape: UpdateApprovalRuleTemplateNameOutput)
3217
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleTemplateNameException)
3218
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameRequiredException)
3219
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateDoesNotExistException)
3220
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleTemplateNameAlreadyExistsException)
3221
+ end)
3222
+
2562
3223
  api.add_operation(:update_comment, Seahorse::Model::Operation.new.tap do |o|
2563
3224
  o.name = "UpdateComment"
2564
3225
  o.http_method = "POST"
@@ -2593,6 +3254,54 @@ module Aws::CodeCommit
2593
3254
  o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
2594
3255
  end)
2595
3256
 
3257
+ api.add_operation(:update_pull_request_approval_rule_content, Seahorse::Model::Operation.new.tap do |o|
3258
+ o.name = "UpdatePullRequestApprovalRuleContent"
3259
+ o.http_method = "POST"
3260
+ o.http_request_uri = "/"
3261
+ o.input = Shapes::ShapeRef.new(shape: UpdatePullRequestApprovalRuleContentInput)
3262
+ o.output = Shapes::ShapeRef.new(shape: UpdatePullRequestApprovalRuleContentOutput)
3263
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
3264
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
3265
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
3266
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
3267
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleNameRequiredException)
3268
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleNameException)
3269
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleDoesNotExistException)
3270
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRuleContentSha256Exception)
3271
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalRuleContentRequiredException)
3272
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalRuleContentException)
3273
+ o.errors << Shapes::ShapeRef.new(shape: CannotModifyApprovalRuleFromTemplateException)
3274
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
3275
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
3276
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
3277
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
3278
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
3279
+ end)
3280
+
3281
+ api.add_operation(:update_pull_request_approval_state, Seahorse::Model::Operation.new.tap do |o|
3282
+ o.name = "UpdatePullRequestApprovalState"
3283
+ o.http_method = "POST"
3284
+ o.http_request_uri = "/"
3285
+ o.input = Shapes::ShapeRef.new(shape: UpdatePullRequestApprovalStateInput)
3286
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3287
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestDoesNotExistException)
3288
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPullRequestIdException)
3289
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestIdRequiredException)
3290
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRevisionIdException)
3291
+ o.errors << Shapes::ShapeRef.new(shape: RevisionIdRequiredException)
3292
+ o.errors << Shapes::ShapeRef.new(shape: InvalidApprovalStateException)
3293
+ o.errors << Shapes::ShapeRef.new(shape: ApprovalStateRequiredException)
3294
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestCannotBeApprovedByAuthorException)
3295
+ o.errors << Shapes::ShapeRef.new(shape: RevisionNotCurrentException)
3296
+ o.errors << Shapes::ShapeRef.new(shape: PullRequestAlreadyClosedException)
3297
+ o.errors << Shapes::ShapeRef.new(shape: MaximumNumberOfApprovalsExceededException)
3298
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionIntegrityChecksFailedException)
3299
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyAccessDeniedException)
3300
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyDisabledException)
3301
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyNotFoundException)
3302
+ o.errors << Shapes::ShapeRef.new(shape: EncryptionKeyUnavailableException)
3303
+ end)
3304
+
2596
3305
  api.add_operation(:update_pull_request_description, Seahorse::Model::Operation.new.tap do |o|
2597
3306
  o.name = "UpdatePullRequestDescription"
2598
3307
  o.http_method = "POST"