aws-sdk-core 2.11.401 → 2.11.402

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/apis/AWSMigrationHub/2017-05-31/api-2.json +41 -16
  3. data/apis/AWSMigrationHub/2017-05-31/paginators-1.json +25 -1
  4. data/apis/chime/2018-05-01/api-2.json +442 -0
  5. data/apis/chime/2018-05-01/paginators-1.json +10 -0
  6. data/apis/cloudtrail/2013-11-01/api-2.json +124 -4
  7. data/apis/codecommit/2015-04-13/api-2.json +1138 -3
  8. data/apis/codecommit/2015-04-13/paginators-1.json +15 -0
  9. data/apis/datasync/2018-11-09/api-2.json +23 -6
  10. data/apis/discovery/2015-11-01/api-2.json +60 -25
  11. data/apis/dlm/2018-01-12/api-2.json +25 -1
  12. data/apis/ec2/2016-11-15/api-2.json +414 -0
  13. data/apis/ec2/2016-11-15/paginators-1.json +12 -0
  14. data/apis/ec2/2016-11-15/resources-1.json +106 -0
  15. data/apis/ec2/2016-11-15/waiters-2.json +18 -0
  16. data/apis/ecs/2014-11-13/api-2.json +46 -38
  17. data/apis/firehose/2015-08-04/api-2.json +68 -6
  18. data/apis/fsx/2018-03-01/api-2.json +13 -0
  19. data/apis/mediastore/2017-09-01/api-2.json +3 -1
  20. data/apis/migrationhub-config/2019-06-30/api-2.json +207 -0
  21. data/apis/migrationhub-config/2019-06-30/examples-1.json +5 -0
  22. data/apis/migrationhub-config/2019-06-30/paginators-1.json +9 -0
  23. data/apis/quicksight/2018-04-01/api-2.json +4885 -626
  24. data/apis/quicksight/2018-04-01/paginators-1.json +40 -0
  25. data/apis/s3/2006-03-01/api-2.json +53 -2
  26. data/apis/storagegateway/2013-06-30/api-2.json +95 -2
  27. data/apis/transcribe/2017-10-26/api-2.json +8 -1
  28. data/lib/aws-sdk-core.rb +1 -0
  29. data/lib/aws-sdk-core/migrationhubconfig.rb +6 -0
  30. data/lib/aws-sdk-core/version.rb +1 -1
  31. data/service-models.json +4 -0
  32. metadata +6 -2
@@ -5,11 +5,21 @@
5
5
  "output_token": "NextToken",
6
6
  "limit_key": "MaxResults"
7
7
  },
8
+ "ListAttendees": {
9
+ "input_token": "NextToken",
10
+ "output_token": "NextToken",
11
+ "limit_key": "MaxResults"
12
+ },
8
13
  "ListBots": {
9
14
  "input_token": "NextToken",
10
15
  "output_token": "NextToken",
11
16
  "limit_key": "MaxResults"
12
17
  },
18
+ "ListMeetings": {
19
+ "input_token": "NextToken",
20
+ "output_token": "NextToken",
21
+ "limit_key": "MaxResults"
22
+ },
13
23
  "ListPhoneNumberOrders": {
14
24
  "input_token": "NextToken",
15
25
  "output_token": "NextToken",
@@ -102,7 +102,8 @@
102
102
  "output":{"shape":"DescribeTrailsResponse"},
103
103
  "errors":[
104
104
  {"shape":"UnsupportedOperationException"},
105
- {"shape":"OperationNotPermittedException"}
105
+ {"shape":"OperationNotPermittedException"},
106
+ {"shape":"InvalidTrailNameException"}
106
107
  ],
107
108
  "idempotent":true
108
109
  },
@@ -122,6 +123,23 @@
122
123
  ],
123
124
  "idempotent":true
124
125
  },
126
+ "GetInsightSelectors":{
127
+ "name":"GetInsightSelectors",
128
+ "http":{
129
+ "method":"POST",
130
+ "requestUri":"/"
131
+ },
132
+ "input":{"shape":"GetInsightSelectorsRequest"},
133
+ "output":{"shape":"GetInsightSelectorsResponse"},
134
+ "errors":[
135
+ {"shape":"TrailNotFoundException"},
136
+ {"shape":"InvalidTrailNameException"},
137
+ {"shape":"UnsupportedOperationException"},
138
+ {"shape":"OperationNotPermittedException"},
139
+ {"shape":"InsightNotEnabledException"}
140
+ ],
141
+ "idempotent":true
142
+ },
125
143
  "GetTrail":{
126
144
  "name":"GetTrail",
127
145
  "http":{
@@ -148,7 +166,9 @@
148
166
  "output":{"shape":"GetTrailStatusResponse"},
149
167
  "errors":[
150
168
  {"shape":"TrailNotFoundException"},
151
- {"shape":"InvalidTrailNameException"}
169
+ {"shape":"InvalidTrailNameException"},
170
+ {"shape":"UnsupportedOperationException"},
171
+ {"shape":"OperationNotPermittedException"}
152
172
  ],
153
173
  "idempotent":true
154
174
  },
@@ -213,7 +233,10 @@
213
233
  {"shape":"InvalidLookupAttributesException"},
214
234
  {"shape":"InvalidTimeRangeException"},
215
235
  {"shape":"InvalidMaxResultsException"},
216
- {"shape":"InvalidNextTokenException"}
236
+ {"shape":"InvalidNextTokenException"},
237
+ {"shape":"InvalidEventCategoryException"},
238
+ {"shape":"UnsupportedOperationException"},
239
+ {"shape":"OperationNotPermittedException"}
217
240
  ],
218
241
  "idempotent":true
219
242
  },
@@ -237,6 +260,27 @@
237
260
  ],
238
261
  "idempotent":true
239
262
  },
263
+ "PutInsightSelectors":{
264
+ "name":"PutInsightSelectors",
265
+ "http":{
266
+ "method":"POST",
267
+ "requestUri":"/"
268
+ },
269
+ "input":{"shape":"PutInsightSelectorsRequest"},
270
+ "output":{"shape":"PutInsightSelectorsResponse"},
271
+ "errors":[
272
+ {"shape":"TrailNotFoundException"},
273
+ {"shape":"InvalidTrailNameException"},
274
+ {"shape":"InvalidHomeRegionException"},
275
+ {"shape":"InvalidInsightSelectorsException"},
276
+ {"shape":"InsufficientS3BucketPolicyException"},
277
+ {"shape":"InsufficientEncryptionPolicyException"},
278
+ {"shape":"UnsupportedOperationException"},
279
+ {"shape":"OperationNotPermittedException"},
280
+ {"shape":"NotOrganizationMasterAccountException"}
281
+ ],
282
+ "idempotent":true
283
+ },
240
284
  "RemoveTags":{
241
285
  "name":"RemoveTags",
242
286
  "http":{
@@ -315,6 +359,7 @@
315
359
  {"shape":"InvalidKmsKeyIdException"},
316
360
  {"shape":"InvalidTrailNameException"},
317
361
  {"shape":"TrailNotProvidedException"},
362
+ {"shape":"InvalidEventSelectorsException"},
318
363
  {"shape":"InvalidParameterCombinationException"},
319
364
  {"shape":"InvalidHomeRegionException"},
320
365
  {"shape":"KmsKeyNotFoundException"},
@@ -465,12 +510,17 @@
465
510
  "CloudTrailEvent":{"shape":"String"}
466
511
  }
467
512
  },
513
+ "EventCategory":{
514
+ "type":"string",
515
+ "enum":["insight"]
516
+ },
468
517
  "EventSelector":{
469
518
  "type":"structure",
470
519
  "members":{
471
520
  "ReadWriteType":{"shape":"ReadWriteType"},
472
521
  "IncludeManagementEvents":{"shape":"Boolean"},
473
- "DataResources":{"shape":"DataResources"}
522
+ "DataResources":{"shape":"DataResources"},
523
+ "ExcludeManagementEventSources":{"shape":"ExcludeManagementEventSources"}
474
524
  }
475
525
  },
476
526
  "EventSelectors":{
@@ -481,6 +531,10 @@
481
531
  "type":"list",
482
532
  "member":{"shape":"Event"}
483
533
  },
534
+ "ExcludeManagementEventSources":{
535
+ "type":"list",
536
+ "member":{"shape":"String"}
537
+ },
484
538
  "GetEventSelectorsRequest":{
485
539
  "type":"structure",
486
540
  "required":["TrailName"],
@@ -495,6 +549,20 @@
495
549
  "EventSelectors":{"shape":"EventSelectors"}
496
550
  }
497
551
  },
552
+ "GetInsightSelectorsRequest":{
553
+ "type":"structure",
554
+ "required":["TrailName"],
555
+ "members":{
556
+ "TrailName":{"shape":"String"}
557
+ }
558
+ },
559
+ "GetInsightSelectorsResponse":{
560
+ "type":"structure",
561
+ "members":{
562
+ "TrailARN":{"shape":"String"},
563
+ "InsightSelectors":{"shape":"InsightSelectors"}
564
+ }
565
+ },
498
566
  "GetTrailRequest":{
499
567
  "type":"structure",
500
568
  "required":["Name"],
@@ -537,6 +605,26 @@
537
605
  "TimeLoggingStopped":{"shape":"String"}
538
606
  }
539
607
  },
