lib/aws-sdk-codecommit/errors.rb in aws-sdk-codecommit-1.30.0 vs lib/aws-sdk-codecommit/errors.rb in aws-sdk-codecommit-1.31.0

- old
+ new

@@ -4,11 +4,2024 @@ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CodeCommit + + # When CodeCommit returns an error response, the Ruby SDK constructs and raises an error. + # These errors all extend Aws::CodeCommit::Errors::ServiceError < {Aws::Errors::ServiceError} + # + # You can rescue all CodeCommit errors using ServiceError: + # + # begin + # # do stuff + # rescue Aws::CodeCommit::Errors::ServiceError + # # rescues all CodeCommit API errors + # end + # + # + # ## Request Context + # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns + # information about the request that generated the error. + # See {Seahorse::Client::RequestContext} for more information. + # + # ## Error Classes + # * {ActorDoesNotExistException} + # * {ApprovalRuleContentRequiredException} + # * {ApprovalRuleDoesNotExistException} + # * {ApprovalRuleNameAlreadyExistsException} + # * {ApprovalRuleNameRequiredException} + # * {ApprovalRuleTemplateContentRequiredException} + # * {ApprovalRuleTemplateDoesNotExistException} + # * {ApprovalRuleTemplateInUseException} + # * {ApprovalRuleTemplateNameAlreadyExistsException} + # * {ApprovalRuleTemplateNameRequiredException} + # * {ApprovalStateRequiredException} + # * {AuthorDoesNotExistException} + # * {BeforeCommitIdAndAfterCommitIdAreSameException} + # * {BlobIdDoesNotExistException} + # * {BlobIdRequiredException} + # * {BranchDoesNotExistException} + # * {BranchNameExistsException} + # * {BranchNameIsTagNameException} + # * {BranchNameRequiredException} + # * {CannotDeleteApprovalRuleFromTemplateException} + # * {CannotModifyApprovalRuleFromTemplateException} + # * {ClientRequestTokenRequiredException} + # * {CommentContentRequiredException} + # * {CommentContentSizeLimitExceededException} + # * {CommentDeletedException} + # * {CommentDoesNotExistException} + # * {CommentIdRequiredException} + # * {CommentNotCreatedByCallerException} + # * {CommitDoesNotExistException} + # * {CommitIdDoesNotExistException} + # * {CommitIdRequiredException} + # * {CommitIdsLimitExceededException} + # * {CommitIdsListRequiredException} + # * {CommitMessageLengthExceededException} + # * {CommitRequiredException} + # * {ConcurrentReferenceUpdateException} + # * {DefaultBranchCannotBeDeletedException} + # * {DirectoryNameConflictsWithFileNameException} + # * {EncryptionIntegrityChecksFailedException} + # * {EncryptionKeyAccessDeniedException} + # * {EncryptionKeyDisabledException} + # * {EncryptionKeyNotFoundException} + # * {EncryptionKeyUnavailableException} + # * {FileContentAndSourceFileSpecifiedException} + # * {FileContentRequiredException} + # * {FileContentSizeLimitExceededException} + # * {FileDoesNotExistException} + # * {FileEntryRequiredException} + # * {FileModeRequiredException} + # * {FileNameConflictsWithDirectoryNameException} + # * {FilePathConflictsWithSubmodulePathException} + # * {FileTooLargeException} + # * {FolderContentSizeLimitExceededException} + # * {FolderDoesNotExistException} + # * {IdempotencyParameterMismatchException} + # * {InvalidActorArnException} + # * {InvalidApprovalRuleContentException} + # * {InvalidApprovalRuleNameException} + # * {InvalidApprovalRuleTemplateContentException} + # * {InvalidApprovalRuleTemplateDescriptionException} + # * {InvalidApprovalRuleTemplateNameException} + # * {InvalidApprovalStateException} + # * {InvalidAuthorArnException} + # * {InvalidBlobIdException} + # * {InvalidBranchNameException} + # * {InvalidClientRequestTokenException} + # * {InvalidCommentIdException} + # * {InvalidCommitException} + # * {InvalidCommitIdException} + # * {InvalidConflictDetailLevelException} + # * {InvalidConflictResolutionException} + # * {InvalidConflictResolutionStrategyException} + # * {InvalidContinuationTokenException} + # * {InvalidDeletionParameterException} + # * {InvalidDescriptionException} + # * {InvalidDestinationCommitSpecifierException} + # * {InvalidEmailException} + # * {InvalidFileLocationException} + # * {InvalidFileModeException} + # * {InvalidFilePositionException} + # * {InvalidMaxConflictFilesException} + # * {InvalidMaxMergeHunksException} + # * {InvalidMaxResultsException} + # * {InvalidMergeOptionException} + # * {InvalidOrderException} + # * {InvalidOverrideStatusException} + # * {InvalidParentCommitIdException} + # * {InvalidPathException} + # * {InvalidPullRequestEventTypeException} + # * {InvalidPullRequestIdException} + # * {InvalidPullRequestStatusException} + # * {InvalidPullRequestStatusUpdateException} + # * {InvalidReferenceNameException} + # * {InvalidRelativeFileVersionEnumException} + # * {InvalidReplacementContentException} + # * {InvalidReplacementTypeException} + # * {InvalidRepositoryDescriptionException} + # * {InvalidRepositoryNameException} + # * {InvalidRepositoryTriggerBranchNameException} + # * {InvalidRepositoryTriggerCustomDataException} + # * {InvalidRepositoryTriggerDestinationArnException} + # * {InvalidRepositoryTriggerEventsException} + # * {InvalidRepositoryTriggerNameException} + # * {InvalidRepositoryTriggerRegionException} + # * {InvalidResourceArnException} + # * {InvalidRevisionIdException} + # * {InvalidRuleContentSha256Exception} + # * {InvalidSortByException} + # * {InvalidSourceCommitSpecifierException} + # * {InvalidSystemTagUsageException} + # * {InvalidTagKeysListException} + # * {InvalidTagsMapException} + # * {InvalidTargetBranchException} + # * {InvalidTargetException} + # * {InvalidTargetsException} + # * {InvalidTitleException} + # * {ManualMergeRequiredException} + # * {MaximumBranchesExceededException} + # * {MaximumConflictResolutionEntriesExceededException} + # * {MaximumFileContentToLoadExceededException} + # * {MaximumFileEntriesExceededException} + # * {MaximumItemsToCompareExceededException} + # * {MaximumNumberOfApprovalsExceededException} + # * {MaximumOpenPullRequestsExceededException} + # * {MaximumRepositoryNamesExceededException} + # * {MaximumRepositoryTriggersExceededException} + # * {MaximumRuleTemplatesAssociatedWithRepositoryException} + # * {MergeOptionRequiredException} + # * {MultipleConflictResolutionEntriesException} + # * {MultipleRepositoriesInPullRequestException} + # * {NameLengthExceededException} + # * {NoChangeException} + # * {NumberOfRuleTemplatesExceededException} + # * {NumberOfRulesExceededException} + # * {OverrideAlreadySetException} + # * {OverrideStatusRequiredException} + # * {ParentCommitDoesNotExistException} + # * {ParentCommitIdOutdatedException} + # * {ParentCommitIdRequiredException} + # * {PathDoesNotExistException} + # * {PathRequiredException} + # * {PullRequestAlreadyClosedException} + # * {PullRequestApprovalRulesNotSatisfiedException} + # * {PullRequestCannotBeApprovedByAuthorException} + # * {PullRequestDoesNotExistException} + # * {PullRequestIdRequiredException} + # * {PullRequestStatusRequiredException} + # * {PutFileEntryConflictException} + # * {ReferenceDoesNotExistException} + # * {ReferenceNameRequiredException} + # * {ReferenceTypeNotSupportedException} + # * {ReplacementContentRequiredException} + # * {ReplacementTypeRequiredException} + # * {RepositoryDoesNotExistException} + # * {RepositoryLimitExceededException} + # * {RepositoryNameExistsException} + # * {RepositoryNameRequiredException} + # * {RepositoryNamesRequiredException} + # * {RepositoryNotAssociatedWithPullRequestException} + # * {RepositoryTriggerBranchNameListRequiredException} + # * {RepositoryTriggerDestinationArnRequiredException} + # * {RepositoryTriggerEventsListRequiredException} + # * {RepositoryTriggerNameRequiredException} + # * {RepositoryTriggersListRequiredException} + # * {ResourceArnRequiredException} + # * {RestrictedSourceFileException} + # * {RevisionIdRequiredException} + # * {RevisionNotCurrentException} + # * {SameFileContentException} + # * {SamePathRequestException} + # * {SourceAndDestinationAreSameException} + # * {SourceFileOrContentRequiredException} + # * {TagKeysListRequiredException} + # * {TagPolicyException} + # * {TagsMapRequiredException} + # * {TargetRequiredException} + # * {TargetsRequiredException} + # * {TipOfSourceReferenceIsDifferentException} + # * {TipsDivergenceExceededException} + # * {TitleRequiredException} + # * {TooManyTagsException} + # + # Additionally, error classes are dynamically generated for service errors based on the error code + # if they are not defined above. module Errors extend Aws::Errors::DynamicErrors + + class ActorDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ActorDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ApprovalRuleContentRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ApprovalRuleContentRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ApprovalRuleDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ApprovalRuleDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ApprovalRuleNameAlreadyExistsException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ApprovalRuleNameAlreadyExistsException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ApprovalRuleNameRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ApprovalRuleNameRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ApprovalRuleTemplateContentRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ApprovalRuleTemplateContentRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ApprovalRuleTemplateDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ApprovalRuleTemplateDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ApprovalRuleTemplateInUseException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ApprovalRuleTemplateInUseException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ApprovalRuleTemplateNameAlreadyExistsException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ApprovalRuleTemplateNameAlreadyExistsException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ApprovalRuleTemplateNameRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ApprovalRuleTemplateNameRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ApprovalStateRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ApprovalStateRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class AuthorDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::AuthorDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class BeforeCommitIdAndAfterCommitIdAreSameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::BeforeCommitIdAndAfterCommitIdAreSameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class BlobIdDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::BlobIdDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class BlobIdRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::BlobIdRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class BranchDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::BranchDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class BranchNameExistsException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::BranchNameExistsException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class BranchNameIsTagNameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::BranchNameIsTagNameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class BranchNameRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::BranchNameRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CannotDeleteApprovalRuleFromTemplateException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CannotDeleteApprovalRuleFromTemplateException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CannotModifyApprovalRuleFromTemplateException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CannotModifyApprovalRuleFromTemplateException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ClientRequestTokenRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ClientRequestTokenRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommentContentRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommentContentRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommentContentSizeLimitExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommentContentSizeLimitExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommentDeletedException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommentDeletedException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommentDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommentDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommentIdRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommentIdRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommentNotCreatedByCallerException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommentNotCreatedByCallerException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommitDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommitDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommitIdDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommitIdDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommitIdRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommitIdRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommitIdsLimitExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommitIdsLimitExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommitIdsListRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommitIdsListRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommitMessageLengthExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommitMessageLengthExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class CommitRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::CommitRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ConcurrentReferenceUpdateException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ConcurrentReferenceUpdateException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class DefaultBranchCannotBeDeletedException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::DefaultBranchCannotBeDeletedException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class DirectoryNameConflictsWithFileNameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::DirectoryNameConflictsWithFileNameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class EncryptionIntegrityChecksFailedException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::EncryptionIntegrityChecksFailedException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class EncryptionKeyAccessDeniedException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::EncryptionKeyAccessDeniedException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class EncryptionKeyDisabledException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::EncryptionKeyDisabledException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class EncryptionKeyNotFoundException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::EncryptionKeyNotFoundException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class EncryptionKeyUnavailableException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::EncryptionKeyUnavailableException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class FileContentAndSourceFileSpecifiedException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::FileContentAndSourceFileSpecifiedException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class FileContentRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::FileContentRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class FileContentSizeLimitExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::FileContentSizeLimitExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class FileDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::FileDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class FileEntryRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::FileEntryRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class FileModeRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::FileModeRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class FileNameConflictsWithDirectoryNameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::FileNameConflictsWithDirectoryNameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class FilePathConflictsWithSubmodulePathException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::FilePathConflictsWithSubmodulePathException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class FileTooLargeException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::FileTooLargeException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class FolderContentSizeLimitExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::FolderContentSizeLimitExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class FolderDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::FolderDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class IdempotencyParameterMismatchException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::IdempotencyParameterMismatchException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidActorArnException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidActorArnException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidApprovalRuleContentException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidApprovalRuleContentException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidApprovalRuleNameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidApprovalRuleNameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidApprovalRuleTemplateContentException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidApprovalRuleTemplateContentException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidApprovalRuleTemplateDescriptionException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidApprovalRuleTemplateDescriptionException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidApprovalRuleTemplateNameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidApprovalRuleTemplateNameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidApprovalStateException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidApprovalStateException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidAuthorArnException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidAuthorArnException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidBlobIdException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidBlobIdException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidBranchNameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidBranchNameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidClientRequestTokenException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidClientRequestTokenException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidCommentIdException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidCommentIdException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidCommitException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidCommitException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidCommitIdException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidCommitIdException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidConflictDetailLevelException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidConflictDetailLevelException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidConflictResolutionException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidConflictResolutionException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidConflictResolutionStrategyException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidConflictResolutionStrategyException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidContinuationTokenException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidContinuationTokenException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidDeletionParameterException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidDeletionParameterException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidDescriptionException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidDescriptionException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidDestinationCommitSpecifierException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidDestinationCommitSpecifierException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidEmailException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidEmailException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidFileLocationException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidFileLocationException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidFileModeException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidFileModeException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidFilePositionException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidFilePositionException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidMaxConflictFilesException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidMaxConflictFilesException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidMaxMergeHunksException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidMaxMergeHunksException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidMaxResultsException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidMaxResultsException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidMergeOptionException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidMergeOptionException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidOrderException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidOrderException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidOverrideStatusException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidOverrideStatusException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidParentCommitIdException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidParentCommitIdException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidPathException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidPathException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidPullRequestEventTypeException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidPullRequestEventTypeException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidPullRequestIdException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidPullRequestIdException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidPullRequestStatusException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidPullRequestStatusException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidPullRequestStatusUpdateException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidPullRequestStatusUpdateException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidReferenceNameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidReferenceNameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidRelativeFileVersionEnumException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidRelativeFileVersionEnumException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidReplacementContentException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidReplacementContentException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidReplacementTypeException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidReplacementTypeException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidRepositoryDescriptionException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidRepositoryDescriptionException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidRepositoryNameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidRepositoryNameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidRepositoryTriggerBranchNameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidRepositoryTriggerBranchNameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidRepositoryTriggerCustomDataException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidRepositoryTriggerCustomDataException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidRepositoryTriggerDestinationArnException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidRepositoryTriggerDestinationArnException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidRepositoryTriggerEventsException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidRepositoryTriggerEventsException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidRepositoryTriggerNameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidRepositoryTriggerNameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidRepositoryTriggerRegionException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidRepositoryTriggerRegionException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidResourceArnException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidResourceArnException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidRevisionIdException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidRevisionIdException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidRuleContentSha256Exception < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidRuleContentSha256Exception] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidSortByException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidSortByException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidSourceCommitSpecifierException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidSourceCommitSpecifierException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidSystemTagUsageException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidSystemTagUsageException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidTagKeysListException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidTagKeysListException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidTagsMapException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidTagsMapException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidTargetBranchException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidTargetBranchException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidTargetException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidTargetException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidTargetsException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidTargetsException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class InvalidTitleException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::InvalidTitleException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ManualMergeRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ManualMergeRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MaximumBranchesExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MaximumBranchesExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MaximumConflictResolutionEntriesExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MaximumConflictResolutionEntriesExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MaximumFileContentToLoadExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MaximumFileContentToLoadExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MaximumFileEntriesExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MaximumFileEntriesExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MaximumItemsToCompareExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MaximumItemsToCompareExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MaximumNumberOfApprovalsExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MaximumNumberOfApprovalsExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MaximumOpenPullRequestsExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MaximumOpenPullRequestsExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MaximumRepositoryNamesExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MaximumRepositoryNamesExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MaximumRepositoryTriggersExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MaximumRepositoryTriggersExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MaximumRuleTemplatesAssociatedWithRepositoryException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MaximumRuleTemplatesAssociatedWithRepositoryException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MergeOptionRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MergeOptionRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MultipleConflictResolutionEntriesException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MultipleConflictResolutionEntriesException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class MultipleRepositoriesInPullRequestException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::MultipleRepositoriesInPullRequestException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class NameLengthExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::NameLengthExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class NoChangeException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::NoChangeException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class NumberOfRuleTemplatesExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::NumberOfRuleTemplatesExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class NumberOfRulesExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::NumberOfRulesExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class OverrideAlreadySetException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::OverrideAlreadySetException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class OverrideStatusRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::OverrideStatusRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ParentCommitDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ParentCommitDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ParentCommitIdOutdatedException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ParentCommitIdOutdatedException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ParentCommitIdRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ParentCommitIdRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class PathDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::PathDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class PathRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::PathRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class PullRequestAlreadyClosedException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::PullRequestAlreadyClosedException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class PullRequestApprovalRulesNotSatisfiedException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::PullRequestApprovalRulesNotSatisfiedException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class PullRequestCannotBeApprovedByAuthorException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::PullRequestCannotBeApprovedByAuthorException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class PullRequestDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::PullRequestDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class PullRequestIdRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::PullRequestIdRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class PullRequestStatusRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::PullRequestStatusRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class PutFileEntryConflictException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::PutFileEntryConflictException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ReferenceDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ReferenceDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ReferenceNameRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ReferenceNameRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ReferenceTypeNotSupportedException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ReferenceTypeNotSupportedException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ReplacementContentRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ReplacementContentRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ReplacementTypeRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ReplacementTypeRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RepositoryDoesNotExistException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RepositoryDoesNotExistException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RepositoryLimitExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RepositoryLimitExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RepositoryNameExistsException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RepositoryNameExistsException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RepositoryNameRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RepositoryNameRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RepositoryNamesRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RepositoryNamesRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RepositoryNotAssociatedWithPullRequestException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RepositoryNotAssociatedWithPullRequestException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RepositoryTriggerBranchNameListRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RepositoryTriggerBranchNameListRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RepositoryTriggerDestinationArnRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RepositoryTriggerDestinationArnRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RepositoryTriggerEventsListRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RepositoryTriggerEventsListRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RepositoryTriggerNameRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RepositoryTriggerNameRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RepositoryTriggersListRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RepositoryTriggersListRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class ResourceArnRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::ResourceArnRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RestrictedSourceFileException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RestrictedSourceFileException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RevisionIdRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RevisionIdRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class RevisionNotCurrentException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::RevisionNotCurrentException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class SameFileContentException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::SameFileContentException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class SamePathRequestException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::SamePathRequestException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class SourceAndDestinationAreSameException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::SourceAndDestinationAreSameException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class SourceFileOrContentRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::SourceFileOrContentRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class TagKeysListRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::TagKeysListRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class TagPolicyException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::TagPolicyException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class TagsMapRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::TagsMapRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class TargetRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::TargetRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class TargetsRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::TargetsRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class TipOfSourceReferenceIsDifferentException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::TipOfSourceReferenceIsDifferentException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class TipsDivergenceExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::TipsDivergenceExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class TitleRequiredException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::TitleRequiredException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end + + class TooManyTagsException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CodeCommit::Types::TooManyTagsException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + end end end