Module aws_sdk_codecommit::error[][src]

Expand description

Errors that can occur when calling the service.

Modules

Structs

The specified Amazon Resource Name (ARN) does not exist in the AWS account.

The content for the approval rule is empty. You must provide some content for an approval rule. The content cannot be null.

The specified approval rule does not exist.

An approval rule with that name already exists. Approval rule names must be unique

An approval rule name is required, but was not specified.

The content for the approval rule template is empty. You must provide some content for an approval rule template. The content cannot be null.

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

The approval rule template is associated with one or more repositories. You cannot delete a template that is associated with a repository. Remove

You cannot create an approval rule template with that name because a template with

An approval rule template name is required, but was not specified.

An approval state is required, but was not specified.

Error type for the AssociateApprovalRuleTemplateWithRepository operation.

The specified Amazon Resource Name (ARN) does not exist in the AWS account.

Error type for the BatchAssociateApprovalRuleTemplateWithRepositories operation.

Error type for the BatchDescribeMergeConflicts operation.

Error type for the BatchDisassociateApprovalRuleTemplateFromRepositories operation.

Error type for the BatchGetCommits operation.

Error type for the BatchGetRepositories operation.

The before commit ID and the after commit ID are the same, which is not valid. The before commit ID and the after commit ID must be different commit IDs.

The specified blob does not exist.

A blob ID is required, but was not specified.

The specified branch does not exist.

Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name.

The specified branch name is not valid because it is a tag name. Enter the name of a

A branch name is required, but was not specified.

The approval rule cannot be deleted from the pull request because it was created by an

The approval rule cannot be modified for the pull request because it was created by an

A client request token is required. A client request token is an unique,

The comment is empty. You must provide some content for a comment. The content cannot be null.

The comment is too large. Comments are limited to 1,000 characters.

This comment has already been deleted. You cannot edit or delete a deleted comment.

No comment exists with the provided ID. Verify that you have used the correct ID, and

The comment ID is missing or null. A comment ID is required.

You cannot modify or delete this comment. Only comment authors can modify or delete their comments.

The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

The specified commit ID does not exist.

A commit ID was not specified.

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.

A list of commit IDs is required, but was either not specified or the list was empty.

The commit message is too long. Provide a shorter string.

A commit was not specified.

The merge cannot be completed because the target branch has been modified. Another user might have modified the target branch while the merge was in progress. Wait a few minutes, and then try again.

Error type for the CreateApprovalRuleTemplate operation.

Error type for the CreateBranch operation.

Error type for the CreateCommit operation.

Error type for the CreatePullRequestApprovalRule operation.

Error type for the CreatePullRequest operation.

Error type for the CreateRepository operation.

Error type for the CreateUnreferencedMergeCommit operation.

The specified branch is the default branch for the repository, and cannot be deleted. To delete this branch, you must first set another branch as the default branch.

Error type for the DeleteApprovalRuleTemplate operation.

Error type for the DeleteBranch operation.

Error type for the DeleteCommentContent operation.

Error type for the DeleteFile operation.

Error type for the DeletePullRequestApprovalRule operation.

Error type for the DeleteRepository operation.

Error type for the DescribeMergeConflicts operation.

Error type for the DescribePullRequestEvents operation.

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.

Error type for the DisassociateApprovalRuleTemplateFromRepository operation.

An encryption integrity check failed.

An encryption key could not be accessed.

The encryption key is disabled.

No encryption key was found.

The encryption key is not available.

Error type for the EvaluatePullRequestApprovalRules operation.

The commit cannot be created because both a source file and file content have been

The file cannot be added because it is empty. Empty files cannot be added to the repository with this API.

The file cannot be added because it is too large. The maximum file size is 6 MB, and

The specified file does not exist. Verify that you have used the correct file name,

The commit cannot be created because no files have been specified as added, updated, or changed (PutFile or DeleteFile) for the commit.

The commit cannot be created because no file mode has been specified. A file mode is

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

The commit cannot be created because a specified file path points to a submodule. Verify that the destination files

The specified file exceeds the file size limit for AWS CodeCommit. For more information about limits in AWS CodeCommit, see

The commit cannot be created because at least one of the overall changes in the commit results in a

The specified folder does not exist. Either the folder name is not correct, or you did

Error type for the GetApprovalRuleTemplate operation.

Error type for the GetBlob operation.

Error type for the GetBranch operation.

Error type for the GetComment operation.

Error type for the GetCommentReactions operation.

Error type for the GetCommentsForComparedCommit operation.

Error type for the GetCommentsForPullRequest operation.

Error type for the GetCommit operation.