608
+ "InsightNotEnabledException":{
609
+ "type":"structure",
610
+ "members":{
611
+ },
612
+ "exception":true
613
+ },
614
+ "InsightSelector":{
615
+ "type":"structure",
616
+ "members":{
617
+ "InsightType":{"shape":"InsightType"}
618
+ }
619
+ },
620
+ "InsightSelectors":{
621
+ "type":"list",
622
+ "member":{"shape":"InsightSelector"}
623
+ },
624
+ "InsightType":{
625
+ "type":"string",
626
+ "enum":["ApiCallRateInsight"]
627
+ },
540
628
  "InsufficientDependencyServiceAccessPermissionException":{
541
629
  "type":"structure",
542
630
  "members":{
@@ -573,6 +661,12 @@
573
661
  },
574
662
  "exception":true
575
663
  },
664
+ "InvalidEventCategoryException":{
665
+ "type":"structure",
666
+ "members":{
667
+ },
668
+ "exception":true
669
+ },
576
670
  "InvalidEventSelectorsException":{
577
671
  "type":"structure",
578
672
  "members":{
@@ -585,6 +679,12 @@
585
679
  },
586
680
  "exception":true
587
681
  },
682
+ "InvalidInsightSelectorsException":{
683
+ "type":"structure",
684
+ "members":{
685
+ },
686
+ "exception":true
687
+ },
588
688
  "InvalidKmsKeyIdException":{
589
689
  "type":"structure",
590
690
  "members":{
@@ -753,6 +853,7 @@
753
853
  "LookupAttributes":{"shape":"LookupAttributesList"},
754
854
  "StartTime":{"shape":"Date"},
755
855
  "EndTime":{"shape":"Date"},
856
+ "EventCategory":{"shape":"EventCategory"},
756
857
  "MaxResults":{"shape":"MaxResults"},
757
858
  "NextToken":{"shape":"NextToken"}
758
859
  }
@@ -831,6 +932,24 @@
831
932
  "EventSelectors":{"shape":"EventSelectors"}
832
933
  }
833
934
  },
935
+ "PutInsightSelectorsRequest":{
936
+ "type":"structure",
937
+ "required":[
938
+ "TrailName",
939
+ "InsightSelectors"
940
+ ],
941
+ "members":{
942
+ "TrailName":{"shape":"String"},
943
+ "InsightSelectors":{"shape":"InsightSelectors"}
944
+ }
945
+ },
946
+ "PutInsightSelectorsResponse":{
947
+ "type":"structure",
948
+ "members":{
949
+ "TrailARN":{"shape":"String"},
950
+ "InsightSelectors":{"shape":"InsightSelectors"}
951
+ }
952
+ },
834
953
  "ReadWriteType":{
835
954
  "type":"string",
836
955
  "enum":[
@@ -959,6 +1078,7 @@
959
1078
  "CloudWatchLogsRoleArn":{"shape":"String"},
960
1079
  "KmsKeyId":{"shape":"String"},
961
1080
  "HasCustomEventSelectors":{"shape":"Boolean"},
1081
+ "HasInsightSelectors":{"shape":"Boolean"},
962
1082
  "IsOrganizationTrail":{"shape":"Boolean"}
963
1083
  }
964
1084
  },
@@ -13,6 +13,49 @@
13
13
  "uid":"codecommit-2015-04-13"
14
14
  },
