@aws-sdk/client-codecommit 3.289.0 → 3.290.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 +29 -29
@@ -31,6 +31,44 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
31
31
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
32
32
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidRepositoryNameException} (client fault)
35
+ * <p>A specified repository name is not valid.</p>
36
+ *
37
+ * <note>
38
+ * <p>This exception occurs only when a specified repository name is not valid. Other
39
+ * exceptions occur when a required repository parameter is missing, or when a
40
+ * specified repository does not exist.</p>
41
+ * </note>
42
+ *
43
+ * @throws {@link InvalidResourceArnException} (client fault)
44
+ * <p>The value for the resource ARN is not valid. For more information about resources in AWS CodeCommit, see
45
+ * <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
46
+ * in the AWS CodeCommit User Guide.</p>
47
+ *
48
+ * @throws {@link InvalidSystemTagUsageException} (client fault)
49
+ * <p>The specified tag is not valid. Key names cannot be prefixed with aws:.</p>
50
+ *
51
+ * @throws {@link InvalidTagsMapException} (client fault)
52
+ * <p>The map of tags is not valid.</p>
53
+ *
54
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
55
+ * <p>The specified repository does not exist.</p>
56
+ *
57
+ * @throws {@link ResourceArnRequiredException} (client fault)
58
+ * <p>A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For a list of valid resources in AWS CodeCommit, see
59
+ * <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
60
+ * in the AWS CodeCommit User Guide.</p>
61
+ *
62
+ * @throws {@link TagPolicyException} (client fault)
63
+ * <p>The tag policy is not valid.</p>
64
+ *
65
+ * @throws {@link TagsMapRequiredException} (client fault)
66
+ * <p>A map of tags is required.</p>
67
+ *
68
+ * @throws {@link TooManyTagsException} (client fault)
69
+ * <p>The maximum number of tags for an AWS CodeCommit resource has been exceeded.</p>
70
+ *
71
+ *
34
72
  */