Error type for the GetDifferences operation.

Error type for the GetFile operation.

Error type for the GetFolder operation.

Error type for the GetMergeCommit operation.

Error type for the GetMergeConflicts operation.

Error type for the GetMergeOptions operation.

Error type for the GetPullRequestApprovalStates operation.

Error type for the GetPullRequest operation.

Error type for the GetPullRequestOverrideState operation.

Error type for the GetRepository operation.

Error type for the GetRepositoryTriggers operation.

The client request token is not valid. Either the token is not in a valid format, or

The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the user who initiated the change for the pull request,

The content for the approval rule is not valid.

The name for the approval rule is not valid.

The content of the approval rule template is not valid.

The description for the approval rule template is not valid because it exceeds the

The name of the approval rule template is not valid. Template names must be between 1

The state for the approval is not valid. Valid values include APPROVE and REVOKE.

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.

The specified blob is not valid.

The specified reference name is not valid.

The client request token is not valid.

The comment ID is not in a valid format. Make sure that you have provided the full comment ID.

The specified commit is not valid.

The specified commit ID is not valid.

The specified conflict detail level is not valid.

The specified conflict resolution list is not valid.

The specified conflict resolution strategy is not valid.

The specified continuation token is not valid.

The specified deletion parameter is not valid.

The pull request description is not valid. Descriptions cannot be more than 1,000

The destination commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.

The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters

The location of the file is not valid. Make sure that you include the file name and

The specified file mode permission is not valid. For a list of valid file mode permissions, see PutFile.

The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.

The specified value for the number of conflict files to return is not valid.

The specified value for the number of merge hunks to return is not valid.

The specified number of maximum results is not valid.

The specified merge option is not valid for this operation. Not all merge strategies are supported for all operations.

The specified sort order is not valid.

The override status is not valid. Valid statuses are OVERRIDE and REVOKE.

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

The specified path is not valid.

The pull request event type is not valid.

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.

The pull request status is not valid. The only valid values are OPEN and CLOSED.

The pull request status update is not valid. The only valid update is from OPEN to CLOSED.

The Amazon Resource Name (ARN) of the user or identity is not valid.

The value of the reaction is not valid. For more information, see the AWS CodeCommit User Guide.

The specified reference name format is not valid. Reference names must conform to the

Either the enum is not in a valid format, or the specified file version enum is not valid in respect to the current file version.

Automerge was specified for resolving the conflict, but the replacement type is not valid or content is missing.

Automerge was specified for resolving the conflict, but the specified replacement type is not valid.

The specified repository description is not valid.

A specified repository name is not valid.

One or more branch names specified for the trigger is not valid.

The custom data provided for the trigger is not valid.

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.

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.

The name of the trigger is not valid.

The AWS Region for the trigger target does not match the AWS Region for the

The value for the resource ARN is not valid. For more information about resources in AWS CodeCommit, see

The revision ID is not valid. Use GetPullRequest to determine the value.

The SHA-256 hash signature for the rule content is not valid.

The specified sort by value is not valid.

The source commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.

The specified tag is not valid. Key names cannot be prefixed with aws:.

The list of tags is not valid.

The map of tags is not valid.

The specified target branch is not valid.

The target for the pull request is not valid. A target must contain the full values for the repository name, source branch, and destination branch for the pull request.

The targets for the pull request is not valid or not in a valid format. Targets are a list of target objects. Each target object must contain the full values for

The title of the pull request is not valid. Pull request titles cannot exceed 100 characters in length.

Error type for the ListApprovalRuleTemplates operation.

Error type for the ListAssociatedApprovalRuleTemplatesForRepository operation.

Error type for the ListBranches operation.

Error type for the ListPullRequests operation.

Error type for the ListRepositories operation.

Error type for the ListRepositoriesForApprovalRuleTemplate operation.

Error type for the ListTagsForResource operation.

The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.

The number of branches for the trigger was exceeded.

The number of allowed conflict resolution entries was exceeded.

The number of files to load exceeds the allowed limit.

The number of specified files to change as part of this commit exceeds the maximum number of files

The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.

The number of approvals required for the approval rule exceeds the maximum number allowed.

You cannot create the pull request because the repository has too many open pull requests.

The maximum number of allowed repository names was exceeded. Currently, this number is 100.

The number of triggers allowed for the repository was exceeded.

The maximum number of approval rule templates for a repository has been exceeded. You cannot associate more than 25

Error type for the MergeBranchesByFastForward operation.

Error type for the MergeBranchesBySquash operation.

Error type for the MergeBranchesByThreeWay operation.

A merge option or stategy is required, and none was provided.

