@aws-sdk/client-codecommit 3.289.0 → 3.292.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.
Files changed (78) hide show
  1. package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +48 -0
  2. package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +35 -0
  3. package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +71 -0
  4. package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +35 -0
  5. package/dist-types/commands/BatchGetCommitsCommand.d.ts +37 -0
  6. package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +31 -0
  7. package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +30 -0
  8. package/dist-types/commands/CreateBranchCommand.d.ts +50 -0
  9. package/dist-types/commands/CreateCommitCommand.d.ts +140 -0
  10. package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +47 -0
  11. package/dist-types/commands/CreatePullRequestCommand.d.ts +93 -0
  12. package/dist-types/commands/CreateRepositoryCommand.d.ts +49 -0
  13. package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +122 -0
  14. package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +14 -0
  15. package/dist-types/commands/DeleteBranchCommand.d.ts +40 -0
  16. package/dist-types/commands/DeleteCommentContentCommand.d.ts +14 -0
  17. package/dist-types/commands/DeleteFileCommand.d.ts +79 -0
  18. package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +38 -0
  19. package/dist-types/commands/DeleteRepositoryCommand.d.ts +28 -0
  20. package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +78 -0
  21. package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +41 -0
  22. package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +44 -0
  23. package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +34 -0
  24. package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +14 -0
  25. package/dist-types/commands/GetBlobCommand.d.ts +44 -0
  26. package/dist-types/commands/GetBranchCommand.d.ts +40 -0
  27. package/dist-types/commands/GetCommentCommand.d.ts +29 -0
  28. package/dist-types/commands/GetCommentReactionsCommand.d.ts +23 -0
  29. package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +46 -0
  30. package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +58 -0
  31. package/dist-types/commands/GetCommitCommand.d.ts +40 -0
  32. package/dist-types/commands/GetDifferencesCommand.d.ts +55 -0
  33. package/dist-types/commands/GetFileCommand.d.ts +51 -0
  34. package/dist-types/commands/GetFolderCommand.d.ts +47 -0
  35. package/dist-types/commands/GetMergeCommitCommand.d.ts +46 -0
  36. package/dist-types/commands/GetMergeConflictsCommand.d.ts +74 -0
  37. package/dist-types/commands/GetMergeOptionsCommand.d.ts +56 -0
  38. package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +31 -0
  39. package/dist-types/commands/GetPullRequestCommand.d.ts +25 -0
  40. package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +31 -0
  41. package/dist-types/commands/GetRepositoryCommand.d.ts +31 -0
  42. package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +31 -0
  43. package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +7 -0
  44. package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +37 -0
  45. package/dist-types/commands/ListBranchesCommand.d.ts +34 -0
  46. package/dist-types/commands/ListPullRequestsCommand.d.ts +46 -0
  47. package/dist-types/commands/ListRepositoriesCommand.d.ts +10 -0
  48. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +35 -0
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +23 -0
  50. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +66 -0
  51. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +132 -0
  52. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +132 -0
  53. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +65 -0
  54. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +128 -0
  55. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +128 -0
  56. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +46 -0
  57. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +82 -0
  58. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +94 -0
  59. package/dist-types/commands/PostCommentReplyCommand.d.ts +31 -0
  60. package/dist-types/commands/PutCommentReactionCommand.d.ts +23 -0
  61. package/dist-types/commands/PutFileCommand.d.ts +110 -0
  62. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +74 -0
  63. package/dist-types/commands/TagResourceCommand.d.ts +38 -0
  64. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +74 -0
  65. package/dist-types/commands/UntagResourceCommand.d.ts +38 -0
  66. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +23 -0
  67. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +20 -0
  68. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +19 -0
  69. package/dist-types/commands/UpdateCommentCommand.d.ts +23 -0
  70. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +40 -0
  71. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +50 -0
  72. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +50 -0
  73. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +17 -0
  74. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +34 -0
  75. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +19 -0
  76. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +34 -0
  77. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +19 -0
  78. package/package.json +35 -40