15
15
  "operations":{
16
+ "AssociateApprovalRuleTemplateWithRepository":{
17
+ "name":"AssociateApprovalRuleTemplateWithRepository",
18
+ "http":{
19
+ "method":"POST",
20
+ "requestUri":"/"
21
+ },
22
+ "input":{"shape":"AssociateApprovalRuleTemplateWithRepositoryInput"},
23
+ "errors":[
24
+ {"shape":"ApprovalRuleTemplateNameRequiredException"},
25
+ {"shape":"InvalidApprovalRuleTemplateNameException"},
26
+ {"shape":"ApprovalRuleTemplateDoesNotExistException"},
27
+ {"shape":"MaximumRuleTemplatesAssociatedWithRepositoryException"},
28
+ {"shape":"RepositoryNameRequiredException"},
29
+ {"shape":"InvalidRepositoryNameException"},
30
+ {"shape":"RepositoryDoesNotExistException"},
31
+ {"shape":"EncryptionIntegrityChecksFailedException"},
32
+ {"shape":"EncryptionKeyAccessDeniedException"},
33
+ {"shape":"EncryptionKeyDisabledException"},
34
+ {"shape":"EncryptionKeyNotFoundException"},
35
+ {"shape":"EncryptionKeyUnavailableException"}
36
+ ]
37
+ },
38
+ "BatchAssociateApprovalRuleTemplateWithRepositories":{
39
+ "name":"BatchAssociateApprovalRuleTemplateWithRepositories",
40
+ "http":{
41
+ "method":"POST",
42
+ "requestUri":"/"
43
+ },
44
+ "input":{"shape":"BatchAssociateApprovalRuleTemplateWithRepositoriesInput"},
45
+ "output":{"shape":"BatchAssociateApprovalRuleTemplateWithRepositoriesOutput"},
46
+ "errors":[
47
+ {"shape":"ApprovalRuleTemplateNameRequiredException"},
48
+ {"shape":"InvalidApprovalRuleTemplateNameException"},
49
+ {"shape":"ApprovalRuleTemplateDoesNotExistException"},
50
+ {"shape":"RepositoryNamesRequiredException"},
51
+ {"shape":"MaximumRepositoryNamesExceededException"},
52
+ {"shape":"EncryptionIntegrityChecksFailedException"},
53
+ {"shape":"EncryptionKeyAccessDeniedException"},
54
+ {"shape":"EncryptionKeyDisabledException"},
55
+ {"shape":"EncryptionKeyNotFoundException"},
56
+ {"shape":"EncryptionKeyUnavailableException"}
57
+ ]
58
+ },
16
59
  "BatchDescribeMergeConflicts":{
17
60
  "name":"BatchDescribeMergeConflicts",
18
61
  "http":{
@@ -45,6 +88,27 @@
45
88
  {"shape":"EncryptionKeyUnavailableException"}
46
89
  ]
47
90
  },
91
+ "BatchDisassociateApprovalRuleTemplateFromRepositories":{
92
+ "name":"BatchDisassociateApprovalRuleTemplateFromRepositories",
93
+ "http":{
94
+ "method":"POST",
95
+ "requestUri":"/"
96
+ },
97
+ "input":{"shape":"BatchDisassociateApprovalRuleTemplateFromRepositoriesInput"},
98
+ "output":{"shape":"BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput"},
99
+ "errors":[
100
+ {"shape":"ApprovalRuleTemplateNameRequiredException"},
101
+ {"shape":"InvalidApprovalRuleTemplateNameException"},
102
+ {"shape":"ApprovalRuleTemplateDoesNotExistException"},
103
+ {"shape":"RepositoryNamesRequiredException"},
104
+ {"shape":"MaximumRepositoryNamesExceededException"},
105
+ {"shape":"EncryptionIntegrityChecksFailedException"},
106
+ {"shape":"EncryptionKeyAccessDeniedException"},
107
+ {"shape":"EncryptionKeyDisabledException"},
108
+ {"shape":"EncryptionKeyNotFoundException"},
109
+ {"shape":"EncryptionKeyUnavailableException"}
110
+ ]
111
+ },
48
112
  "BatchGetCommits":{
49
113
  "name":"BatchGetCommits",
50
114
  "http":{
@@ -85,6 +149,24 @@
85
149
  {"shape":"EncryptionKeyUnavailableException"}
86
150
  ]
87
151
  },
152
+ "CreateApprovalRuleTemplate":{
153
+ "name":"CreateApprovalRuleTemplate",
154
+ "http":{
155
+ "method":"POST",
156
+ "requestUri":"/"
157
+ },
158
+ "input":{"shape":"CreateApprovalRuleTemplateInput"},
159
+ "output":{"shape":"CreateApprovalRuleTemplateOutput"},
160
+ "errors":[
161
+ {"shape":"ApprovalRuleTemplateNameRequiredException"},
162
+ {"shape":"InvalidApprovalRuleTemplateNameException"},
163
+ {"shape":"ApprovalRuleTemplateNameAlreadyExistsException"},
164
+ {"shape":"ApprovalRuleTemplateContentRequiredException"},
165
+ {"shape":"InvalidApprovalRuleTemplateContentException"},
166
+ {"shape":"InvalidApprovalRuleTemplateDescriptionException"},
167
+ {"shape":"NumberOfRuleTemplatesExceededException"}
168
+ ]
169
+ },
88
170
  "CreateBranch":{
89
171
  "name":"CreateBranch",
90
172
  "http":{
@@ -194,6 +276,32 @@
194
276
  {"shape":"SourceAndDestinationAreSameException"}
195
277
  ]
196
278
  },
279
+ "CreatePullRequestApprovalRule":{
280
+ "name":"CreatePullRequestApprovalRule",
281
+ "http":{
282
+ "method":"POST",
283
+ "requestUri":"/"
284
+ },
285
+ "input":{"shape":"CreatePullRequestApprovalRuleInput"},
286
+ "output":{"shape":"CreatePullRequestApprovalRuleOutput"},
287
+ "errors":[
288
+ {"shape":"ApprovalRuleNameRequiredException"},
289
+ {"shape":"InvalidApprovalRuleNameException"},
290
+ {"shape":"ApprovalRuleNameAlreadyExistsException"},
291
+ {"shape":"ApprovalRuleContentRequiredException"},
292
+ {"shape":"InvalidApprovalRuleContentException"},
293
+ {"shape":"NumberOfRulesExceededException"},
294
+ {"shape":"PullRequestDoesNotExistException"},
295
+ {"shape":"InvalidPullRequestIdException"},
296
+ {"shape":"PullRequestIdRequiredException"},
297
+ {"shape":"PullRequestAlreadyClosedException"},
298
+ {"shape":"EncryptionIntegrityChecksFailedException"},
299
+ {"shape":"EncryptionKeyAccessDeniedException"},
300
+ {"shape":"EncryptionKeyDisabledException"},
301
+ {"shape":"EncryptionKeyNotFoundException"},
302
+ {"shape":"EncryptionKeyUnavailableException"}
303
+ ]
304
+ },
197
305
  "CreateRepository":{
198
306
  "name":"CreateRepository",
199
307
  "http":{
@@ -266,6 +374,20 @@
266
374
  {"shape":"EncryptionKeyUnavailableException"}
267
375
  ]
268
376
  },
377
+ "DeleteApprovalRuleTemplate":{
378
+ "name":"DeleteApprovalRuleTemplate",
379
+ "http":{
380
+ "method":"POST",
381
+ "requestUri":"/"
382
+ },
383
+ "input":{"shape":"DeleteApprovalRuleTemplateInput"},
384
+ "output":{"shape":"DeleteApprovalRuleTemplateOutput"},
385
+ "errors":[
386
+ {"shape":"ApprovalRuleTemplateNameRequiredException"},
387
+ {"shape":"InvalidApprovalRuleTemplateNameException"},
388
+ {"shape":"ApprovalRuleTemplateInUseException"}
389
+ ]
390
+ },
269
391
  "DeleteBranch":{
270
392
  "name":"DeleteBranch",
271
393
  "http":{
@@ -336,6 +458,29 @@
336
458
  {"shape":"EncryptionKeyUnavailableException"}
337
459
  ]
338
460
  },
461
+ "DeletePullRequestApprovalRule":{
462
+ "name":"DeletePullRequestApprovalRule",
463
+ "http":{
464
+ "method":"POST",
465
+ "requestUri":"/"
466
+ },
467
+ "input":{"shape":"DeletePullRequestApprovalRuleInput"},
468
+ "output":{"shape":"DeletePullRequestApprovalRuleOutput"},
469
+ "errors":[
470
+ {"shape":"PullRequestDoesNotExistException"},
471
+ {"shape":"InvalidPullRequestIdException"},
472
+ {"shape":"PullRequestIdRequiredException"},
473
+ {"shape":"PullRequestAlreadyClosedException"},
474
+ {"shape":"ApprovalRuleNameRequiredException"},
475
+ {"shape":"InvalidApprovalRuleNameException"},
476
+ {"shape":"CannotDeleteApprovalRuleFromTemplateException"},
477
+ {"shape":"EncryptionIntegrityChecksFailedException"},
478
+ {"shape":"EncryptionKeyAccessDeniedException"},
479
+ {"shape":"EncryptionKeyDisabledException"},
480
+ {"shape":"EncryptionKeyNotFoundException"},
481
+ {"shape":"EncryptionKeyUnavailableException"}
482
+ ]
483
+ },
339
484
  "DeleteRepository":{
340
485
  "name":"DeleteRepository",
341
486
  "http":{
@@ -412,6 +557,63 @@
412
557
  {"shape":"EncryptionKeyUnavailableException"}
413
558
  ]
414
559
  },
560
+ "DisassociateApprovalRuleTemplateFromRepository":{
561
+ "name":"DisassociateApprovalRuleTemplateFromRepository",
562
+ "http":{
563
+ "method":"POST",
564
+ "requestUri":"/"
565
+ },
566
+ "input":{"shape":"DisassociateApprovalRuleTemplateFromRepositoryInput"},
567
+ "errors":[
568
+ {"shape":"ApprovalRuleTemplateNameRequiredException"},
569
+ {"shape":"InvalidApprovalRuleTemplateNameException"},
570
+ {"shape":"ApprovalRuleTemplateDoesNotExistException"},
571
+ {"shape":"RepositoryNameRequiredException"},
572
+ {"shape":"InvalidRepositoryNameException"},
573
+ {"shape":"RepositoryDoesNotExistException"},
574
+ {"shape":"EncryptionIntegrityChecksFailedException"},
575
+ {"shape":"EncryptionKeyAccessDeniedException"},
576
+ {"shape":"EncryptionKeyDisabledException"},
577
+ {"shape":"EncryptionKeyNotFoundException"},
578
+ {"shape":"EncryptionKeyUnavailableException"}
579
+ ]
580
+ },
581
+ "EvaluatePullRequestApprovalRules":{
582
+ "name":"EvaluatePullRequestApprovalRules",
583
+ "http":{
584
+ "method":"POST",
585
+ "requestUri":"/"
586
+ },
587
+ "input":{"shape":"EvaluatePullRequestApprovalRulesInput"},
588
+ "output":{"shape":"EvaluatePullRequestApprovalRulesOutput"},
589
+ "errors":[
590
+ {"shape":"PullRequestDoesNotExistException"},
591
+ {"shape":"InvalidPullRequestIdException"},
592
+ {"shape":"PullRequestIdRequiredException"},
593
+ {"shape":"InvalidRevisionIdException"},
594
+ {"shape":"RevisionIdRequiredException"},
595
+ {"shape":"RevisionNotCurrentException"},
596
+ {"shape":"EncryptionIntegrityChecksFailedException"},
597
+ {"shape":"EncryptionKeyAccessDeniedException"},
598
+ {"shape":"EncryptionKeyDisabledException"},
599
+ {"shape":"EncryptionKeyNotFoundException"},
600
+ {"shape":"EncryptionKeyUnavailableException"}
601
+ ]
602
+ },
603
+ "GetApprovalRuleTemplate":{
604
+ "name":"GetApprovalRuleTemplate",
605
+ "http":{
606
+ "method":"POST",
607
+ "requestUri":"/"
608
+ },
609
+ "input":{"shape":"GetApprovalRuleTemplateInput"},
610
+ "output":{"shape":"GetApprovalRuleTemplateOutput"},
611
+ "errors":[
612
+ {"shape":"ApprovalRuleTemplateNameRequiredException"},
613
+ {"shape":"InvalidApprovalRuleTemplateNameException"},
614
+ {"shape":"ApprovalRuleTemplateDoesNotExistException"}
615
+ ]
616
+ },
415
617
  "GetBlob":{
416
618
  "name":"GetBlob",
417
619
  "http":{
@@ -725,6 +927,48 @@
725
927
  {"shape":"EncryptionKeyUnavailableException"}
726
928
  ]
727
929
  },
930
+ "GetPullRequestApprovalStates":{
931
+ "name":"GetPullRequestApprovalStates",
932
+ "http":{
933
+ "method":"POST",
934
+ "requestUri":"/"
935
+ },
936
+ "input":{"shape":"GetPullRequestApprovalStatesInput"},
937
+ "output":{"shape":"GetPullRequestApprovalStatesOutput"},
938
+ "errors":[
939
+ {"shape":"PullRequestDoesNotExistException"},
940
+ {"shape":"InvalidPullRequestIdException"},
941
+ {"shape":"PullRequestIdRequiredException"},
942
+ {"shape":"InvalidRevisionIdException"},
943
+ {"shape":"RevisionIdRequiredException"},
944
+ {"shape":"EncryptionIntegrityChecksFailedException"},
945
+ {"shape":"EncryptionKeyAccessDeniedException"},
946
+ {"shape":"EncryptionKeyDisabledException"},
947
+ {"shape":"EncryptionKeyNotFoundException"},
948
+ {"shape":"EncryptionKeyUnavailableException"}
949
+ ]
950
+ },
951
+ "GetPullRequestOverrideState":{
952
+ "name":"GetPullRequestOverrideState",
953
+ "http":{
954
+ "method":"POST",
955
+ "requestUri":"/"
956
+ },
957
+ "input":{"shape":"GetPullRequestOverrideStateInput"},
958
+ "output":{"shape":"GetPullRequestOverrideStateOutput"},
959
+ "errors":[
960
+ {"shape":"PullRequestDoesNotExistException"},
961
+ {"shape":"InvalidPullRequestIdException"},
962
+ {"shape":"PullRequestIdRequiredException"},
963
+ {"shape":"InvalidRevisionIdException"},
964
+ {"shape":"RevisionIdRequiredException"},
965
+ {"shape":"EncryptionIntegrityChecksFailedException"},
966
+ {"shape":"EncryptionKeyAccessDeniedException"},
967
+ {"shape":"EncryptionKeyDisabledException"},
968
+ {"shape":"EncryptionKeyNotFoundException"},
969
+ {"shape":"EncryptionKeyUnavailableException"}
970
+ ]
971
+ },
728
972
  "GetRepository":{
729
973
  "name":"GetRepository",
730
974
  "http":{
@@ -763,6 +1007,40 @@
763
1007
  {"shape":"EncryptionKeyUnavailableException"}
764
1008
  ]
765
1009
  },
1010
+ "ListApprovalRuleTemplates":{
1011
+ "name":"ListApprovalRuleTemplates",
1012
+ "http":{
1013
+ "method":"POST",
1014
+ "requestUri":"/"
1015
+ },
1016
+ "input":{"shape":"ListApprovalRuleTemplatesInput"},
1017
+ "output":{"shape":"ListApprovalRuleTemplatesOutput"},
1018
+ "errors":[
1019
+ {"shape":"InvalidMaxResultsException"},
1020
+ {"shape":"InvalidContinuationTokenException"}
1021
+ ]
1022
+ },
1023
+ "ListAssociatedApprovalRuleTemplatesForRepository":{
1024
+ "name":"ListAssociatedApprovalRuleTemplatesForRepository",
1025
+ "http":{
1026
+ "method":"POST",
1027
+ "requestUri":"/"
1028
+ },
1029
+ "input":{"shape":"ListAssociatedApprovalRuleTemplatesForRepositoryInput"},
1030
+ "output":{"shape":"ListAssociatedApprovalRuleTemplatesForRepositoryOutput"},
1031
+ "errors":[
1032
+ {"shape":"RepositoryNameRequiredException"},
1033
+ {"shape":"InvalidRepositoryNameException"},
1034
+ {"shape":"RepositoryDoesNotExistException"},
1035
+ {"shape":"InvalidMaxResultsException"},
1036
+ {"shape":"InvalidContinuationTokenException"},
1037
+ {"shape":"EncryptionIntegrityChecksFailedException"},
1038
+ {"shape":"EncryptionKeyAccessDeniedException"},
1039
+ {"shape":"EncryptionKeyDisabledException"},
1040
+ {"shape":"EncryptionKeyNotFoundException"},
1041
+ {"shape":"EncryptionKeyUnavailableException"}
1042
+ ]
1043
+ },
766
1044
  "ListBranches":{
767
1045
  "name":"ListBranches",
768
1046
  "http":{
@@ -821,6 +1099,27 @@
821
1099
  {"shape":"InvalidContinuationTokenException"}
822
1100
  ]
823
1101
  },
1102
+ "ListRepositoriesForApprovalRuleTemplate":{
1103
+ "name":"ListRepositoriesForApprovalRuleTemplate",
1104
+ "http":{
1105
+ "method":"POST",
1106
+ "requestUri":"/"
1107
+ },
1108
+ "input":{"shape":"ListRepositoriesForApprovalRuleTemplateInput"},
1109
+ "output":{"shape":"ListRepositoriesForApprovalRuleTemplateOutput"},
1110
+ "errors":[
1111
+ {"shape":"ApprovalRuleTemplateNameRequiredException"},
1112
+ {"shape":"InvalidApprovalRuleTemplateNameException"},
1113
+ {"shape":"ApprovalRuleTemplateDoesNotExistException"},
1114
+ {"shape":"InvalidMaxResultsException"},
1115
+ {"shape":"InvalidContinuationTokenException"},
1116
+ {"shape":"EncryptionIntegrityChecksFailedException"},
1117
+ {"shape":"EncryptionKeyAccessDeniedException"},
1118
+ {"shape":"EncryptionKeyDisabledException"},
1119
+ {"shape":"EncryptionKeyNotFoundException"},
1120
+ {"shape":"EncryptionKeyUnavailableException"}
1121
+ ]
1122
+ },
824
1123
  "ListTagsForResource":{
825
1124
  "name":"ListTagsForResource",
826
1125
  "http":{
@@ -988,6 +1287,7 @@
988
1287
  {"shape":"InvalidRepositoryNameException"},
989
1288
  {"shape":"RepositoryDoesNotExistException"},
990
1289
  {"shape":"ConcurrentReferenceUpdateException"},
1290
+ {"shape":"PullRequestApprovalRulesNotSatisfiedException"},
991
1291
  {"shape":"EncryptionIntegrityChecksFailedException"},
992
1292
  {"shape":"EncryptionKeyAccessDeniedException"},
993
1293
  {"shape":"EncryptionKeyDisabledException"},
@@ -1036,6 +1336,7 @@
1036
1336
  {"shape":"InvalidRepositoryNameException"},
1037
1337
  {"shape":"RepositoryDoesNotExistException"},
1038
1338
  {"shape":"RepositoryNotAssociatedWithPullRequestException"},
1339
+ {"shape":"PullRequestApprovalRulesNotSatisfiedException"},
1039
1340
  {"shape":"EncryptionIntegrityChecksFailedException"},
1040
1341
  {"shape":"EncryptionKeyAccessDeniedException"},
1041
1342
  {"shape":"EncryptionKeyDisabledException"},
@@ -1084,6 +1385,32 @@
1084
1385
  {"shape":"RepositoryDoesNotExistException"},
1085
1386
  {"shape":"RepositoryNotAssociatedWithPullRequestException"},
1086
1387
  {"shape":"ConcurrentReferenceUpdateException"},
1388
+ {"shape":"PullRequestApprovalRulesNotSatisfiedException"},
1389
+ {"shape":"EncryptionIntegrityChecksFailedException"},
1390
+ {"shape":"EncryptionKeyAccessDeniedException"},
1391
+ {"shape":"EncryptionKeyDisabledException"},
1392
+ {"shape":"EncryptionKeyNotFoundException"},
1393
+ {"shape":"EncryptionKeyUnavailableException"}
1394
+ ]
1395
+ },
1396
+ "OverridePullRequestApprovalRules":{
1397
+ "name":"OverridePullRequestApprovalRules",
1398
+ "http":{
1399
+ "method":"POST",
1400
+ "requestUri":"/"
1401
+ },
1402
+ "input":{"shape":"OverridePullRequestApprovalRulesInput"},
1403
+ "errors":[
1404
+ {"shape":"PullRequestDoesNotExistException"},
1405
+ {"shape":"InvalidPullRequestIdException"},
1406
+ {"shape":"PullRequestIdRequiredException"},
1407
+ {"shape":"InvalidRevisionIdException"},
1408
+ {"shape":"RevisionIdRequiredException"},
1409
+ {"shape":"InvalidOverrideStatusException"},
1410
+ {"shape":"OverrideStatusRequiredException"},
1411
+ {"shape":"OverrideAlreadySetException"},
1412
+ {"shape":"RevisionNotCurrentException"},
1413
+ {"shape":"PullRequestAlreadyClosedException"},
1087
1414
  {"shape":"EncryptionIntegrityChecksFailedException"},
1088
1415
  {"shape":"EncryptionKeyAccessDeniedException"},
1089
1416
  {"shape":"EncryptionKeyDisabledException"},
@@ -1329,6 +1656,53 @@
1329
1656
  {"shape":"TagPolicyException"}
1330
1657
  ]
1331
1658
  },
1659
+ "UpdateApprovalRuleTemplateContent":{
1660
+ "name":"UpdateApprovalRuleTemplateContent",
1661
+ "http":{
1662
+ "method":"POST",
1663
+ "requestUri":"/"
1664
+ },
1665
+ "input":{"shape":"UpdateApprovalRuleTemplateContentInput"},
1666
+ "output":{"shape":"UpdateApprovalRuleTemplateContentOutput"},
1667
+ "errors":[
1668
+ {"shape":"InvalidApprovalRuleTemplateNameException"},
1669
+ {"shape":"ApprovalRuleTemplateNameRequiredException"},
1670
+ {"shape":"ApprovalRuleTemplateDoesNotExistException"},
1671
+ {"shape":"InvalidApprovalRuleTemplateContentException"},
1672
+ {"shape":"InvalidRuleContentSha256Exception"},
1673
+ {"shape":"ApprovalRuleTemplateContentRequiredException"}
1674
+ ]
1675
+ },
1676
+ "UpdateApprovalRuleTemplateDescription":{
1677
+ "name":"UpdateApprovalRuleTemplateDescription",
1678
+ "http":{
1679
+ "method":"POST",
1680
+ "requestUri":"/"
1681
+ },
1682
+ "input":{"shape":"UpdateApprovalRuleTemplateDescriptionInput"},
1683
+ "output":{"shape":"UpdateApprovalRuleTemplateDescriptionOutput"},
1684
+ "errors":[
1685
+ {"shape":"InvalidApprovalRuleTemplateNameException"},
1686
+ {"shape":"ApprovalRuleTemplateNameRequiredException"},
1687
+ {"shape":"ApprovalRuleTemplateDoesNotExistException"},
1688
+ {"shape":"InvalidApprovalRuleTemplateDescriptionException"}
1689
+ ]
1690
+ },
1691
+ "UpdateApprovalRuleTemplateName":{
1692
+ "name":"UpdateApprovalRuleTemplateName",
1693
+ "http":{
1694
+ "method":"POST",
1695
+ "requestUri":"/"
1696
+ },
1697
+ "input":{"shape":"UpdateApprovalRuleTemplateNameInput"},
1698
+ "output":{"shape":"UpdateApprovalRuleTemplateNameOutput"},
1699
+ "errors":[
1700
+ {"shape":"InvalidApprovalRuleTemplateNameException"},
1701
+ {"shape":"ApprovalRuleTemplateNameRequiredException"},
1702
+ {"shape":"ApprovalRuleTemplateDoesNotExistException"},
1703
+ {"shape":"ApprovalRuleTemplateNameAlreadyExistsException"}
1704
+ ]
1705
+ },
1332
1706
  "UpdateComment":{
1333
1707
  "name":"UpdateComment",
1334
1708
  "http":{
@@ -1368,6 +1742,59 @@
1368
1742
  {"shape":"EncryptionKeyUnavailableException"}
1369
1743
  ]
1370
1744
  },
1745
+ "UpdatePullRequestApprovalRuleContent":{
1746
+ "name":"UpdatePullRequestApprovalRuleContent",
1747
+ "http":{
1748
+ "method":"POST",
1749
+ "requestUri":"/"
1750
+ },
1751
+ "input":{"shape":"UpdatePullRequestApprovalRuleContentInput"},
1752
+ "output":{"shape":"UpdatePullRequestApprovalRuleContentOutput"},
1753
+ "errors":[
1754
+ {"shape":"PullRequestDoesNotExistException"},
1755
+ {"shape":"InvalidPullRequestIdException"},
1756
+ {"shape":"PullRequestIdRequiredException"},
1757
+ {"shape":"PullRequestAlreadyClosedException"},
1758
+ {"shape":"ApprovalRuleNameRequiredException"},
1759
+ {"shape":"InvalidApprovalRuleNameException"},
1760
+ {"shape":"ApprovalRuleDoesNotExistException"},
1761
+ {"shape":"InvalidRuleContentSha256Exception"},
1762
+ {"shape":"ApprovalRuleContentRequiredException"},
1763
+ {"shape":"InvalidApprovalRuleContentException"},
1764
+ {"shape":"CannotModifyApprovalRuleFromTemplateException"},
1765
+ {"shape":"EncryptionIntegrityChecksFailedException"},
1766
+ {"shape":"EncryptionKeyAccessDeniedException"},
1767
+ {"shape":"EncryptionKeyDisabledException"},
1768
+ {"shape":"EncryptionKeyNotFoundException"},
1769
+ {"shape":"EncryptionKeyUnavailableException"}
1770
+ ]
1771
+ },
1772
+ "UpdatePullRequestApprovalState":{
1773
+ "name":"UpdatePullRequestApprovalState",
1774
+ "http":{
1775
+ "method":"POST",
1776
+ "requestUri":"/"
1777
+ },
1778
+ "input":{"shape":"UpdatePullRequestApprovalStateInput"},
1779
+ "errors":[
1780
+ {"shape":"PullRequestDoesNotExistException"},
1781
+ {"shape":"InvalidPullRequestIdException"},
1782
+ {"shape":"PullRequestIdRequiredException"},
1783
+ {"shape":"InvalidRevisionIdException"},
1784
+ {"shape":"RevisionIdRequiredException"},
1785
+ {"shape":"InvalidApprovalStateException"},
1786
+ {"shape":"ApprovalStateRequiredException"},
1787
+ {"shape":"PullRequestCannotBeApprovedByAuthorException"},
1788
+ {"shape":"RevisionNotCurrentException"},
1789
+ {"shape":"PullRequestAlreadyClosedException"},
1790
+ {"shape":"MaximumNumberOfApprovalsExceededException"},
1791
+ {"shape":"EncryptionIntegrityChecksFailedException"},
1792
+ {"shape":"EncryptionKeyAccessDeniedException"},
1793
+ {"shape":"EncryptionKeyDisabledException"},
1794
+ {"shape":"EncryptionKeyNotFoundException"},
1795
+ {"shape":"EncryptionKeyUnavailableException"}
1796
+ ]
1797
+ },
1371
1798
  "UpdatePullRequestDescription":{
1372
1799
  "name":"UpdatePullRequestDescription",
1373
1800
  "http":{
@@ -1466,13 +1893,228 @@
1466
1893
  "exception":true
1467
1894
  },
1468
1895
  "AdditionalData":{"type":"string"},
1896
+ "Approval":{
1897
+ "type":"structure",
1898
+ "members":{
1899
+ "userArn":{"shape":"Arn"},
1900
+ "approvalState":{"shape":"ApprovalState"}
1901
+ }
1902
+ },
1903
+ "ApprovalList":{
1904
+ "type":"list",
1905
+ "member":{"shape":"Approval"}
1906
+ },
1907
+ "ApprovalRule":{
1908
+ "type":"structure",
1909
+ "members":{
1910
+ "approvalRuleId":{"shape":"ApprovalRuleId"},
1911
+ "approvalRuleName":{"shape":"ApprovalRuleName"},
1912
+ "approvalRuleContent":{"shape":"ApprovalRuleContent"},
1913
+ "ruleContentSha256":{"shape":"RuleContentSha256"},
1914
+ "lastModifiedDate":{"shape":"LastModifiedDate"},
1915
+ "creationDate":{"shape":"CreationDate"},
1916
+ "lastModifiedUser":{"shape":"Arn"},
1917
+ "originApprovalRuleTemplate":{"shape":"OriginApprovalRuleTemplate"}
1918
+ }
1919
+ },
1920
+ "ApprovalRuleContent":{
1921
+ "type":"string",
1922
+ "max":3000,
1923
+ "min":1
1924
+ },
1925
+ "ApprovalRuleContentRequiredException":{
1926
+ "type":"structure",
1927
+ "members":{
1928
+ },
1929
+ "exception":true
1930
+ },
1931
+ "ApprovalRuleDoesNotExistException":{
1932
+ "type":"structure",
1933
+ "members":{
1934
+ },
1935
+ "exception":true
1936
+ },
1937
+ "ApprovalRuleEventMetadata":{
1938
+ "type":"structure",
1939
+ "members":{
1940
+ "approvalRuleName":{"shape":"ApprovalRuleName"},
1941
+ "approvalRuleId":{"shape":"ApprovalRuleId"},
1942
+ "approvalRuleContent":{"shape":"ApprovalRuleContent"}
1943
+ }
1944
+ },
1945
+ "ApprovalRuleId":{"type":"string"},
1946
+ "ApprovalRuleName":{
1947
+ "type":"string",
1948
+ "max":100,
1949
+ "min":1
1950
+ },
1951
+ "ApprovalRuleNameAlreadyExistsException":{
1952
+ "type":"structure",
1953
+ "members":{
1954
+ },
1955
+ "exception":true
1956
+ },
1957
+ "ApprovalRuleNameRequiredException":{
1958
+ "type":"structure",
1959
+ "members":{
1960
+ },
1961
+ "exception":true
1962
+ },
1963
+ "ApprovalRuleOverriddenEventMetadata":{
1964
+ "type":"structure",
1965
+ "members":{
1966
+ "revisionId":{"shape":"RevisionId"},
1967
+ "overrideStatus":{"shape":"OverrideStatus"}
1968
+ }
1969
+ },
1970
+ "ApprovalRuleTemplate":{
1971
+ "type":"structure",
1972
+ "members":{
1973
+ "approvalRuleTemplateId":{"shape":"ApprovalRuleTemplateId"},
1974
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"},
1975
+ "approvalRuleTemplateDescription":{"shape":"ApprovalRuleTemplateDescription"},
1976
+ "approvalRuleTemplateContent":{"shape":"ApprovalRuleTemplateContent"},
1977
+ "ruleContentSha256":{"shape":"RuleContentSha256"},
1978
+ "lastModifiedDate":{"shape":"LastModifiedDate"},
1979
+ "creationDate":{"shape":"CreationDate"},
1980
+ "lastModifiedUser":{"shape":"Arn"}
1981
+ }
1982
+ },
1983
+ "ApprovalRuleTemplateContent":{
1984
+ "type":"string",
1985
+ "max":3000,
1986
+ "min":1
1987
+ },
1988
+ "ApprovalRuleTemplateContentRequiredException":{
1989
+ "type":"structure",
1990
+ "members":{
1991
+ },
1992
+ "exception":true
1993
+ },
1994
+ "ApprovalRuleTemplateDescription":{
1995
+ "type":"string",
1996
+ "max":1000,
1997
+ "min":0
1998
+ },
1999
+ "ApprovalRuleTemplateDoesNotExistException":{
2000
+ "type":"structure",
2001
+ "members":{
2002
+ },
2003
+ "exception":true
2004
+ },
2005
+ "ApprovalRuleTemplateId":{"type":"string"},
2006
+ "ApprovalRuleTemplateInUseException":{
2007
+ "type":"structure",
2008
+ "members":{
2009
+ },
2010
+ "exception":true
2011
+ },
2012
+ "ApprovalRuleTemplateName":{
2013
+ "type":"string",
2014
+ "max":100,
2015
+ "min":1
2016
+ },
2017
+ "ApprovalRuleTemplateNameAlreadyExistsException":{
2018
+ "type":"structure",
2019
+ "members":{
2020
+ },
2021
+ "exception":true
2022
+ },
2023
+ "ApprovalRuleTemplateNameList":{
2024
+ "type":"list",
2025
+ "member":{"shape":"ApprovalRuleTemplateName"}
2026
+ },
2027
+ "ApprovalRuleTemplateNameRequiredException":{
2028
+ "type":"structure",
2029
+ "members":{
2030
+ },
2031
+ "exception":true
2032
+ },
2033
+ "ApprovalRulesList":{
2034
+ "type":"list",
2035
+ "member":{"shape":"ApprovalRule"}
2036
+ },
2037
+ "ApprovalRulesNotSatisfiedList":{
2038
+ "type":"list",
2039
+ "member":{"shape":"ApprovalRuleName"}
2040
+ },
2041
+ "ApprovalRulesSatisfiedList":{
2042
+ "type":"list",
2043
+ "member":{"shape":"ApprovalRuleName"}
2044
+ },
2045
+ "ApprovalState":{
2046
+ "type":"string",
2047
+ "enum":[
2048
+ "APPROVE",
2049
+ "REVOKE"
2050
+ ]
2051
+ },
2052
+ "ApprovalStateChangedEventMetadata":{
2053
+ "type":"structure",
2054
+ "members":{
2055
+ "revisionId":{"shape":"RevisionId"},
2056
+ "approvalStatus":{"shape":"ApprovalState"}
2057
+ }
2058
+ },
2059
+ "ApprovalStateRequiredException":{
2060
+ "type":"structure",
2061
+ "members":{
2062
+ },
2063
+ "exception":true
2064
+ },
2065
+ "Approved":{"type":"boolean"},
1469
2066
  "Arn":{"type":"string"},
2067
+ "AssociateApprovalRuleTemplateWithRepositoryInput":{
2068
+ "type":"structure",
2069
+ "required":[
2070
+ "approvalRuleTemplateName",
2071
+ "repositoryName"
2072
+ ],
2073
+ "members":{
2074
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"},
2075
+ "repositoryName":{"shape":"RepositoryName"}
2076
+ }
2077
+ },
1470
2078
  "AuthorDoesNotExistException":{
1471
2079
  "type":"structure",
1472
2080
  "members":{
1473
2081
  },
1474
2082
  "exception":true
1475
2083
  },
2084
+ "BatchAssociateApprovalRuleTemplateWithRepositoriesError":{
2085
+ "type":"structure",
2086
+ "members":{
2087
+ "repositoryName":{"shape":"RepositoryName"},
2088
+ "errorCode":{"shape":"ErrorCode"},
2089
+ "errorMessage":{"shape":"ErrorMessage"}
2090
+ }
2091
+ },
2092
+ "BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList":{
2093
+ "type":"list",
2094
+ "member":{"shape":"BatchAssociateApprovalRuleTemplateWithRepositoriesError"}
2095
+ },
2096
+ "BatchAssociateApprovalRuleTemplateWithRepositoriesInput":{
2097
+ "type":"structure",
2098
+ "required":[
2099
+ "approvalRuleTemplateName",
2100
+ "repositoryNames"
2101
+ ],
2102
+ "members":{
2103
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"},
2104
+ "repositoryNames":{"shape":"RepositoryNameList"}
2105
+ }
2106
+ },
2107
+ "BatchAssociateApprovalRuleTemplateWithRepositoriesOutput":{
2108
+ "type":"structure",
2109
+ "required":[
2110
+ "associatedRepositoryNames",
2111
+ "errors"
2112
+ ],
2113
+ "members":{
2114
+ "associatedRepositoryNames":{"shape":"RepositoryNameList"},
2115
+ "errors":{"shape":"BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList"}
2116
+ }
2117
+ },
1476
2118
  "BatchDescribeMergeConflictsError":{
1477
2119
  "type":"structure",
1478
2120
  "required":[
@@ -1527,6 +2169,40 @@
1527
2169
  "baseCommitId":{"shape":"ObjectId"}
1528
2170
  }
1529
2171
  },
2172
+ "BatchDisassociateApprovalRuleTemplateFromRepositoriesError":{
2173
+ "type":"structure",
2174
+ "members":{
2175
+ "repositoryName":{"shape":"RepositoryName"},
2176
+ "errorCode":{"shape":"ErrorCode"},
2177
+ "errorMessage":{"shape":"ErrorMessage"}
2178
+ }
2179
+ },
2180
+ "BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList":{
2181
+ "type":"list",
2182
+ "member":{"shape":"BatchDisassociateApprovalRuleTemplateFromRepositoriesError"}
2183
+ },
2184
+ "BatchDisassociateApprovalRuleTemplateFromRepositoriesInput":{
2185
+ "type":"structure",
2186
+ "required":[
2187
+ "approvalRuleTemplateName",
2188
+ "repositoryNames"
2189
+ ],
2190
+ "members":{
2191
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"},
2192
+ "repositoryNames":{"shape":"RepositoryNameList"}
2193
+ }
2194
+ },
2195
+ "BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput":{
2196
+ "type":"structure",
2197
+ "required":[
2198
+ "disassociatedRepositoryNames",
2199
+ "errors"
2200
+ ],
2201
+ "members":{
2202
+ "disassociatedRepositoryNames":{"shape":"RepositoryNameList"},
2203
+ "errors":{"shape":"BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList"}
2204
+ }
2205
+ },
1530
2206
  "BatchGetCommitsError":{
1531
2207
  "type":"structure",
1532
2208
  "members":{
@@ -1637,6 +2313,18 @@
1637
2313
  },
1638
2314
  "exception":true
1639
2315
  },
2316
+ "CannotDeleteApprovalRuleFromTemplateException":{
2317
+ "type":"structure",
2318
+ "members":{
2319
+ },
2320
+ "exception":true
2321
+ },
2322
+ "CannotModifyApprovalRuleFromTemplateException":{
2323
+ "type":"structure",
2324
+ "members":{
2325
+ },
2326
+ "exception":true
2327
+ },
1640
2328
  "CapitalBoolean":{"type":"boolean"},
1641
2329
  "ChangeTypeEnum":{
1642
2330
  "type":"string",
@@ -1867,6 +2555,25 @@
1867
2555
  "member":{"shape":"Conflict"}
1868
2556
  },
1869
2557
  "Content":{"type":"string"},
2558
+ "CreateApprovalRuleTemplateInput":{
2559
+ "type":"structure",
2560
+ "required":[
2561
+ "approvalRuleTemplateName",
2562
+ "approvalRuleTemplateContent"
2563
+ ],
2564
+ "members":{
2565
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"},
2566
+ "approvalRuleTemplateContent":{"shape":"ApprovalRuleTemplateContent"},
2567
+ "approvalRuleTemplateDescription":{"shape":"ApprovalRuleTemplateDescription"}
2568
+ }
2569
+ },
2570
+ "CreateApprovalRuleTemplateOutput":{
2571
+ "type":"structure",
2572
+ "required":["approvalRuleTemplate"],
2573
+ "members":{
2574
+ "approvalRuleTemplate":{"shape":"ApprovalRuleTemplate"}
2575
+ }
2576
+ },
1870
2577
  "CreateBranchInput":{
1871
2578
  "type":"structure",
1872
2579
  "required":[
@@ -1909,6 +2616,26 @@
1909
2616
  "filesDeleted":{"shape":"FilesMetadata"}
1910
2617
  }
1911
2618
  },
2619
+ "CreatePullRequestApprovalRuleInput":{
2620
+ "type":"structure",
2621
+ "required":[
2622
+ "pullRequestId",
2623
+ "approvalRuleName",
2624
+ "approvalRuleContent"
2625
+ ],
2626
+ "members":{
2627
+ "pullRequestId":{"shape":"PullRequestId"},
2628
+ "approvalRuleName":{"shape":"ApprovalRuleName"},
2629
+ "approvalRuleContent":{"shape":"ApprovalRuleContent"}
2630
+ }
2631
+ },
2632
+ "CreatePullRequestApprovalRuleOutput":{
2633
+ "type":"structure",
2634
+ "required":["approvalRule"],
2635
+ "members":{
2636
+ "approvalRule":{"shape":"ApprovalRule"}
2637
+ }
2638
+ },
1912
2639
  "CreatePullRequestInput":{
1913
2640
  "type":"structure",
1914
2641
  "required":[
@@ -1984,6 +2711,20 @@
1984
2711
  },
1985
2712
  "exception":true
1986
2713
  },
2714
+ "DeleteApprovalRuleTemplateInput":{
2715
+ "type":"structure",
2716
+ "required":["approvalRuleTemplateName"],
2717
+ "members":{
2718
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"}
2719
+ }
2720
+ },
2721
+ "DeleteApprovalRuleTemplateOutput":{
2722
+ "type":"structure",
2723
+ "required":["approvalRuleTemplateId"],
2724
+ "members":{
2725
+ "approvalRuleTemplateId":{"shape":"ApprovalRuleTemplateId"}
2726
+ }
2727
+ },
1987
2728
  "DeleteBranchInput":{
1988
2729
  "type":"structure",
1989
2730
  "required":[
@@ -2059,6 +2800,24 @@
2059
2800
  "filePath":{"shape":"Path"}
2060
2801
  }
2061
2802
  },
2803
+ "DeletePullRequestApprovalRuleInput":{
2804
+ "type":"structure",
2805
+ "required":[
2806
+ "pullRequestId",
2807
+ "approvalRuleName"
2808
+ ],
2809
+ "members":{
2810
+ "pullRequestId":{"shape":"PullRequestId"},
2811
+ "approvalRuleName":{"shape":"ApprovalRuleName"}
2812
+ }
2813
+ },
2814
+ "DeletePullRequestApprovalRuleOutput":{
2815
+ "type":"structure",
2816
+ "required":["approvalRuleId"],
2817
+ "members":{
2818
+ "approvalRuleId":{"shape":"ApprovalRuleId"}
2819
+ }
2820
+ },
2062
2821
  "DeleteRepositoryInput":{
2063
2822
  "type":"structure",
2064
2823
  "required":["repositoryName"],
@@ -2151,6 +2910,17 @@
2151
2910
  },
2152
2911
  "exception":true
2153
2912
  },
2913
+ "DisassociateApprovalRuleTemplateFromRepositoryInput":{
2914
+ "type":"structure",
2915
+ "required":[
2916
+ "approvalRuleTemplateName",
2917
+ "repositoryName"
2918
+ ],
2919
+ "members":{
2920
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"},
2921
+ "repositoryName":{"shape":"RepositoryName"}
2922
+ }
2923
+ },
2154
2924
  "Email":{"type":"string"},
2155
2925
  "EncryptionIntegrityChecksFailedException":{
2156
2926
  "type":"structure",
@@ -2185,6 +2955,33 @@
2185
2955
  },
2186
2956
  "ErrorCode":{"type":"string"},
2187
2957
  "ErrorMessage":{"type":"string"},
2958
+ "EvaluatePullRequestApprovalRulesInput":{
2959
+ "type":"structure",
2960
+ "required":[
2961
+ "pullRequestId",
2962
+ "revisionId"
2963
+ ],
2964
+ "members":{
2965
+ "pullRequestId":{"shape":"PullRequestId"},
2966
+ "revisionId":{"shape":"RevisionId"}
2967
+ }
2968
+ },
2969
+ "EvaluatePullRequestApprovalRulesOutput":{
2970
+ "type":"structure",
2971
+ "required":["evaluation"],
2972
+ "members":{
2973
+ "evaluation":{"shape":"Evaluation"}
2974
+ }
2975
+ },
2976
+ "Evaluation":{
2977
+ "type":"structure",
2978
+ "members":{
2979
+ "approved":{"shape":"Approved"},
2980
+ "overridden":{"shape":"Overridden"},
2981
+ "approvalRulesSatisfied":{"shape":"ApprovalRulesSatisfiedList"},
2982
+ "approvalRulesNotSatisfied":{"shape":"ApprovalRulesNotSatisfiedList"}
2983
+ }
2984
+ },
2188
2985
  "EventDate":{"type":"timestamp"},
2189
2986
  "ExceptionName":{"type":"string"},
2190
2987
  "File":{
@@ -2323,6 +3120,20 @@
2323
3120
  "type":"list",
2324
3121
  "member":{"shape":"Folder"}
2325
3122
  },
3123
+ "GetApprovalRuleTemplateInput":{
3124
+ "type":"structure",
3125
+ "required":["approvalRuleTemplateName"],
3126
+ "members":{
3127
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"}
3128
+ }
3129
+ },
3130
+ "GetApprovalRuleTemplateOutput":{
3131
+ "type":"structure",
3132
+ "required":["approvalRuleTemplate"],
3133
+ "members":{
3134
+ "approvalRuleTemplate":{"shape":"ApprovalRuleTemplate"}
3135
+ }
3136
+ },
2326
3137
  "GetBlobInput":{
2327
3138
  "type":"structure",
2328
3139
  "required":[
@@ -2597,6 +3408,23 @@
2597
3408
  "baseCommitId":{"shape":"ObjectId"}
2598
3409
  }
2599
3410
  },
3411
+ "GetPullRequestApprovalStatesInput":{
3412
+ "type":"structure",
3413
+ "required":[
3414
+ "pullRequestId",
3415
+ "revisionId"
3416
+ ],
3417
+ "members":{
3418
+ "pullRequestId":{"shape":"PullRequestId"},
3419
+ "revisionId":{"shape":"RevisionId"}
3420
+ }
3421
+ },
3422
+ "GetPullRequestApprovalStatesOutput":{
3423
+ "type":"structure",
3424
+ "members":{
3425
+ "approvals":{"shape":"ApprovalList"}
3426
+ }
3427
+ },
2600
3428
  "GetPullRequestInput":{
2601
3429
  "type":"structure",
2602
3430
  "required":["pullRequestId"],
@@ -2611,6 +3439,24 @@
2611
3439
  "pullRequest":{"shape":"PullRequest"}
2612
3440
  }
2613
3441
  },