35
73
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodeCommitClientResolvedConfig> {
36
74
  readonly input: TagResourceCommandInput;
@@ -31,6 +31,80 @@ export interface TestRepositoryTriggersCommandOutput extends TestRepositoryTrigg
31
31
  * @see {@link TestRepositoryTriggersCommandOutput} for command's `response` shape.
32
32
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
33
33
  *
34
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
35
+ * <p>An encryption integrity check failed.</p>
36
+ *
37
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
38
+ * <p>An encryption key could not be accessed.</p>
39
+ *
40
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
41
+ * <p>The encryption key is disabled.</p>
42
+ *
43
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
44
+ * <p>No encryption key was found.</p>
45
+ *
46
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
47
+ * <p>The encryption key is not available.</p>
48
+ *
49
+ * @throws {@link InvalidRepositoryNameException} (client fault)
50
+ * <p>A specified repository name is not valid.</p>
51
+ *
52
+ * <note>
53
+ * <p>This exception occurs only when a specified repository name is not valid. Other
54
+ * exceptions occur when a required repository parameter is missing, or when a
55
+ * specified repository does not exist.</p>
56
+ * </note>
57
+ *
58
+ * @throws {@link InvalidRepositoryTriggerBranchNameException} (client fault)
59
+ * <p>One or more branch names specified for the trigger is not valid.</p>
60
+ *
61
+ * @throws {@link InvalidRepositoryTriggerCustomDataException} (client fault)
62
+ * <p>The custom data provided for the trigger is not valid.</p>
63
+ *
64
+ * @throws {@link InvalidRepositoryTriggerDestinationArnException} (client fault)
65
+ * <p>The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.</p>
66
+ *
67
+ * @throws {@link InvalidRepositoryTriggerEventsException} (client fault)
68
+ * <p>One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events.</p>
69
+ *
70
+ * @throws {@link InvalidRepositoryTriggerNameException} (client fault)
71
+ * <p>The name of the trigger is not valid.</p>
72
+ *
73
+ * @throws {@link InvalidRepositoryTriggerRegionException} (client fault)
74
+ * <p>The AWS Region for the trigger target does not match the AWS Region for the
75
+ * repository. Triggers must be created in the same Region as the target for the
76
+ * trigger.</p>
77
+ *
78
+ * @throws {@link MaximumBranchesExceededException} (client fault)
79
+ * <p>The number of branches for the trigger was exceeded.</p>
80
+ *
81
+ * @throws {@link MaximumRepositoryTriggersExceededException} (client fault)
82
+ * <p>The number of triggers allowed for the repository was exceeded.</p>
83
+ *
84
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
85
+ * <p>The specified repository does not exist.</p>
86
+ *
87
+ * @throws {@link RepositoryNameRequiredException} (client fault)
88
+ * <p>A repository name is required, but was not specified.</p>
89
+ *
90
+ * @throws {@link RepositoryTriggerBranchNameListRequiredException} (client fault)
91
+ * <p>At least one branch name is required, but was not specified in the trigger
92
+ * configuration.</p>
93
+ *
94
+ * @throws {@link RepositoryTriggerDestinationArnRequiredException} (client fault)
95
+ * <p>A destination ARN for the target service for the trigger is required, but was not
96
+ * specified.</p>
97
+ *
98
+ * @throws {@link RepositoryTriggerEventsListRequiredException} (client fault)
99
+ * <p>At least one event for the trigger is required, but was not specified.</p>
100
+ *
101
+ * @throws {@link RepositoryTriggerNameRequiredException} (client fault)
102
+ * <p>A name for the trigger is required, but was not specified.</p>
103
+ *
104
+ * @throws {@link RepositoryTriggersListRequiredException} (client fault)
105
+ * <p>The list of triggers for the repository is required, but was not specified.</p>
106
+ *
107
+ *
34
108
  */
35
109
  export declare class TestRepositoryTriggersCommand extends $Command<TestRepositoryTriggersCommandInput, TestRepositoryTriggersCommandOutput, CodeCommitClientResolvedConfig> {
36
110
  readonly input: TestRepositoryTriggersCommandInput;
@@ -31,6 +31,44 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
31
31
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
32
32
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidRepositoryNameException} (client fault)
35
+ * <p>A specified repository name is not valid.</p>
36
+ *
37
+ * <note>
38
+ * <p>This exception occurs only when a specified repository name is not valid. Other
39
+ * exceptions occur when a required repository parameter is missing, or when a
40
+ * specified repository does not exist.</p>
41
+ * </note>
42
+ *
43
+ * @throws {@link InvalidResourceArnException} (client fault)
44
+ * <p>The value for the resource ARN is not valid. For more information about resources in AWS CodeCommit, see
45
+ * <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
46
+ * in the AWS CodeCommit User Guide.</p>
47
+ *
48
+ * @throws {@link InvalidSystemTagUsageException} (client fault)
49
+ * <p>The specified tag is not valid. Key names cannot be prefixed with aws:.</p>
50
+ *
51
+ * @throws {@link InvalidTagKeysListException} (client fault)
52
+ * <p>The list of tags is not valid.</p>
53
+ *
54
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
55
+ * <p>The specified repository does not exist.</p>
56
+ *
57
+ * @throws {@link ResourceArnRequiredException} (client fault)
58
+ * <p>A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For a list of valid resources in AWS CodeCommit, see
59
+ * <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
60
+ * in the AWS CodeCommit User Guide.</p>
61
+ *
62
+ * @throws {@link TagKeysListRequiredException} (client fault)
63
+ * <p>A list of tag keys is required. The list cannot be empty or null.</p>
64
+ *
65
+ * @throws {@link TagPolicyException} (client fault)
66
+ * <p>The tag policy is not valid.</p>
67
+ *
68
+ * @throws {@link TooManyTagsException} (client fault)
69
+ * <p>The maximum number of tags for an AWS CodeCommit resource has been exceeded.</p>
70
+ *
71
+ *
34
72
  */
35
73
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodeCommitClientResolvedConfig> {
36
74
  readonly input: UntagResourceCommandInput;
@@ -31,6 +31,29 @@ export interface UpdateApprovalRuleTemplateContentCommandOutput extends UpdateAp
31
31
  * @see {@link UpdateApprovalRuleTemplateContentCommandOutput} for command's `response` shape.
32
32
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
33
33
  *
34
+ * @throws {@link ApprovalRuleTemplateContentRequiredException} (client fault)
35
+ * <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>
36
+ *
37
+ * @throws {@link ApprovalRuleTemplateDoesNotExistException} (client fault)
38
+ * <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
39
+ * was created, and then try again.</p>
40
+ *
41
+ * @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
42
+ * <p>An approval rule template name is required, but was not specified.</p>
43
+ *
44
+ * @throws {@link InvalidApprovalRuleTemplateContentException} (client fault)
45
+ * <p>The content of the approval rule template is not valid.</p>
46
+ *
47
+ * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
48
+ * <p>The name of the approval rule template is not valid. Template names must be between 1
49
+ * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
50
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
51
+ * CodeCommit User Guide</a>.</p>
52
+ *
53
+ * @throws {@link InvalidRuleContentSha256Exception} (client fault)
54
+ * <p>The SHA-256 hash signature for the rule content is not valid.</p>
55
+ *
56
+ *
34
57
  */
35
58
  export declare class UpdateApprovalRuleTemplateContentCommand extends $Command<UpdateApprovalRuleTemplateContentCommandInput, UpdateApprovalRuleTemplateContentCommandOutput, CodeCommitClientResolvedConfig> {
36
59
  readonly input: UpdateApprovalRuleTemplateContentCommandInput;
@@ -29,6 +29,26 @@ export interface UpdateApprovalRuleTemplateDescriptionCommandOutput extends Upda
29
29
  * @see {@link UpdateApprovalRuleTemplateDescriptionCommandOutput} 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 InvalidApprovalRuleTemplateDescriptionException} (client fault)
40
+ * <p>The description for the approval rule template is not valid because it exceeds the
41
+ * maximum characters allowed for a description. For more information about limits in AWS
42
+ * CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS CodeCommit User
43
+ * Guide</a>.</p>
44
+ *
45
+ * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
46
+ * <p>The name of the approval rule template is not valid. Template names must be between 1
47
+ * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
48
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
49
+ * CodeCommit User Guide</a>.</p>
50
+ *
51
+ *
32
52
  */
33
53
  export declare class UpdateApprovalRuleTemplateDescriptionCommand extends $Command<UpdateApprovalRuleTemplateDescriptionCommandInput, UpdateApprovalRuleTemplateDescriptionCommandOutput, CodeCommitClientResolvedConfig> {
34
54
  readonly input: UpdateApprovalRuleTemplateDescriptionCommandInput;
@@ -29,6 +29,25 @@ export interface UpdateApprovalRuleTemplateNameCommandOutput extends UpdateAppro
29
29
  * @see {@link UpdateApprovalRuleTemplateNameCommandOutput} 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 ApprovalRuleTemplateNameAlreadyExistsException} (client fault)
37
+ * <p>You cannot create an approval rule template with that name because a template with
38
+ * that name already exists in this AWS Region for your AWS account. Approval rule template
39
+ * names must be unique.</p>
40
+ *
41
+ * @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
42
+ * <p>An approval rule template name is required, but was not specified.</p>
43
+ *
44
+ * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
45
+ * <p>The name of the approval rule template is not valid. Template names must be between 1
46
+ * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
47
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
48
+ * CodeCommit User Guide</a>.</p>
49
+ *
50
+ *
32
51
  */
33
52
  export declare class UpdateApprovalRuleTemplateNameCommand extends $Command<UpdateApprovalRuleTemplateNameCommandInput, UpdateApprovalRuleTemplateNameCommandOutput, CodeCommitClientResolvedConfig> {
34
53
  readonly input: UpdateApprovalRuleTemplateNameCommandInput;
@@ -29,6 +29,29 @@ export interface UpdateCommentCommandOutput extends UpdateCommentOutput, __Metad
29
29
  * @see {@link UpdateCommentCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link CommentContentRequiredException} (client fault)
33
+ * <p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>
34
+ *
35
+ * @throws {@link CommentContentSizeLimitExceededException} (client fault)
36
+ * <p>The comment is too large. Comments are limited to 1,000 characters.</p>
37
+ *
38
+ * @throws {@link CommentDeletedException} (client fault)
39
+ * <p>This comment has already been deleted. You cannot edit or delete a deleted comment.</p>
40
+ *
41
+ * @throws {@link CommentDoesNotExistException} (client fault)
42
+ * <p>No comment exists with the provided ID. Verify that you have used the correct ID, and
43
+ * then try again.</p>
44
+ *
45
+ * @throws {@link CommentIdRequiredException} (client fault)
46
+ * <p>The comment ID is missing or null. A comment ID is required.</p>
47
+ *
48
+ * @throws {@link CommentNotCreatedByCallerException} (client fault)
49
+ * <p>You cannot modify or delete this comment. Only comment authors can modify or delete their comments.</p>
50
+ *
51
+ * @throws {@link InvalidCommentIdException} (client fault)
52
+ * <p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>
53
+ *
54
+ *
32
55
  */
33
56
  export declare class UpdateCommentCommand extends $Command<UpdateCommentCommandInput, UpdateCommentCommandOutput, CodeCommitClientResolvedConfig> {
34
57
  readonly input: UpdateCommentCommandInput;
@@ -32,6 +32,46 @@ export interface UpdateDefaultBranchCommandOutput extends __MetadataBearer {
32
32
  * @see {@link UpdateDefaultBranchCommandOutput} for command's `response` shape.
33
33
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
34
34
  *
35
+ * @throws {@link BranchDoesNotExistException} (client fault)
36
+ * <p>The specified branch does not exist.</p>
37
+ *
38
+ * @throws {@link BranchNameRequiredException} (client fault)
39
+ * <p>A branch name is required, but was not specified.</p>
40
+ *
41
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
42
+ * <p>An encryption integrity check failed.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
45
+ * <p>An encryption key could not be accessed.</p>
46
+ *
47
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
48
+ * <p>The encryption key is disabled.</p>
49
+ *
50
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
51
+ * <p>No encryption key was found.</p>
52
+ *
53
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
54
+ * <p>The encryption key is not available.</p>
55
+ *
56
+ * @throws {@link InvalidBranchNameException} (client fault)
57
+ * <p>The specified reference name is not valid.</p>
58
+ *
59
+ * @throws {@link InvalidRepositoryNameException} (client fault)
60
+ * <p>A specified repository name is not valid.</p>
61
+ *
62
+ * <note>
63
+ * <p>This exception occurs only when a specified repository name is not valid. Other
64
+ * exceptions occur when a required repository parameter is missing, or when a
65
+ * specified repository does not exist.</p>
66
+ * </note>
67
+ *
68
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
69
+ * <p>The specified repository does not exist.</p>
70
+ *
71
+ * @throws {@link RepositoryNameRequiredException} (client fault)
72
+ * <p>A repository name is required, but was not specified.</p>
73
+ *
74
+ *
35
75
  */
36
76
  export declare class UpdateDefaultBranchCommand extends $Command<UpdateDefaultBranchCommandInput, UpdateDefaultBranchCommandOutput, CodeCommitClientResolvedConfig> {
37
77
  readonly input: UpdateDefaultBranchCommandInput;
@@ -30,6 +30,56 @@ export interface UpdatePullRequestApprovalRuleContentCommandOutput extends Updat
30
30
  * @see {@link UpdatePullRequestApprovalRuleContentCommandOutput} for command's `response` shape.
31
31
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
32
32
  *
33
+ * @throws {@link ApprovalRuleContentRequiredException} (client fault)
34
+ * <p>The content for the approval rule is empty. You must provide some content for an approval rule. The content cannot be null.</p>
35
+ *
36
+ * @throws {@link ApprovalRuleDoesNotExistException} (client fault)
37
+ * <p>The specified approval rule does not exist.</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 CannotModifyApprovalRuleFromTemplateException} (client fault)
43
+ * <p>The approval rule cannot be modified for the pull request because it was created by an
44
+ * approval rule template and applied to the pull request automatically.</p>
45
+ *
46
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
47
+ * <p>An encryption integrity check failed.</p>
48
+ *
49
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
50
+ * <p>An encryption key could not be accessed.</p>
51
+ *
52
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
53
+ * <p>The encryption key is disabled.</p>
54
+ *
55
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
56
+ * <p>No encryption key was found.</p>
57
+ *
58
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
59
+ * <p>The encryption key is not available.</p>
60
+ *
61
+ * @throws {@link InvalidApprovalRuleContentException} (client fault)
62
+ * <p>The content for the approval rule is not valid.</p>
63
+ *
64
+ * @throws {@link InvalidApprovalRuleNameException} (client fault)
65
+ * <p>The name for the approval rule is not valid.</p>
66
+ *
67
+ * @throws {@link InvalidPullRequestIdException} (client fault)
68
+ * <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>
69
+ *
70
+ * @throws {@link InvalidRuleContentSha256Exception} (client fault)
71
+ * <p>The SHA-256 hash signature for the rule content is not valid.</p>
72
+ *
73
+ * @throws {@link PullRequestAlreadyClosedException} (client fault)
74
+ * <p>The pull request status cannot be updated because it is already closed.</p>
75
+ *
76
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
77
+ * <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>
78
+ *
79
+ * @throws {@link PullRequestIdRequiredException} (client fault)
80
+ * <p>A pull request ID is required, but none was provided.</p>
81
+ *
82
+ *
33
83
  */
34
84
  export declare class UpdatePullRequestApprovalRuleContentCommand extends $Command<UpdatePullRequestApprovalRuleContentCommandInput, UpdatePullRequestApprovalRuleContentCommandOutput, CodeCommitClientResolvedConfig> {
35
85
  readonly input: UpdatePullRequestApprovalRuleContentCommandInput;
@@ -29,6 +29,56 @@ export interface UpdatePullRequestApprovalStateCommandOutput extends __MetadataB
29
29
  * @see {@link UpdatePullRequestApprovalStateCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link ApprovalStateRequiredException} (client fault)
33
+ * <p>An approval state is required, but was not specified.</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 InvalidApprovalStateException} (client fault)
51
+ * <p>The state for the approval is not valid. Valid values include APPROVE and REVOKE. </p>
52
+ *
53
+ * @throws {@link InvalidPullRequestIdException} (client fault)
54
+ * <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>
55
+ *
56
+ * @throws {@link InvalidRevisionIdException} (client fault)
57
+ * <p>The revision ID is not valid. Use GetPullRequest to determine the value.</p>
58
+ *
59
+ * @throws {@link MaximumNumberOfApprovalsExceededException} (client fault)
60
+ * <p>The number of approvals required for the approval rule exceeds the maximum number allowed.</p>
61
+ *
62
+ * @throws {@link PullRequestAlreadyClosedException} (client fault)
63
+ * <p>The pull request status cannot be updated because it is already closed.</p>
64
+ *
65
+ * @throws {@link PullRequestCannotBeApprovedByAuthorException} (client fault)
66
+ * <p>The approval cannot be applied because the user approving the pull request matches the user who created the pull request. You cannot approve a pull
67
+ * request that you created.</p>
68
+ *
69
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
70
+ * <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>
71
+ *
72
+ * @throws {@link PullRequestIdRequiredException} (client fault)
73
+ * <p>A pull request ID is required, but none was provided.</p>
74
+ *
75
+ * @throws {@link RevisionIdRequiredException} (client fault)
76
+ * <p>A revision ID is required, but was not provided.</p>
77
+ *
78
+ * @throws {@link RevisionNotCurrentException} (client fault)
79
+ * <p>The revision ID provided in the request does not match the current revision ID. Use GetPullRequest to retrieve the current revision ID.</p>
80
+ *
81
+ *
32
82
  */
33
83
  export declare class UpdatePullRequestApprovalStateCommand extends $Command<UpdatePullRequestApprovalStateCommandInput, UpdatePullRequestApprovalStateCommandOutput, CodeCommitClientResolvedConfig> {
34
84
  readonly input: UpdatePullRequestApprovalStateCommandInput;
@@ -29,6 +29,23 @@ export interface UpdatePullRequestDescriptionCommandOutput extends UpdatePullReq
29
29
  * @see {@link UpdatePullRequestDescriptionCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidDescriptionException} (client fault)
33
+ * <p>The pull request description is not valid. Descriptions cannot be more than 1,000
34
+ * characters.</p>
35
+ *
36
+ * @throws {@link InvalidPullRequestIdException} (client fault)
37
+ * <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>
38
+ *
39
+ * @throws {@link PullRequestAlreadyClosedException} (client fault)
40
+ * <p>The pull request status cannot be updated because it is already closed.</p>
41
+ *
42
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
43
+ * <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>
44
+ *
45
+ * @throws {@link PullRequestIdRequiredException} (client fault)
46
+ * <p>A pull request ID is required, but none was provided.</p>
47
+ *
48
+ *
32
49
  */
33
50
  export declare class UpdatePullRequestDescriptionCommand extends $Command<UpdatePullRequestDescriptionCommandInput, UpdatePullRequestDescriptionCommandOutput, CodeCommitClientResolvedConfig> {
34
51
  readonly input: UpdatePullRequestDescriptionCommandInput;
@@ -29,6 +29,40 @@ export interface UpdatePullRequestStatusCommandOutput extends UpdatePullRequestS
29
29
  * @see {@link UpdatePullRequestStatusCommandOutput} 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 InvalidPullRequestStatusException} (client fault)
51
+ * <p>The pull request status is not valid. The only valid values are <code>OPEN</code> and <code>CLOSED</code>.</p>
52
+ *
53
+ * @throws {@link InvalidPullRequestStatusUpdateException} (client fault)
54
+ * <p>The pull request status update is not valid. The only valid update is from <code>OPEN</code> to <code>CLOSED</code>.</p>
55
+ *
56
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
57
+ * <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>
58
+ *
59
+ * @throws {@link PullRequestIdRequiredException} (client fault)
60
+ * <p>A pull request ID is required, but none was provided.</p>
61
+ *
62
+ * @throws {@link PullRequestStatusRequiredException} (client fault)
63
+ * <p>A pull request status is required, but none was provided.</p>
64
+ *
65
+ *
32
66
  */
33
67
  export declare class UpdatePullRequestStatusCommand extends $Command<UpdatePullRequestStatusCommandInput, UpdatePullRequestStatusCommandOutput, CodeCommitClientResolvedConfig> {
34
68
  readonly input: UpdatePullRequestStatusCommandInput;
@@ -29,6 +29,25 @@ export interface UpdatePullRequestTitleCommandOutput extends UpdatePullRequestTi
29
29
  * @see {@link UpdatePullRequestTitleCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidPullRequestIdException} (client fault)
33
+ * <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>
34
+ *
35
+ * @throws {@link InvalidTitleException} (client fault)
36
+ * <p>The title of the pull request is not valid. Pull request titles cannot exceed 100 characters in length.</p>
37
+ *
38
+ * @throws {@link PullRequestAlreadyClosedException} (client fault)
39
+ * <p>The pull request status cannot be updated because it is already closed.</p>
40
+ *
41
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
42
+ * <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>
43
+ *
44
+ * @throws {@link PullRequestIdRequiredException} (client fault)
45
+ * <p>A pull request ID is required, but none was provided.</p>
46
+ *
47
+ * @throws {@link TitleRequiredException} (client fault)
48
+ * <p>A pull request title is required. It cannot be empty or null.</p>
49
+ *
50
+ *
32
51
  */
33
52
  export declare class UpdatePullRequestTitleCommand extends $Command<UpdatePullRequestTitleCommandInput, UpdatePullRequestTitleCommandOutput, CodeCommitClientResolvedConfig> {
34
53
  readonly input: UpdatePullRequestTitleCommandInput;
@@ -36,6 +36,40 @@ export interface UpdateRepositoryDescriptionCommandOutput extends __MetadataBear
36
36
  * @see {@link UpdateRepositoryDescriptionCommandOutput} 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 InvalidRepositoryDescriptionException} (client fault)
55
+ * <p>The specified repository description is not valid.</p>
56
+ *
57
+ * @throws {@link InvalidRepositoryNameException} (client fault)
58
+ * <p>A specified repository name is not valid.</p>
59
+ *
60
+ * <note>
61
+ * <p>This exception occurs only when a specified repository name is not valid. Other
62
+ * exceptions occur when a required repository parameter is missing, or when a
63
+ * specified repository does not exist.</p>
64
+ * </note>
65
+ *
66
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
67
+ * <p>The specified repository does not exist.</p>
68
+ *
69
+ * @throws {@link RepositoryNameRequiredException} (client fault)
70
+ * <p>A repository name is required, but was not specified.</p>
71
+ *
72
+ *
39
73
  */
40
74
  export declare class UpdateRepositoryDescriptionCommand extends $Command<UpdateRepositoryDescriptionCommandInput, UpdateRepositoryDescriptionCommandOutput, CodeCommitClientResolvedConfig> {
41
75
  readonly input: UpdateRepositoryDescriptionCommandInput;
@@ -33,6 +33,25 @@ export interface UpdateRepositoryNameCommandOutput extends __MetadataBearer {
33
33
  * @see {@link UpdateRepositoryNameCommandOutput} for command's `response` shape.
34
34
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
35
35
  *
36
+ * @throws {@link InvalidRepositoryNameException} (client fault)
37
+ * <p>A specified repository name is not valid.</p>
38
+ *
39
+ * <note>
40
+ * <p>This exception occurs only when a specified repository name is not valid. Other
41
+ * exceptions occur when a required repository parameter is missing, or when a
42
+ * specified repository does not exist.</p>
43
+ * </note>
44
+ *
45
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
46
+ * <p>The specified repository does not exist.</p>
47
+ *
48
+ * @throws {@link RepositoryNameExistsException} (client fault)
49
+ * <p>The specified repository name already exists.</p>
50
+ *
51
+ * @throws {@link RepositoryNameRequiredException} (client fault)
52
+ * <p>A repository name is required, but was not specified.</p>
53
+ *
54
+ *
36
55
  */
37
56
  export declare class UpdateRepositoryNameCommand extends $Command<UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput, CodeCommitClientResolvedConfig> {
38
57
  readonly input: UpdateRepositoryNameCommandInput;