@@ -29,6 +29,53 @@ export interface GetFolderCommandOutput extends GetFolderOutput, __MetadataBeare
29
29
  * @see {@link GetFolderCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link CommitDoesNotExistException} (client fault)
33
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
34
+ *
35
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
36
+ * <p>An encryption integrity check failed.</p>
37
+ *
38
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
39
+ * <p>An encryption key could not be accessed.</p>
40
+ *
41
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
42
+ * <p>The encryption key is disabled.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
45
+ * <p>No encryption key was found.</p>
46
+ *
47
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
48
+ * <p>The encryption key is not available.</p>
49
+ *
50
+ * @throws {@link FolderDoesNotExistException} (client fault)
51
+ * <p>The specified folder does not exist. Either the folder name is not correct, or you did
52
+ * not enter the full path to the folder.</p>
53
+ *
54
+ * @throws {@link InvalidCommitException} (client fault)
55
+ * <p>The specified commit is not valid.</p>
56
+ *
57
+ * @throws {@link InvalidPathException} (client fault)
58
+ * <p>The specified path is not valid.</p>
59
+ *
60
+ * @throws {@link InvalidRepositoryNameException} (client fault)
61
+ * <p>A specified repository name is not valid.</p>
62
+ *
63
+ * <note>
64
+ * <p>This exception occurs only when a specified repository name is not valid. Other
65
+ * exceptions occur when a required repository parameter is missing, or when a
66
+ * specified repository does not exist.</p>
67
+ * </note>
68
+ *
69
+ * @throws {@link PathRequiredException} (client fault)
70
+ * <p>The folderPath for a location cannot be null.</p>
71
+ *
72
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
73
+ * <p>The specified repository does not exist.</p>
74
+ *
75
+ * @throws {@link RepositoryNameRequiredException} (client fault)
76
+ * <p>A repository name is required, but was not specified.</p>
77
+ *
78
+ *
32
79
  */