3442
+ "GetPullRequestOverrideStateInput":{
3443
+ "type":"structure",
3444
+ "required":[
3445
+ "pullRequestId",
3446
+ "revisionId"
3447
+ ],
3448
+ "members":{
3449
+ "pullRequestId":{"shape":"PullRequestId"},
3450
+ "revisionId":{"shape":"RevisionId"}
3451
+ }
3452
+ },
3453
+ "GetPullRequestOverrideStateOutput":{
3454
+ "type":"structure",
3455
+ "members":{
3456
+ "overridden":{"shape":"Overridden"},
3457
+ "overrider":{"shape":"Arn"}
3458
+ }
3459
+ },
2614
3460
  "GetRepositoryInput":{
2615
3461
  "type":"structure",
2616
3462
  "required":["repositoryName"],
@@ -2651,6 +3497,42 @@
2651
3497
  },
2652
3498
  "exception":true
2653
3499
  },
3500
+ "InvalidApprovalRuleContentException":{
3501
+ "type":"structure",
3502
+ "members":{
3503
+ },
3504
+ "exception":true
3505
+ },
3506
+ "InvalidApprovalRuleNameException":{
3507
+ "type":"structure",
3508
+ "members":{
3509
+ },
3510
+ "exception":true
3511
+ },
3512
+ "InvalidApprovalRuleTemplateContentException":{
3513
+ "type":"structure",
3514
+ "members":{
3515
+ },
3516
+ "exception":true
3517
+ },
3518
+ "InvalidApprovalRuleTemplateDescriptionException":{
3519
+ "type":"structure",
3520
+ "members":{
3521
+ },
3522
+ "exception":true
3523
+ },
3524
+ "InvalidApprovalRuleTemplateNameException":{
3525
+ "type":"structure",
3526
+ "members":{
3527
+ },
3528
+ "exception":true
3529
+ },
3530
+ "InvalidApprovalStateException":{
3531
+ "type":"structure",
3532
+ "members":{
3533
+ },
3534
+ "exception":true
3535
+ },
2654
3536
  "InvalidAuthorArnException":{
2655
3537
  "type":"structure",
2656
3538
  "members":{
@@ -2789,6 +3671,12 @@
2789
3671
  },
2790
3672
  "exception":true
2791
3673
  },
