|
56 | 56 | {"shape":"EncryptionKeyUnavailableException"} |
57 | 57 | ] |
58 | 58 | }, |
| 59 | + "CreateCommit":{ |
| 60 | + "name":"CreateCommit", |
| 61 | + "http":{ |
| 62 | + "method":"POST", |
| 63 | + "requestUri":"/" |
| 64 | + }, |
| 65 | + "input":{"shape":"CreateCommitInput"}, |
| 66 | + "output":{"shape":"CreateCommitOutput"}, |
| 67 | + "errors":[ |
| 68 | + {"shape":"RepositoryNameRequiredException"}, |
| 69 | + {"shape":"InvalidRepositoryNameException"}, |
| 70 | + {"shape":"RepositoryDoesNotExistException"}, |
| 71 | + {"shape":"ParentCommitIdRequiredException"}, |
| 72 | + {"shape":"InvalidParentCommitIdException"}, |
| 73 | + {"shape":"ParentCommitDoesNotExistException"}, |
| 74 | + {"shape":"ParentCommitIdOutdatedException"}, |
| 75 | + {"shape":"BranchNameRequiredException"}, |
| 76 | + {"shape":"InvalidBranchNameException"}, |
| 77 | + {"shape":"BranchDoesNotExistException"}, |
| 78 | + {"shape":"BranchNameIsTagNameException"}, |
| 79 | + {"shape":"FileEntryRequiredException"}, |
| 80 | + {"shape":"MaximumFileEntriesExceededException"}, |
| 81 | + {"shape":"PutFileEntryConflictException"}, |
| 82 | + {"shape":"SourceFileOrContentRequiredException"}, |
| 83 | + {"shape":"FileContentAndSourceFileSpecifiedException"}, |
| 84 | + {"shape":"PathRequiredException"}, |
| 85 | + {"shape":"InvalidPathException"}, |
| 86 | + {"shape":"SamePathRequestException"}, |
| 87 | + {"shape":"FileDoesNotExistException"}, |
| 88 | + {"shape":"FileContentSizeLimitExceededException"}, |
| 89 | + {"shape":"FolderContentSizeLimitExceededException"}, |
| 90 | + {"shape":"InvalidDeletionParameterException"}, |
| 91 | + {"shape":"RestrictedSourceFileException"}, |
| 92 | + {"shape":"FileModeRequiredException"}, |
| 93 | + {"shape":"InvalidFileModeException"}, |
| 94 | + {"shape":"NameLengthExceededException"}, |
| 95 | + {"shape":"InvalidEmailException"}, |
| 96 | + {"shape":"CommitMessageLengthExceededException"}, |
| 97 | + {"shape":"EncryptionIntegrityChecksFailedException"}, |
| 98 | + {"shape":"EncryptionKeyAccessDeniedException"}, |
| 99 | + {"shape":"EncryptionKeyDisabledException"}, |
| 100 | + {"shape":"EncryptionKeyNotFoundException"}, |
| 101 | + {"shape":"EncryptionKeyUnavailableException"}, |
| 102 | + {"shape":"NoChangeException"}, |
| 103 | + {"shape":"FileNameConflictsWithDirectoryNameException"}, |
| 104 | + {"shape":"DirectoryNameConflictsWithFileNameException"}, |
| 105 | + {"shape":"FilePathConflictsWithSubmodulePathException"} |
| 106 | + ] |
| 107 | + }, |
59 | 108 | "CreatePullRequest":{ |
60 | 109 | "name":"CreatePullRequest", |
61 | 110 | "http":{ |
|
594 | 643 | {"shape":"TipOfSourceReferenceIsDifferentException"}, |
595 | 644 | {"shape":"ReferenceDoesNotExistException"}, |
596 | 645 | {"shape":"InvalidCommitIdException"}, |
597 | | - {"shape":"RepositoryNotAssociatedWithPullRequestException"}, |
598 | 646 | {"shape":"RepositoryNameRequiredException"}, |
599 | 647 | {"shape":"InvalidRepositoryNameException"}, |
600 | 648 | {"shape":"RepositoryDoesNotExistException"}, |
|
1191 | 1239 | "commitId":{"shape":"CommitId"} |
1192 | 1240 | } |
1193 | 1241 | }, |
| 1242 | + "CreateCommitInput":{ |
| 1243 | + "type":"structure", |
| 1244 | + "required":[ |
| 1245 | + "repositoryName", |
| 1246 | + "branchName" |
| 1247 | + ], |
| 1248 | + "members":{ |
| 1249 | + "repositoryName":{"shape":"RepositoryName"}, |
| 1250 | + "branchName":{"shape":"BranchName"}, |
| 1251 | + "parentCommitId":{"shape":"CommitId"}, |
| 1252 | + "authorName":{"shape":"Name"}, |
| 1253 | + "email":{"shape":"Email"}, |
| 1254 | + "commitMessage":{"shape":"Message"}, |
| 1255 | + "keepEmptyFolders":{"shape":"KeepEmptyFolders"}, |
| 1256 | + "putFiles":{"shape":"PutFileEntries"}, |
| 1257 | + "deleteFiles":{"shape":"DeleteFileEntries"}, |
| 1258 | + "setFileModes":{"shape":"SetFileModeEntries"} |
| 1259 | + } |
| 1260 | + }, |
| 1261 | + "CreateCommitOutput":{ |
| 1262 | + "type":"structure", |
| 1263 | + "members":{ |
| 1264 | + "commitId":{"shape":"ObjectId"}, |
| 1265 | + "treeId":{"shape":"ObjectId"}, |
| 1266 | + "filesAdded":{"shape":"FilesMetadata"}, |
| 1267 | + "filesUpdated":{"shape":"FilesMetadata"}, |
| 1268 | + "filesDeleted":{"shape":"FilesMetadata"} |
| 1269 | + } |
| 1270 | + }, |
1194 | 1271 | "CreatePullRequestInput":{ |
1195 | 1272 | "type":"structure", |
1196 | 1273 | "required":[ |
|
1266 | 1343 | "comment":{"shape":"Comment"} |
1267 | 1344 | } |
1268 | 1345 | }, |
| 1346 | + "DeleteFileEntries":{ |
| 1347 | + "type":"list", |
| 1348 | + "member":{"shape":"DeleteFileEntry"} |
| 1349 | + }, |
| 1350 | + "DeleteFileEntry":{ |
| 1351 | + "type":"structure", |
| 1352 | + "required":["filePath"], |
| 1353 | + "members":{ |
| 1354 | + "filePath":{"shape":"Path"} |
| 1355 | + } |
| 1356 | + }, |
1269 | 1357 | "DeleteFileInput":{ |
1270 | 1358 | "type":"structure", |
1271 | 1359 | "required":[ |
|
1400 | 1488 | "type":"blob", |
1401 | 1489 | "max":6291456 |
1402 | 1490 | }, |
| 1491 | + "FileContentAndSourceFileSpecifiedException":{ |
| 1492 | + "type":"structure", |
| 1493 | + "members":{ |
| 1494 | + }, |
| 1495 | + "exception":true |
| 1496 | + }, |
1403 | 1497 | "FileContentRequiredException":{ |
1404 | 1498 | "type":"structure", |
1405 | 1499 | "members":{ |
|
1418 | 1512 | }, |
1419 | 1513 | "exception":true |
1420 | 1514 | }, |
| 1515 | + "FileEntryRequiredException":{ |
| 1516 | + "type":"structure", |
| 1517 | + "members":{ |
| 1518 | + }, |
| 1519 | + "exception":true |
| 1520 | + }, |
1421 | 1521 | "FileList":{ |
1422 | 1522 | "type":"list", |
1423 | 1523 | "member":{"shape":"File"} |
1424 | 1524 | }, |
| 1525 | + "FileMetadata":{ |
| 1526 | + "type":"structure", |
| 1527 | + "members":{ |
| 1528 | + "absolutePath":{"shape":"Path"}, |
| 1529 | + "blobId":{"shape":"ObjectId"}, |
| 1530 | + "fileMode":{"shape":"FileModeTypeEnum"} |
| 1531 | + } |
| 1532 | + }, |
| 1533 | + "FileModeRequiredException":{ |
| 1534 | + "type":"structure", |
| 1535 | + "members":{ |
| 1536 | + }, |
| 1537 | + "exception":true |
| 1538 | + }, |
1425 | 1539 | "FileModeTypeEnum":{ |
1426 | 1540 | "type":"string", |
1427 | 1541 | "enum":[ |
|
1448 | 1562 | }, |
1449 | 1563 | "exception":true |
1450 | 1564 | }, |
| 1565 | + "FilesMetadata":{ |
| 1566 | + "type":"list", |
| 1567 | + "member":{"shape":"FileMetadata"} |
| 1568 | + }, |
1451 | 1569 | "Folder":{ |
1452 | 1570 | "type":"structure", |
1453 | 1571 | "members":{ |
|
1974 | 2092 | "IsCommentDeleted":{"type":"boolean"}, |
1975 | 2093 | "IsMergeable":{"type":"boolean"}, |
1976 | 2094 | "IsMerged":{"type":"boolean"}, |
| 2095 | + "IsMove":{"type":"boolean"}, |
1977 | 2096 | "KeepEmptyFolders":{"type":"boolean"}, |
1978 | 2097 | "LastModifiedDate":{"type":"timestamp"}, |
1979 | 2098 | "Limit":{ |
|
2050 | 2169 | }, |
2051 | 2170 | "exception":true |
2052 | 2171 | }, |
| 2172 | + "MaximumFileEntriesExceededException":{ |
| 2173 | + "type":"structure", |
| 2174 | + "members":{ |
| 2175 | + }, |
| 2176 | + "exception":true |
| 2177 | + }, |
2053 | 2178 | "MaximumOpenPullRequestsExceededException":{ |
2054 | 2179 | "type":"structure", |
2055 | 2180 | "members":{ |
|
2119 | 2244 | "exception":true |
2120 | 2245 | }, |
2121 | 2246 | "NextToken":{"type":"string"}, |
| 2247 | + "NoChangeException":{ |
| 2248 | + "type":"structure", |
| 2249 | + "members":{ |
| 2250 | + }, |
| 2251 | + "exception":true |
| 2252 | + }, |
2122 | 2253 | "ObjectId":{"type":"string"}, |
2123 | 2254 | "ObjectSize":{"type":"long"}, |
2124 | 2255 | "OrderEnum":{ |
|
2375 | 2506 | "type":"list", |
2376 | 2507 | "member":{"shape":"PullRequestTarget"} |
2377 | 2508 | }, |
| 2509 | + "PutFileEntries":{ |
| 2510 | + "type":"list", |
| 2511 | + "member":{"shape":"PutFileEntry"} |
| 2512 | + }, |
| 2513 | + "PutFileEntry":{ |
| 2514 | + "type":"structure", |
| 2515 | + "required":["filePath"], |
| 2516 | + "members":{ |
| 2517 | + "filePath":{"shape":"Path"}, |
| 2518 | + "fileMode":{"shape":"FileModeTypeEnum"}, |
| 2519 | + "fileContent":{"shape":"FileContent"}, |
| 2520 | + "sourceFile":{"shape":"SourceFileSpecifier"} |
| 2521 | + } |
| 2522 | + }, |
| 2523 | + "PutFileEntryConflictException":{ |
| 2524 | + "type":"structure", |
| 2525 | + "members":{ |
| 2526 | + }, |
| 2527 | + "exception":true |
| 2528 | + }, |
2378 | 2529 | "PutFileInput":{ |
2379 | 2530 | "type":"structure", |
2380 | 2531 | "required":[ |
|
2617 | 2768 | }, |
2618 | 2769 | "exception":true |
2619 | 2770 | }, |
| 2771 | + "RestrictedSourceFileException":{ |
| 2772 | + "type":"structure", |
| 2773 | + "members":{ |
| 2774 | + }, |
| 2775 | + "exception":true |
| 2776 | + }, |
2620 | 2777 | "SameFileContentException":{ |
2621 | 2778 | "type":"structure", |
2622 | 2779 | "members":{ |
2623 | 2780 | }, |
2624 | 2781 | "exception":true |
2625 | 2782 | }, |
| 2783 | + "SamePathRequestException":{ |
| 2784 | + "type":"structure", |
| 2785 | + "members":{ |
| 2786 | + }, |
| 2787 | + "exception":true |
| 2788 | + }, |
| 2789 | + "SetFileModeEntries":{ |
| 2790 | + "type":"list", |
| 2791 | + "member":{"shape":"SetFileModeEntry"} |
| 2792 | + }, |
| 2793 | + "SetFileModeEntry":{ |
| 2794 | + "type":"structure", |
| 2795 | + "required":[ |
| 2796 | + "filePath", |
| 2797 | + "fileMode" |
| 2798 | + ], |
| 2799 | + "members":{ |
| 2800 | + "filePath":{"shape":"Path"}, |
| 2801 | + "fileMode":{"shape":"FileModeTypeEnum"} |
| 2802 | + } |
| 2803 | + }, |
2626 | 2804 | "SortByEnum":{ |
2627 | 2805 | "type":"string", |
2628 | 2806 | "enum":[ |
|
2636 | 2814 | }, |
2637 | 2815 | "exception":true |
2638 | 2816 | }, |
| 2817 | + "SourceFileOrContentRequiredException":{ |
| 2818 | + "type":"structure", |
| 2819 | + "members":{ |
| 2820 | + }, |
| 2821 | + "exception":true |
| 2822 | + }, |
| 2823 | + "SourceFileSpecifier":{ |
| 2824 | + "type":"structure", |
| 2825 | + "required":["filePath"], |
| 2826 | + "members":{ |
| 2827 | + "filePath":{"shape":"Path"}, |
| 2828 | + "isMove":{"shape":"IsMove"} |
| 2829 | + } |
| 2830 | + }, |
2639 | 2831 | "SubModule":{ |
2640 | 2832 | "type":"structure", |
2641 | 2833 | "members":{ |
|
0 commit comments