Error type for the MergePullRequestByFastForward operation.

Error type for the MergePullRequestBySquash operation.

Error type for the MergePullRequestByThreeWay operation.

More than one conflict resolution entries exists for the conflict. A conflict can have only one conflict resolution entry.

You cannot include more than one repository in a pull request. Make sure you have specified only one repository name in your request, and then try again.

The user name is not valid because it has exceeded the character limit for author names.

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.

The maximum number of approval rule templates has been exceeded for this AWS Region.

The approval rule cannot be added. The pull request has the maximum number of approval rules associated with it.

The pull request has already had its approval rules set to override.

Error type for the OverridePullRequestApprovalRules operation.

An override status is required, but no value was provided. Valid values include OVERRIDE and REVOKE.

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.

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

A parent commit ID is required. To view the full commit ID of a branch in a repository, use GetBranch or a Git command

The specified path does not exist.

The folderPath for a location cannot be null.

Error type for the PostCommentForComparedCommit operation.

Error type for the PostCommentForPullRequest operation.

Error type for the PostCommentReply operation.

The pull request status cannot be updated because it is already closed.

The pull request cannot be merged because one or more approval rules applied to the pull request have conditions that have not been met.

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

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.

A pull request ID is required, but none was provided.

A pull request status is required, but none was provided.

Error type for the PutCommentReaction operation.

The commit cannot be created because one or more files specified in the commit reference both a file and a folder.

Error type for the PutFile operation.

Error type for the PutRepositoryTriggers operation.

The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID.

A reaction value is required.

The specified reference does not exist. You must provide a full commit ID.

A reference name is required, but none was provided.

The specified reference is not a supported type.

USE_NEW_CONTENT was specified, but no replacement content has been provided.

A replacement type is required.

The specified repository does not exist.

A repository resource limit was exceeded.

The specified repository name already exists.

A repository name is required, but was not specified.

At least one repository name object is required, but was not specified.

The repository does not contain any pull requests with that pull request ID. Use GetPullRequest to verify the correct repository name for the pull request ID.

At least one branch name is required, but was not specified in the trigger

A destination ARN for the target service for the trigger is required, but was not

At least one event for the trigger is required, but was not specified.

A name for the trigger is required, but was not specified.

The list of triggers for the repository is required, but was not specified.

A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For a list of valid resources in AWS CodeCommit, see

The commit cannot be created because one of the changes specifies copying or moving a .gitkeep file.

A revision ID is required, but was not provided.

The revision ID provided in the request does not match the current revision ID. Use GetPullRequest to retrieve the current revision ID.

The file was not added or updated because the content of the file is exactly the same as the content of that file in the repository and branch

The commit cannot be created because one or more changes in this commit duplicate actions in the same file path. For example,

The source branch and destination branch for the pull request are the same. You must

The commit cannot be created because no source files or file content have been specified for the commit.

A list of tag keys is required. The list cannot be empty or null.

The tag policy is not valid.

Error type for the TagResource operation.

A map of tags is required.

A pull request target is required. It cannot be empty or null. A pull request target must contain the full values for the repository name, source branch, and destination branch for the pull request.

An array of target objects is required. It cannot be empty or null.

Error type for the TestRepositoryTriggers operation.

The tip of the source branch in the destination repository does not match the tip of the source branch specified in your request.

The divergence between the tips of the provided commit specifiers is too great to determine whether there might be

A pull request title is required. It cannot be empty or null.

The maximum number of tags for an AWS CodeCommit resource has been exceeded.

Error type for the UntagResource operation.

Error type for the UpdateApprovalRuleTemplateContent operation.

Error type for the UpdateApprovalRuleTemplateDescription operation.

Error type for the UpdateApprovalRuleTemplateName operation.

Error type for the UpdateComment operation.

Error type for the UpdateDefaultBranch operation.

Error type for the UpdatePullRequestApprovalRuleContent operation.

Error type for the UpdatePullRequestApprovalState operation.

Error type for the UpdatePullRequestDescription operation.

Error type for the UpdatePullRequestStatus operation.

Error type for the UpdatePullRequestTitle operation.

Error type for the UpdateRepositoryDescription operation.

Error type for the UpdateRepositoryName operation.

Enums

Types of errors that can occur for the AssociateApprovalRuleTemplateWithRepository operation.

Types of errors that can occur for the BatchAssociateApprovalRuleTemplateWithRepositories operation.

Types of errors that can occur for the BatchDescribeMergeConflicts operation.

Types of errors that can occur for the BatchDisassociateApprovalRuleTemplateFromRepositories operation.

Types of errors that can occur for the BatchGetCommits operation.