3674
+ "InvalidOverrideStatusException":{
3675
+ "type":"structure",
3676
+ "members":{
3677
+ },
3678
+ "exception":true
3679
+ },
2792
3680
  "InvalidParentCommitIdException":{
2793
3681
  "type":"structure",
2794
3682
  "members":{
@@ -2903,6 +3791,18 @@
2903
3791
  },
2904
3792
  "exception":true
2905
3793
  },
3794
+ "InvalidRevisionIdException":{
3795
+ "type":"structure",
3796
+ "members":{
3797
+ },
3798
+ "exception":true
3799
+ },
3800
+ "InvalidRuleContentSha256Exception":{
3801
+ "type":"structure",
3802
+ "members":{
3803
+ },
3804
+ "exception":true
3805
+ },
2906
3806
  "InvalidSortByException":{
2907
3807
  "type":"structure",
2908
3808
  "members":{
@@ -2980,6 +3880,36 @@
2980
3880
  "box":true
2981
3881
  },
2982
3882
  "LineNumber":{"type":"integer"},
3883
+ "ListApprovalRuleTemplatesInput":{
3884
+ "type":"structure",
3885
+ "members":{
3886
+ "nextToken":{"shape":"NextToken"},
3887
+ "maxResults":{"shape":"MaxResults"}
3888
+ }
3889
+ },
3890
+ "ListApprovalRuleTemplatesOutput":{
3891
+ "type":"structure",
3892
+ "members":{
3893
+ "approvalRuleTemplateNames":{"shape":"ApprovalRuleTemplateNameList"},
3894
+ "nextToken":{"shape":"NextToken"}
3895
+ }
3896
+ },
3897
+ "ListAssociatedApprovalRuleTemplatesForRepositoryInput":{
3898
+ "type":"structure",
3899
+ "required":["repositoryName"],
3900
+ "members":{
3901
+ "repositoryName":{"shape":"RepositoryName"},
3902
+ "nextToken":{"shape":"NextToken"},
3903
+ "maxResults":{"shape":"MaxResults"}
3904
+ }
3905
+ },
3906
+ "ListAssociatedApprovalRuleTemplatesForRepositoryOutput":{
3907
+ "type":"structure",
3908
+ "members":{
3909
+ "approvalRuleTemplateNames":{"shape":"ApprovalRuleTemplateNameList"},
3910
+ "nextToken":{"shape":"NextToken"}
3911
+ }
3912
+ },
2983
3913
  "ListBranchesInput":{
2984
3914
  "type":"structure",
2985
3915
  "required":["repositoryName"],
@@ -3014,6 +3944,22 @@
3014
3944
  "nextToken":{"shape":"NextToken"}
3015
3945
  }
3016
3946
  },
