@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
@@ -35,6 +35,54 @@ export interface AssociateApprovalRuleTemplateWithRepositoryCommandOutput extend
35
35
  * @see {@link AssociateApprovalRuleTemplateWithRepositoryCommandOutput} for command's `response` shape.
36
36
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
37
37
  *
38
+ * @throws {@link ApprovalRuleTemplateDoesNotExistException} (client fault)
39
+ * <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
40
+ * was created, and then try again.</p>
41
+ *
42
+ * @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
43
+ * <p>An approval rule template name is required, but was not specified.</p>
44
+ *
45
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
46
+ * <p>An encryption integrity check failed.</p>
47
+ *
48
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
49
+ * <p>An encryption key could not be accessed.</p>
50
+ *
51
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
52
+ * <p>The encryption key is disabled.</p>
53
+ *
54
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
55
+ * <p>No encryption key was found.</p>
56
+ *
57
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
58
+ * <p>The encryption key is not available.</p>
59
+ *
60
+ * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
61
+ * <p>The name of the approval rule template is not valid. Template names must be between 1
62
+ * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
63
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
64
+ * CodeCommit User Guide</a>.</p>
65
+ *
66
+ * @throws {@link InvalidRepositoryNameException} (client fault)
67
+ * <p>A specified repository name is not valid.</p>
68
+ *
69
+ * <note>
70
+ * <p>This exception occurs only when a specified repository name is not valid. Other
71
+ * exceptions occur when a required repository parameter is missing, or when a
72
+ * specified repository does not exist.</p>
73
+ * </note>
74
+ *
75
+ * @throws {@link MaximumRuleTemplatesAssociatedWithRepositoryException} (client fault)
76
+ * <p>The maximum number of approval rule templates for a repository has been exceeded. You cannot associate more than 25
77
+ * approval rule templates with a repository.</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
+ *
38
86
  */
39
87
  export declare class AssociateApprovalRuleTemplateWithRepositoryCommand extends $Command<AssociateApprovalRuleTemplateWithRepositoryCommandInput, AssociateApprovalRuleTemplateWithRepositoryCommandOutput, CodeCommitClientResolvedConfig> {
40
88
  readonly input: AssociateApprovalRuleTemplateWithRepositoryCommandInput;
@@ -29,6 +29,41 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput
29
29
  * @see {@link BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput} 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 MaximumRepositoryNamesExceededException} (client fault)
61
+ * <p>The maximum number of allowed repository names was exceeded. Currently, this number is 100.</p>
62
+ *
63
+ * @throws {@link RepositoryNamesRequiredException} (client fault)
64
+ * <p>At least one repository name object is required, but was not specified.</p>
65
+ *
66
+ *
32
67
  */
33
68
  export declare class BatchAssociateApprovalRuleTemplateWithRepositoriesCommand extends $Command<BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput, CodeCommitClientResolvedConfig> {
34
69
  readonly input: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput;
@@ -29,6 +29,77 @@ export interface BatchDescribeMergeConflictsCommandOutput extends BatchDescribeM
29
29
  * @see {@link BatchDescribeMergeConflictsCommandOutput} 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 InvalidMaxConflictFilesException} (client fault)
66
+ * <p>The specified value for the number of conflict files to return is not valid.</p>
67
+ *
68
+ * @throws {@link InvalidMaxMergeHunksException} (client fault)
69
+ * <p>The specified value for the number of merge hunks 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 MaximumFileContentToLoadExceededException} (client fault)
84
+ * <p>The number of files to load exceeds the allowed limit.</p>
85
+ *
86
+ * @throws {@link MaximumItemsToCompareExceededException} (client fault)
87
+ * <p>The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.</p>
88
+ *
89
+ * @throws {@link MergeOptionRequiredException} (client fault)
90
+ * <p>A merge option or stategy is required, and none was provided.</p>
91
+ *
92
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
93
+ * <p>The specified repository does not exist.</p>
94
+ *
95
+ * @throws {@link RepositoryNameRequiredException} (client fault)
96
+ * <p>A repository name is required, but was not specified.</p>
97
+ *
98
+ * @throws {@link TipsDivergenceExceededException} (client fault)
99
+ * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
100
+ * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
101
+ *
102
+ *
32
103
  */
33
104
  export declare class BatchDescribeMergeConflictsCommand extends $Command<BatchDescribeMergeConflictsCommandInput, BatchDescribeMergeConflictsCommandOutput, CodeCommitClientResolvedConfig> {
34
105
  readonly input: BatchDescribeMergeConflictsCommandInput;
@@ -29,6 +29,41 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOut
29
29
  * @see {@link BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput} 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 MaximumRepositoryNamesExceededException} (client fault)
