aws-sdk-codecommit 1.51.0 → 1.53.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-codecommit/client.rb +20 -3
- data/lib/aws-sdk-codecommit/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-codecommit/endpoint_provider.rb +51 -0
- data/lib/aws-sdk-codecommit/endpoints.rb +1093 -0
- data/lib/aws-sdk-codecommit/plugins/endpoints.rb +222 -0
- data/lib/aws-sdk-codecommit/types.rb +0 -1000
- data/lib/aws-sdk-codecommit.rb +5 -1
- metadata +8 -4
@@ -276,14 +276,6 @@ module Aws::CodeCommit
|
|
276
276
|
#
|
277
277
|
class ApprovalStateRequiredException < Aws::EmptyStructure; end
|
278
278
|
|
279
|
-
# @note When making an API call, you may pass AssociateApprovalRuleTemplateWithRepositoryInput
|
280
|
-
# data as a hash:
|
281
|
-
#
|
282
|
-
# {
|
283
|
-
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
284
|
-
# repository_name: "RepositoryName", # required
|
285
|
-
# }
|
286
|
-
#
|
287
279
|
# @!attribute [rw] approval_rule_template_name
|
288
280
|
# The name for the approval rule template.
|
289
281
|
# @return [String]
|
@@ -336,14 +328,6 @@ module Aws::CodeCommit
|
|
336
328
|
include Aws::Structure
|
337
329
|
end
|
338
330
|
|
339
|
-
# @note When making an API call, you may pass BatchAssociateApprovalRuleTemplateWithRepositoriesInput
|
340
|
-
# data as a hash:
|
341
|
-
#
|
342
|
-
# {
|
343
|
-
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
344
|
-
# repository_names: ["RepositoryName"], # required
|
345
|
-
# }
|
346
|
-
#
|
347
331
|
# @!attribute [rw] approval_rule_template_name
|
348
332
|
# The name of the template you want to associate with one or more
|
349
333
|
# repositories.
|
@@ -412,22 +396,6 @@ module Aws::CodeCommit
|
|
412
396
|
include Aws::Structure
|
413
397
|
end
|
414
398
|
|
415
|
-
# @note When making an API call, you may pass BatchDescribeMergeConflictsInput
|
416
|
-
# data as a hash:
|
417
|
-
#
|
418
|
-
# {
|
419
|
-
# repository_name: "RepositoryName", # required
|
420
|
-
# destination_commit_specifier: "CommitName", # required
|
421
|
-
# source_commit_specifier: "CommitName", # required
|
422
|
-
# merge_option: "FAST_FORWARD_MERGE", # required, accepts FAST_FORWARD_MERGE, SQUASH_MERGE, THREE_WAY_MERGE
|
423
|
-
# max_merge_hunks: 1,
|
424
|
-
# max_conflict_files: 1,
|
425
|
-
# file_paths: ["Path"],
|
426
|
-
# conflict_detail_level: "FILE_LEVEL", # accepts FILE_LEVEL, LINE_LEVEL
|
427
|
-
# conflict_resolution_strategy: "NONE", # accepts NONE, ACCEPT_SOURCE, ACCEPT_DESTINATION, AUTOMERGE
|
428
|
-
# next_token: "NextToken",
|
429
|
-
# }
|
430
|
-
#
|
431
399
|
# @!attribute [rw] repository_name
|
432
400
|
# The name of the repository that contains the merge conflicts you
|
433
401
|
# want to review.
|
@@ -567,14 +535,6 @@ module Aws::CodeCommit
|
|
567
535
|
include Aws::Structure
|
568
536
|
end
|
569
537
|
|
570
|
-
# @note When making an API call, you may pass BatchDisassociateApprovalRuleTemplateFromRepositoriesInput
|
571
|
-
# data as a hash:
|
572
|
-
#
|
573
|
-
# {
|
574
|
-
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
575
|
-
# repository_names: ["RepositoryName"], # required
|
576
|
-
# }
|
577
|
-
#
|
578
538
|
# @!attribute [rw] approval_rule_template_name
|
579
539
|
# The name of the template that you want to disassociate from one or
|
580
540
|
# more repositories.
|
@@ -645,14 +605,6 @@ module Aws::CodeCommit
|
|
645
605
|
include Aws::Structure
|
646
606
|
end
|
647
607
|
|
648
|
-
# @note When making an API call, you may pass BatchGetCommitsInput
|
649
|
-
# data as a hash:
|
650
|
-
#
|
651
|
-
# {
|
652
|
-
# commit_ids: ["ObjectId"], # required
|
653
|
-
# repository_name: "RepositoryName", # required
|
654
|
-
# }
|
655
|
-
#
|
656
608
|
# @!attribute [rw] commit_ids
|
657
609
|
# The full commit IDs of the commits to get information about.
|
658
610
|
#
|
@@ -698,13 +650,6 @@ module Aws::CodeCommit
|
|
698
650
|
|
699
651
|
# Represents the input of a batch get repositories operation.
|
700
652
|
#
|
701
|
-
# @note When making an API call, you may pass BatchGetRepositoriesInput
|
702
|
-
# data as a hash:
|
703
|
-
#
|
704
|
-
# {
|
705
|
-
# repository_names: ["RepositoryName"], # required
|
706
|
-
# }
|
707
|
-
#
|
708
653
|
# @!attribute [rw] repository_names
|
709
654
|
# The names of the repositories to get information about.
|
710
655
|
#
|
@@ -1291,31 +1236,6 @@ module Aws::CodeCommit
|
|
1291
1236
|
# If AUTOMERGE is the conflict resolution strategy, a list of inputs to
|
1292
1237
|
# use when resolving conflicts during a merge.
|
1293
1238
|
#
|
1294
|
-
# @note When making an API call, you may pass ConflictResolution
|
1295
|
-
# data as a hash:
|
1296
|
-
#
|
1297
|
-
# {
|
1298
|
-
# replace_contents: [
|
1299
|
-
# {
|
1300
|
-
# file_path: "Path", # required
|
1301
|
-
# replacement_type: "KEEP_BASE", # required, accepts KEEP_BASE, KEEP_SOURCE, KEEP_DESTINATION, USE_NEW_CONTENT
|
1302
|
-
# content: "data",
|
1303
|
-
# file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
|
1304
|
-
# },
|
1305
|
-
# ],
|
1306
|
-
# delete_files: [
|
1307
|
-
# {
|
1308
|
-
# file_path: "Path", # required
|
1309
|
-
# },
|
1310
|
-
# ],
|
1311
|
-
# set_file_modes: [
|
1312
|
-
# {
|
1313
|
-
# file_path: "Path", # required
|
1314
|
-
# file_mode: "EXECUTABLE", # required, accepts EXECUTABLE, NORMAL, SYMLINK
|
1315
|
-
# },
|
1316
|
-
# ],
|
1317
|
-
# }
|
1318
|
-
#
|
1319
1239
|
# @!attribute [rw] replace_contents
|
1320
1240
|
# Files to have content replaced as part of the merge conflict
|
1321
1241
|
# resolution.
|
@@ -1339,15 +1259,6 @@ module Aws::CodeCommit
|
|
1339
1259
|
include Aws::Structure
|
1340
1260
|
end
|
1341
1261
|
|
1342
|
-
# @note When making an API call, you may pass CreateApprovalRuleTemplateInput
|
1343
|
-
# data as a hash:
|
1344
|
-
#
|
1345
|
-
# {
|
1346
|
-
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
1347
|
-
# approval_rule_template_content: "ApprovalRuleTemplateContent", # required
|
1348
|
-
# approval_rule_template_description: "ApprovalRuleTemplateDescription",
|
1349
|
-
# }
|
1350
|
-
#
|
1351
1262
|
# @!attribute [rw] approval_rule_template_name
|
1352
1263
|
# The name of the approval rule template. Provide descriptive names,
|
1353
1264
|
# because this name is applied to the approval rules created
|
@@ -1428,15 +1339,6 @@ module Aws::CodeCommit
|
|
1428
1339
|
|
1429
1340
|
# Represents the input of a create branch operation.
|
1430
1341
|
#
|
1431
|
-
# @note When making an API call, you may pass CreateBranchInput
|
1432
|
-
# data as a hash:
|
1433
|
-
#
|
1434
|
-
# {
|
1435
|
-
# repository_name: "RepositoryName", # required
|
1436
|
-
# branch_name: "BranchName", # required
|
1437
|
-
# commit_id: "CommitId", # required
|
1438
|
-
# }
|
1439
|
-
#
|
1440
1342
|
# @!attribute [rw] repository_name
|
1441
1343
|
# The name of the repository in which you want to create the new
|
1442
1344
|
# branch.
|
@@ -1460,41 +1362,6 @@ module Aws::CodeCommit
|
|
1460
1362
|
include Aws::Structure
|
1461
1363
|
end
|
1462
1364
|
|
1463
|
-
# @note When making an API call, you may pass CreateCommitInput
|
1464
|
-
# data as a hash:
|
1465
|
-
#
|
1466
|
-
# {
|
1467
|
-
# repository_name: "RepositoryName", # required
|
1468
|
-
# branch_name: "BranchName", # required
|
1469
|
-
# parent_commit_id: "CommitId",
|
1470
|
-
# author_name: "Name",
|
1471
|
-
# email: "Email",
|
1472
|
-
# commit_message: "Message",
|
1473
|
-
# keep_empty_folders: false,
|
1474
|
-
# put_files: [
|
1475
|
-
# {
|
1476
|
-
# file_path: "Path", # required
|
1477
|
-
# file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
|
1478
|
-
# file_content: "data",
|
1479
|
-
# source_file: {
|
1480
|
-
# file_path: "Path", # required
|
1481
|
-
# is_move: false,
|
1482
|
-
# },
|
1483
|
-
# },
|
1484
|
-
# ],
|
1485
|
-
# delete_files: [
|
1486
|
-
# {
|
1487
|
-
# file_path: "Path", # required
|
1488
|
-
# },
|
1489
|
-
# ],
|
1490
|
-
# set_file_modes: [
|
1491
|
-
# {
|
1492
|
-
# file_path: "Path", # required
|
1493
|
-
# file_mode: "EXECUTABLE", # required, accepts EXECUTABLE, NORMAL, SYMLINK
|
1494
|
-
# },
|
1495
|
-
# ],
|
1496
|
-
# }
|
1497
|
-
#
|
1498
1365
|
# @!attribute [rw] repository_name
|
1499
1366
|
# The name of the repository where you create the commit.
|
1500
1367
|
# @return [String]
|
@@ -1593,15 +1460,6 @@ module Aws::CodeCommit
|
|
1593
1460
|
include Aws::Structure
|
1594
1461
|
end
|
1595
1462
|
|
1596
|
-
# @note When making an API call, you may pass CreatePullRequestApprovalRuleInput
|
1597
|
-
# data as a hash:
|
1598
|
-
#
|
1599
|
-
# {
|
1600
|
-
# pull_request_id: "PullRequestId", # required
|
1601
|
-
# approval_rule_name: "ApprovalRuleName", # required
|
1602
|
-
# approval_rule_content: "ApprovalRuleContent", # required
|
1603
|
-
# }
|
1604
|
-
#
|
1605
1463
|
# @!attribute [rw] pull_request_id
|
1606
1464
|
# The system-generated ID of the pull request for which you want to
|
1607
1465
|
# create the approval rule.
|
@@ -1676,22 +1534,6 @@ module Aws::CodeCommit
|
|
1676
1534
|
include Aws::Structure
|
1677
1535
|
end
|
1678
1536
|
|
1679
|
-
# @note When making an API call, you may pass CreatePullRequestInput
|
1680
|
-
# data as a hash:
|
1681
|
-
#
|
1682
|
-
# {
|
1683
|
-
# title: "Title", # required
|
1684
|
-
# description: "Description",
|
1685
|
-
# targets: [ # required
|
1686
|
-
# {
|
1687
|
-
# repository_name: "RepositoryName", # required
|
1688
|
-
# source_reference: "ReferenceName", # required
|
1689
|
-
# destination_reference: "ReferenceName",
|
1690
|
-
# },
|
1691
|
-
# ],
|
1692
|
-
# client_request_token: "ClientRequestToken",
|
1693
|
-
# }
|
1694
|
-
#
|
1695
1537
|
# @!attribute [rw] title
|
1696
1538
|
# The title of the pull request. This title is used to identify the
|
1697
1539
|
# pull request to other users in the repository.
|
@@ -1749,17 +1591,6 @@ module Aws::CodeCommit
|
|
1749
1591
|
|
1750
1592
|
# Represents the input of a create repository operation.
|
1751
1593
|
#
|
1752
|
-
# @note When making an API call, you may pass CreateRepositoryInput
|
1753
|
-
# data as a hash:
|
1754
|
-
#
|
1755
|
-
# {
|
1756
|
-
# repository_name: "RepositoryName", # required
|
1757
|
-
# repository_description: "RepositoryDescription",
|
1758
|
-
# tags: {
|
1759
|
-
# "TagKey" => "TagValue",
|
1760
|
-
# },
|
1761
|
-
# }
|
1762
|
-
#
|
1763
1594
|
# @!attribute [rw] repository_name
|
1764
1595
|
# The name of the new repository to be created.
|
1765
1596
|
#
|
@@ -1818,43 +1649,6 @@ module Aws::CodeCommit
|
|
1818
1649
|
include Aws::Structure
|
1819
1650
|
end
|
1820
1651
|
|
1821
|
-
# @note When making an API call, you may pass CreateUnreferencedMergeCommitInput
|
1822
|
-
# data as a hash:
|
1823
|
-
#
|
1824
|
-
# {
|
1825
|
-
# repository_name: "RepositoryName", # required
|
1826
|
-
# source_commit_specifier: "CommitName", # required
|
1827
|
-
# destination_commit_specifier: "CommitName", # required
|
1828
|
-
# merge_option: "FAST_FORWARD_MERGE", # required, accepts FAST_FORWARD_MERGE, SQUASH_MERGE, THREE_WAY_MERGE
|
1829
|
-
# conflict_detail_level: "FILE_LEVEL", # accepts FILE_LEVEL, LINE_LEVEL
|
1830
|
-
# conflict_resolution_strategy: "NONE", # accepts NONE, ACCEPT_SOURCE, ACCEPT_DESTINATION, AUTOMERGE
|
1831
|
-
# author_name: "Name",
|
1832
|
-
# email: "Email",
|
1833
|
-
# commit_message: "Message",
|
1834
|
-
# keep_empty_folders: false,
|
1835
|
-
# conflict_resolution: {
|
1836
|
-
# replace_contents: [
|
1837
|
-
# {
|
1838
|
-
# file_path: "Path", # required
|
1839
|
-
# replacement_type: "KEEP_BASE", # required, accepts KEEP_BASE, KEEP_SOURCE, KEEP_DESTINATION, USE_NEW_CONTENT
|
1840
|
-
# content: "data",
|
1841
|
-
# file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
|
1842
|
-
# },
|
1843
|
-
# ],
|
1844
|
-
# delete_files: [
|
1845
|
-
# {
|
1846
|
-
# file_path: "Path", # required
|
1847
|
-
# },
|
1848
|
-
# ],
|
1849
|
-
# set_file_modes: [
|
1850
|
-
# {
|
1851
|
-
# file_path: "Path", # required
|
1852
|
-
# file_mode: "EXECUTABLE", # required, accepts EXECUTABLE, NORMAL, SYMLINK
|
1853
|
-
# },
|
1854
|
-
# ],
|
1855
|
-
# },
|
1856
|
-
# }
|
1857
|
-
#
|
1858
1652
|
# @!attribute [rw] repository_name
|
1859
1653
|
# The name of the repository where you want to create the unreferenced
|
1860
1654
|
# merge commit.
|
@@ -1959,13 +1753,6 @@ module Aws::CodeCommit
|
|
1959
1753
|
#
|
1960
1754
|
class DefaultBranchCannotBeDeletedException < Aws::EmptyStructure; end
|
1961
1755
|
|
1962
|
-
# @note When making an API call, you may pass DeleteApprovalRuleTemplateInput
|
1963
|
-
# data as a hash:
|
1964
|
-
#
|
1965
|
-
# {
|
1966
|
-
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
1967
|
-
# }
|
1968
|
-
#
|
1969
1756
|
# @!attribute [rw] approval_rule_template_name
|
1970
1757
|
# The name of the approval rule template to delete.
|
1971
1758
|
# @return [String]
|
@@ -1994,14 +1781,6 @@ module Aws::CodeCommit
|
|
1994
1781
|
|
1995
1782
|
# Represents the input of a delete branch operation.
|
1996
1783
|
#
|
1997
|
-
# @note When making an API call, you may pass DeleteBranchInput
|
1998
|
-
# data as a hash:
|
1999
|
-
#
|
2000
|
-
# {
|
2001
|
-
# repository_name: "RepositoryName", # required
|
2002
|
-
# branch_name: "BranchName", # required
|
2003
|
-
# }
|
2004
|
-
#
|
2005
1784
|
# @!attribute [rw] repository_name
|
2006
1785
|
# The name of the repository that contains the branch to be deleted.
|
2007
1786
|
# @return [String]
|
@@ -2034,13 +1813,6 @@ module Aws::CodeCommit
|
|
2034
1813
|
include Aws::Structure
|
2035
1814
|
end
|
2036
1815
|
|
2037
|
-
# @note When making an API call, you may pass DeleteCommentContentInput
|
2038
|
-
# data as a hash:
|
2039
|
-
#
|
2040
|
-
# {
|
2041
|
-
# comment_id: "CommentId", # required
|
2042
|
-
# }
|
2043
|
-
#
|
2044
1816
|
# @!attribute [rw] comment_id
|
2045
1817
|
# The unique, system-generated ID of the comment. To get this ID, use
|
2046
1818
|
# GetCommentsForComparedCommit or GetCommentsForPullRequest.
|
@@ -2068,13 +1840,6 @@ module Aws::CodeCommit
|
|
2068
1840
|
|
2069
1841
|
# A file that is deleted as part of a commit.
|
2070
1842
|
#
|
2071
|
-
# @note When making an API call, you may pass DeleteFileEntry
|
2072
|
-
# data as a hash:
|
2073
|
-
#
|
2074
|
-
# {
|
2075
|
-
# file_path: "Path", # required
|
2076
|
-
# }
|
2077
|
-
#
|
2078
1843
|
# @!attribute [rw] file_path
|
2079
1844
|
# The full path of the file to be deleted, including the name of the
|
2080
1845
|
# file.
|
@@ -2088,20 +1853,6 @@ module Aws::CodeCommit
|
|
2088
1853
|
include Aws::Structure
|
2089
1854
|
end
|
2090
1855
|
|
2091
|
-
# @note When making an API call, you may pass DeleteFileInput
|
2092
|
-
# data as a hash:
|
2093
|
-
#
|
2094
|
-
# {
|
2095
|
-
# repository_name: "RepositoryName", # required
|
2096
|
-
# branch_name: "BranchName", # required
|
2097
|
-
# file_path: "Path", # required
|
2098
|
-
# parent_commit_id: "CommitId", # required
|
2099
|
-
# keep_empty_folders: false,
|
2100
|
-
# commit_message: "Message",
|
2101
|
-
# name: "Name",
|
2102
|
-
# email: "Email",
|
2103
|
-
# }
|
2104
|
-
#
|
2105
1856
|
# @!attribute [rw] repository_name
|
2106
1857
|
# The name of the repository that contains the file to delete.
|
2107
1858
|
# @return [String]
|
@@ -2197,14 +1948,6 @@ module Aws::CodeCommit
|
|
2197
1948
|
include Aws::Structure
|
2198
1949
|
end
|
2199
1950
|
|
2200
|
-
# @note When making an API call, you may pass DeletePullRequestApprovalRuleInput
|
2201
|
-
# data as a hash:
|
2202
|
-
#
|
2203
|
-
# {
|
2204
|
-
# pull_request_id: "PullRequestId", # required
|
2205
|
-
# approval_rule_name: "ApprovalRuleName", # required
|
2206
|
-
# }
|
2207
|
-
#
|
2208
1951
|
# @!attribute [rw] pull_request_id
|
2209
1952
|
# The system-generated ID of the pull request that contains the
|
2210
1953
|
# approval rule you want to delete.
|
@@ -2242,13 +1985,6 @@ module Aws::CodeCommit
|
|
2242
1985
|
|
2243
1986
|
# Represents the input of a delete repository operation.
|
2244
1987
|
#
|
2245
|
-
# @note When making an API call, you may pass DeleteRepositoryInput
|
2246
|
-
# data as a hash:
|
2247
|
-
#
|
2248
|
-
# {
|
2249
|
-
# repository_name: "RepositoryName", # required
|
2250
|
-
# }
|
2251
|
-
#
|
2252
1988
|
# @!attribute [rw] repository_name
|
2253
1989
|
# The name of the repository to delete.
|
2254
1990
|
# @return [String]
|
@@ -2275,21 +2011,6 @@ module Aws::CodeCommit
|
|
2275
2011
|
include Aws::Structure
|
2276
2012
|
end
|
2277
2013
|
|
2278
|
-
# @note When making an API call, you may pass DescribeMergeConflictsInput
|
2279
|
-
# data as a hash:
|
2280
|
-
#
|
2281
|
-
# {
|
2282
|
-
# repository_name: "RepositoryName", # required
|
2283
|
-
# destination_commit_specifier: "CommitName", # required
|
2284
|
-
# source_commit_specifier: "CommitName", # required
|
2285
|
-
# merge_option: "FAST_FORWARD_MERGE", # required, accepts FAST_FORWARD_MERGE, SQUASH_MERGE, THREE_WAY_MERGE
|
2286
|
-
# max_merge_hunks: 1,
|
2287
|
-
# file_path: "Path", # required
|
2288
|
-
# conflict_detail_level: "FILE_LEVEL", # accepts FILE_LEVEL, LINE_LEVEL
|
2289
|
-
# conflict_resolution_strategy: "NONE", # accepts NONE, ACCEPT_SOURCE, ACCEPT_DESTINATION, AUTOMERGE
|
2290
|
-
# next_token: "NextToken",
|
2291
|
-
# }
|
2292
|
-
#
|
2293
2014
|
# @!attribute [rw] repository_name
|
2294
2015
|
# The name of the repository where you want to get information about a
|
2295
2016
|
# merge conflict.
|
@@ -2393,17 +2114,6 @@ module Aws::CodeCommit
|
|
2393
2114
|
include Aws::Structure
|
2394
2115
|
end
|
2395
2116
|
|
2396
|
-
# @note When making an API call, you may pass DescribePullRequestEventsInput
|
2397
|
-
# data as a hash:
|
2398
|
-
#
|
2399
|
-
# {
|
2400
|
-
# pull_request_id: "PullRequestId", # required
|
2401
|
-
# pull_request_event_type: "PULL_REQUEST_CREATED", # accepts PULL_REQUEST_CREATED, PULL_REQUEST_STATUS_CHANGED, PULL_REQUEST_SOURCE_REFERENCE_UPDATED, PULL_REQUEST_MERGE_STATE_CHANGED, PULL_REQUEST_APPROVAL_RULE_CREATED, PULL_REQUEST_APPROVAL_RULE_UPDATED, PULL_REQUEST_APPROVAL_RULE_DELETED, PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN, PULL_REQUEST_APPROVAL_STATE_CHANGED
|
2402
|
-
# actor_arn: "Arn",
|
2403
|
-
# next_token: "NextToken",
|
2404
|
-
# max_results: 1,
|
2405
|
-
# }
|
2406
|
-
#
|
2407
2117
|
# @!attribute [rw] pull_request_id
|
2408
2118
|
# The system-generated ID of the pull request. To get this ID, use
|
2409
2119
|
# ListPullRequests.
|
@@ -2497,14 +2207,6 @@ module Aws::CodeCommit
|
|
2497
2207
|
#
|
2498
2208
|
class DirectoryNameConflictsWithFileNameException < Aws::EmptyStructure; end
|
2499
2209
|
|
2500
|
-
# @note When making an API call, you may pass DisassociateApprovalRuleTemplateFromRepositoryInput
|
2501
|
-
# data as a hash:
|
2502
|
-
#
|
2503
|
-
# {
|
2504
|
-
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
2505
|
-
# repository_name: "RepositoryName", # required
|
2506
|
-
# }
|
2507
|
-
#
|
2508
2210
|
# @!attribute [rw] approval_rule_template_name
|
2509
2211
|
# The name of the approval rule template to disassociate from a
|
2510
2212
|
# specified repository.
|
@@ -2554,14 +2256,6 @@ module Aws::CodeCommit
|
|
2554
2256
|
#
|
2555
2257
|
class EncryptionKeyUnavailableException < Aws::EmptyStructure; end
|
2556
2258
|
|
2557
|
-
# @note When making an API call, you may pass EvaluatePullRequestApprovalRulesInput
|
2558
|
-
# data as a hash:
|
2559
|
-
#
|
2560
|
-
# {
|
2561
|
-
# pull_request_id: "PullRequestId", # required
|
2562
|
-
# revision_id: "RevisionId", # required
|
2563
|
-
# }
|
2564
|
-
#
|
2565
2259
|
# @!attribute [rw] pull_request_id
|
2566
2260
|
# The system-generated ID of the pull request you want to evaluate.
|
2567
2261
|
# @return [String]
|
@@ -2850,13 +2544,6 @@ module Aws::CodeCommit
|
|
2850
2544
|
#
|
2851
2545
|
class FolderDoesNotExistException < Aws::EmptyStructure; end
|
2852
2546
|
|
2853
|
-
# @note When making an API call, you may pass GetApprovalRuleTemplateInput
|
2854
|
-
# data as a hash:
|
2855
|
-
#
|
2856
|
-
# {
|
2857
|
-
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
2858
|
-
# }
|
2859
|
-
#
|
2860
2547
|
# @!attribute [rw] approval_rule_template_name
|
2861
2548
|
# The name of the approval rule template for which you want to get
|
2862
2549
|
# information.
|
@@ -2884,14 +2571,6 @@ module Aws::CodeCommit
|
|
2884
2571
|
|
2885
2572
|
# Represents the input of a get blob operation.
|
2886
2573
|
#
|
2887
|
-
# @note When making an API call, you may pass GetBlobInput
|
2888
|
-
# data as a hash:
|
2889
|
-
#
|
2890
|
-
# {
|
2891
|
-
# repository_name: "RepositoryName", # required
|
2892
|
-
# blob_id: "ObjectId", # required
|
2893
|
-
# }
|
2894
|
-
#
|
2895
2574
|
# @!attribute [rw] repository_name
|
2896
2575
|
# The name of the repository that contains the blob.
|
2897
2576
|
# @return [String]
|
@@ -2925,14 +2604,6 @@ module Aws::CodeCommit
|
|
2925
2604
|
|
2926
2605
|
# Represents the input of a get branch operation.
|
2927
2606
|
#
|
2928
|
-
# @note When making an API call, you may pass GetBranchInput
|
2929
|
-
# data as a hash:
|
2930
|
-
#
|
2931
|
-
# {
|
2932
|
-
# repository_name: "RepositoryName",
|
2933
|
-
# branch_name: "BranchName",
|
2934
|
-
# }
|
2935
|
-
#
|
2936
2607
|
# @!attribute [rw] repository_name
|
2937
2608
|
# The name of the repository that contains the branch for which you
|
2938
2609
|
# want to retrieve information.
|
@@ -2965,13 +2636,6 @@ module Aws::CodeCommit
|
|
2965
2636
|
include Aws::Structure
|
2966
2637
|
end
|
2967
2638
|
|
2968
|
-
# @note When making an API call, you may pass GetCommentInput
|
2969
|
-
# data as a hash:
|
2970
|
-
#
|
2971
|
-
# {
|
2972
|
-
# comment_id: "CommentId", # required
|
2973
|
-
# }
|
2974
|
-
#
|
2975
2639
|
# @!attribute [rw] comment_id
|
2976
2640
|
# The unique, system-generated ID of the comment. To get this ID, use
|
2977
2641
|
# GetCommentsForComparedCommit or GetCommentsForPullRequest.
|
@@ -2997,16 +2661,6 @@ module Aws::CodeCommit
|
|
2997
2661
|
include Aws::Structure
|
2998
2662
|
end
|
2999
2663
|
|
3000
|
-
# @note When making an API call, you may pass GetCommentReactionsInput
|
3001
|
-
# data as a hash:
|
3002
|
-
#
|
3003
|
-
# {
|
3004
|
-
# comment_id: "CommentId", # required
|
3005
|
-
# reaction_user_arn: "Arn",
|
3006
|
-
# next_token: "NextToken",
|
3007
|
-
# max_results: 1,
|
3008
|
-
# }
|
3009
|
-
#
|
3010
2664
|
# @!attribute [rw] comment_id
|
3011
2665
|
# The ID of the comment for which you want to get reactions
|
3012
2666
|
# information.
|
@@ -3057,17 +2711,6 @@ module Aws::CodeCommit
|
|
3057
2711
|
include Aws::Structure
|
3058
2712
|
end
|
3059
2713
|
|
3060
|
-
# @note When making an API call, you may pass GetCommentsForComparedCommitInput
|
3061
|
-
# data as a hash:
|
3062
|
-
#
|
3063
|
-
# {
|
3064
|
-
# repository_name: "RepositoryName", # required
|
3065
|
-
# before_commit_id: "CommitId",
|
3066
|
-
# after_commit_id: "CommitId", # required
|
3067
|
-
# next_token: "NextToken",
|
3068
|
-
# max_results: 1,
|
3069
|
-
# }
|
3070
|
-
#
|
3071
2714
|
# @!attribute [rw] repository_name
|
3072
2715
|
# The name of the repository where you want to compare commits.
|
3073
2716
|
# @return [String]
|
@@ -3123,18 +2766,6 @@ module Aws::CodeCommit
|
|
3123
2766
|
include Aws::Structure
|
3124
2767
|
end
|
3125
2768
|
|
3126
|
-
# @note When making an API call, you may pass GetCommentsForPullRequestInput
|
3127
|
-
# data as a hash:
|
3128
|
-
#
|
3129
|
-
# {
|
3130
|
-
# pull_request_id: "PullRequestId", # required
|
3131
|
-
# repository_name: "RepositoryName",
|
3132
|
-
# before_commit_id: "CommitId",
|
3133
|
-
# after_commit_id: "CommitId",
|
3134
|
-
# next_token: "NextToken",
|
3135
|
-
# max_results: 1,
|
3136
|
-
# }
|
3137
|
-
#
|
3138
2769
|
# @!attribute [rw] pull_request_id
|
3139
2770
|
# The system-generated ID of the pull request. To get this ID, use
|
3140
2771
|
# ListPullRequests.
|
@@ -3198,14 +2829,6 @@ module Aws::CodeCommit
|
|
3198
2829
|
|
3199
2830
|
# Represents the input of a get commit operation.
|
3200
2831
|
#
|
3201
|
-
# @note When making an API call, you may pass GetCommitInput
|
3202
|
-
# data as a hash:
|
3203
|
-
#
|
3204
|
-
# {
|
3205
|
-
# repository_name: "RepositoryName", # required
|
3206
|
-
# commit_id: "ObjectId", # required
|
3207
|
-
# }
|
3208
|
-
#
|
3209
2832
|
# @!attribute [rw] repository_name
|
3210
2833
|
# The name of the repository to which the commit was made.
|
3211
2834
|
# @return [String]
|
@@ -3238,19 +2861,6 @@ module Aws::CodeCommit
|
|
3238
2861
|
include Aws::Structure
|
3239
2862
|
end
|
3240
2863
|
|
3241
|
-
# @note When making an API call, you may pass GetDifferencesInput
|
3242
|
-
# data as a hash:
|
3243
|
-
#
|
3244
|
-
# {
|
3245
|
-
# repository_name: "RepositoryName", # required
|
3246
|
-
# before_commit_specifier: "CommitName",
|
3247
|
-
# after_commit_specifier: "CommitName", # required
|
3248
|
-
# before_path: "Path",
|
3249
|
-
# after_path: "Path",
|
3250
|
-
# max_results: 1,
|
3251
|
-
# next_token: "NextToken",
|
3252
|
-
# }
|
3253
|
-
#
|
3254
2864
|
# @!attribute [rw] repository_name
|
3255
2865
|
# The name of the repository where you want to get differences.
|
3256
2866
|
# @return [String]
|
@@ -3326,15 +2936,6 @@ module Aws::CodeCommit
|
|
3326
2936
|
include Aws::Structure
|
3327
2937
|
end
|
3328
2938
|
|
3329
|
-
# @note When making an API call, you may pass GetFileInput
|
3330
|
-
# data as a hash:
|
3331
|
-
#
|
3332
|
-
# {
|
3333
|
-
# repository_name: "RepositoryName", # required
|
3334
|
-
# commit_specifier: "CommitName",
|
3335
|
-
# file_path: "Path", # required
|
3336
|
-
# }
|
3337
|
-
#
|
3338
2939
|
# @!attribute [rw] repository_name
|
3339
2940
|
# The name of the repository that contains the file.
|
3340
2941
|
# @return [String]
|
@@ -3409,15 +3010,6 @@ module Aws::CodeCommit
|
|
3409
3010
|
include Aws::Structure
|
3410
3011
|
end
|
3411
3012
|
|
3412
|
-
# @note When making an API call, you may pass GetFolderInput
|
3413
|
-
# data as a hash:
|
3414
|
-
#
|
3415
|
-
# {
|
3416
|
-
# repository_name: "RepositoryName", # required
|
3417
|
-
# commit_specifier: "CommitName",
|
3418
|
-
# folder_path: "Path", # required
|
3419
|
-
# }
|
3420
|
-
#
|
3421
3013
|
# @!attribute [rw] repository_name
|
3422
3014
|
# The name of the repository.
|
3423
3015
|
# @return [String]
|
@@ -3492,17 +3084,6 @@ module Aws::CodeCommit
|
|
3492
3084
|
include Aws::Structure
|
3493
3085
|
end
|
3494
3086
|
|
3495
|
-
# @note When making an API call, you may pass GetMergeCommitInput
|
3496
|
-
# data as a hash:
|
3497
|
-
#
|
3498
|
-
# {
|
3499
|
-
# repository_name: "RepositoryName", # required
|
3500
|
-
# source_commit_specifier: "CommitName", # required
|
3501
|
-
# destination_commit_specifier: "CommitName", # required
|
3502
|
-
# conflict_detail_level: "FILE_LEVEL", # accepts FILE_LEVEL, LINE_LEVEL
|
3503
|
-
# conflict_resolution_strategy: "NONE", # accepts NONE, ACCEPT_SOURCE, ACCEPT_DESTINATION, AUTOMERGE
|
3504
|
-
# }
|
3505
|
-
#
|
3506
3087
|
# @!attribute [rw] repository_name
|
3507
3088
|
# The name of the repository that contains the merge commit about
|
3508
3089
|
# which you want to get information.
|
@@ -3576,20 +3157,6 @@ module Aws::CodeCommit
|
|
3576
3157
|
include Aws::Structure
|
3577
3158
|
end
|
3578
3159
|
|
3579
|
-
# @note When making an API call, you may pass GetMergeConflictsInput
|
3580
|
-
# data as a hash:
|
3581
|
-
#
|
3582
|
-
# {
|
3583
|
-
# repository_name: "RepositoryName", # required
|
3584
|
-
# destination_commit_specifier: "CommitName", # required
|
3585
|
-
# source_commit_specifier: "CommitName", # required
|
3586
|
-
# merge_option: "FAST_FORWARD_MERGE", # required, accepts FAST_FORWARD_MERGE, SQUASH_MERGE, THREE_WAY_MERGE
|
3587
|
-
# conflict_detail_level: "FILE_LEVEL", # accepts FILE_LEVEL, LINE_LEVEL
|
3588
|
-
# max_conflict_files: 1,
|
3589
|
-
# conflict_resolution_strategy: "NONE", # accepts NONE, ACCEPT_SOURCE, ACCEPT_DESTINATION, AUTOMERGE
|
3590
|
-
# next_token: "NextToken",
|
3591
|
-
# }
|
3592
|
-
#
|
3593
3160
|
# @!attribute [rw] repository_name
|
3594
3161
|
# The name of the repository where the pull request was created.
|
3595
3162
|
# @return [String]
|
@@ -3689,17 +3256,6 @@ module Aws::CodeCommit
|
|
3689
3256
|
include Aws::Structure
|
3690
3257
|
end
|
3691
3258
|
|
3692
|
-
# @note When making an API call, you may pass GetMergeOptionsInput
|
3693
|
-
# data as a hash:
|
3694
|
-
#
|
3695
|
-
# {
|
3696
|
-
# repository_name: "RepositoryName", # required
|
3697
|
-
# source_commit_specifier: "CommitName", # required
|
3698
|
-
# destination_commit_specifier: "CommitName", # required
|
3699
|
-
# conflict_detail_level: "FILE_LEVEL", # accepts FILE_LEVEL, LINE_LEVEL
|
3700
|
-
# conflict_resolution_strategy: "NONE", # accepts NONE, ACCEPT_SOURCE, ACCEPT_DESTINATION, AUTOMERGE
|
3701
|
-
# }
|
3702
|
-
#
|
3703
3259
|
# @!attribute [rw] repository_name
|
3704
3260
|
# The name of the repository that contains the commits about which you
|
3705
3261
|
# want to get merge options.
|
@@ -3771,14 +3327,6 @@ module Aws::CodeCommit
|
|
3771
3327
|
include Aws::Structure
|
3772
3328
|
end
|
3773
3329
|
|
3774
|
-
# @note When making an API call, you may pass GetPullRequestApprovalStatesInput
|
3775
|
-
# data as a hash:
|
3776
|
-
#
|
3777
|
-
# {
|
3778
|
-
# pull_request_id: "PullRequestId", # required
|
3779
|
-
# revision_id: "RevisionId", # required
|
3780
|
-
# }
|
3781
|
-
#
|
3782
3330
|
# @!attribute [rw] pull_request_id
|
3783
3331
|
# The system-generated ID for the pull request.
|
3784
3332
|
# @return [String]
|
@@ -3808,13 +3356,6 @@ module Aws::CodeCommit
|
|
3808
3356
|
include Aws::Structure
|
3809
3357
|
end
|
3810
3358
|
|
3811
|
-
# @note When making an API call, you may pass GetPullRequestInput
|
3812
|
-
# data as a hash:
|
3813
|
-
#
|
3814
|
-
# {
|
3815
|
-
# pull_request_id: "PullRequestId", # required
|
3816
|
-
# }
|
3817
|
-
#
|
3818
3359
|
# @!attribute [rw] pull_request_id
|
3819
3360
|
# The system-generated ID of the pull request. To get this ID, use
|
3820
3361
|
# ListPullRequests.
|
@@ -3840,14 +3381,6 @@ module Aws::CodeCommit
|
|
3840
3381
|
include Aws::Structure
|
3841
3382
|
end
|
3842
3383
|
|
3843
|
-
# @note When making an API call, you may pass GetPullRequestOverrideStateInput
|
3844
|
-
# data as a hash:
|
3845
|
-
#
|
3846
|
-
# {
|
3847
|
-
# pull_request_id: "PullRequestId", # required
|
3848
|
-
# revision_id: "RevisionId", # required
|
3849
|
-
# }
|
3850
|
-
#
|
3851
3384
|
# @!attribute [rw] pull_request_id
|
3852
3385
|
# The ID of the pull request for which you want to get information
|
3853
3386
|
# about whether approval rules have been set aside (overridden).
|
@@ -3889,13 +3422,6 @@ module Aws::CodeCommit
|
|
3889
3422
|
|
3890
3423
|
# Represents the input of a get repository operation.
|
3891
3424
|
#
|
3892
|
-
# @note When making an API call, you may pass GetRepositoryInput
|
3893
|
-
# data as a hash:
|
3894
|
-
#
|
3895
|
-
# {
|
3896
|
-
# repository_name: "RepositoryName", # required
|
3897
|
-
# }
|
3898
|
-
#
|
3899
3425
|
# @!attribute [rw] repository_name
|
3900
3426
|
# The name of the repository to get information about.
|
3901
3427
|
# @return [String]
|
@@ -3924,13 +3450,6 @@ module Aws::CodeCommit
|
|
3924
3450
|
|
3925
3451
|
# Represents the input of a get repository triggers operation.
|
3926
3452
|
#
|
3927
|
-
# @note When making an API call, you may pass GetRepositoryTriggersInput
|
3928
|
-
# data as a hash:
|
3929
|
-
#
|
3930
|
-
# {
|
3931
|
-
# repository_name: "RepositoryName", # required
|
3932
|
-
# }
|
3933
|
-
#
|
3934
3453
|
# @!attribute [rw] repository_name
|
3935
3454
|
# The name of the repository for which the trigger is configured.
|
3936
3455
|
# @return [String]
|
@@ -4455,14 +3974,6 @@ module Aws::CodeCommit
|
|
4455
3974
|
include Aws::Structure
|
4456
3975
|
end
|
4457
3976
|
|
4458
|
-
# @note When making an API call, you may pass ListApprovalRuleTemplatesInput
|
4459
|
-
# data as a hash:
|
4460
|
-
#
|
4461
|
-
# {
|
4462
|
-
# next_token: "NextToken",
|
4463
|
-
# max_results: 1,
|
4464
|
-
# }
|
4465
|
-
#
|
4466
3977
|
# @!attribute [rw] next_token
|
4467
3978
|
# An enumeration token that, when provided in a request, returns the
|
4468
3979
|
# next batch of the results.
|
@@ -4501,15 +4012,6 @@ module Aws::CodeCommit
|
|
4501
4012
|
include Aws::Structure
|
4502
4013
|
end
|
4503
4014
|
|
4504
|
-
# @note When making an API call, you may pass ListAssociatedApprovalRuleTemplatesForRepositoryInput
|
4505
|
-
# data as a hash:
|
4506
|
-
#
|
4507
|
-
# {
|
4508
|
-
# repository_name: "RepositoryName", # required
|
4509
|
-
# next_token: "NextToken",
|
4510
|
-
# max_results: 1,
|
4511
|
-
# }
|
4512
|
-
#
|
4513
4015
|
# @!attribute [rw] repository_name
|
4514
4016
|
# The name of the repository for which you want to list all associated
|
4515
4017
|
# approval rule templates.
|
@@ -4556,14 +4058,6 @@ module Aws::CodeCommit
|
|
4556
4058
|
|
4557
4059
|
# Represents the input of a list branches operation.
|
4558
4060
|
#
|
4559
|
-
# @note When making an API call, you may pass ListBranchesInput
|
4560
|
-
# data as a hash:
|
4561
|
-
#
|
4562
|
-
# {
|
4563
|
-
# repository_name: "RepositoryName", # required
|
4564
|
-
# next_token: "NextToken",
|
4565
|
-
# }
|
4566
|
-
#
|
4567
4061
|
# @!attribute [rw] repository_name
|
4568
4062
|
# The name of the repository that contains the branches.
|
4569
4063
|
# @return [String]
|
@@ -4600,17 +4094,6 @@ module Aws::CodeCommit
|
|
4600
4094
|
include Aws::Structure
|
4601
4095
|
end
|
4602
4096
|
|
4603
|
-
# @note When making an API call, you may pass ListPullRequestsInput
|
4604
|
-
# data as a hash:
|
4605
|
-
#
|
4606
|
-
# {
|
4607
|
-
# repository_name: "RepositoryName", # required
|
4608
|
-
# author_arn: "Arn",
|
4609
|
-
# pull_request_status: "OPEN", # accepts OPEN, CLOSED
|
4610
|
-
# next_token: "NextToken",
|
4611
|
-
# max_results: 1,
|
4612
|
-
# }
|
4613
|
-
#
|
4614
4097
|
# @!attribute [rw] repository_name
|
4615
4098
|
# The name of the repository for which you want to list pull requests.
|
4616
4099
|
# @return [String]
|
@@ -4666,15 +4149,6 @@ module Aws::CodeCommit
|
|
4666
4149
|
include Aws::Structure
|
4667
4150
|
end
|
4668
4151
|
|
4669
|
-
# @note When making an API call, you may pass ListRepositoriesForApprovalRuleTemplateInput
|
4670
|
-
# data as a hash:
|
4671
|
-
#
|
4672
|
-
# {
|
4673
|
-
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
4674
|
-
# next_token: "NextToken",
|
4675
|
-
# max_results: 1,
|
4676
|
-
# }
|
4677
|
-
#
|
4678
4152
|
# @!attribute [rw] approval_rule_template_name
|
4679
4153
|
# The name of the approval rule template for which you want to list
|
4680
4154
|
# repositories that are associated with that template.
|
@@ -4721,15 +4195,6 @@ module Aws::CodeCommit
|
|
4721
4195
|
|
4722
4196
|
# Represents the input of a list repositories operation.
|
4723
4197
|
#
|
4724
|
-
# @note When making an API call, you may pass ListRepositoriesInput
|
4725
|
-
# data as a hash:
|
4726
|
-
#
|
4727
|
-
# {
|
4728
|
-
# next_token: "NextToken",
|
4729
|
-
# sort_by: "repositoryName", # accepts repositoryName, lastModifiedDate
|
4730
|
-
# order: "ascending", # accepts ascending, descending
|
4731
|
-
# }
|
4732
|
-
#
|
4733
4198
|
# @!attribute [rw] next_token
|
4734
4199
|
# An enumeration token that allows the operation to batch the results
|
4735
4200
|
# of the operation. Batch sizes are 1,000 for list repository
|
@@ -4779,14 +4244,6 @@ module Aws::CodeCommit
|
|
4779
4244
|
include Aws::Structure
|
4780
4245
|
end
|
4781
4246
|
|
4782
|
-
# @note When making an API call, you may pass ListTagsForResourceInput
|
4783
|
-
# data as a hash:
|
4784
|
-
#
|
4785
|
-
# {
|
4786
|
-
# resource_arn: "ResourceArn", # required
|
4787
|
-
# next_token: "NextToken",
|
4788
|
-
# }
|
4789
|
-
#
|
4790
4247
|
# @!attribute [rw] resource_arn
|
4791
4248
|
# The Amazon Resource Name (ARN) of the resource for which you want to
|
4792
4249
|
# get information about tags, if any.
|
@@ -4828,15 +4285,6 @@ module Aws::CodeCommit
|
|
4828
4285
|
# Returns information about the location of a change or comment in the
|
4829
4286
|
# comparison between two commits or a pull request.
|
4830
4287
|
#
|
4831
|
-
# @note When making an API call, you may pass Location
|
4832
|
-
# data as a hash:
|
4833
|
-
#
|
4834
|
-
# {
|
4835
|
-
# file_path: "Path",
|
4836
|
-
# file_position: 1,
|
4837
|
-
# relative_file_version: "BEFORE", # accepts BEFORE, AFTER
|
4838
|
-
# }
|
4839
|
-
#
|
4840
4288
|
# @!attribute [rw] file_path
|
4841
4289
|
# The name of the file being compared, including its extension and
|
4842
4290
|
# subdirectory, if any.
|
@@ -4939,16 +4387,6 @@ module Aws::CodeCommit
|
|
4939
4387
|
#
|
4940
4388
|
class MaximumRuleTemplatesAssociatedWithRepositoryException < Aws::EmptyStructure; end
|
4941
4389
|
|
4942
|
-
# @note When making an API call, you may pass MergeBranchesByFastForwardInput
|
4943
|
-
# data as a hash:
|
4944
|
-
#
|
4945
|
-
# {
|
4946
|
-
# repository_name: "RepositoryName", # required
|
4947
|
-
# source_commit_specifier: "CommitName", # required
|
4948
|
-
# destination_commit_specifier: "CommitName", # required
|
4949
|
-
# target_branch: "BranchName",
|
4950
|
-
# }
|
4951
|
-
#
|
4952
4390
|
# @!attribute [rw] repository_name
|
4953
4391
|
# The name of the repository where you want to merge two branches.
|
4954
4392
|
# @return [String]
|
@@ -4995,43 +4433,6 @@ module Aws::CodeCommit
|
|
4995
4433
|
include Aws::Structure
|
4996
4434
|
end
|
4997
4435
|
|
4998
|
-
# @note When making an API call, you may pass MergeBranchesBySquashInput
|
4999
|
-
# data as a hash:
|
5000
|
-
#
|
5001
|
-
# {
|
5002
|
-
# repository_name: "RepositoryName", # required
|
5003
|
-
# source_commit_specifier: "CommitName", # required
|
5004
|
-
# destination_commit_specifier: "CommitName", # required
|
5005
|
-
# target_branch: "BranchName",
|
5006
|
-
# conflict_detail_level: "FILE_LEVEL", # accepts FILE_LEVEL, LINE_LEVEL
|
5007
|
-
# conflict_resolution_strategy: "NONE", # accepts NONE, ACCEPT_SOURCE, ACCEPT_DESTINATION, AUTOMERGE
|
5008
|
-
# author_name: "Name",
|
5009
|
-
# email: "Email",
|
5010
|
-
# commit_message: "Message",
|
5011
|
-
# keep_empty_folders: false,
|
5012
|
-
# conflict_resolution: {
|
5013
|
-
# replace_contents: [
|
5014
|
-
# {
|
5015
|
-
# file_path: "Path", # required
|
5016
|
-
# replacement_type: "KEEP_BASE", # required, accepts KEEP_BASE, KEEP_SOURCE, KEEP_DESTINATION, USE_NEW_CONTENT
|
5017
|
-
# content: "data",
|
5018
|
-
# file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
|
5019
|
-
# },
|
5020
|
-
# ],
|
5021
|
-
# delete_files: [
|
5022
|
-
# {
|
5023
|
-
# file_path: "Path", # required
|
5024
|
-
# },
|
5025
|
-
# ],
|
5026
|
-
# set_file_modes: [
|
5027
|
-
# {
|
5028
|
-
# file_path: "Path", # required
|
5029
|
-
# file_mode: "EXECUTABLE", # required, accepts EXECUTABLE, NORMAL, SYMLINK
|
5030
|
-
# },
|
5031
|
-
# ],
|
5032
|
-
# },
|
5033
|
-
# }
|
5034
|
-
#
|
5035
4436
|
# @!attribute [rw] repository_name
|
5036
4437
|
# The name of the repository where you want to merge two branches.
|
5037
4438
|
# @return [String]
|
@@ -5126,43 +4527,6 @@ module Aws::CodeCommit
|
|
5126
4527
|
include Aws::Structure
|
5127
4528
|
end
|
5128
4529
|
|
5129
|
-
# @note When making an API call, you may pass MergeBranchesByThreeWayInput
|
5130
|
-
# data as a hash:
|
5131
|
-
#
|
5132
|
-
# {
|
5133
|
-
# repository_name: "RepositoryName", # required
|
5134
|
-
# source_commit_specifier: "CommitName", # required
|
5135
|
-
# destination_commit_specifier: "CommitName", # required
|
5136
|
-
# target_branch: "BranchName",
|
5137
|
-
# conflict_detail_level: "FILE_LEVEL", # accepts FILE_LEVEL, LINE_LEVEL
|
5138
|
-
# conflict_resolution_strategy: "NONE", # accepts NONE, ACCEPT_SOURCE, ACCEPT_DESTINATION, AUTOMERGE
|
5139
|
-
# author_name: "Name",
|
5140
|
-
# email: "Email",
|
5141
|
-
# commit_message: "Message",
|
5142
|
-
# keep_empty_folders: false,
|
5143
|
-
# conflict_resolution: {
|
5144
|
-
# replace_contents: [
|
5145
|
-
# {
|
5146
|
-
# file_path: "Path", # required
|
5147
|
-
# replacement_type: "KEEP_BASE", # required, accepts KEEP_BASE, KEEP_SOURCE, KEEP_DESTINATION, USE_NEW_CONTENT
|
5148
|
-
# content: "data",
|
5149
|
-
# file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
|
5150
|
-
# },
|
5151
|
-
# ],
|
5152
|
-
# delete_files: [
|
5153
|
-
# {
|
5154
|
-
# file_path: "Path", # required
|
5155
|
-
# },
|
5156
|
-
# ],
|
5157
|
-
# set_file_modes: [
|
5158
|
-
# {
|
5159
|
-
# file_path: "Path", # required
|
5160
|
-
# file_mode: "EXECUTABLE", # required, accepts EXECUTABLE, NORMAL, SYMLINK
|
5161
|
-
# },
|
5162
|
-
# ],
|
5163
|
-
# },
|
5164
|
-
# }
|
5165
|
-
#
|
5166
4530
|
# @!attribute [rw] repository_name
|
5167
4531
|
# The name of the repository where you want to merge two branches.
|
5168
4532
|
# @return [String]
|
@@ -5377,15 +4741,6 @@ module Aws::CodeCommit
|
|
5377
4741
|
#
|
5378
4742
|
class MergeOptionRequiredException < Aws::EmptyStructure; end
|
5379
4743
|
|
5380
|
-
# @note When making an API call, you may pass MergePullRequestByFastForwardInput
|
5381
|
-
# data as a hash:
|
5382
|
-
#
|
5383
|
-
# {
|
5384
|
-
# pull_request_id: "PullRequestId", # required
|
5385
|
-
# repository_name: "RepositoryName", # required
|
5386
|
-
# source_commit_id: "ObjectId",
|
5387
|
-
# }
|
5388
|
-
#
|
5389
4744
|
# @!attribute [rw] pull_request_id
|
5390
4745
|
# The system-generated ID of the pull request. To get this ID, use
|
5391
4746
|
# ListPullRequests.
|
@@ -5424,42 +4779,6 @@ module Aws::CodeCommit
|
|
5424
4779
|
include Aws::Structure
|
5425
4780
|
end
|
5426
4781
|
|
5427
|
-
# @note When making an API call, you may pass MergePullRequestBySquashInput
|
5428
|
-
# data as a hash:
|
5429
|
-
#
|
5430
|
-
# {
|
5431
|
-
# pull_request_id: "PullRequestId", # required
|
5432
|
-
# repository_name: "RepositoryName", # required
|
5433
|
-
# source_commit_id: "ObjectId",
|
5434
|
-
# conflict_detail_level: "FILE_LEVEL", # accepts FILE_LEVEL, LINE_LEVEL
|
5435
|
-
# conflict_resolution_strategy: "NONE", # accepts NONE, ACCEPT_SOURCE, ACCEPT_DESTINATION, AUTOMERGE
|
5436
|
-
# commit_message: "Message",
|
5437
|
-
# author_name: "Name",
|
5438
|
-
# email: "Email",
|
5439
|
-
# keep_empty_folders: false,
|
5440
|
-
# conflict_resolution: {
|
5441
|
-
# replace_contents: [
|
5442
|
-
# {
|
5443
|
-
# file_path: "Path", # required
|
5444
|
-
# replacement_type: "KEEP_BASE", # required, accepts KEEP_BASE, KEEP_SOURCE, KEEP_DESTINATION, USE_NEW_CONTENT
|
5445
|
-
# content: "data",
|
5446
|
-
# file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
|
5447
|
-
# },
|
5448
|
-
# ],
|
5449
|
-
# delete_files: [
|
5450
|
-
# {
|
5451
|
-
# file_path: "Path", # required
|
5452
|
-
# },
|
5453
|
-
# ],
|
5454
|
-
# set_file_modes: [
|
5455
|
-
# {
|
5456
|
-
# file_path: "Path", # required
|
5457
|
-
# file_mode: "EXECUTABLE", # required, accepts EXECUTABLE, NORMAL, SYMLINK
|
5458
|
-
# },
|
5459
|
-
# ],
|
5460
|
-
# },
|
5461
|
-
# }
|
5462
|
-
#
|
5463
4782
|
# @!attribute [rw] pull_request_id
|
5464
4783
|
# The system-generated ID of the pull request. To get this ID, use
|
5465
4784
|
# ListPullRequests.
|
@@ -5546,42 +4865,6 @@ module Aws::CodeCommit
|
|
5546
4865
|
include Aws::Structure
|
5547
4866
|
end
|
5548
4867
|
|
5549
|
-
# @note When making an API call, you may pass MergePullRequestByThreeWayInput
|
5550
|
-
# data as a hash:
|
5551
|
-
#
|
5552
|
-
# {
|
5553
|
-
# pull_request_id: "PullRequestId", # required
|
5554
|
-
# repository_name: "RepositoryName", # required
|
5555
|
-
# source_commit_id: "ObjectId",
|
5556
|
-
# conflict_detail_level: "FILE_LEVEL", # accepts FILE_LEVEL, LINE_LEVEL
|
5557
|
-
# conflict_resolution_strategy: "NONE", # accepts NONE, ACCEPT_SOURCE, ACCEPT_DESTINATION, AUTOMERGE
|
5558
|
-
# commit_message: "Message",
|
5559
|
-
# author_name: "Name",
|
5560
|
-
# email: "Email",
|
5561
|
-
# keep_empty_folders: false,
|
5562
|
-
# conflict_resolution: {
|
5563
|
-
# replace_contents: [
|
5564
|
-
# {
|
5565
|
-
# file_path: "Path", # required
|
5566
|
-
# replacement_type: "KEEP_BASE", # required, accepts KEEP_BASE, KEEP_SOURCE, KEEP_DESTINATION, USE_NEW_CONTENT
|
5567
|
-
# content: "data",
|
5568
|
-
# file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
|
5569
|
-
# },
|
5570
|
-
# ],
|
5571
|
-
# delete_files: [
|
5572
|
-
# {
|
5573
|
-
# file_path: "Path", # required
|
5574
|
-
# },
|
5575
|
-
# ],
|
5576
|
-
# set_file_modes: [
|
5577
|
-
# {
|
5578
|
-
# file_path: "Path", # required
|
5579
|
-
# file_mode: "EXECUTABLE", # required, accepts EXECUTABLE, NORMAL, SYMLINK
|
5580
|
-
# },
|
5581
|
-
# ],
|
5582
|
-
# },
|
5583
|
-
# }
|
5584
|
-
#
|
5585
4868
|
# @!attribute [rw] pull_request_id
|
5586
4869
|
# The system-generated ID of the pull request. To get this ID, use
|
5587
4870
|
# ListPullRequests.
|
@@ -5762,15 +5045,6 @@ module Aws::CodeCommit
|
|
5762
5045
|
#
|
5763
5046
|
class OverrideAlreadySetException < Aws::EmptyStructure; end
|
5764
5047
|
|
5765
|
-
# @note When making an API call, you may pass OverridePullRequestApprovalRulesInput
|
5766
|
-
# data as a hash:
|
5767
|
-
#
|
5768
|
-
# {
|
5769
|
-
# pull_request_id: "PullRequestId", # required
|
5770
|
-
# revision_id: "RevisionId", # required
|
5771
|
-
# override_status: "OVERRIDE", # required, accepts OVERRIDE, REVOKE
|
5772
|
-
# }
|
5773
|
-
#
|
5774
5048
|
# @!attribute [rw] pull_request_id
|
5775
5049
|
# The system-generated ID of the pull request for which you want to
|
5776
5050
|
# override all approval rule requirements. To get this information,
|
@@ -5843,22 +5117,6 @@ module Aws::CodeCommit
|
|
5843
5117
|
#
|
5844
5118
|
class PathRequiredException < Aws::EmptyStructure; end
|
5845
5119
|
|
5846
|
-
# @note When making an API call, you may pass PostCommentForComparedCommitInput
|
5847
|
-
# data as a hash:
|
5848
|
-
#
|
5849
|
-
# {
|
5850
|
-
# repository_name: "RepositoryName", # required
|
5851
|
-
# before_commit_id: "CommitId",
|
5852
|
-
# after_commit_id: "CommitId", # required
|
5853
|
-
# location: {
|
5854
|
-
# file_path: "Path",
|
5855
|
-
# file_position: 1,
|
5856
|
-
# relative_file_version: "BEFORE", # accepts BEFORE, AFTER
|
5857
|
-
# },
|
5858
|
-
# content: "Content", # required
|
5859
|
-
# client_request_token: "ClientRequestToken",
|
5860
|
-
# }
|
5861
|
-
#
|
5862
5120
|
# @!attribute [rw] repository_name
|
5863
5121
|
# The name of the repository where you want to post a comment on the
|
5864
5122
|
# comparison between commits.
|
@@ -5955,23 +5213,6 @@ module Aws::CodeCommit
|
|
5955
5213
|
include Aws::Structure
|
5956
5214
|
end
|
5957
5215
|
|
5958
|
-
# @note When making an API call, you may pass PostCommentForPullRequestInput
|
5959
|
-
# data as a hash:
|
5960
|
-
#
|
5961
|
-
# {
|
5962
|
-
# pull_request_id: "PullRequestId", # required
|
5963
|
-
# repository_name: "RepositoryName", # required
|
5964
|
-
# before_commit_id: "CommitId", # required
|
5965
|
-
# after_commit_id: "CommitId", # required
|
5966
|
-
# location: {
|
5967
|
-
# file_path: "Path",
|
5968
|
-
# file_position: 1,
|
5969
|
-
# relative_file_version: "BEFORE", # accepts BEFORE, AFTER
|
5970
|
-
# },
|
5971
|
-
# content: "Content", # required
|
5972
|
-
# client_request_token: "ClientRequestToken",
|
5973
|
-
# }
|
5974
|
-
#
|
5975
5216
|
# @!attribute [rw] pull_request_id
|
5976
5217
|
# The system-generated ID of the pull request. To get this ID, use
|
5977
5218
|
# ListPullRequests.
|
@@ -6082,15 +5323,6 @@ module Aws::CodeCommit
|
|
6082
5323
|
include Aws::Structure
|
6083
5324
|
end
|
6084
5325
|
|
6085
|
-
# @note When making an API call, you may pass PostCommentReplyInput
|
6086
|
-
# data as a hash:
|
6087
|
-
#
|
6088
|
-
# {
|
6089
|
-
# in_reply_to: "CommentId", # required
|
6090
|
-
# client_request_token: "ClientRequestToken",
|
6091
|
-
# content: "Content", # required
|
6092
|
-
# }
|
6093
|
-
#
|
6094
5326
|
# @!attribute [rw] in_reply_to
|
6095
5327
|
# The system-generated ID of the comment to which you want to reply.
|
6096
5328
|
# To get this ID, use GetCommentsForComparedCommit or
|
@@ -6481,14 +5713,6 @@ module Aws::CodeCommit
|
|
6481
5713
|
include Aws::Structure
|
6482
5714
|
end
|
6483
5715
|
|
6484
|
-
# @note When making an API call, you may pass PutCommentReactionInput
|
6485
|
-
# data as a hash:
|
6486
|
-
#
|
6487
|
-
# {
|
6488
|
-
# comment_id: "CommentId", # required
|
6489
|
-
# reaction_value: "ReactionValue", # required
|
6490
|
-
# }
|
6491
|
-
#
|
6492
5716
|
# @!attribute [rw] comment_id
|
6493
5717
|
# The ID of the comment to which you want to add or update a reaction.
|
6494
5718
|
# @return [String]
|
@@ -6515,19 +5739,6 @@ module Aws::CodeCommit
|
|
6515
5739
|
|
6516
5740
|
# Information about a file added or updated as part of a commit.
|
6517
5741
|
#
|
6518
|
-
# @note When making an API call, you may pass PutFileEntry
|
6519
|
-
# data as a hash:
|
6520
|
-
#
|
6521
|
-
# {
|
6522
|
-
# file_path: "Path", # required
|
6523
|
-
# file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
|
6524
|
-
# file_content: "data",
|
6525
|
-
# source_file: {
|
6526
|
-
# file_path: "Path", # required
|
6527
|
-
# is_move: false,
|
6528
|
-
# },
|
6529
|
-
# }
|
6530
|
-
#
|
6531
5742
|
# @!attribute [rw] file_path
|
6532
5743
|
# The full path to the file in the repository, including the name of
|
6533
5744
|
# the file.
|
@@ -6566,21 +5777,6 @@ module Aws::CodeCommit
|
|
6566
5777
|
#
|
6567
5778
|
class PutFileEntryConflictException < Aws::EmptyStructure; end
|
6568
5779
|
|
6569
|
-
# @note When making an API call, you may pass PutFileInput
|
6570
|
-
# data as a hash:
|
6571
|
-
#
|
6572
|
-
# {
|
6573
|
-
# repository_name: "RepositoryName", # required
|
6574
|
-
# branch_name: "BranchName", # required
|
6575
|
-
# file_content: "data", # required
|
6576
|
-
# file_path: "Path", # required
|
6577
|
-
# file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
|
6578
|
-
# parent_commit_id: "CommitId",
|
6579
|
-
# commit_message: "Message",
|
6580
|
-
# name: "Name",
|
6581
|
-
# email: "Email",
|
6582
|
-
# }
|
6583
|
-
#
|
6584
5780
|
# @!attribute [rw] repository_name
|
6585
5781
|
# The name of the repository where you want to add or update the file.
|
6586
5782
|
# @return [String]
|
@@ -6677,22 +5873,6 @@ module Aws::CodeCommit
|
|
6677
5873
|
|
6678
5874
|
# Represents the input of a put repository triggers operation.
|
6679
5875
|
#
|
6680
|
-
# @note When making an API call, you may pass PutRepositoryTriggersInput
|
6681
|
-
# data as a hash:
|
6682
|
-
#
|
6683
|
-
# {
|
6684
|
-
# repository_name: "RepositoryName", # required
|
6685
|
-
# triggers: [ # required
|
6686
|
-
# {
|
6687
|
-
# name: "RepositoryTriggerName", # required
|
6688
|
-
# destination_arn: "Arn", # required
|
6689
|
-
# custom_data: "RepositoryTriggerCustomData",
|
6690
|
-
# branches: ["BranchName"],
|
6691
|
-
# events: ["all"], # required, accepts all, updateReference, createReference, deleteReference
|
6692
|
-
# },
|
6693
|
-
# ],
|
6694
|
-
# }
|
6695
|
-
#
|
6696
5876
|
# @!attribute [rw] repository_name
|
6697
5877
|
# The name of the repository where you want to create or update the
|
6698
5878
|
# trigger.
|
@@ -6815,16 +5995,6 @@ module Aws::CodeCommit
|
|
6815
5995
|
# Information about a replacement content entry in the conflict of a
|
6816
5996
|
# merge or pull request operation.
|
6817
5997
|
#
|
6818
|
-
# @note When making an API call, you may pass ReplaceContentEntry
|
6819
|
-
# data as a hash:
|
6820
|
-
#
|
6821
|
-
# {
|
6822
|
-
# file_path: "Path", # required
|
6823
|
-
# replacement_type: "KEEP_BASE", # required, accepts KEEP_BASE, KEEP_SOURCE, KEEP_DESTINATION, USE_NEW_CONTENT
|
6824
|
-
# content: "data",
|
6825
|
-
# file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
|
6826
|
-
# }
|
6827
|
-
#
|
6828
5998
|
# @!attribute [rw] file_path
|
6829
5999
|
# The path of the conflicting file.
|
6830
6000
|
# @return [String]
|
@@ -6987,17 +6157,6 @@ module Aws::CodeCommit
|
|
6987
6157
|
|
6988
6158
|
# Information about a trigger for a repository.
|
6989
6159
|
#
|
6990
|
-
# @note When making an API call, you may pass RepositoryTrigger
|
6991
|
-
# data as a hash:
|
6992
|
-
#
|
6993
|
-
# {
|
6994
|
-
# name: "RepositoryTriggerName", # required
|
6995
|
-
# destination_arn: "Arn", # required
|
6996
|
-
# custom_data: "RepositoryTriggerCustomData",
|
6997
|
-
# branches: ["BranchName"],
|
6998
|
-
# events: ["all"], # required, accepts all, updateReference, createReference, deleteReference
|
6999
|
-
# }
|
7000
|
-
#
|
7001
6160
|
# @!attribute [rw] name
|
7002
6161
|
# The name of the trigger.
|
7003
6162
|
# @return [String]
|
@@ -7148,14 +6307,6 @@ module Aws::CodeCommit
|
|
7148
6307
|
|
7149
6308
|
# Information about the file mode changes.
|
7150
6309
|
#
|
7151
|
-
# @note When making an API call, you may pass SetFileModeEntry
|
7152
|
-
# data as a hash:
|
7153
|
-
#
|
7154
|
-
# {
|
7155
|
-
# file_path: "Path", # required
|
7156
|
-
# file_mode: "EXECUTABLE", # required, accepts EXECUTABLE, NORMAL, SYMLINK
|
7157
|
-
# }
|
7158
|
-
#
|
7159
6310
|
# @!attribute [rw] file_path
|
7160
6311
|
# The full path to the file, including the name of the file.
|
7161
6312
|
# @return [String]
|
@@ -7191,14 +6342,6 @@ module Aws::CodeCommit
|
|
7191
6342
|
# Information about a source file that is part of changes made in a
|
7192
6343
|
# commit.
|
7193
6344
|
#
|
7194
|
-
# @note When making an API call, you may pass SourceFileSpecifier
|
7195
|
-
# data as a hash:
|
7196
|
-
#
|
7197
|
-
# {
|
7198
|
-
# file_path: "Path", # required
|
7199
|
-
# is_move: false,
|
7200
|
-
# }
|
7201
|
-
#
|
7202
6345
|
# @!attribute [rw] file_path
|
7203
6346
|
# The full path to the file, including the name of the file.
|
7204
6347
|
# @return [String]
|
@@ -7287,16 +6430,6 @@ module Aws::CodeCommit
|
|
7287
6430
|
#
|
7288
6431
|
class TagPolicyException < Aws::EmptyStructure; end
|
7289
6432
|
|
7290
|
-
# @note When making an API call, you may pass TagResourceInput
|
7291
|
-
# data as a hash:
|
7292
|
-
#
|
7293
|
-
# {
|
7294
|
-
# resource_arn: "ResourceArn", # required
|
7295
|
-
# tags: { # required
|
7296
|
-
# "TagKey" => "TagValue",
|
7297
|
-
# },
|
7298
|
-
# }
|
7299
|
-
#
|
7300
6433
|
# @!attribute [rw] resource_arn
|
7301
6434
|
# The Amazon Resource Name (ARN) of the resource to which you want to
|
7302
6435
|
# add or update tags.
|
@@ -7323,15 +6456,6 @@ module Aws::CodeCommit
|
|
7323
6456
|
|
7324
6457
|
# Returns information about a target for a pull request.
|
7325
6458
|
#
|
7326
|
-
# @note When making an API call, you may pass Target
|
7327
|
-
# data as a hash:
|
7328
|
-
#
|
7329
|
-
# {
|
7330
|
-
# repository_name: "RepositoryName", # required
|
7331
|
-
# source_reference: "ReferenceName", # required
|
7332
|
-
# destination_reference: "ReferenceName",
|
7333
|
-
# }
|
7334
|
-
#
|
7335
6459
|
# @!attribute [rw] repository_name
|
7336
6460
|
# The name of the repository that contains the pull request.
|
7337
6461
|
# @return [String]
|
@@ -7372,22 +6496,6 @@ module Aws::CodeCommit
|
|
7372
6496
|
|
7373
6497
|
# Represents the input of a test repository triggers operation.
|
7374
6498
|
#
|
7375
|
-
# @note When making an API call, you may pass TestRepositoryTriggersInput
|
7376
|
-
# data as a hash:
|
7377
|
-
#
|
7378
|
-
# {
|
7379
|
-
# repository_name: "RepositoryName", # required
|
7380
|
-
# triggers: [ # required
|
7381
|
-
# {
|
7382
|
-
# name: "RepositoryTriggerName", # required
|
7383
|
-
# destination_arn: "Arn", # required
|
7384
|
-
# custom_data: "RepositoryTriggerCustomData",
|
7385
|
-
# branches: ["BranchName"],
|
7386
|
-
# events: ["all"], # required, accepts all, updateReference, createReference, deleteReference
|
7387
|
-
# },
|
7388
|
-
# ],
|
7389
|
-
# }
|
7390
|
-
#
|
7391
6499
|
# @!attribute [rw] repository_name
|
7392
6500
|
# The name of the repository in which to test the triggers.
|
7393
6501
|
# @return [String]
|
@@ -7457,14 +6565,6 @@ module Aws::CodeCommit
|
|
7457
6565
|
#
|
7458
6566
|
class TooManyTagsException < Aws::EmptyStructure; end
|
7459
6567
|
|
7460
|
-
# @note When making an API call, you may pass UntagResourceInput
|
7461
|
-
# data as a hash:
|
7462
|
-
#
|
7463
|
-
# {
|
7464
|
-
# resource_arn: "ResourceArn", # required
|
7465
|
-
# tag_keys: ["TagKey"], # required
|
7466
|
-
# }
|
7467
|
-
#
|
7468
6568
|
# @!attribute [rw] resource_arn
|
7469
6569
|
# The Amazon Resource Name (ARN) of the resource to which you want to
|
7470
6570
|
# remove tags.
|
@@ -7483,15 +6583,6 @@ module Aws::CodeCommit
|
|
7483
6583
|
include Aws::Structure
|
7484
6584
|
end
|
7485
6585
|
|
7486
|
-
# @note When making an API call, you may pass UpdateApprovalRuleTemplateContentInput
|
7487
|
-
# data as a hash:
|
7488
|
-
#
|
7489
|
-
# {
|
7490
|
-
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
7491
|
-
# new_rule_content: "ApprovalRuleTemplateContent", # required
|
7492
|
-
# existing_rule_content_sha_256: "RuleContentSha256",
|
7493
|
-
# }
|
7494
|
-
#
|
7495
6586
|
# @!attribute [rw] approval_rule_template_name
|
7496
6587
|
# The name of the approval rule template where you want to update the
|
7497
6588
|
# content of the rule.
|
@@ -7529,14 +6620,6 @@ module Aws::CodeCommit
|
|
7529
6620
|
include Aws::Structure
|
7530
6621
|
end
|
7531
6622
|
|
7532
|
-
# @note When making an API call, you may pass UpdateApprovalRuleTemplateDescriptionInput
|
7533
|
-
# data as a hash:
|
7534
|
-
#
|
7535
|
-
# {
|
7536
|
-
# approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
7537
|
-
# approval_rule_template_description: "ApprovalRuleTemplateDescription", # required
|
7538
|
-
# }
|
7539
|
-
#
|
7540
6623
|
# @!attribute [rw] approval_rule_template_name
|
7541
6624
|
# The name of the template for which you want to update the
|
7542
6625
|
# description.
|
@@ -7567,14 +6650,6 @@ module Aws::CodeCommit
|
|
7567
6650
|
include Aws::Structure
|
7568
6651
|
end
|
7569
6652
|
|
7570
|
-
# @note When making an API call, you may pass UpdateApprovalRuleTemplateNameInput
|
7571
|
-
# data as a hash:
|
7572
|
-
#
|
7573
|
-
# {
|
7574
|
-
# old_approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
7575
|
-
# new_approval_rule_template_name: "ApprovalRuleTemplateName", # required
|
7576
|
-
# }
|
7577
|
-
#
|
7578
6653
|
# @!attribute [rw] old_approval_rule_template_name
|
7579
6654
|
# The current name of the approval rule template.
|
7580
6655
|
# @return [String]
|
@@ -7604,14 +6679,6 @@ module Aws::CodeCommit
|
|
7604
6679
|
include Aws::Structure
|
7605
6680
|
end
|
7606
6681
|
|
7607
|
-
# @note When making an API call, you may pass UpdateCommentInput
|
7608
|
-
# data as a hash:
|
7609
|
-
#
|
7610
|
-
# {
|
7611
|
-
# comment_id: "CommentId", # required
|
7612
|
-
# content: "Content", # required
|
7613
|
-
# }
|
7614
|
-
#
|
7615
6682
|
# @!attribute [rw] comment_id
|
7616
6683
|
# The system-generated ID of the comment you want to update. To get
|
7617
6684
|
# this ID, use GetCommentsForComparedCommit or
|
@@ -7645,14 +6712,6 @@ module Aws::CodeCommit
|
|
7645
6712
|
|
7646
6713
|
# Represents the input of an update default branch operation.
|
7647
6714
|
#
|
7648
|
-
# @note When making an API call, you may pass UpdateDefaultBranchInput
|
7649
|
-
# data as a hash:
|
7650
|
-
#
|
7651
|
-
# {
|
7652
|
-
# repository_name: "RepositoryName", # required
|
7653
|
-
# default_branch_name: "BranchName", # required
|
7654
|
-
# }
|
7655
|
-
#
|
7656
6715
|
# @!attribute [rw] repository_name
|
7657
6716
|
# The name of the repository to set or change the default branch for.
|
7658
6717
|
# @return [String]
|
@@ -7670,16 +6729,6 @@ module Aws::CodeCommit
|
|
7670
6729
|
include Aws::Structure
|
7671
6730
|
end
|
7672
6731
|
|
7673
|
-
# @note When making an API call, you may pass UpdatePullRequestApprovalRuleContentInput
|
7674
|
-
# data as a hash:
|
7675
|
-
#
|
7676
|
-
# {
|
7677
|
-
# pull_request_id: "PullRequestId", # required
|
7678
|
-
# approval_rule_name: "ApprovalRuleName", # required
|
7679
|
-
# existing_rule_content_sha_256: "RuleContentSha256",
|
7680
|
-
# new_rule_content: "ApprovalRuleContent", # required
|
7681
|
-
# }
|
7682
|
-
#
|
7683
6732
|
# @!attribute [rw] pull_request_id
|
7684
6733
|
# The system-generated ID of the pull request.
|
7685
6734
|
# @return [String]
|
@@ -7756,15 +6805,6 @@ module Aws::CodeCommit
|
|
7756
6805
|
include Aws::Structure
|
7757
6806
|
end
|
7758
6807
|
|
7759
|
-
# @note When making an API call, you may pass UpdatePullRequestApprovalStateInput
|
7760
|
-
# data as a hash:
|
7761
|
-
#
|
7762
|
-
# {
|
7763
|
-
# pull_request_id: "PullRequestId", # required
|
7764
|
-
# revision_id: "RevisionId", # required
|
7765
|
-
# approval_state: "APPROVE", # required, accepts APPROVE, REVOKE
|
7766
|
-
# }
|
7767
|
-
#
|
7768
6808
|
# @!attribute [rw] pull_request_id
|
7769
6809
|
# The system-generated ID of the pull request.
|
7770
6810
|
# @return [String]
|
@@ -7787,14 +6827,6 @@ module Aws::CodeCommit
|
|
7787
6827
|
include Aws::Structure
|
7788
6828
|
end
|
7789
6829
|
|
7790
|
-
# @note When making an API call, you may pass UpdatePullRequestDescriptionInput
|
7791
|
-
# data as a hash:
|
7792
|
-
#
|
7793
|
-
# {
|
7794
|
-
# pull_request_id: "PullRequestId", # required
|
7795
|
-
# description: "Description", # required
|
7796
|
-
# }
|
7797
|
-
#
|
7798
6830
|
# @!attribute [rw] pull_request_id
|
7799
6831
|
# The system-generated ID of the pull request. To get this ID, use
|
7800
6832
|
# ListPullRequests.
|
@@ -7826,14 +6858,6 @@ module Aws::CodeCommit
|
|
7826
6858
|
include Aws::Structure
|
7827
6859
|
end
|
7828
6860
|
|
7829
|
-
# @note When making an API call, you may pass UpdatePullRequestStatusInput
|
7830
|
-
# data as a hash:
|
7831
|
-
#
|
7832
|
-
# {
|
7833
|
-
# pull_request_id: "PullRequestId", # required
|
7834
|
-
# pull_request_status: "OPEN", # required, accepts OPEN, CLOSED
|
7835
|
-
# }
|
7836
|
-
#
|
7837
6861
|
# @!attribute [rw] pull_request_id
|
7838
6862
|
# The system-generated ID of the pull request. To get this ID, use
|
7839
6863
|
# ListPullRequests.
|
@@ -7866,14 +6890,6 @@ module Aws::CodeCommit
|
|
7866
6890
|
include Aws::Structure
|
7867
6891
|
end
|
7868
6892
|
|
7869
|
-
# @note When making an API call, you may pass UpdatePullRequestTitleInput
|
7870
|
-
# data as a hash:
|
7871
|
-
#
|
7872
|
-
# {
|
7873
|
-
# pull_request_id: "PullRequestId", # required
|
7874
|
-
# title: "Title", # required
|
7875
|
-
# }
|
7876
|
-
#
|
7877
6893
|
# @!attribute [rw] pull_request_id
|
7878
6894
|
# The system-generated ID of the pull request. To get this ID, use
|
7879
6895
|
# ListPullRequests.
|
@@ -7907,14 +6923,6 @@ module Aws::CodeCommit
|
|
7907
6923
|
|
7908
6924
|
# Represents the input of an update repository description operation.
|
7909
6925
|
#
|
7910
|
-
# @note When making an API call, you may pass UpdateRepositoryDescriptionInput
|
7911
|
-
# data as a hash:
|
7912
|
-
#
|
7913
|
-
# {
|
7914
|
-
# repository_name: "RepositoryName", # required
|
7915
|
-
# repository_description: "RepositoryDescription",
|
7916
|
-
# }
|
7917
|
-
#
|
7918
6926
|
# @!attribute [rw] repository_name
|
7919
6927
|
# The name of the repository to set or change the comment or
|
7920
6928
|
# description for.
|
@@ -7936,14 +6944,6 @@ module Aws::CodeCommit
|
|
7936
6944
|
|
7937
6945
|
# Represents the input of an update repository description operation.
|
7938
6946
|
#
|
7939
|
-
# @note When making an API call, you may pass UpdateRepositoryNameInput
|
7940
|
-
# data as a hash:
|
7941
|
-
#
|
7942
|
-
# {
|
7943
|
-
# old_name: "RepositoryName", # required
|
7944
|
-
# new_name: "RepositoryName", # required
|
7945
|
-
# }
|
7946
|
-
#
|
7947
6947
|
# @!attribute [rw] old_name
|
7948
6948
|
# The current name of the repository.
|
7949
6949
|
# @return [String]
|