3947
+ "ListRepositoriesForApprovalRuleTemplateInput":{
3948
+ "type":"structure",
3949
+ "required":["approvalRuleTemplateName"],
3950
+ "members":{
3951
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"},
3952
+ "nextToken":{"shape":"NextToken"},
3953
+ "maxResults":{"shape":"MaxResults"}
3954
+ }
3955
+ },
3956
+ "ListRepositoriesForApprovalRuleTemplateOutput":{
3957
+ "type":"structure",
3958
+ "members":{
3959
+ "repositoryNames":{"shape":"RepositoryNameList"},
3960
+ "nextToken":{"shape":"NextToken"}
3961
+ }
3962
+ },
3017
3963
  "ListRepositoriesInput":{
3018
3964
  "type":"structure",
3019
3965
  "members":{
@@ -3089,6 +4035,12 @@
3089
4035
  },
3090
4036
  "exception":true
3091
4037
  },
4038
+ "MaximumNumberOfApprovalsExceededException":{
4039
+ "type":"structure",
4040
+ "members":{
4041
+ },
4042
+ "exception":true
4043
+ },
3092
4044
  "MaximumOpenPullRequestsExceededException":{
3093
4045
  "type":"structure",
3094
4046
  "members":{
@@ -3107,6 +4059,12 @@
3107
4059
  },
3108
4060
  "exception":true
3109
4061
  },