61
+ * <p>The maximum number of allowed repository names was exceeded. Currently, this number is 100.</p>
62
+ *
63
+ * @throws {@link RepositoryNamesRequiredException} (client fault)
64
+ * <p>At least one repository name object is required, but was not specified.</p>
65
+ *
66
+ *
32
67
  */
33
68
  export declare class BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand extends $Command<BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput, CodeCommitClientResolvedConfig> {
34
69
  readonly input: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput;
@@ -29,6 +29,43 @@ export interface BatchGetCommitsCommandOutput extends BatchGetCommitsOutput, __M
29
29
  * @see {@link BatchGetCommitsCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link CommitIdsLimitExceededException} (client fault)
33
+ * <p>The maximum number of allowed commit IDs in a batch request is 100. Verify that your batch requests contains no more than 100 commit IDs, and then try again.</p>
34
+ *
35
+ * @throws {@link CommitIdsListRequiredException} (client fault)
36
+ * <p>A list of commit IDs is required, but was either not specified or the list was empty.</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 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 BatchGetCommitsCommand extends $Command<BatchGetCommitsCommandInput, BatchGetCommitsCommandOutput, CodeCommitClientResolvedConfig> {
34
71
  readonly input: BatchGetCommitsCommandInput;
@@ -36,6 +36,37 @@ export interface BatchGetRepositoriesCommandOutput extends BatchGetRepositoriesO
36
36
  * @see {@link BatchGetRepositoriesCommandOutput} for command's `response` shape.
37
37
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
38
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 InvalidRepositoryNameException} (client fault)
55
+ * <p>A specified repository name is not valid.</p>
56
+ *
57
+ * <note>
58
+ * <p>This exception occurs only when a specified repository name is not valid. Other
59
+ * exceptions occur when a required repository parameter is missing, or when a
60
+ * specified repository does not exist.</p>
61
+ * </note>
62
+ *
63
+ * @throws {@link MaximumRepositoryNamesExceededException} (client fault)
64
+ * <p>The maximum number of allowed repository names was exceeded. Currently, this number is 100.</p>
65
+ *
66
+ * @throws {@link RepositoryNamesRequiredException} (client fault)
67
+ * <p>At least one repository name object is required, but was not specified.</p>
68
+ *
69
+ *
39
70
  */
40
71
  export declare class BatchGetRepositoriesCommand extends $Command<BatchGetRepositoriesCommandInput, BatchGetRepositoriesCommandOutput, CodeCommitClientResolvedConfig> {
41
72
  readonly input: BatchGetRepositoriesCommandInput;
@@ -33,6 +33,36 @@ export interface CreateApprovalRuleTemplateCommandOutput extends CreateApprovalR
33
33
  * @see {@link CreateApprovalRuleTemplateCommandOutput} for command's `response` shape.
34
34
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
35
35
  *
36
+ * @throws {@link ApprovalRuleTemplateContentRequiredException} (client fault)
37
+ * <p>The content for the approval rule template is empty. You must provide some content for an approval rule template. The content cannot be null.</p>
38
+ *
39
+ * @throws {@link ApprovalRuleTemplateNameAlreadyExistsException} (client fault)
40
+ * <p>You cannot create an approval rule template with that name because a template with
41
+ * that name already exists in this AWS Region for your AWS account. Approval rule template
42
+ * names must be unique.</p>
43
+ *
44
+ * @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
45
+ * <p>An approval rule template name is required, but was not specified.</p>
46
+ *
47
+ * @throws {@link InvalidApprovalRuleTemplateContentException} (client fault)
48
+ * <p>The content of the approval rule template is not valid.</p>
49
+ *
50
+ * @throws {@link InvalidApprovalRuleTemplateDescriptionException} (client fault)
51
+ * <p>The description for the approval rule template is not valid because it exceeds the
52
+ * maximum characters allowed for a description. For more information about limits in AWS
53
+ * CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS CodeCommit User
54
+ * Guide</a>.</p>
55
+ *
56
+ * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
57
+ * <p>The name of the approval rule template is not valid. Template names must be between 1
58
+ * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
59
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
60
+ * CodeCommit User Guide</a>.</p>
61
+ *
62
+ * @throws {@link NumberOfRuleTemplatesExceededException} (client fault)
63
+ * <p>The maximum number of approval rule templates has been exceeded for this AWS Region. </p>
64
+ *
65
+ *
36
66
  */
37
67
  export declare class CreateApprovalRuleTemplateCommand extends $Command<CreateApprovalRuleTemplateCommandInput, CreateApprovalRuleTemplateCommandOutput, CodeCommitClientResolvedConfig> {
38
68
  readonly input: CreateApprovalRuleTemplateCommandInput;
@@ -32,6 +32,56 @@ export interface CreateBranchCommandOutput extends __MetadataBearer {
32
32
  * @see {@link CreateBranchCommandOutput} for command's `response` shape.
33
33
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
34
34
  *
35
+ * @throws {@link BranchNameExistsException} (client fault)
36
+ * <p>Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name.
37
+ * Branch names must be unique.</p>
38
+ *
39
+ * @throws {@link BranchNameRequiredException} (client fault)
40
+ * <p>A branch name is required, but was not specified.</p>
41
+ *
42
+ * @throws {@link CommitDoesNotExistException} (client fault)
43
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
44
+ *
45
+ * @throws {@link CommitIdRequiredException} (client fault)
46
+ * <p>A commit ID was not specified.</p>
47
+ *
48
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
49
+ * <p>An encryption integrity check failed.</p>
50
+ *
51
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
52
+ * <p>An encryption key could not be accessed.</p>
53
+ *
54
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
55
+ * <p>The encryption key is disabled.</p>
56
+ *
57
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
58
+ * <p>No encryption key was found.</p>
59
+ *
60
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
61
+ * <p>The encryption key is not available.</p>
62
+ *
63
+ * @throws {@link InvalidBranchNameException} (client fault)
64
+ * <p>The specified reference name is not valid.</p>
65
+ *
66
+ * @throws {@link InvalidCommitIdException} (client fault)
67
+ * <p>The specified commit ID is not valid.</p>
68
+ *
69
+ * @throws {@link InvalidRepositoryNameException} (client fault)
70
+ * <p>A specified repository name is not valid.</p>
71
+ *
72
+ * <note>
73
+ * <p>This exception occurs only when a specified repository name is not valid. Other
74
+ * exceptions occur when a required repository parameter is missing, or when a
75
+ * specified repository does not exist.</p>
76
+ * </note>
77
+ *
78
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
79
+ * <p>The specified repository does not exist.</p>
80
+ *
81
+ * @throws {@link RepositoryNameRequiredException} (client fault)
82
+ * <p>A repository name is required, but was not specified.</p>
83
+ *
84
+ *
35
85
  */
36
86
  export declare class CreateBranchCommand extends $Command<CreateBranchCommandInput, CreateBranchCommandOutput, CodeCommitClientResolvedConfig> {
37
87
  readonly input: CreateBranchCommandInput;
@@ -29,6 +29,146 @@ export interface CreateCommitCommandOutput extends CreateCommitOutput, __Metadat
29
29
  * @see {@link CreateCommitCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link BranchDoesNotExistException} (client fault)
33
+ * <p>The specified branch does not exist.</p>
34
+ *
35
+ * @throws {@link BranchNameIsTagNameException} (client fault)
36
+ * <p>The specified branch name is not valid because it is a tag name. Enter the name of a
37
+ * branch in the repository. For a list of valid branch names, use <a>ListBranches</a>.</p>
38
+ *
39
+ * @throws {@link BranchNameRequiredException} (client fault)
40
+ * <p>A branch name is required, but was not specified.</p>
41
+ *
42
+ * @throws {@link CommitMessageLengthExceededException} (client fault)
43
+ * <p>The commit message is too long. Provide a shorter string. </p>
44
+ *
45
+ * @throws {@link DirectoryNameConflictsWithFileNameException} (client fault)
46
+ * <p>A file cannot be added to the repository because the specified path name has the same name as a file that already exists in this repository.
47
+ * Either provide a different name for the file, or specify a different path for the file.</p>
48
+ *
49
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
50
+ * <p>An encryption integrity check failed.</p>
51
+ *
52
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
53
+ * <p>An encryption key could not be accessed.</p>
54
+ *
55
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
56
+ * <p>The encryption key is disabled.</p>
57
+ *
58
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
59
+ * <p>No encryption key was found.</p>
60
+ *
61
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
62
+ * <p>The encryption key is not available.</p>
63
+ *
64
+ * @throws {@link FileContentAndSourceFileSpecifiedException} (client fault)
65
+ * <p>The commit cannot be created because both a source file and file content have been
66
+ * specified for the same file. You cannot provide both. Either specify a source file or
67
+ * provide the file content directly.</p>
68
+ *
69
+ * @throws {@link FileContentSizeLimitExceededException} (client fault)
70
+ * <p>The file cannot be added because it is too large. The maximum file size is 6 MB, and
71
+ * the combined file content change size is 7 MB. Consider making these changes using a Git
72
+ * client.</p>
73
+ *
74
+ * @throws {@link FileDoesNotExistException} (client fault)
75
+ * <p>The specified file does not exist. Verify that you have used the correct file name,
76
+ * full path, and extension.</p>
77
+ *
78
+ * @throws {@link FileEntryRequiredException} (client fault)
79
+ * <p>The commit cannot be created because no files have been specified as added, updated, or changed (PutFile or DeleteFile) for the commit.</p>
80
+ *
81
+ * @throws {@link FileModeRequiredException} (client fault)
82
+ * <p>The commit cannot be created because no file mode has been specified. A file mode is
83
+ * required to update mode permissions for a file.</p>
84
+ *
85
+ * @throws {@link FileNameConflictsWithDirectoryNameException} (client fault)
86
+ * <p>A file cannot be added to the repository because the specified file name has the same name as a directory in this repository. Either provide
87
+ * another name for the file, or add the file in a directory that does not match the file name.</p>
88
+ *
89
+ * @throws {@link FilePathConflictsWithSubmodulePathException} (client fault)
90
+ * <p>The commit cannot be created because a specified file path points to a submodule. Verify that the destination files
91
+ * have valid file paths that do not point to a submodule.</p>
92
+ *
93
+ * @throws {@link FolderContentSizeLimitExceededException} (client fault)
94
+ * <p>The commit cannot be created because at least one of the overall changes in the commit results in a
95
+ * folder whose contents exceed the limit of 6 MB. Either reduce the number and size of your changes,
96
+ * or split the changes across multiple folders.</p>
97
+ *
98
+ * @throws {@link InvalidBranchNameException} (client fault)
99
+ * <p>The specified reference name is not valid.</p>
100
+ *
101
+ * @throws {@link InvalidDeletionParameterException} (client fault)
102
+ * <p>The specified deletion parameter is not valid.</p>
103
+ *
104
+ * @throws {@link InvalidEmailException} (client fault)
105
+ * <p>The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters
106
+ * allowed for an email address.</p>
107
+ *
108
+ * @throws {@link InvalidFileModeException} (client fault)
109
+ * <p>The specified file mode permission is not valid. For a list of valid file mode permissions, see <a>PutFile</a>. </p>
110
+ *
111
+ * @throws {@link InvalidParentCommitIdException} (client fault)
112
+ * <p>The parent commit ID is not valid. The commit ID cannot be empty, and must match the head commit ID for the branch of the repository where you
113
+ * want to add or update a file.</p>
114
+ *
115
+ * @throws {@link InvalidPathException} (client fault)
116
+ * <p>The specified path is not valid.</p>
117
+ *
118
+ * @throws {@link InvalidRepositoryNameException} (client fault)
119
+ * <p>A specified repository name is not valid.</p>
120
+ *
121
+ * <note>
122
+ * <p>This exception occurs only when a specified repository name is not valid. Other
123
+ * exceptions occur when a required repository parameter is missing, or when a
124
+ * specified repository does not exist.</p>
125
+ * </note>
126
+ *
127
+ * @throws {@link MaximumFileEntriesExceededException} (client fault)
128
+ * <p>The number of specified files to change as part of this commit exceeds the maximum number of files
129
+ * that can be changed in a single commit. Consider using a Git client for these changes.</p>
130
+ *
131
+ * @throws {@link NameLengthExceededException} (client fault)
132
+ * <p>The user name is not valid because it has exceeded the character limit for author names. </p>
133
+ *
134
+ * @throws {@link NoChangeException} (client fault)
135
+ * <p>The commit cannot be created because no changes will be made to the repository as a result of this commit. A commit must contain at least one change.</p>
136
+ *
137
+ * @throws {@link ParentCommitDoesNotExistException} (client fault)
138
+ * <p>The parent commit ID is not valid because it does not exist. The specified parent commit ID does not exist in the specified branch of the repository.</p>
139
+ *
140
+ * @throws {@link ParentCommitIdOutdatedException} (client fault)
141
+ * <p>The file could not be added because the provided parent commit ID is not the current tip of the specified branch. To view the full commit ID of the current head
142
+ * of the branch, use <a>GetBranch</a>.</p>
143
+ *
144
+ * @throws {@link ParentCommitIdRequiredException} (client fault)
145
+ * <p>A parent commit ID is required. To view the full commit ID of a branch in a repository, use <a>GetBranch</a> or a Git command
146
+ * (for example, git pull or git log).</p>
147
+ *
148
+ * @throws {@link PathRequiredException} (client fault)
149
+ * <p>The folderPath for a location cannot be null.</p>
150
+ *
151
+ * @throws {@link PutFileEntryConflictException} (client fault)
152
+ * <p>The commit cannot be created because one or more files specified in the commit reference both a file and a folder.</p>
153
+ *
154
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
155
+ * <p>The specified repository does not exist.</p>
156
+ *
157
+ * @throws {@link RepositoryNameRequiredException} (client fault)
158
+ * <p>A repository name is required, but was not specified.</p>
159
+ *
160
+ * @throws {@link RestrictedSourceFileException} (client fault)
161
+ * <p>The commit cannot be created because one of the changes specifies copying or moving a .gitkeep file.</p>
162
+ *
163
+ * @throws {@link SamePathRequestException} (client fault)
164
+ * <p>The commit cannot be created because one or more changes in this commit duplicate actions in the same file path. For example,
165
+ * you cannot make the same delete request to the same file in the same file path twice, or make a delete request and a move request to the same
166
+ * file as part of the same commit.</p>
167
+ *
168
+ * @throws {@link SourceFileOrContentRequiredException} (client fault)
169
+ * <p>The commit cannot be created because no source files or file content have been specified for the commit.</p>
170
+ *
171
+ *
32
172
  */
33
173
  export declare class CreateCommitCommand extends $Command<CreateCommitCommandInput, CreateCommitCommandOutput, CodeCommitClientResolvedConfig> {
34
174
  readonly input: CreateCommitCommandInput;
@@ -29,6 +29,53 @@ export interface CreatePullRequestApprovalRuleCommandOutput extends CreatePullRe
29
29
  * @see {@link CreatePullRequestApprovalRuleCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link ApprovalRuleContentRequiredException} (client fault)
33
+ * <p>The content for the approval rule is empty. You must provide some content for an approval rule. The content cannot be null.</p>
34
+ *
35
+ * @throws {@link ApprovalRuleNameAlreadyExistsException} (client fault)
36
+ * <p>An approval rule with that name already exists. Approval rule names must be unique
37
+ * within the scope of a pull request.</p>
38
+ *
39
+ * @throws {@link ApprovalRuleNameRequiredException} (client fault)
40
+ * <p>An approval rule name is required, but was not specified.</p>
41
+ *
42
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
43
+ * <p>An encryption integrity check failed.</p>
44
+ *
45
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
46
+ * <p>An encryption key could not be accessed.</p>
47
+ *
48
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
49
+ * <p>The encryption key is disabled.</p>
50
+ *
51
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
52
+ * <p>No encryption key was found.</p>
53
+ *
54
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
55
+ * <p>The encryption key is not available.</p>
56
+ *
57
+ * @throws {@link InvalidApprovalRuleContentException} (client fault)
58
+ * <p>The content for the approval rule is not valid.</p>
59
+ *
60
+ * @throws {@link InvalidApprovalRuleNameException} (client fault)
61
+ * <p>The name for the approval rule is not valid.</p>
62
+ *
63
+ * @throws {@link InvalidPullRequestIdException} (client fault)
64
+ * <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>
65
+ *
66
+ * @throws {@link NumberOfRulesExceededException} (client fault)
67
+ * <p>The approval rule cannot be added. The pull request has the maximum number of approval rules associated with it.</p>
68
+ *
69
+ * @throws {@link PullRequestAlreadyClosedException} (client fault)
70
+ * <p>The pull request status cannot be updated because it is already closed.</p>
71
+ *
72
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
73
+ * <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>
74
+ *
75
+ * @throws {@link PullRequestIdRequiredException} (client fault)
76
+ * <p>A pull request ID is required, but none was provided.</p>
77
+ *
78
+ *
32
79
  */
33
80
  export declare class CreatePullRequestApprovalRuleCommand extends $Command<CreatePullRequestApprovalRuleCommandInput, CreatePullRequestApprovalRuleCommandOutput, CodeCommitClientResolvedConfig> {
34
81
  readonly input: CreatePullRequestApprovalRuleCommandInput;