Types of errors that can occur for the BatchGetRepositories operation.

Types of errors that can occur for the CreateApprovalRuleTemplate operation.

Types of errors that can occur for the CreateBranch operation.

Types of errors that can occur for the CreateCommit operation.

Types of errors that can occur for the CreatePullRequestApprovalRule operation.

Types of errors that can occur for the CreatePullRequest operation.

Types of errors that can occur for the CreateRepository operation.

Types of errors that can occur for the CreateUnreferencedMergeCommit operation.

Types of errors that can occur for the DeleteApprovalRuleTemplate operation.

Types of errors that can occur for the DeleteBranch operation.

Types of errors that can occur for the DeleteCommentContent operation.

Types of errors that can occur for the DeleteFile operation.

Types of errors that can occur for the DeletePullRequestApprovalRule operation.

Types of errors that can occur for the DeleteRepository operation.

Types of errors that can occur for the DescribeMergeConflicts operation.

Types of errors that can occur for the DescribePullRequestEvents operation.

Types of errors that can occur for the DisassociateApprovalRuleTemplateFromRepository operation.

Types of errors that can occur for the EvaluatePullRequestApprovalRules operation.

Types of errors that can occur for the GetApprovalRuleTemplate operation.

Types of errors that can occur for the GetBlob operation.

Types of errors that can occur for the GetBranch operation.

Types of errors that can occur for the GetComment operation.

Types of errors that can occur for the GetCommentReactions operation.

Types of errors that can occur for the GetCommentsForComparedCommit operation.

Types of errors that can occur for the GetCommentsForPullRequest operation.

Types of errors that can occur for the GetCommit operation.

Types of errors that can occur for the GetDifferences operation.

Types of errors that can occur for the GetFile operation.

Types of errors that can occur for the GetFolder operation.

Types of errors that can occur for the GetMergeCommit operation.

Types of errors that can occur for the GetMergeConflicts operation.

Types of errors that can occur for the GetMergeOptions operation.

Types of errors that can occur for the GetPullRequestApprovalStates operation.

Types of errors that can occur for the GetPullRequest operation.

Types of errors that can occur for the GetPullRequestOverrideState operation.

Types of errors that can occur for the GetRepository operation.

Types of errors that can occur for the GetRepositoryTriggers operation.

Types of errors that can occur for the ListApprovalRuleTemplates operation.

Types of errors that can occur for the ListAssociatedApprovalRuleTemplatesForRepository operation.

Types of errors that can occur for the ListBranches operation.

Types of errors that can occur for the ListPullRequests operation.

Types of errors that can occur for the ListRepositories operation.

Types of errors that can occur for the ListRepositoriesForApprovalRuleTemplate operation.

Types of errors that can occur for the ListTagsForResource operation.

Types of errors that can occur for the MergeBranchesByFastForward operation.

Types of errors that can occur for the MergeBranchesBySquash operation.

Types of errors that can occur for the MergeBranchesByThreeWay operation.

Types of errors that can occur for the MergePullRequestByFastForward operation.

Types of errors that can occur for the MergePullRequestBySquash operation.

Types of errors that can occur for the MergePullRequestByThreeWay operation.

Types of errors that can occur for the OverridePullRequestApprovalRules operation.

Types of errors that can occur for the PostCommentForComparedCommit operation.

Types of errors that can occur for the PostCommentForPullRequest operation.

Types of errors that can occur for the PostCommentReply operation.

Types of errors that can occur for the PutCommentReaction operation.

Types of errors that can occur for the PutFile operation.

Types of errors that can occur for the PutRepositoryTriggers operation.

Types of errors that can occur for the TagResource operation.

Types of errors that can occur for the TestRepositoryTriggers operation.

Types of errors that can occur for the UntagResource operation.

Types of errors that can occur for the UpdateApprovalRuleTemplateContent operation.

Types of errors that can occur for the UpdateApprovalRuleTemplateDescription operation.

Types of errors that can occur for the UpdateApprovalRuleTemplateName operation.

Types of errors that can occur for the UpdateComment operation.

Types of errors that can occur for the UpdateDefaultBranch operation.

Types of errors that can occur for the UpdatePullRequestApprovalRuleContent operation.

Types of errors that can occur for the UpdatePullRequestApprovalState operation.

Types of errors that can occur for the UpdatePullRequestDescription operation.

Types of errors that can occur for the UpdatePullRequestStatus operation.

Types of errors that can occur for the UpdatePullRequestTitle operation.

Types of errors that can occur for the UpdateRepositoryDescription operation.

Types of errors that can occur for the UpdateRepositoryName operation.