4062
+ "MaximumRuleTemplatesAssociatedWithRepositoryException":{
4063
+ "type":"structure",
4064
+ "members":{
4065
+ },
4066
+ "exception":true
4067
+ },
3110
4068
  "MergeBranchesByFastForwardInput":{
3111
4069
  "type":"structure",
3112
4070
  "required":[
@@ -3336,6 +4294,18 @@
3336
4294
  "exception":true
3337
4295
  },
3338
4296
  "NumberOfConflicts":{"type":"integer"},
4297
+ "NumberOfRuleTemplatesExceededException":{
4298
+ "type":"structure",
4299
+ "members":{
4300
+ },
4301
+ "exception":true
4302
+ },
4303
+ "NumberOfRulesExceededException":{
4304
+ "type":"structure",
4305
+ "members":{
4306
+ },
4307
+ "exception":true
4308
+ },
3339
4309
  "ObjectId":{"type":"string"},
3340
4310
  "ObjectSize":{"type":"long"},
3341
4311
  "ObjectTypeEnum":{
@@ -3362,6 +4332,46 @@
3362
4332
  "descending"
3363
4333
  ]
3364
4334
  },
4335
+ "OriginApprovalRuleTemplate":{
4336
+ "type":"structure",
4337
+ "members":{
4338
+ "approvalRuleTemplateId":{"shape":"ApprovalRuleTemplateId"},
4339
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"}
4340
+ }
4341
+ },
4342
+ "Overridden":{"type":"boolean"},
4343
+ "OverrideAlreadySetException":{
4344
+ "type":"structure",
4345
+ "members":{
4346
+ },
4347
+ "exception":true
4348
+ },
4349
+ "OverridePullRequestApprovalRulesInput":{
4350
+ "type":"structure",
4351
+ "required":[
4352
+ "pullRequestId",
4353
+ "revisionId",
4354
+ "overrideStatus"
4355
+ ],
4356
+ "members":{
4357
+ "pullRequestId":{"shape":"PullRequestId"},
4358
+ "revisionId":{"shape":"RevisionId"},
4359
+ "overrideStatus":{"shape":"OverrideStatus"}
4360
+ }
4361
+ },
4362
+ "OverrideStatus":{
4363
+ "type":"string",
4364
+ "enum":[
4365
+ "OVERRIDE",
4366
+ "REVOKE"
4367
+ ]
4368
+ },
4369
+ "OverrideStatusRequiredException":{
4370
+ "type":"structure",
4371
+ "members":{
4372
+ },
4373
+ "exception":true
4374
+ },
3365
4375
  "ParentCommitDoesNotExistException":{
3366
4376
  "type":"structure",
3367
4377
  "members":{
@@ -3496,7 +4506,9 @@
3496
4506
  "pullRequestStatus":{"shape":"PullRequestStatusEnum"},
3497
4507
  "authorArn":{"shape":"Arn"},
3498
4508
  "pullRequestTargets":{"shape":"PullRequestTargetList"},
3499
- "clientRequestToken":{"shape":"ClientRequestToken"}
4509
+ "clientRequestToken":{"shape":"ClientRequestToken"},
4510
+ "revisionId":{"shape":"RevisionId"},
4511
+ "approvalRules":{"shape":"ApprovalRulesList"}
3500
4512
  }
3501
4513
  },