33
80
  export declare class GetFolderCommand extends $Command<GetFolderCommandInput, GetFolderCommandOutput, CodeCommitClientResolvedConfig> {
34
81
  readonly input: GetFolderCommandInput;
@@ -29,6 +29,52 @@ export interface GetMergeCommitCommandOutput extends GetMergeCommitOutput, __Met
29
29
  * @see {@link GetMergeCommitCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link CommitDoesNotExistException} (client fault)
33
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
34
+ *
35
+ * @throws {@link CommitRequiredException} (client fault)
36
+ * <p>A commit was not specified.</p>
37
+ *
38
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
39
+ * <p>An encryption integrity check failed.</p>
40
+ *
41
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
42
+ * <p>An encryption key could not be accessed.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
45
+ * <p>The encryption key is disabled.</p>
46
+ *
47
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
48
+ * <p>No encryption key was found.</p>
49
+ *
50
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
51
+ * <p>The encryption key is not available.</p>
52
+ *
53
+ * @throws {@link InvalidCommitException} (client fault)
54
+ * <p>The specified commit is not valid.</p>
55
+ *
56
+ * @throws {@link InvalidConflictDetailLevelException} (client fault)
57
+ * <p>The specified conflict detail level is not valid.</p>
58
+ *
59
+ * @throws {@link InvalidConflictResolutionStrategyException} (client fault)
60
+ * <p>The specified conflict resolution strategy is not valid.</p>
61
+ *
62
+ * @throws {@link InvalidRepositoryNameException} (client fault)
63
+ * <p>A specified repository name is not valid.</p>
64
+ *
65
+ * <note>
66
+ * <p>This exception occurs only when a specified repository name is not valid. Other
67
+ * exceptions occur when a required repository parameter is missing, or when a
68
+ * specified repository does not exist.</p>
69
+ * </note>
70
+ *
71
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
72
+ * <p>The specified repository does not exist.</p>
73
+ *
74
+ * @throws {@link RepositoryNameRequiredException} (client fault)
75
+ * <p>A repository name is required, but was not specified.</p>
76
+ *
77
+ *
32
78
  */
33
79
  export declare class GetMergeCommitCommand extends $Command<GetMergeCommitCommandInput, GetMergeCommitCommandOutput, CodeCommitClientResolvedConfig> {
34
80
  readonly input: GetMergeCommitCommandInput;
@@ -29,6 +29,80 @@ export interface GetMergeConflictsCommandOutput extends GetMergeConflictsOutput,
29
29
  * @see {@link GetMergeConflictsCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link CommitDoesNotExistException} (client fault)
33
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
34
+ *
35
+ * @throws {@link CommitRequiredException} (client fault)
36
+ * <p>A commit was not specified.</p>
37
+ *
38
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
39
+ * <p>An encryption integrity check failed.</p>
40
+ *
41
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
42
+ * <p>An encryption key could not be accessed.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
45
+ * <p>The encryption key is disabled.</p>
46
+ *
47
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
48
+ * <p>No encryption key was found.</p>
49
+ *
50
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
51
+ * <p>The encryption key is not available.</p>
52
+ *
53
+ * @throws {@link InvalidCommitException} (client fault)
54
+ * <p>The specified commit is not valid.</p>
55
+ *
56
+ * @throws {@link InvalidConflictDetailLevelException} (client fault)
57
+ * <p>The specified conflict detail level is not valid.</p>
58
+ *
59
+ * @throws {@link InvalidConflictResolutionStrategyException} (client fault)
60
+ * <p>The specified conflict resolution strategy is not valid.</p>
61
+ *
62
+ * @throws {@link InvalidContinuationTokenException} (client fault)
63
+ * <p>The specified continuation token is not valid.</p>
64
+ *
65
+ * @throws {@link InvalidDestinationCommitSpecifierException} (client fault)
66
+ * <p>The destination commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID. </p>
67
+ *
68
+ * @throws {@link InvalidMaxConflictFilesException} (client fault)
69
+ * <p>The specified value for the number of conflict files to return is not valid.</p>
70
+ *
71
+ * @throws {@link InvalidMergeOptionException} (client fault)
72
+ * <p>The specified merge option is not valid for this operation. Not all merge strategies are supported for all operations.</p>
73
+ *
74
+ * @throws {@link InvalidRepositoryNameException} (client fault)
75
+ * <p>A specified repository name is not valid.</p>
76
+ *
77
+ * <note>
78
+ * <p>This exception occurs only when a specified repository name is not valid. Other
79
+ * exceptions occur when a required repository parameter is missing, or when a
80
+ * specified repository does not exist.</p>
81
+ * </note>
82
+ *
83
+ * @throws {@link InvalidSourceCommitSpecifierException} (client fault)
84
+ * <p>The source commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.</p>
85
+ *
86
+ * @throws {@link MaximumFileContentToLoadExceededException} (client fault)
87
+ * <p>The number of files to load exceeds the allowed limit.</p>
88
+ *
89
+ * @throws {@link MaximumItemsToCompareExceededException} (client fault)
90
+ * <p>The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.</p>
91
+ *
92
+ * @throws {@link MergeOptionRequiredException} (client fault)
93
+ * <p>A merge option or stategy is required, and none was provided.</p>
94
+ *
95
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
96
+ * <p>The specified repository does not exist.</p>
97
+ *
98
+ * @throws {@link RepositoryNameRequiredException} (client fault)
99
+ * <p>A repository name is required, but was not specified.</p>
100
+ *
101
+ * @throws {@link TipsDivergenceExceededException} (client fault)
102
+ * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
103
+ * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
104
+ *
105
+ *
32
106
  */
33
107
  export declare class GetMergeConflictsCommand extends $Command<GetMergeConflictsCommandInput, GetMergeConflictsCommandOutput, CodeCommitClientResolvedConfig> {
34
108
  readonly input: GetMergeConflictsCommandInput;
@@ -31,6 +31,62 @@ export interface GetMergeOptionsCommandOutput extends GetMergeOptionsOutput, __M
31
31
  * @see {@link GetMergeOptionsCommandOutput} for command's `response` shape.
32
32
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
33
33
  *
34
+ * @throws {@link CommitDoesNotExistException} (client fault)
35
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
36
+ *
37
+ * @throws {@link CommitRequiredException} (client fault)
38
+ * <p>A commit was not specified.</p>
39
+ *
40
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
41
+ * <p>An encryption integrity check failed.</p>
42
+ *
43
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
44
+ * <p>An encryption key could not be accessed.</p>
45
+ *
46
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
47
+ * <p>The encryption key is disabled.</p>
48
+ *
49
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
50
+ * <p>No encryption key was found.</p>
51
+ *
52
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
53
+ * <p>The encryption key is not available.</p>
54
+ *
55
+ * @throws {@link InvalidCommitException} (client fault)
56
+ * <p>The specified commit is not valid.</p>
57
+ *
58
+ * @throws {@link InvalidConflictDetailLevelException} (client fault)
59
+ * <p>The specified conflict detail level is not valid.</p>
60
+ *
61
+ * @throws {@link InvalidConflictResolutionStrategyException} (client fault)
62
+ * <p>The specified conflict resolution strategy is not valid.</p>
63
+ *
64
+ * @throws {@link InvalidRepositoryNameException} (client fault)
65
+ * <p>A specified repository name is not valid.</p>
66
+ *
67
+ * <note>
68
+ * <p>This exception occurs only when a specified repository name is not valid. Other
69
+ * exceptions occur when a required repository parameter is missing, or when a
70
+ * specified repository does not exist.</p>
71
+ * </note>
72
+ *
73
+ * @throws {@link MaximumFileContentToLoadExceededException} (client fault)
74
+ * <p>The number of files to load exceeds the allowed limit.</p>
75
+ *
76
+ * @throws {@link MaximumItemsToCompareExceededException} (client fault)
77
+ * <p>The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.</p>
78
+ *
79
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
80
+ * <p>The specified repository does not exist.</p>
81
+ *
82
+ * @throws {@link RepositoryNameRequiredException} (client fault)
83
+ * <p>A repository name is required, but was not specified.</p>
84
+ *
85
+ * @throws {@link TipsDivergenceExceededException} (client fault)
86
+ * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
87
+ * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
88
+ *
89
+ *
34
90
  */
35
91
  export declare class GetMergeOptionsCommand extends $Command<GetMergeOptionsCommandInput, GetMergeOptionsCommandOutput, CodeCommitClientResolvedConfig> {
36
92
  readonly input: GetMergeOptionsCommandInput;
@@ -30,6 +30,37 @@ export interface GetPullRequestApprovalStatesCommandOutput extends GetPullReques
30
30
  * @see {@link GetPullRequestApprovalStatesCommandOutput} for command's `response` shape.
31
31
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
32
32
  *
33
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
34
+ * <p>An encryption integrity check failed.</p>
35
+ *
36
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
37
+ * <p>An encryption key could not be accessed.</p>
38
+ *
39
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
40
+ * <p>The encryption key is disabled.</p>
41
+ *
42
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
43
+ * <p>No encryption key was found.</p>
44
+ *
45
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
46
+ * <p>The encryption key is not available.</p>
47
+ *
48
+ * @throws {@link InvalidPullRequestIdException} (client fault)
49
+ * <p>The pull request ID is not valid. Make sure that you have provided the full ID and that the pull request is in the specified repository, and then try again.</p>
50
+ *
51
+ * @throws {@link InvalidRevisionIdException} (client fault)
52
+ * <p>The revision ID is not valid. Use GetPullRequest to determine the value.</p>
53
+ *
54
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
55
+ * <p>The pull request ID could not be found. Make sure that you have specified the correct repository name and pull request ID, and then try again.</p>
56
+ *
57
+ * @throws {@link PullRequestIdRequiredException} (client fault)
58
+ * <p>A pull request ID is required, but none was provided.</p>
59
+ *
60
+ * @throws {@link RevisionIdRequiredException} (client fault)
61
+ * <p>A revision ID is required, but was not provided.</p>
62
+ *
63
+ *
33
64
  */
34
65
  export declare class GetPullRequestApprovalStatesCommand extends $Command<GetPullRequestApprovalStatesCommandInput, GetPullRequestApprovalStatesCommandOutput, CodeCommitClientResolvedConfig> {
35
66
  readonly input: GetPullRequestApprovalStatesCommandInput;
@@ -29,6 +29,31 @@ export interface GetPullRequestCommandOutput extends GetPullRequestOutput, __Met
29
29
  * @see {@link GetPullRequestCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
33
+ * <p>An encryption integrity check failed.</p>
34
+ *
35
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
36
+ * <p>An encryption key could not be accessed.</p>
37
+ *
38
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
39
+ * <p>The encryption key is disabled.</p>
40
+ *
41
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
42
+ * <p>No encryption key was found.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
45
+ * <p>The encryption key is not available.</p>
46
+ *
47
+ * @throws {@link InvalidPullRequestIdException} (client fault)
48
+ * <p>The pull request ID is not valid. Make sure that you have provided the full ID and that the pull request is in the specified repository, and then try again.</p>
49
+ *
50
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
51
+ * <p>The pull request ID could not be found. Make sure that you have specified the correct repository name and pull request ID, and then try again.</p>
52
+ *
53
+ * @throws {@link PullRequestIdRequiredException} (client fault)
54
+ * <p>A pull request ID is required, but none was provided.</p>
55
+ *
56
+ *
32
57
  */
33
58
  export declare class GetPullRequestCommand extends $Command<GetPullRequestCommandInput, GetPullRequestCommandOutput, CodeCommitClientResolvedConfig> {
34
59
  readonly input: GetPullRequestCommandInput;
@@ -30,6 +30,37 @@ export interface GetPullRequestOverrideStateCommandOutput extends GetPullRequest
30
30
  * @see {@link GetPullRequestOverrideStateCommandOutput} for command's `response` shape.
31
31
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
32
32
  *
33
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
34
+ * <p>An encryption integrity check failed.</p>
35
+ *
36
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
37
+ * <p>An encryption key could not be accessed.</p>
38
+ *
39
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
40
+ * <p>The encryption key is disabled.</p>
41
+ *
42
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
43
+ * <p>No encryption key was found.</p>
44
+ *
45
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
46
+ * <p>The encryption key is not available.</p>
47
+ *
48
+ * @throws {@link InvalidPullRequestIdException} (client fault)
49
+ * <p>The pull request ID is not valid. Make sure that you have provided the full ID and that the pull request is in the specified repository, and then try again.</p>
50
+ *
51
+ * @throws {@link InvalidRevisionIdException} (client fault)
52
+ * <p>The revision ID is not valid. Use GetPullRequest to determine the value.</p>
53
+ *
54
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
55
+ * <p>The pull request ID could not be found. Make sure that you have specified the correct repository name and pull request ID, and then try again.</p>
56
+ *
57
+ * @throws {@link PullRequestIdRequiredException} (client fault)
58
+ * <p>A pull request ID is required, but none was provided.</p>
59
+ *
60
+ * @throws {@link RevisionIdRequiredException} (client fault)
61
+ * <p>A revision ID is required, but was not provided.</p>
62
+ *
63
+ *
33
64
  */
34
65
  export declare class GetPullRequestOverrideStateCommand extends $Command<GetPullRequestOverrideStateCommandInput, GetPullRequestOverrideStateCommandOutput, CodeCommitClientResolvedConfig> {
35
66
  readonly input: GetPullRequestOverrideStateCommandInput;
@@ -37,6 +37,37 @@ export interface GetRepositoryCommandOutput extends GetRepositoryOutput, __Metad
37
37
  * @see {@link GetRepositoryCommandOutput} for command's `response` shape.
38
38
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
39
39
  *
40
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
41
+ * <p>An encryption integrity check failed.</p>
42
+ *
43
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
44
+ * <p>An encryption key could not be accessed.</p>
45
+ *
46
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
47
+ * <p>The encryption key is disabled.</p>
48
+ *
49
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
50
+ * <p>No encryption key was found.</p>
51
+ *
52
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
53
+ * <p>The encryption key is not available.</p>
54
+ *
55
+ * @throws {@link InvalidRepositoryNameException} (client fault)
56
+ * <p>A specified repository name is not valid.</p>
57
+ *
58
+ * <note>
59
+ * <p>This exception occurs only when a specified repository name is not valid. Other
60
+ * exceptions occur when a required repository parameter is missing, or when a
61
+ * specified repository does not exist.</p>
62
+ * </note>
63
+ *
64
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
65
+ * <p>The specified repository does not exist.</p>
66
+ *
67
+ * @throws {@link RepositoryNameRequiredException} (client fault)
68
+ * <p>A repository name is required, but was not specified.</p>
69
+ *
70
+ *
40
71
  */
41
72
  export declare class GetRepositoryCommand extends $Command<GetRepositoryCommandInput, GetRepositoryCommandOutput, CodeCommitClientResolvedConfig> {
42
73
  readonly input: GetRepositoryCommandInput;
@@ -29,6 +29,37 @@ export interface GetRepositoryTriggersCommandOutput extends GetRepositoryTrigger
29
29
  * @see {@link GetRepositoryTriggersCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
33
+ * <p>An encryption integrity check failed.</p>
34
+ *
35
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
36
+ * <p>An encryption key could not be accessed.</p>
37
+ *
38
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
39
+ * <p>The encryption key is disabled.</p>
40
+ *
41
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
42
+ * <p>No encryption key was found.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
45
+ * <p>The encryption key is not available.</p>
46
+ *
47
+ * @throws {@link InvalidRepositoryNameException} (client fault)
48
+ * <p>A specified repository name is not valid.</p>
49
+ *
50
+ * <note>
51
+ * <p>This exception occurs only when a specified repository name is not valid. Other
52
+ * exceptions occur when a required repository parameter is missing, or when a
53
+ * specified repository does not exist.</p>
54
+ * </note>
55
+ *
56
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
57
+ * <p>The specified repository does not exist.</p>
58
+ *
59
+ * @throws {@link RepositoryNameRequiredException} (client fault)
60
+ * <p>A repository name is required, but was not specified.</p>
61
+ *
62
+ *
32
63
  */
33
64
  export declare class GetRepositoryTriggersCommand extends $Command<GetRepositoryTriggersCommandInput, GetRepositoryTriggersCommandOutput, CodeCommitClientResolvedConfig> {
34
65
  readonly input: GetRepositoryTriggersCommandInput;
@@ -30,6 +30,13 @@ export interface ListApprovalRuleTemplatesCommandOutput extends ListApprovalRule
30
30
  * @see {@link ListApprovalRuleTemplatesCommandOutput} for command's `response` shape.
31
31
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidContinuationTokenException} (client fault)
34
+ * <p>The specified continuation token is not valid.</p>
35
+ *
36
+ * @throws {@link InvalidMaxResultsException} (client fault)
37
+ * <p>The specified number of maximum results is not valid.</p>
38
+ *
39
+ *
33
40
  */
34
41
  export declare class ListApprovalRuleTemplatesCommand extends $Command<ListApprovalRuleTemplatesCommandInput, ListApprovalRuleTemplatesCommandOutput, CodeCommitClientResolvedConfig> {
35
42
  readonly input: ListApprovalRuleTemplatesCommandInput;
@@ -29,6 +29,43 @@ export interface ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput e
29
29
  * @see {@link ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
33
+ * <p>An encryption integrity check failed.</p>
34
+ *
35
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
36
+ * <p>An encryption key could not be accessed.</p>
37
+ *
38
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
39
+ * <p>The encryption key is disabled.</p>
40
+ *
41
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
42
+ * <p>No encryption key was found.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
45
+ * <p>The encryption key is not available.</p>
46
+ *
47
+ * @throws {@link InvalidContinuationTokenException} (client fault)
48
+ * <p>The specified continuation token is not valid.</p>
49
+ *
50
+ * @throws {@link InvalidMaxResultsException} (client fault)
51
+ * <p>The specified number of maximum results is not valid.</p>
52
+ *
53
+ * @throws {@link InvalidRepositoryNameException} (client fault)
54
+ * <p>A specified repository name is not valid.</p>
55
+ *
56
+ * <note>
57
+ * <p>This exception occurs only when a specified repository name is not valid. Other
58
+ * exceptions occur when a required repository parameter is missing, or when a
59
+ * specified repository does not exist.</p>
60
+ * </note>
61
+ *
62
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
63
+ * <p>The specified repository does not exist.</p>
64
+ *
65
+ * @throws {@link RepositoryNameRequiredException} (client fault)
66
+ * <p>A repository name is required, but was not specified.</p>
67
+ *
68
+ *
32
69
  */
33
70
  export declare class ListAssociatedApprovalRuleTemplatesForRepositoryCommand extends $Command<ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput, CodeCommitClientResolvedConfig> {
34
71
  readonly input: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput;
@@ -29,6 +29,40 @@ export interface ListBranchesCommandOutput extends ListBranchesOutput, __Metadat
29
29
  * @see {@link ListBranchesCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
33
+ * <p>An encryption integrity check failed.</p>
34
+ *
35
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
36
+ * <p>An encryption key could not be accessed.</p>
37
+ *
38
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
39
+ * <p>The encryption key is disabled.</p>
40
+ *
41
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
42
+ * <p>No encryption key was found.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
45
+ * <p>The encryption key is not available.</p>
46
+ *
47
+ * @throws {@link InvalidContinuationTokenException} (client fault)
48
+ * <p>The specified continuation token is not valid.</p>
49
+ *
50
+ * @throws {@link InvalidRepositoryNameException} (client fault)
51
+ * <p>A specified repository name is not valid.</p>
52
+ *
53
+ * <note>
54
+ * <p>This exception occurs only when a specified repository name is not valid. Other
55
+ * exceptions occur when a required repository parameter is missing, or when a
56
+ * specified repository does not exist.</p>
57
+ * </note>
58
+ *
59
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
60
+ * <p>The specified repository does not exist.</p>
61
+ *
62
+ * @throws {@link RepositoryNameRequiredException} (client fault)
63
+ * <p>A repository name is required, but was not specified.</p>
64
+ *
65
+ *
32
66
  */
33
67
  export declare class ListBranchesCommand extends $Command<ListBranchesCommandInput, ListBranchesCommandOutput, CodeCommitClientResolvedConfig> {
34
68
  readonly input: ListBranchesCommandInput;
@@ -30,6 +30,52 @@ export interface ListPullRequestsCommandOutput extends ListPullRequestsOutput, _
30
30
  * @see {@link ListPullRequestsCommandOutput} for command's `response` shape.
31
31
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
32
32
  *
33
+ * @throws {@link AuthorDoesNotExistException} (client fault)
34
+ * <p>The specified Amazon Resource Name (ARN) does not exist in the AWS account.</p>
35
+ *
36
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
37
+ * <p>An encryption integrity check failed.</p>
38
+ *
39
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
40
+ * <p>An encryption key could not be accessed.</p>
41
+ *
42
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
43
+ * <p>The encryption key is disabled.</p>
44
+ *
45
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
46
+ * <p>No encryption key was found.</p>
47
+ *
48
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
49
+ * <p>The encryption key is not available.</p>
50
+ *
51
+ * @throws {@link InvalidAuthorArnException} (client fault)
52
+ * <p>The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the author of the pull request, and then try again.</p>
53
+ *
54
+ * @throws {@link InvalidContinuationTokenException} (client fault)
55
+ * <p>The specified continuation token is not valid.</p>
56
+ *
57
+ * @throws {@link InvalidMaxResultsException} (client fault)
58
+ * <p>The specified number of maximum results is not valid.</p>
59
+ *
60
+ * @throws {@link InvalidPullRequestStatusException} (client fault)
61
+ * <p>The pull request status is not valid. The only valid values are <code>OPEN</code> and <code>CLOSED</code>.</p>
62
+ *
63
+ * @throws {@link InvalidRepositoryNameException} (client fault)
64
+ * <p>A specified repository name is not valid.</p>
65
+ *
66
+ * <note>
67
+ * <p>This exception occurs only when a specified repository name is not valid. Other
68
+ * exceptions occur when a required repository parameter is missing, or when a
69
+ * specified repository does not exist.</p>
70
+ * </note>
71
+ *
72
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
73
+ * <p>The specified repository does not exist.</p>
74
+ *
75
+ * @throws {@link RepositoryNameRequiredException} (client fault)
76
+ * <p>A repository name is required, but was not specified.</p>
77
+ *
78
+ *
33
79
  */
34
80
  export declare class ListPullRequestsCommand extends $Command<ListPullRequestsCommandInput, ListPullRequestsCommandOutput, CodeCommitClientResolvedConfig> {
35
81
  readonly input: ListPullRequestsCommandInput;
@@ -29,6 +29,16 @@ export interface ListRepositoriesCommandOutput extends ListRepositoriesOutput, _
29
29
  * @see {@link ListRepositoriesCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidContinuationTokenException} (client fault)
33
+ * <p>The specified continuation token is not valid.</p>
34
+ *
35
+ * @throws {@link InvalidOrderException} (client fault)
36
+ * <p>The specified sort order is not valid.</p>
37
+ *
38
+ * @throws {@link InvalidSortByException} (client fault)
39
+ * <p>The specified sort by value is not valid.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class ListRepositoriesCommand extends $Command<ListRepositoriesCommandInput, ListRepositoriesCommandOutput, CodeCommitClientResolvedConfig> {
34
44
  readonly input: ListRepositoriesCommandInput;
@@ -29,6 +29,41 @@ export interface ListRepositoriesForApprovalRuleTemplateCommandOutput extends Li
29
29
  * @see {@link ListRepositoriesForApprovalRuleTemplateCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link ApprovalRuleTemplateDoesNotExistException} (client fault)
33
+ * <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the AWS Region where the template
34
+ * was created, and then try again.</p>
35
+ *
36
+ * @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
37
+ * <p>An approval rule template name is required, but was not specified.</p>
38
+ *
39
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
40
+ * <p>An encryption integrity check failed.</p>
41
+ *
42
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
43
+ * <p>An encryption key could not be accessed.</p>
44
+ *
45
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
46
+ * <p>The encryption key is disabled.</p>
47
+ *
48
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
49
+ * <p>No encryption key was found.</p>
50
+ *
51
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
52
+ * <p>The encryption key is not available.</p>
53
+ *
54
+ * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
55
+ * <p>The name of the approval rule template is not valid. Template names must be between 1
56
+ * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
57
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
58
+ * CodeCommit User Guide</a>.</p>
59
+ *
60
+ * @throws {@link InvalidContinuationTokenException} (client fault)
61
+ * <p>The specified continuation token is not valid.</p>
62
+ *
63
+ * @throws {@link InvalidMaxResultsException} (client fault)
64
+ * <p>The specified number of maximum results is not valid.</p>
65
+ *
66
+ *
32
67
  */
33
68
  export declare class ListRepositoriesForApprovalRuleTemplateCommand extends $Command<ListRepositoriesForApprovalRuleTemplateCommandInput, ListRepositoriesForApprovalRuleTemplateCommandOutput, CodeCommitClientResolvedConfig> {
34
69
  readonly input: ListRepositoriesForApprovalRuleTemplateCommandInput;