CodeCommitClient#
Index > CodeCommit > CodeCommitClient
Auto-generated documentation for CodeCommit type annotations stubs module mypy-boto3-codecommit.
CodeCommitClient#
Type annotations and code completion for boto3.client("codecommit")
.
boto3 documentation
# CodeCommitClient usage example
from boto3.session import Session
from mypy_boto3_codecommit.client import CodeCommitClient
def get_codecommit_client() -> CodeCommitClient:
return Session().client("codecommit")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("codecommit").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("codecommit")
try:
do_something(client)
except (
client.exceptions.ActorDoesNotExistException,
client.exceptions.ApprovalRuleContentRequiredException,
client.exceptions.ApprovalRuleDoesNotExistException,
client.exceptions.ApprovalRuleNameAlreadyExistsException,
client.exceptions.ApprovalRuleNameRequiredException,
client.exceptions.ApprovalRuleTemplateContentRequiredException,
client.exceptions.ApprovalRuleTemplateDoesNotExistException,
client.exceptions.ApprovalRuleTemplateInUseException,
client.exceptions.ApprovalRuleTemplateNameAlreadyExistsException,
client.exceptions.ApprovalRuleTemplateNameRequiredException,
client.exceptions.ApprovalStateRequiredException,
client.exceptions.AuthorDoesNotExistException,
client.exceptions.BeforeCommitIdAndAfterCommitIdAreSameException,
client.exceptions.BlobIdDoesNotExistException,
client.exceptions.BlobIdRequiredException,
client.exceptions.BranchDoesNotExistException,
client.exceptions.BranchNameExistsException,
client.exceptions.BranchNameIsTagNameException,
client.exceptions.BranchNameRequiredException,
client.exceptions.CannotDeleteApprovalRuleFromTemplateException,
client.exceptions.CannotModifyApprovalRuleFromTemplateException,
client.exceptions.ClientError,
client.exceptions.ClientRequestTokenRequiredException,
client.exceptions.CommentContentRequiredException,
client.exceptions.CommentContentSizeLimitExceededException,
client.exceptions.CommentDeletedException,
client.exceptions.CommentDoesNotExistException,
client.exceptions.CommentIdRequiredException,
client.exceptions.CommentNotCreatedByCallerException,
client.exceptions.CommitDoesNotExistException,
client.exceptions.CommitIdDoesNotExistException,
client.exceptions.CommitIdRequiredException,
client.exceptions.CommitIdsLimitExceededException,
client.exceptions.CommitIdsListRequiredException,
client.exceptions.CommitMessageLengthExceededException,
client.exceptions.CommitRequiredException,
client.exceptions.ConcurrentReferenceUpdateException,
client.exceptions.DefaultBranchCannotBeDeletedException,
client.exceptions.DirectoryNameConflictsWithFileNameException,
client.exceptions.EncryptionIntegrityChecksFailedException,
client.exceptions.EncryptionKeyAccessDeniedException,
client.exceptions.EncryptionKeyDisabledException,
client.exceptions.EncryptionKeyInvalidIdException,
client.exceptions.EncryptionKeyInvalidUsageException,
client.exceptions.EncryptionKeyNotFoundException,
client.exceptions.EncryptionKeyRequiredException,
client.exceptions.EncryptionKeyUnavailableException,
client.exceptions.FileContentAndSourceFileSpecifiedException,
client.exceptions.FileContentRequiredException,
client.exceptions.FileContentSizeLimitExceededException,
client.exceptions.FileDoesNotExistException,
client.exceptions.FileEntryRequiredException,
client.exceptions.FileModeRequiredException,
client.exceptions.FileNameConflictsWithDirectoryNameException,
client.exceptions.FilePathConflictsWithSubmodulePathException,
client.exceptions.FileTooLargeException,
client.exceptions.FolderContentSizeLimitExceededException,
client.exceptions.FolderDoesNotExistException,
client.exceptions.IdempotencyParameterMismatchException,
client.exceptions.InvalidActorArnException,
client.exceptions.InvalidApprovalRuleContentException,
client.exceptions.InvalidApprovalRuleNameException,
client.exceptions.InvalidApprovalRuleTemplateContentException,
client.exceptions.InvalidApprovalRuleTemplateDescriptionException,
client.exceptions.InvalidApprovalRuleTemplateNameException,
client.exceptions.InvalidApprovalStateException,
client.exceptions.InvalidAuthorArnException,
client.exceptions.InvalidBlobIdException,
client.exceptions.InvalidBranchNameException,
client.exceptions.InvalidClientRequestTokenException,
client.exceptions.InvalidCommentIdException,
client.exceptions.InvalidCommitException,
client.exceptions.InvalidCommitIdException,
client.exceptions.InvalidConflictDetailLevelException,
client.exceptions.InvalidConflictResolutionException,
client.exceptions.InvalidConflictResolutionStrategyException,
client.exceptions.InvalidContinuationTokenException,
client.exceptions.InvalidDeletionParameterException,
client.exceptions.InvalidDescriptionException,
client.exceptions.InvalidDestinationCommitSpecifierException,
client.exceptions.InvalidEmailException,
client.exceptions.InvalidFileLocationException,
client.exceptions.InvalidFileModeException,
client.exceptions.InvalidFilePositionException,
client.exceptions.InvalidMaxConflictFilesException,
client.exceptions.InvalidMaxMergeHunksException,
client.exceptions.InvalidMaxResultsException,
client.exceptions.InvalidMergeOptionException,
client.exceptions.InvalidOrderException,
client.exceptions.InvalidOverrideStatusException,
client.exceptions.InvalidParentCommitIdException,
client.exceptions.InvalidPathException,
client.exceptions.InvalidPullRequestEventTypeException,
client.exceptions.InvalidPullRequestIdException,
client.exceptions.InvalidPullRequestStatusException,
client.exceptions.InvalidPullRequestStatusUpdateException,
client.exceptions.InvalidReactionUserArnException,
client.exceptions.InvalidReactionValueException,
client.exceptions.InvalidReferenceNameException,
client.exceptions.InvalidRelativeFileVersionEnumException,
client.exceptions.InvalidReplacementContentException,
client.exceptions.InvalidReplacementTypeException,
client.exceptions.InvalidRepositoryDescriptionException,
client.exceptions.InvalidRepositoryNameException,
client.exceptions.InvalidRepositoryTriggerBranchNameException,
client.exceptions.InvalidRepositoryTriggerCustomDataException,
client.exceptions.InvalidRepositoryTriggerDestinationArnException,
client.exceptions.InvalidRepositoryTriggerEventsException,
client.exceptions.InvalidRepositoryTriggerNameException,
client.exceptions.InvalidRepositoryTriggerRegionException,
client.exceptions.InvalidResourceArnException,
client.exceptions.InvalidRevisionIdException,
client.exceptions.InvalidRuleContentSha256Exception,
client.exceptions.InvalidSortByException,
client.exceptions.InvalidSourceCommitSpecifierException,
client.exceptions.InvalidSystemTagUsageException,
client.exceptions.InvalidTagKeysListException,
client.exceptions.InvalidTagsMapException,
client.exceptions.InvalidTargetBranchException,
client.exceptions.InvalidTargetException,
client.exceptions.InvalidTargetsException,
client.exceptions.InvalidTitleException,
client.exceptions.ManualMergeRequiredException,
client.exceptions.MaximumBranchesExceededException,
client.exceptions.MaximumConflictResolutionEntriesExceededException,
client.exceptions.MaximumFileContentToLoadExceededException,
client.exceptions.MaximumFileEntriesExceededException,
client.exceptions.MaximumItemsToCompareExceededException,
client.exceptions.MaximumNumberOfApprovalsExceededException,
client.exceptions.MaximumOpenPullRequestsExceededException,
client.exceptions.MaximumRepositoryNamesExceededException,
client.exceptions.MaximumRepositoryTriggersExceededException,
client.exceptions.MaximumRuleTemplatesAssociatedWithRepositoryException,
client.exceptions.MergeOptionRequiredException,
client.exceptions.MultipleConflictResolutionEntriesException,
client.exceptions.MultipleRepositoriesInPullRequestException,
client.exceptions.NameLengthExceededException,
client.exceptions.NoChangeException,
client.exceptions.NumberOfRuleTemplatesExceededException,
client.exceptions.NumberOfRulesExceededException,
client.exceptions.OperationNotAllowedException,
client.exceptions.OverrideAlreadySetException,
client.exceptions.OverrideStatusRequiredException,
client.exceptions.ParentCommitDoesNotExistException,
client.exceptions.ParentCommitIdOutdatedException,
client.exceptions.ParentCommitIdRequiredException,
client.exceptions.PathDoesNotExistException,
client.exceptions.PathRequiredException,
client.exceptions.PullRequestAlreadyClosedException,
client.exceptions.PullRequestApprovalRulesNotSatisfiedException,
client.exceptions.PullRequestCannotBeApprovedByAuthorException,
client.exceptions.PullRequestDoesNotExistException,
client.exceptions.PullRequestIdRequiredException,
client.exceptions.PullRequestStatusRequiredException,
client.exceptions.PutFileEntryConflictException,
client.exceptions.ReactionLimitEx