3502
4514
  "PullRequestAlreadyClosedException":{
@@ -3505,6 +4517,18 @@
3505
4517
  },
3506
4518
  "exception":true
3507
4519
  },
4520
+ "PullRequestApprovalRulesNotSatisfiedException":{
4521
+ "type":"structure",
4522
+ "members":{
4523
+ },
4524
+ "exception":true
4525
+ },
4526
+ "PullRequestCannotBeApprovedByAuthorException":{
4527
+ "type":"structure",
4528
+ "members":{
4529
+ },
4530
+ "exception":true
4531
+ },
3508
4532
  "PullRequestCreatedEventMetadata":{
3509
4533
  "type":"structure",
3510
4534
  "members":{
@@ -3530,7 +4554,10 @@
3530
4554
  "pullRequestCreatedEventMetadata":{"shape":"PullRequestCreatedEventMetadata"},
3531
4555
  "pullRequestStatusChangedEventMetadata":{"shape":"PullRequestStatusChangedEventMetadata"},
3532
4556
  "pullRequestSourceReferenceUpdatedEventMetadata":{"shape":"PullRequestSourceReferenceUpdatedEventMetadata"},
3533
- "pullRequestMergedStateChangedEventMetadata":{"shape":"PullRequestMergedStateChangedEventMetadata"}
4557
+ "pullRequestMergedStateChangedEventMetadata":{"shape":"PullRequestMergedStateChangedEventMetadata"},
4558
+ "approvalRuleEventMetadata":{"shape":"ApprovalRuleEventMetadata"},
4559
+ "approvalStateChangedEventMetadata":{"shape":"ApprovalStateChangedEventMetadata"},
4560
+ "approvalRuleOverriddenEventMetadata":{"shape":"ApprovalRuleOverriddenEventMetadata"}
3534
4561
  }
3535
4562
  },
3536
4563
  "PullRequestEventList":{
@@ -3543,7 +4570,12 @@
3543
4570
  "PULL_REQUEST_CREATED",
3544
4571
  "PULL_REQUEST_STATUS_CHANGED",
3545
4572
  "PULL_REQUEST_SOURCE_REFERENCE_UPDATED",
3546
- "PULL_REQUEST_MERGE_STATE_CHANGED"
4573
+ "PULL_REQUEST_MERGE_STATE_CHANGED",
4574
+ "PULL_REQUEST_APPROVAL_RULE_CREATED",
4575
+ "PULL_REQUEST_APPROVAL_RULE_UPDATED",
4576
+ "PULL_REQUEST_APPROVAL_RULE_DELETED",
4577
+ "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN",
4578
+ "PULL_REQUEST_APPROVAL_STATE_CHANGED"
3547
4579
  ]
3548
4580
  },
3549
4581
  "PullRequestId":{"type":"string"},
@@ -3922,6 +4954,20 @@
3922
4954
  },
3923
4955
  "exception":true
3924
4956
  },
4957
+ "RevisionId":{"type":"string"},
4958
+ "RevisionIdRequiredException":{
4959
+ "type":"structure",
4960
+ "members":{
4961
+ },
4962
+ "exception":true
4963
+ },
4964
+ "RevisionNotCurrentException":{
4965
+ "type":"structure",
4966
+ "members":{
4967
+ },
4968
+ "exception":true
4969
+ },
4970
+ "RuleContentSha256":{"type":"string"},
3925
4971
  "SameFileContentException":{
3926
4972
  "type":"structure",
3927
4973
  "members":{
@@ -4134,6 +5180,61 @@
4134
5180
  "tagKeys":{"shape":"TagKeysList"}
4135
5181
  }
4136
5182
  },
5183
+ "UpdateApprovalRuleTemplateContentInput":{
5184
+ "type":"structure",
5185
+ "required":[
5186
+ "approvalRuleTemplateName",
5187
+ "newRuleContent"
5188
+ ],
5189
+ "members":{
5190
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"},
5191
+ "newRuleContent":{"shape":"ApprovalRuleTemplateContent"},
5192
+ "existingRuleContentSha256":{"shape":"RuleContentSha256"}
5193
+ }
5194
+ },
5195
+ "UpdateApprovalRuleTemplateContentOutput":{
5196
+ "type":"structure",
5197
+ "required":["approvalRuleTemplate"],
5198
+ "members":{
5199
+ "approvalRuleTemplate":{"shape":"ApprovalRuleTemplate"}
5200
+ }
5201
+ },
5202
+ "UpdateApprovalRuleTemplateDescriptionInput":{
5203
+ "type":"structure",
5204
+ "required":[
5205
+ "approvalRuleTemplateName",
5206
+ "approvalRuleTemplateDescription"
5207
+ ],
5208
+ "members":{
5209
+ "approvalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"},
5210
+ "approvalRuleTemplateDescription":{"shape":"ApprovalRuleTemplateDescription"}
5211
+ }
5212
+ },
5213
+ "UpdateApprovalRuleTemplateDescriptionOutput":{
5214
+ "type":"structure",
5215
+ "required":["approvalRuleTemplate"],
5216
+ "members":{
5217
+ "approvalRuleTemplate":{"shape":"ApprovalRuleTemplate"}
5218
+ }
5219
+ },
5220
+ "UpdateApprovalRuleTemplateNameInput":{
5221
+ "type":"structure",
5222
+ "required":[
5223
+ "oldApprovalRuleTemplateName",
5224
+ "newApprovalRuleTemplateName"
5225
+ ],
5226
+ "members":{
5227
+ "oldApprovalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"},
5228
+ "newApprovalRuleTemplateName":{"shape":"ApprovalRuleTemplateName"}
5229
+ }
5230
+ },
5231
+ "UpdateApprovalRuleTemplateNameOutput":{
5232
+ "type":"structure",
5233
+ "required":["approvalRuleTemplate"],
5234
+ "members":{
5235
+ "approvalRuleTemplate":{"shape":"ApprovalRuleTemplate"}
5236
+ }
5237
+ },
4137
5238
  "UpdateCommentInput":{
4138
5239
  "type":"structure",
4139
5240
  "required":[
@@ -4162,6 +5263,40 @@
4162
5263
  "defaultBranchName":{"shape":"BranchName"}
4163
5264
  }
4164
5265
  },
5266
+ "UpdatePullRequestApprovalRuleContentInput":{
5267
+ "type":"structure",
5268
+ "required":[
5269
+ "pullRequestId",
5270
+ "approvalRuleName",
5271
+ "newRuleContent"
5272
+ ],
5273
+ "members":{
5274
+ "pullRequestId":{"shape":"PullRequestId"},
5275
+ "approvalRuleName":{"shape":"ApprovalRuleName"},
5276
+ "existingRuleContentSha256":{"shape":"RuleContentSha256"},
5277
+ "newRuleContent":{"shape":"ApprovalRuleContent"}
5278
+ }
5279
+ },
5280
+ "UpdatePullRequestApprovalRuleContentOutput":{
5281
+ "type":"structure",
5282
+ "required":["approvalRule"],
5283
+ "members":{
5284
+ "approvalRule":{"shape":"ApprovalRule"}
5285
+ }
5286
+ },
5287
+ "UpdatePullRequestApprovalStateInput":{
5288
+ "type":"structure",
5289
+ "required":[
5290
+ "pullRequestId",
5291
+ "revisionId",
5292
+ "approvalState"
5293
+ ],
5294
+ "members":{
5295
+ "pullRequestId":{"shape":"PullRequestId"},
5296
+ "revisionId":{"shape":"RevisionId"},
5297
+ "approvalState":{"shape":"ApprovalState"}
5298
+ }
5299
+ },
4165
5300
  "UpdatePullRequestDescriptionInput":{
4166
5301
  "type":"structure",
4167
5302
  "required":[