1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3package codecommit 4 5import ( 6 "github.com/aws/aws-sdk-go/private/protocol" 7) 8 9const ( 10 11 // ErrCodeActorDoesNotExistException for service response error code 12 // "ActorDoesNotExistException". 13 // 14 // The specified Amazon Resource Name (ARN) does not exist in the AWS account. 15 ErrCodeActorDoesNotExistException = "ActorDoesNotExistException" 16 17 // ErrCodeApprovalRuleContentRequiredException for service response error code 18 // "ApprovalRuleContentRequiredException". 19 // 20 // The content for the approval rule is empty. You must provide some content 21 // for an approval rule. The content cannot be null. 22 ErrCodeApprovalRuleContentRequiredException = "ApprovalRuleContentRequiredException" 23 24 // ErrCodeApprovalRuleDoesNotExistException for service response error code 25 // "ApprovalRuleDoesNotExistException". 26 // 27 // The specified approval rule does not exist. 28 ErrCodeApprovalRuleDoesNotExistException = "ApprovalRuleDoesNotExistException" 29 30 // ErrCodeApprovalRuleNameAlreadyExistsException for service response error code 31 // "ApprovalRuleNameAlreadyExistsException". 32 // 33 // An approval rule with that name already exists. Approval rule names must 34 // be unique within the scope of a pull request. 35 ErrCodeApprovalRuleNameAlreadyExistsException = "ApprovalRuleNameAlreadyExistsException" 36 37 // ErrCodeApprovalRuleNameRequiredException for service response error code 38 // "ApprovalRuleNameRequiredException". 39 // 40 // An approval rule name is required, but was not specified. 41 ErrCodeApprovalRuleNameRequiredException = "ApprovalRuleNameRequiredException" 42 43 // ErrCodeApprovalRuleTemplateContentRequiredException for service response error code 44 // "ApprovalRuleTemplateContentRequiredException". 45 // 46 // The content for the approval rule template is empty. You must provide some 47 // content for an approval rule template. The content cannot be null. 48 ErrCodeApprovalRuleTemplateContentRequiredException = "ApprovalRuleTemplateContentRequiredException" 49 50 // ErrCodeApprovalRuleTemplateDoesNotExistException for service response error code 51 // "ApprovalRuleTemplateDoesNotExistException". 52 // 53 // The specified approval rule template does not exist. Verify that the name 54 // is correct and that you are signed in to the AWS Region where the template 55 // was created, and then try again. 56 ErrCodeApprovalRuleTemplateDoesNotExistException = "ApprovalRuleTemplateDoesNotExistException" 57 58 // ErrCodeApprovalRuleTemplateInUseException for service response error code 59 // "ApprovalRuleTemplateInUseException". 60 // 61 // The approval rule template is associated with one or more repositories. You 62 // cannot delete a template that is associated with a repository. Remove all 63 // associations, and then try again. 64 ErrCodeApprovalRuleTemplateInUseException = "ApprovalRuleTemplateInUseException" 65 66 // ErrCodeApprovalRuleTemplateNameAlreadyExistsException for service response error code 67 // "ApprovalRuleTemplateNameAlreadyExistsException". 68 // 69 // You cannot create an approval rule template with that name because a template 70 // with that name already exists in this AWS Region for your AWS account. Approval 71 // rule template names must be unique. 72 ErrCodeApprovalRuleTemplateNameAlreadyExistsException = "ApprovalRuleTemplateNameAlreadyExistsException" 73 74 // ErrCodeApprovalRuleTemplateNameRequiredException for service response error code 75 // "ApprovalRuleTemplateNameRequiredException". 76 // 77 // An approval rule template name is required, but was not specified. 78 ErrCodeApprovalRuleTemplateNameRequiredException = "ApprovalRuleTemplateNameRequiredException" 79 80 // ErrCodeApprovalStateRequiredException for service response error code 81 // "ApprovalStateRequiredException". 82 // 83 // An approval state is required, but was not specified. 84 ErrCodeApprovalStateRequiredException = "ApprovalStateRequiredException" 85 86 // ErrCodeAuthorDoesNotExistException for service response error code 87 // "AuthorDoesNotExistException". 88 // 89 // The specified Amazon Resource Name (ARN) does not exist in the AWS account. 90 ErrCodeAuthorDoesNotExistException = "AuthorDoesNotExistException" 91 92 // ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException for service response error code 93 // "BeforeCommitIdAndAfterCommitIdAreSameException". 94 // 95 // The before commit ID and the after commit ID are the same, which is not valid. 96 // The before commit ID and the after commit ID must be different commit IDs. 97 ErrCodeBeforeCommitIdAndAfterCommitIdAreSameException = "BeforeCommitIdAndAfterCommitIdAreSameException" 98 99 // ErrCodeBlobIdDoesNotExistException for service response error code 100 // "BlobIdDoesNotExistException". 101 // 102 // The specified blob does not exist. 103 ErrCodeBlobIdDoesNotExistException = "BlobIdDoesNotExistException" 104 105 // ErrCodeBlobIdRequiredException for service response error code 106 // "BlobIdRequiredException". 107 // 108 // A blob ID is required, but was not specified. 109 ErrCodeBlobIdRequiredException = "BlobIdRequiredException" 110 111 // ErrCodeBranchDoesNotExistException for service response error code 112 // "BranchDoesNotExistException". 113 // 114 // The specified branch does not exist. 115 ErrCodeBranchDoesNotExistException = "BranchDoesNotExistException" 116 117 // ErrCodeBranchNameExistsException for service response error code 118 // "BranchNameExistsException". 119 // 120 // The specified branch name already exists. 121 ErrCodeBranchNameExistsException = "BranchNameExistsException" 122 123 // ErrCodeBranchNameIsTagNameException for service response error code 124 // "BranchNameIsTagNameException". 125 // 126 // The specified branch name is not valid because it is a tag name. Enter the 127 // name of a branch in the repository. For a list of valid branch names, use 128 // ListBranches. 129 ErrCodeBranchNameIsTagNameException = "BranchNameIsTagNameException" 130 131 // ErrCodeBranchNameRequiredException for service response error code 132 // "BranchNameRequiredException". 133 // 134 // A branch name is required, but was not specified. 135 ErrCodeBranchNameRequiredException = "BranchNameRequiredException" 136 137 // ErrCodeCannotDeleteApprovalRuleFromTemplateException for service response error code 138 // "CannotDeleteApprovalRuleFromTemplateException". 139 // 140 // The approval rule cannot be deleted from the pull request because it was 141 // created by an approval rule template and applied to the pull request automatically. 142 ErrCodeCannotDeleteApprovalRuleFromTemplateException = "CannotDeleteApprovalRuleFromTemplateException" 143 144 // ErrCodeCannotModifyApprovalRuleFromTemplateException for service response error code 145 // "CannotModifyApprovalRuleFromTemplateException". 146 // 147 // The approval rule cannot be modified for the pull request because it was 148 // created by an approval rule template and applied to the pull request automatically. 149 ErrCodeCannotModifyApprovalRuleFromTemplateException = "CannotModifyApprovalRuleFromTemplateException" 150 151 // ErrCodeClientRequestTokenRequiredException for service response error code 152 // "ClientRequestTokenRequiredException". 153 // 154 // A client request token is required. A client request token is an unique, 155 // client-generated idempotency token that, when provided in a request, ensures 156 // the request cannot be repeated with a changed parameter. If a request is 157 // received with the same parameters and a token is included, the request returns 158 // information about the initial request that used that token. 159 ErrCodeClientRequestTokenRequiredException = "ClientRequestTokenRequiredException" 160 161 // ErrCodeCommentContentRequiredException for service response error code 162 // "CommentContentRequiredException". 163 // 164 // The comment is empty. You must provide some content for a comment. The content 165 // cannot be null. 166 ErrCodeCommentContentRequiredException = "CommentContentRequiredException" 167 168 // ErrCodeCommentContentSizeLimitExceededException for service response error code 169 // "CommentContentSizeLimitExceededException". 170 // 171 // The comment is too large. Comments are limited to 1,000 characters. 172 ErrCodeCommentContentSizeLimitExceededException = "CommentContentSizeLimitExceededException" 173 174 // ErrCodeCommentDeletedException for service response error code 175 // "CommentDeletedException". 176 // 177 // This comment has already been deleted. You cannot edit or delete a deleted 178 // comment. 179 ErrCodeCommentDeletedException = "CommentDeletedException" 180 181 // ErrCodeCommentDoesNotExistException for service response error code 182 // "CommentDoesNotExistException". 183 // 184 // No comment exists with the provided ID. Verify that you have used the correct 185 // ID, and then try again. 186 ErrCodeCommentDoesNotExistException = "CommentDoesNotExistException" 187 188 // ErrCodeCommentIdRequiredException for service response error code 189 // "CommentIdRequiredException". 190 // 191 // The comment ID is missing or null. A comment ID is required. 192 ErrCodeCommentIdRequiredException = "CommentIdRequiredException" 193 194 // ErrCodeCommentNotCreatedByCallerException for service response error code 195 // "CommentNotCreatedByCallerException". 196 // 197 // You cannot modify or delete this comment. Only comment authors can modify 198 // or delete their comments. 199 ErrCodeCommentNotCreatedByCallerException = "CommentNotCreatedByCallerException" 200 201 // ErrCodeCommitDoesNotExistException for service response error code 202 // "CommitDoesNotExistException". 203 // 204 // The specified commit does not exist or no commit was specified, and the specified 205 // repository has no default branch. 206 ErrCodeCommitDoesNotExistException = "CommitDoesNotExistException" 207 208 // ErrCodeCommitIdDoesNotExistException for service response error code 209 // "CommitIdDoesNotExistException". 210 // 211 // The specified commit ID does not exist. 212 ErrCodeCommitIdDoesNotExistException = "CommitIdDoesNotExistException" 213 214 // ErrCodeCommitIdRequiredException for service response error code 215 // "CommitIdRequiredException". 216 // 217 // A commit ID was not specified. 218 ErrCodeCommitIdRequiredException = "CommitIdRequiredException" 219 220 // ErrCodeCommitIdsLimitExceededException for service response error code 221 // "CommitIdsLimitExceededException". 222 // 223 // The maximum number of allowed commit IDs in a batch request is 100. Verify 224 // that your batch requests contains no more than 100 commit IDs, and then try 225 // again. 226 ErrCodeCommitIdsLimitExceededException = "CommitIdsLimitExceededException" 227 228 // ErrCodeCommitIdsListRequiredException for service response error code 229 // "CommitIdsListRequiredException". 230 // 231 // A list of commit IDs is required, but was either not specified or the list 232 // was empty. 233 ErrCodeCommitIdsListRequiredException = "CommitIdsListRequiredException" 234 235 // ErrCodeCommitMessageLengthExceededException for service response error code 236 // "CommitMessageLengthExceededException". 237 // 238 // The commit message is too long. Provide a shorter string. 239 ErrCodeCommitMessageLengthExceededException = "CommitMessageLengthExceededException" 240 241 // ErrCodeCommitRequiredException for service response error code 242 // "CommitRequiredException". 243 // 244 // A commit was not specified. 245 ErrCodeCommitRequiredException = "CommitRequiredException" 246 247 // ErrCodeConcurrentReferenceUpdateException for service response error code 248 // "ConcurrentReferenceUpdateException". 249 // 250 // The merge cannot be completed because the target branch has been modified. 251 // Another user might have modified the target branch while the merge was in 252 // progress. Wait a few minutes, and then try again. 253 ErrCodeConcurrentReferenceUpdateException = "ConcurrentReferenceUpdateException" 254 255 // ErrCodeDefaultBranchCannotBeDeletedException for service response error code 256 // "DefaultBranchCannotBeDeletedException". 257 // 258 // The specified branch is the default branch for the repository, and cannot 259 // be deleted. To delete this branch, you must first set another branch as the 260 // default branch. 261 ErrCodeDefaultBranchCannotBeDeletedException = "DefaultBranchCannotBeDeletedException" 262 263 // ErrCodeDirectoryNameConflictsWithFileNameException for service response error code 264 // "DirectoryNameConflictsWithFileNameException". 265 // 266 // A file cannot be added to the repository because the specified path name 267 // has the same name as a file that already exists in this repository. Either 268 // provide a different name for the file, or specify a different path for the 269 // file. 270 ErrCodeDirectoryNameConflictsWithFileNameException = "DirectoryNameConflictsWithFileNameException" 271 272 // ErrCodeEncryptionIntegrityChecksFailedException for service response error code 273 // "EncryptionIntegrityChecksFailedException". 274 // 275 // An encryption integrity check failed. 276 ErrCodeEncryptionIntegrityChecksFailedException = "EncryptionIntegrityChecksFailedException" 277 278 // ErrCodeEncryptionKeyAccessDeniedException for service response error code 279 // "EncryptionKeyAccessDeniedException". 280 // 281 // An encryption key could not be accessed. 282 ErrCodeEncryptionKeyAccessDeniedException = "EncryptionKeyAccessDeniedException" 283 284 // ErrCodeEncryptionKeyDisabledException for service response error code 285 // "EncryptionKeyDisabledException". 286 // 287 // The encryption key is disabled. 288 ErrCodeEncryptionKeyDisabledException = "EncryptionKeyDisabledException" 289 290 // ErrCodeEncryptionKeyNotFoundException for service response error code 291 // "EncryptionKeyNotFoundException". 292 // 293 // No encryption key was found. 294 ErrCodeEncryptionKeyNotFoundException = "EncryptionKeyNotFoundException" 295 296 // ErrCodeEncryptionKeyUnavailableException for service response error code 297 // "EncryptionKeyUnavailableException". 298 // 299 // The encryption key is not available. 300 ErrCodeEncryptionKeyUnavailableException = "EncryptionKeyUnavailableException" 301 302 // ErrCodeFileContentAndSourceFileSpecifiedException for service response error code 303 // "FileContentAndSourceFileSpecifiedException". 304 // 305 // The commit cannot be created because both a source file and file content 306 // have been specified for the same file. You cannot provide both. Either specify 307 // a source file or provide the file content directly. 308 ErrCodeFileContentAndSourceFileSpecifiedException = "FileContentAndSourceFileSpecifiedException" 309 310 // ErrCodeFileContentRequiredException for service response error code 311 // "FileContentRequiredException". 312 // 313 // The file cannot be added because it is empty. Empty files cannot be added 314 // to the repository with this API. 315 ErrCodeFileContentRequiredException = "FileContentRequiredException" 316 317 // ErrCodeFileContentSizeLimitExceededException for service response error code 318 // "FileContentSizeLimitExceededException". 319 // 320 // The file cannot be added because it is too large. The maximum file size is 321 // 6 MB, and the combined file content change size is 7 MB. Consider making 322 // these changes using a Git client. 323 ErrCodeFileContentSizeLimitExceededException = "FileContentSizeLimitExceededException" 324 325 // ErrCodeFileDoesNotExistException for service response error code 326 // "FileDoesNotExistException". 327 // 328 // The specified file does not exist. Verify that you have used the correct 329 // file name, full path, and extension. 330 ErrCodeFileDoesNotExistException = "FileDoesNotExistException" 331 332 // ErrCodeFileEntryRequiredException for service response error code 333 // "FileEntryRequiredException". 334 // 335 // The commit cannot be created because no files have been specified as added, 336 // updated, or changed (PutFile or DeleteFile) for the commit. 337 ErrCodeFileEntryRequiredException = "FileEntryRequiredException" 338 339 // ErrCodeFileModeRequiredException for service response error code 340 // "FileModeRequiredException". 341 // 342 // The commit cannot be created because no file mode has been specified. A file 343 // mode is required to update mode permissions for a file. 344 ErrCodeFileModeRequiredException = "FileModeRequiredException" 345 346 // ErrCodeFileNameConflictsWithDirectoryNameException for service response error code 347 // "FileNameConflictsWithDirectoryNameException". 348 // 349 // A file cannot be added to the repository because the specified file name 350 // has the same name as a directory in this repository. Either provide another 351 // name for the file, or add the file in a directory that does not match the 352 // file name. 353 ErrCodeFileNameConflictsWithDirectoryNameException = "FileNameConflictsWithDirectoryNameException" 354 355 // ErrCodeFilePathConflictsWithSubmodulePathException for service response error code 356 // "FilePathConflictsWithSubmodulePathException". 357 // 358 // The commit cannot be created because a specified file path points to a submodule. 359 // Verify that the destination files have valid file paths that do not point 360 // to a submodule. 361 ErrCodeFilePathConflictsWithSubmodulePathException = "FilePathConflictsWithSubmodulePathException" 362 363 // ErrCodeFileTooLargeException for service response error code 364 // "FileTooLargeException". 365 // 366 // The specified file exceeds the file size limit for AWS CodeCommit. For more 367 // information about limits in AWS CodeCommit, see AWS CodeCommit User Guide 368 // (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). 369 ErrCodeFileTooLargeException = "FileTooLargeException" 370 371 // ErrCodeFolderContentSizeLimitExceededException for service response error code 372 // "FolderContentSizeLimitExceededException". 373 // 374 // The commit cannot be created because at least one of the overall changes 375 // in the commit results in a folder whose contents exceed the limit of 6 MB. 376 // Either reduce the number and size of your changes, or split the changes across 377 // multiple folders. 378 ErrCodeFolderContentSizeLimitExceededException = "FolderContentSizeLimitExceededException" 379 380 // ErrCodeFolderDoesNotExistException for service response error code 381 // "FolderDoesNotExistException". 382 // 383 // The specified folder does not exist. Either the folder name is not correct, 384 // or you did not enter the full path to the folder. 385 ErrCodeFolderDoesNotExistException = "FolderDoesNotExistException" 386 387 // ErrCodeIdempotencyParameterMismatchException for service response error code 388 // "IdempotencyParameterMismatchException". 389 // 390 // The client request token is not valid. Either the token is not in a valid 391 // format, or the token has been used in a previous request and cannot be reused. 392 ErrCodeIdempotencyParameterMismatchException = "IdempotencyParameterMismatchException" 393 394 // ErrCodeInvalidActorArnException for service response error code 395 // "InvalidActorArnException". 396 // 397 // The Amazon Resource Name (ARN) is not valid. Make sure that you have provided 398 // the full ARN for the user who initiated the change for the pull request, 399 // and then try again. 400 ErrCodeInvalidActorArnException = "InvalidActorArnException" 401 402 // ErrCodeInvalidApprovalRuleContentException for service response error code 403 // "InvalidApprovalRuleContentException". 404 // 405 // The content for the approval rule is not valid. 406 ErrCodeInvalidApprovalRuleContentException = "InvalidApprovalRuleContentException" 407 408 // ErrCodeInvalidApprovalRuleNameException for service response error code 409 // "InvalidApprovalRuleNameException". 410 // 411 // The name for the approval rule is not valid. 412 ErrCodeInvalidApprovalRuleNameException = "InvalidApprovalRuleNameException" 413 414 // ErrCodeInvalidApprovalRuleTemplateContentException for service response error code 415 // "InvalidApprovalRuleTemplateContentException". 416 // 417 // The content of the approval rule template is not valid. 418 ErrCodeInvalidApprovalRuleTemplateContentException = "InvalidApprovalRuleTemplateContentException" 419 420 // ErrCodeInvalidApprovalRuleTemplateDescriptionException for service response error code 421 // "InvalidApprovalRuleTemplateDescriptionException". 422 // 423 // The description for the approval rule template is not valid because it exceeds 424 // the maximum characters allowed for a description. For more information about 425 // limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). 426 ErrCodeInvalidApprovalRuleTemplateDescriptionException = "InvalidApprovalRuleTemplateDescriptionException" 427 428 // ErrCodeInvalidApprovalRuleTemplateNameException for service response error code 429 // "InvalidApprovalRuleTemplateNameException". 430 // 431 // The name of the approval rule template is not valid. Template names must 432 // be between 1 and 100 valid characters in length. For more information about 433 // limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). 434 ErrCodeInvalidApprovalRuleTemplateNameException = "InvalidApprovalRuleTemplateNameException" 435 436 // ErrCodeInvalidApprovalStateException for service response error code 437 // "InvalidApprovalStateException". 438 // 439 // The state for the approval is not valid. Valid values include APPROVE and 440 // REVOKE. 441 ErrCodeInvalidApprovalStateException = "InvalidApprovalStateException" 442 443 // ErrCodeInvalidAuthorArnException for service response error code 444 // "InvalidAuthorArnException". 445 // 446 // The Amazon Resource Name (ARN) is not valid. Make sure that you have provided 447 // the full ARN for the author of the pull request, and then try again. 448 ErrCodeInvalidAuthorArnException = "InvalidAuthorArnException" 449 450 // ErrCodeInvalidBlobIdException for service response error code 451 // "InvalidBlobIdException". 452 // 453 // The specified blob is not valid. 454 ErrCodeInvalidBlobIdException = "InvalidBlobIdException" 455 456 // ErrCodeInvalidBranchNameException for service response error code 457 // "InvalidBranchNameException". 458 // 459 // The specified reference name is not valid. 460 ErrCodeInvalidBranchNameException = "InvalidBranchNameException" 461 462 // ErrCodeInvalidClientRequestTokenException for service response error code 463 // "InvalidClientRequestTokenException". 464 // 465 // The client request token is not valid. 466 ErrCodeInvalidClientRequestTokenException = "InvalidClientRequestTokenException" 467 468 // ErrCodeInvalidCommentIdException for service response error code 469 // "InvalidCommentIdException". 470 // 471 // The comment ID is not in a valid format. Make sure that you have provided 472 // the full comment ID. 473 ErrCodeInvalidCommentIdException = "InvalidCommentIdException" 474 475 // ErrCodeInvalidCommitException for service response error code 476 // "InvalidCommitException". 477 // 478 // The specified commit is not valid. 479 ErrCodeInvalidCommitException = "InvalidCommitException" 480 481 // ErrCodeInvalidCommitIdException for service response error code 482 // "InvalidCommitIdException". 483 // 484 // The specified commit ID is not valid. 485 ErrCodeInvalidCommitIdException = "InvalidCommitIdException" 486 487 // ErrCodeInvalidConflictDetailLevelException for service response error code 488 // "InvalidConflictDetailLevelException". 489 // 490 // The specified conflict detail level is not valid. 491 ErrCodeInvalidConflictDetailLevelException = "InvalidConflictDetailLevelException" 492 493 // ErrCodeInvalidConflictResolutionException for service response error code 494 // "InvalidConflictResolutionException". 495 // 496 // The specified conflict resolution list is not valid. 497 ErrCodeInvalidConflictResolutionException = "InvalidConflictResolutionException" 498 499 // ErrCodeInvalidConflictResolutionStrategyException for service response error code 500 // "InvalidConflictResolutionStrategyException". 501 // 502 // The specified conflict resolution strategy is not valid. 503 ErrCodeInvalidConflictResolutionStrategyException = "InvalidConflictResolutionStrategyException" 504 505 // ErrCodeInvalidContinuationTokenException for service response error code 506 // "InvalidContinuationTokenException". 507 // 508 // The specified continuation token is not valid. 509 ErrCodeInvalidContinuationTokenException = "InvalidContinuationTokenException" 510 511 // ErrCodeInvalidDeletionParameterException for service response error code 512 // "InvalidDeletionParameterException". 513 // 514 // The specified deletion parameter is not valid. 515 ErrCodeInvalidDeletionParameterException = "InvalidDeletionParameterException" 516 517 // ErrCodeInvalidDescriptionException for service response error code 518 // "InvalidDescriptionException". 519 // 520 // The pull request description is not valid. Descriptions cannot be more than 521 // 1,000 characters. 522 ErrCodeInvalidDescriptionException = "InvalidDescriptionException" 523 524 // ErrCodeInvalidDestinationCommitSpecifierException for service response error code 525 // "InvalidDestinationCommitSpecifierException". 526 // 527 // The destination commit specifier is not valid. You must provide a valid branch 528 // name, tag, or full commit ID. 529 ErrCodeInvalidDestinationCommitSpecifierException = "InvalidDestinationCommitSpecifierException" 530 531 // ErrCodeInvalidEmailException for service response error code 532 // "InvalidEmailException". 533 // 534 // The specified email address either contains one or more characters that are 535 // not allowed, or it exceeds the maximum number of characters allowed for an 536 // email address. 537 ErrCodeInvalidEmailException = "InvalidEmailException" 538 539 // ErrCodeInvalidFileLocationException for service response error code 540 // "InvalidFileLocationException". 541 // 542 // The location of the file is not valid. Make sure that you include the file 543 // name and extension. 544 ErrCodeInvalidFileLocationException = "InvalidFileLocationException" 545 546 // ErrCodeInvalidFileModeException for service response error code 547 // "InvalidFileModeException". 548 // 549 // The specified file mode permission is not valid. For a list of valid file 550 // mode permissions, see PutFile. 551 ErrCodeInvalidFileModeException = "InvalidFileModeException" 552 553 // ErrCodeInvalidFilePositionException for service response error code 554 // "InvalidFilePositionException". 555 // 556 // The position is not valid. Make sure that the line number exists in the version 557 // of the file you want to comment on. 558 ErrCodeInvalidFilePositionException = "InvalidFilePositionException" 559 560 // ErrCodeInvalidMaxConflictFilesException for service response error code 561 // "InvalidMaxConflictFilesException". 562 // 563 // The specified value for the number of conflict files to return is not valid. 564 ErrCodeInvalidMaxConflictFilesException = "InvalidMaxConflictFilesException" 565 566 // ErrCodeInvalidMaxMergeHunksException for service response error code 567 // "InvalidMaxMergeHunksException". 568 // 569 // The specified value for the number of merge hunks to return is not valid. 570 ErrCodeInvalidMaxMergeHunksException = "InvalidMaxMergeHunksException" 571 572 // ErrCodeInvalidMaxResultsException for service response error code 573 // "InvalidMaxResultsException". 574 // 575 // The specified number of maximum results is not valid. 576 ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException" 577 578 // ErrCodeInvalidMergeOptionException for service response error code 579 // "InvalidMergeOptionException". 580 // 581 // The specified merge option is not valid for this operation. Not all merge 582 // strategies are supported for all operations. 583 ErrCodeInvalidMergeOptionException = "InvalidMergeOptionException" 584 585 // ErrCodeInvalidOrderException for service response error code 586 // "InvalidOrderException". 587 // 588 // The specified sort order is not valid. 589 ErrCodeInvalidOrderException = "InvalidOrderException" 590 591 // ErrCodeInvalidOverrideStatusException for service response error code 592 // "InvalidOverrideStatusException". 593 // 594 // The override status is not valid. Valid statuses are OVERRIDE and REVOKE. 595 ErrCodeInvalidOverrideStatusException = "InvalidOverrideStatusException" 596 597 // ErrCodeInvalidParentCommitIdException for service response error code 598 // "InvalidParentCommitIdException". 599 // 600 // The parent commit ID is not valid. The commit ID cannot be empty, and must 601 // match the head commit ID for the branch of the repository where you want 602 // to add or update a file. 603 ErrCodeInvalidParentCommitIdException = "InvalidParentCommitIdException" 604 605 // ErrCodeInvalidPathException for service response error code 606 // "InvalidPathException". 607 // 608 // The specified path is not valid. 609 ErrCodeInvalidPathException = "InvalidPathException" 610 611 // ErrCodeInvalidPullRequestEventTypeException for service response error code 612 // "InvalidPullRequestEventTypeException". 613 // 614 // The pull request event type is not valid. 615 ErrCodeInvalidPullRequestEventTypeException = "InvalidPullRequestEventTypeException" 616 617 // ErrCodeInvalidPullRequestIdException for service response error code 618 // "InvalidPullRequestIdException". 619 // 620 // The pull request ID is not valid. Make sure that you have provided the full 621 // ID and that the pull request is in the specified repository, and then try 622 // again. 623 ErrCodeInvalidPullRequestIdException = "InvalidPullRequestIdException" 624 625 // ErrCodeInvalidPullRequestStatusException for service response error code 626 // "InvalidPullRequestStatusException". 627 // 628 // The pull request status is not valid. The only valid values are OPEN and 629 // CLOSED. 630 ErrCodeInvalidPullRequestStatusException = "InvalidPullRequestStatusException" 631 632 // ErrCodeInvalidPullRequestStatusUpdateException for service response error code 633 // "InvalidPullRequestStatusUpdateException". 634 // 635 // The pull request status update is not valid. The only valid update is from 636 // OPEN to CLOSED. 637 ErrCodeInvalidPullRequestStatusUpdateException = "InvalidPullRequestStatusUpdateException" 638 639 // ErrCodeInvalidReferenceNameException for service response error code 640 // "InvalidReferenceNameException". 641 // 642 // The specified reference name format is not valid. Reference names must conform 643 // to the Git references format (for example, refs/heads/master). For more information, 644 // see Git Internals - Git References (https://git-scm.com/book/en/v2/Git-Internals-Git-References) 645 // or consult your Git documentation. 646 ErrCodeInvalidReferenceNameException = "InvalidReferenceNameException" 647 648 // ErrCodeInvalidRelativeFileVersionEnumException for service response error code 649 // "InvalidRelativeFileVersionEnumException". 650 // 651 // Either the enum is not in a valid format, or the specified file version enum 652 // is not valid in respect to the current file version. 653 ErrCodeInvalidRelativeFileVersionEnumException = "InvalidRelativeFileVersionEnumException" 654 655 // ErrCodeInvalidReplacementContentException for service response error code 656 // "InvalidReplacementContentException". 657 // 658 // Automerge was specified for resolving the conflict, but the replacement type 659 // is not valid or content is missing. 660 ErrCodeInvalidReplacementContentException = "InvalidReplacementContentException" 661 662 // ErrCodeInvalidReplacementTypeException for service response error code 663 // "InvalidReplacementTypeException". 664 // 665 // Automerge was specified for resolving the conflict, but the specified replacement 666 // type is not valid. 667 ErrCodeInvalidReplacementTypeException = "InvalidReplacementTypeException" 668 669 // ErrCodeInvalidRepositoryDescriptionException for service response error code 670 // "InvalidRepositoryDescriptionException". 671 // 672 // The specified repository description is not valid. 673 ErrCodeInvalidRepositoryDescriptionException = "InvalidRepositoryDescriptionException" 674 675 // ErrCodeInvalidRepositoryNameException for service response error code 676 // "InvalidRepositoryNameException". 677 // 678 // A specified repository name is not valid. 679 // 680 // This exception occurs only when a specified repository name is not valid. 681 // Other exceptions occur when a required repository parameter is missing, or 682 // when a specified repository does not exist. 683 ErrCodeInvalidRepositoryNameException = "InvalidRepositoryNameException" 684 685 // ErrCodeInvalidRepositoryTriggerBranchNameException for service response error code 686 // "InvalidRepositoryTriggerBranchNameException". 687 // 688 // One or more branch names specified for the trigger is not valid. 689 ErrCodeInvalidRepositoryTriggerBranchNameException = "InvalidRepositoryTriggerBranchNameException" 690 691 // ErrCodeInvalidRepositoryTriggerCustomDataException for service response error code 692 // "InvalidRepositoryTriggerCustomDataException". 693 // 694 // The custom data provided for the trigger is not valid. 695 ErrCodeInvalidRepositoryTriggerCustomDataException = "InvalidRepositoryTriggerCustomDataException" 696 697 // ErrCodeInvalidRepositoryTriggerDestinationArnException for service response error code 698 // "InvalidRepositoryTriggerDestinationArnException". 699 // 700 // The Amazon Resource Name (ARN) for the trigger is not valid for the specified 701 // destination. The most common reason for this error is that the ARN does not 702 // meet the requirements for the service type. 703 ErrCodeInvalidRepositoryTriggerDestinationArnException = "InvalidRepositoryTriggerDestinationArnException" 704 705 // ErrCodeInvalidRepositoryTriggerEventsException for service response error code 706 // "InvalidRepositoryTriggerEventsException". 707 // 708 // One or more events specified for the trigger is not valid. Check to make 709 // sure that all events specified match the requirements for allowed events. 710 ErrCodeInvalidRepositoryTriggerEventsException = "InvalidRepositoryTriggerEventsException" 711 712 // ErrCodeInvalidRepositoryTriggerNameException for service response error code 713 // "InvalidRepositoryTriggerNameException". 714 // 715 // The name of the trigger is not valid. 716 ErrCodeInvalidRepositoryTriggerNameException = "InvalidRepositoryTriggerNameException" 717 718 // ErrCodeInvalidRepositoryTriggerRegionException for service response error code 719 // "InvalidRepositoryTriggerRegionException". 720 // 721 // The AWS Region for the trigger target does not match the AWS Region for the 722 // repository. Triggers must be created in the same Region as the target for 723 // the trigger. 724 ErrCodeInvalidRepositoryTriggerRegionException = "InvalidRepositoryTriggerRegionException" 725 726 // ErrCodeInvalidResourceArnException for service response error code 727 // "InvalidResourceArnException". 728 // 729 // The value for the resource ARN is not valid. For more information about resources 730 // in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) 731 // in the AWS CodeCommit User Guide. 732 ErrCodeInvalidResourceArnException = "InvalidResourceArnException" 733 734 // ErrCodeInvalidRevisionIdException for service response error code 735 // "InvalidRevisionIdException". 736 // 737 // The revision ID is not valid. Use GetPullRequest to determine the value. 738 ErrCodeInvalidRevisionIdException = "InvalidRevisionIdException" 739 740 // ErrCodeInvalidRuleContentSha256Exception for service response error code 741 // "InvalidRuleContentSha256Exception". 742 // 743 // The SHA-256 hash signature for the rule content is not valid. 744 ErrCodeInvalidRuleContentSha256Exception = "InvalidRuleContentSha256Exception" 745 746 // ErrCodeInvalidSortByException for service response error code 747 // "InvalidSortByException". 748 // 749 // The specified sort by value is not valid. 750 ErrCodeInvalidSortByException = "InvalidSortByException" 751 752 // ErrCodeInvalidSourceCommitSpecifierException for service response error code 753 // "InvalidSourceCommitSpecifierException". 754 // 755 // The source commit specifier is not valid. You must provide a valid branch 756 // name, tag, or full commit ID. 757 ErrCodeInvalidSourceCommitSpecifierException = "InvalidSourceCommitSpecifierException" 758 759 // ErrCodeInvalidSystemTagUsageException for service response error code 760 // "InvalidSystemTagUsageException". 761 // 762 // The specified tag is not valid. Key names cannot be prefixed with aws:. 763 ErrCodeInvalidSystemTagUsageException = "InvalidSystemTagUsageException" 764 765 // ErrCodeInvalidTagKeysListException for service response error code 766 // "InvalidTagKeysListException". 767 // 768 // The list of tags is not valid. 769 ErrCodeInvalidTagKeysListException = "InvalidTagKeysListException" 770 771 // ErrCodeInvalidTagsMapException for service response error code 772 // "InvalidTagsMapException". 773 // 774 // The map of tags is not valid. 775 ErrCodeInvalidTagsMapException = "InvalidTagsMapException" 776 777 // ErrCodeInvalidTargetBranchException for service response error code 778 // "InvalidTargetBranchException". 779 // 780 // The specified target branch is not valid. 781 ErrCodeInvalidTargetBranchException = "InvalidTargetBranchException" 782 783 // ErrCodeInvalidTargetException for service response error code 784 // "InvalidTargetException". 785 // 786 // The target for the pull request is not valid. A target must contain the full 787 // values for the repository name, source branch, and destination branch for 788 // the pull request. 789 ErrCodeInvalidTargetException = "InvalidTargetException" 790 791 // ErrCodeInvalidTargetsException for service response error code 792 // "InvalidTargetsException". 793 // 794 // The targets for the pull request is not valid or not in a valid format. Targets 795 // are a list of target objects. Each target object must contain the full values 796 // for the repository name, source branch, and destination branch for a pull 797 // request. 798 ErrCodeInvalidTargetsException = "InvalidTargetsException" 799 800 // ErrCodeInvalidTitleException for service response error code 801 // "InvalidTitleException". 802 // 803 // The title of the pull request is not valid. Pull request titles cannot exceed 804 // 100 characters in length. 805 ErrCodeInvalidTitleException = "InvalidTitleException" 806 807 // ErrCodeManualMergeRequiredException for service response error code 808 // "ManualMergeRequiredException". 809 // 810 // The pull request cannot be merged automatically into the destination branch. 811 // You must manually merge the branches and resolve any conflicts. 812 ErrCodeManualMergeRequiredException = "ManualMergeRequiredException" 813 814 // ErrCodeMaximumBranchesExceededException for service response error code 815 // "MaximumBranchesExceededException". 816 // 817 // The number of branches for the trigger was exceeded. 818 ErrCodeMaximumBranchesExceededException = "MaximumBranchesExceededException" 819 820 // ErrCodeMaximumConflictResolutionEntriesExceededException for service response error code 821 // "MaximumConflictResolutionEntriesExceededException". 822 // 823 // The number of allowed conflict resolution entries was exceeded. 824 ErrCodeMaximumConflictResolutionEntriesExceededException = "MaximumConflictResolutionEntriesExceededException" 825 826 // ErrCodeMaximumFileContentToLoadExceededException for service response error code 827 // "MaximumFileContentToLoadExceededException". 828 // 829 // The number of files to load exceeds the allowed limit. 830 ErrCodeMaximumFileContentToLoadExceededException = "MaximumFileContentToLoadExceededException" 831 832 // ErrCodeMaximumFileEntriesExceededException for service response error code 833 // "MaximumFileEntriesExceededException". 834 // 835 // The number of specified files to change as part of this commit exceeds the 836 // maximum number of files that can be changed in a single commit. Consider 837 // using a Git client for these changes. 838 ErrCodeMaximumFileEntriesExceededException = "MaximumFileEntriesExceededException" 839 840 // ErrCodeMaximumItemsToCompareExceededException for service response error code 841 // "MaximumItemsToCompareExceededException". 842 // 843 // The number of items to compare between the source or destination branches 844 // and the merge base has exceeded the maximum allowed. 845 ErrCodeMaximumItemsToCompareExceededException = "MaximumItemsToCompareExceededException" 846 847 // ErrCodeMaximumNumberOfApprovalsExceededException for service response error code 848 // "MaximumNumberOfApprovalsExceededException". 849 // 850 // The number of approvals required for the approval rule exceeds the maximum 851 // number allowed. 852 ErrCodeMaximumNumberOfApprovalsExceededException = "MaximumNumberOfApprovalsExceededException" 853 854 // ErrCodeMaximumOpenPullRequestsExceededException for service response error code 855 // "MaximumOpenPullRequestsExceededException". 856 // 857 // You cannot create the pull request because the repository has too many open 858 // pull requests. The maximum number of open pull requests for a repository 859 // is 1,000. Close one or more open pull requests, and then try again. 860 ErrCodeMaximumOpenPullRequestsExceededException = "MaximumOpenPullRequestsExceededException" 861 862 // ErrCodeMaximumRepositoryNamesExceededException for service response error code 863 // "MaximumRepositoryNamesExceededException". 864 // 865 // The maximum number of allowed repository names was exceeded. Currently, this 866 // number is 100. 867 ErrCodeMaximumRepositoryNamesExceededException = "MaximumRepositoryNamesExceededException" 868 869 // ErrCodeMaximumRepositoryTriggersExceededException for service response error code 870 // "MaximumRepositoryTriggersExceededException". 871 // 872 // The number of triggers allowed for the repository was exceeded. 873 ErrCodeMaximumRepositoryTriggersExceededException = "MaximumRepositoryTriggersExceededException" 874 875 // ErrCodeMaximumRuleTemplatesAssociatedWithRepositoryException for service response error code 876 // "MaximumRuleTemplatesAssociatedWithRepositoryException". 877 // 878 // The maximum number of approval rule templates for a repository has been exceeded. 879 // You cannot associate more than 25 approval rule templates with a repository. 880 ErrCodeMaximumRuleTemplatesAssociatedWithRepositoryException = "MaximumRuleTemplatesAssociatedWithRepositoryException" 881 882 // ErrCodeMergeOptionRequiredException for service response error code 883 // "MergeOptionRequiredException". 884 // 885 // A merge option or stategy is required, and none was provided. 886 ErrCodeMergeOptionRequiredException = "MergeOptionRequiredException" 887 888 // ErrCodeMultipleConflictResolutionEntriesException for service response error code 889 // "MultipleConflictResolutionEntriesException". 890 // 891 // More than one conflict resolution entries exists for the conflict. A conflict 892 // can have only one conflict resolution entry. 893 ErrCodeMultipleConflictResolutionEntriesException = "MultipleConflictResolutionEntriesException" 894 895 // ErrCodeMultipleRepositoriesInPullRequestException for service response error code 896 // "MultipleRepositoriesInPullRequestException". 897 // 898 // You cannot include more than one repository in a pull request. Make sure 899 // you have specified only one repository name in your request, and then try 900 // again. 901 ErrCodeMultipleRepositoriesInPullRequestException = "MultipleRepositoriesInPullRequestException" 902 903 // ErrCodeNameLengthExceededException for service response error code 904 // "NameLengthExceededException". 905 // 906 // The user name is not valid because it has exceeded the character limit for 907 // author names. 908 ErrCodeNameLengthExceededException = "NameLengthExceededException" 909 910 // ErrCodeNoChangeException for service response error code 911 // "NoChangeException". 912 // 913 // The commit cannot be created because no changes will be made to the repository 914 // as a result of this commit. A commit must contain at least one change. 915 ErrCodeNoChangeException = "NoChangeException" 916 917 // ErrCodeNumberOfRuleTemplatesExceededException for service response error code 918 // "NumberOfRuleTemplatesExceededException". 919 // 920 // The maximum number of approval rule templates has been exceeded for this 921 // AWS Region. 922 ErrCodeNumberOfRuleTemplatesExceededException = "NumberOfRuleTemplatesExceededException" 923 924 // ErrCodeNumberOfRulesExceededException for service response error code 925 // "NumberOfRulesExceededException". 926 // 927 // The approval rule cannot be added. The pull request has the maximum number 928 // of approval rules associated with it. 929 ErrCodeNumberOfRulesExceededException = "NumberOfRulesExceededException" 930 931 // ErrCodeOverrideAlreadySetException for service response error code 932 // "OverrideAlreadySetException". 933 // 934 // The pull request has already had its approval rules set to override. 935 ErrCodeOverrideAlreadySetException = "OverrideAlreadySetException" 936 937 // ErrCodeOverrideStatusRequiredException for service response error code 938 // "OverrideStatusRequiredException". 939 // 940 // An override status is required, but no value was provided. Valid values include 941 // OVERRIDE and REVOKE. 942 ErrCodeOverrideStatusRequiredException = "OverrideStatusRequiredException" 943 944 // ErrCodeParentCommitDoesNotExistException for service response error code 945 // "ParentCommitDoesNotExistException". 946 // 947 // The parent commit ID is not valid because it does not exist. The specified 948 // parent commit ID does not exist in the specified branch of the repository. 949 ErrCodeParentCommitDoesNotExistException = "ParentCommitDoesNotExistException" 950 951 // ErrCodeParentCommitIdOutdatedException for service response error code 952 // "ParentCommitIdOutdatedException". 953 // 954 // The file could not be added because the provided parent commit ID is not 955 // the current tip of the specified branch. To view the full commit ID of the 956 // current head of the branch, use GetBranch. 957 ErrCodeParentCommitIdOutdatedException = "ParentCommitIdOutdatedException" 958 959 // ErrCodeParentCommitIdRequiredException for service response error code 960 // "ParentCommitIdRequiredException". 961 // 962 // A parent commit ID is required. To view the full commit ID of a branch in 963 // a repository, use GetBranch or a Git command (for example, git pull or git 964 // log). 965 ErrCodeParentCommitIdRequiredException = "ParentCommitIdRequiredException" 966 967 // ErrCodePathDoesNotExistException for service response error code 968 // "PathDoesNotExistException". 969 // 970 // The specified path does not exist. 971 ErrCodePathDoesNotExistException = "PathDoesNotExistException" 972 973 // ErrCodePathRequiredException for service response error code 974 // "PathRequiredException". 975 // 976 // The folderPath for a location cannot be null. 977 ErrCodePathRequiredException = "PathRequiredException" 978 979 // ErrCodePullRequestAlreadyClosedException for service response error code 980 // "PullRequestAlreadyClosedException". 981 // 982 // The pull request status cannot be updated because it is already closed. 983 ErrCodePullRequestAlreadyClosedException = "PullRequestAlreadyClosedException" 984 985 // ErrCodePullRequestApprovalRulesNotSatisfiedException for service response error code 986 // "PullRequestApprovalRulesNotSatisfiedException". 987 // 988 // The pull request cannot be merged because one or more approval rules applied 989 // to the pull request have conditions that have not been met. 990 ErrCodePullRequestApprovalRulesNotSatisfiedException = "PullRequestApprovalRulesNotSatisfiedException" 991 992 // ErrCodePullRequestCannotBeApprovedByAuthorException for service response error code 993 // "PullRequestCannotBeApprovedByAuthorException". 994 // 995 // The approval cannot be applied because the user approving the pull request 996 // matches the user who created the pull request. You cannot approve a pull 997 // request that you created. 998 ErrCodePullRequestCannotBeApprovedByAuthorException = "PullRequestCannotBeApprovedByAuthorException" 999 1000 // ErrCodePullRequestDoesNotExistException for service response error code 1001 // "PullRequestDoesNotExistException". 1002 // 1003 // The pull request ID could not be found. Make sure that you have specified 1004 // the correct repository name and pull request ID, and then try again. 1005 ErrCodePullRequestDoesNotExistException = "PullRequestDoesNotExistException" 1006 1007 // ErrCodePullRequestIdRequiredException for service response error code 1008 // "PullRequestIdRequiredException". 1009 // 1010 // A pull request ID is required, but none was provided. 1011 ErrCodePullRequestIdRequiredException = "PullRequestIdRequiredException" 1012 1013 // ErrCodePullRequestStatusRequiredException for service response error code 1014 // "PullRequestStatusRequiredException". 1015 // 1016 // A pull request status is required, but none was provided. 1017 ErrCodePullRequestStatusRequiredException = "PullRequestStatusRequiredException" 1018 1019 // ErrCodePutFileEntryConflictException for service response error code 1020 // "PutFileEntryConflictException". 1021 // 1022 // The commit cannot be created because one or more files specified in the commit 1023 // reference both a file and a folder. 1024 ErrCodePutFileEntryConflictException = "PutFileEntryConflictException" 1025 1026 // ErrCodeReferenceDoesNotExistException for service response error code 1027 // "ReferenceDoesNotExistException". 1028 // 1029 // The specified reference does not exist. You must provide a full commit ID. 1030 ErrCodeReferenceDoesNotExistException = "ReferenceDoesNotExistException" 1031 1032 // ErrCodeReferenceNameRequiredException for service response error code 1033 // "ReferenceNameRequiredException". 1034 // 1035 // A reference name is required, but none was provided. 1036 ErrCodeReferenceNameRequiredException = "ReferenceNameRequiredException" 1037 1038 // ErrCodeReferenceTypeNotSupportedException for service response error code 1039 // "ReferenceTypeNotSupportedException". 1040 // 1041 // The specified reference is not a supported type. 1042 ErrCodeReferenceTypeNotSupportedException = "ReferenceTypeNotSupportedException" 1043 1044 // ErrCodeReplacementContentRequiredException for service response error code 1045 // "ReplacementContentRequiredException". 1046 // 1047 // USE_NEW_CONTENT was specified, but no replacement content has been provided. 1048 ErrCodeReplacementContentRequiredException = "ReplacementContentRequiredException" 1049 1050 // ErrCodeReplacementTypeRequiredException for service response error code 1051 // "ReplacementTypeRequiredException". 1052 // 1053 // A replacement type is required. 1054 ErrCodeReplacementTypeRequiredException = "ReplacementTypeRequiredException" 1055 1056 // ErrCodeRepositoryDoesNotExistException for service response error code 1057 // "RepositoryDoesNotExistException". 1058 // 1059 // The specified repository does not exist. 1060 ErrCodeRepositoryDoesNotExistException = "RepositoryDoesNotExistException" 1061 1062 // ErrCodeRepositoryLimitExceededException for service response error code 1063 // "RepositoryLimitExceededException". 1064 // 1065 // A repository resource limit was exceeded. 1066 ErrCodeRepositoryLimitExceededException = "RepositoryLimitExceededException" 1067 1068 // ErrCodeRepositoryNameExistsException for service response error code 1069 // "RepositoryNameExistsException". 1070 // 1071 // The specified repository name already exists. 1072 ErrCodeRepositoryNameExistsException = "RepositoryNameExistsException" 1073 1074 // ErrCodeRepositoryNameRequiredException for service response error code 1075 // "RepositoryNameRequiredException". 1076 // 1077 // A repository name is required, but was not specified. 1078 ErrCodeRepositoryNameRequiredException = "RepositoryNameRequiredException" 1079 1080 // ErrCodeRepositoryNamesRequiredException for service response error code 1081 // "RepositoryNamesRequiredException". 1082 // 1083 // At least one repository name object is required, but was not specified. 1084 ErrCodeRepositoryNamesRequiredException = "RepositoryNamesRequiredException" 1085 1086 // ErrCodeRepositoryNotAssociatedWithPullRequestException for service response error code 1087 // "RepositoryNotAssociatedWithPullRequestException". 1088 // 1089 // The repository does not contain any pull requests with that pull request 1090 // ID. Use GetPullRequest to verify the correct repository name for the pull 1091 // request ID. 1092 ErrCodeRepositoryNotAssociatedWithPullRequestException = "RepositoryNotAssociatedWithPullRequestException" 1093 1094 // ErrCodeRepositoryTriggerBranchNameListRequiredException for service response error code 1095 // "RepositoryTriggerBranchNameListRequiredException". 1096 // 1097 // At least one branch name is required, but was not specified in the trigger 1098 // configuration. 1099 ErrCodeRepositoryTriggerBranchNameListRequiredException = "RepositoryTriggerBranchNameListRequiredException" 1100 1101 // ErrCodeRepositoryTriggerDestinationArnRequiredException for service response error code 1102 // "RepositoryTriggerDestinationArnRequiredException". 1103 // 1104 // A destination ARN for the target service for the trigger is required, but 1105 // was not specified. 1106 ErrCodeRepositoryTriggerDestinationArnRequiredException = "RepositoryTriggerDestinationArnRequiredException" 1107 1108 // ErrCodeRepositoryTriggerEventsListRequiredException for service response error code 1109 // "RepositoryTriggerEventsListRequiredException". 1110 // 1111 // At least one event for the trigger is required, but was not specified. 1112 ErrCodeRepositoryTriggerEventsListRequiredException = "RepositoryTriggerEventsListRequiredException" 1113 1114 // ErrCodeRepositoryTriggerNameRequiredException for service response error code 1115 // "RepositoryTriggerNameRequiredException". 1116 // 1117 // A name for the trigger is required, but was not specified. 1118 ErrCodeRepositoryTriggerNameRequiredException = "RepositoryTriggerNameRequiredException" 1119 1120 // ErrCodeRepositoryTriggersListRequiredException for service response error code 1121 // "RepositoryTriggersListRequiredException". 1122 // 1123 // The list of triggers for the repository is required, but was not specified. 1124 ErrCodeRepositoryTriggersListRequiredException = "RepositoryTriggersListRequiredException" 1125 1126 // ErrCodeResourceArnRequiredException for service response error code 1127 // "ResourceArnRequiredException". 1128 // 1129 // A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. 1130 // For a list of valid resources in AWS CodeCommit, see CodeCommit Resources 1131 // and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) 1132 // in the AWS CodeCommit User Guide. 1133 ErrCodeResourceArnRequiredException = "ResourceArnRequiredException" 1134 1135 // ErrCodeRestrictedSourceFileException for service response error code 1136 // "RestrictedSourceFileException". 1137 // 1138 // The commit cannot be created because one of the changes specifies copying 1139 // or moving a .gitkeep file. 1140 ErrCodeRestrictedSourceFileException = "RestrictedSourceFileException" 1141 1142 // ErrCodeRevisionIdRequiredException for service response error code 1143 // "RevisionIdRequiredException". 1144 // 1145 // A revision ID is required, but was not provided. 1146 ErrCodeRevisionIdRequiredException = "RevisionIdRequiredException" 1147 1148 // ErrCodeRevisionNotCurrentException for service response error code 1149 // "RevisionNotCurrentException". 1150 // 1151 // The revision ID provided in the request does not match the current revision 1152 // ID. Use GetPullRequest to retrieve the current revision ID. 1153 ErrCodeRevisionNotCurrentException = "RevisionNotCurrentException" 1154 1155 // ErrCodeSameFileContentException for service response error code 1156 // "SameFileContentException". 1157 // 1158 // The file was not added or updated because the content of the file is exactly 1159 // the same as the content of that file in the repository and branch that you 1160 // specified. 1161 ErrCodeSameFileContentException = "SameFileContentException" 1162 1163 // ErrCodeSamePathRequestException for service response error code 1164 // "SamePathRequestException". 1165 // 1166 // The commit cannot be created because one or more changes in this commit duplicate 1167 // actions in the same file path. For example, you cannot make the same delete 1168 // request to the same file in the same file path twice, or make a delete request 1169 // and a move request to the same file as part of the same commit. 1170 ErrCodeSamePathRequestException = "SamePathRequestException" 1171 1172 // ErrCodeSourceAndDestinationAreSameException for service response error code 1173 // "SourceAndDestinationAreSameException". 1174 // 1175 // The source branch and destination branch for the pull request are the same. 1176 // You must specify different branches for the source and destination. 1177 ErrCodeSourceAndDestinationAreSameException = "SourceAndDestinationAreSameException" 1178 1179 // ErrCodeSourceFileOrContentRequiredException for service response error code 1180 // "SourceFileOrContentRequiredException". 1181 // 1182 // The commit cannot be created because no source files or file content have 1183 // been specified for the commit. 1184 ErrCodeSourceFileOrContentRequiredException = "SourceFileOrContentRequiredException" 1185 1186 // ErrCodeTagKeysListRequiredException for service response error code 1187 // "TagKeysListRequiredException". 1188 // 1189 // A list of tag keys is required. The list cannot be empty or null. 1190 ErrCodeTagKeysListRequiredException = "TagKeysListRequiredException" 1191 1192 // ErrCodeTagPolicyException for service response error code 1193 // "TagPolicyException". 1194 // 1195 // The tag policy is not valid. 1196 ErrCodeTagPolicyException = "TagPolicyException" 1197 1198 // ErrCodeTagsMapRequiredException for service response error code 1199 // "TagsMapRequiredException". 1200 // 1201 // A map of tags is required. 1202 ErrCodeTagsMapRequiredException = "TagsMapRequiredException" 1203 1204 // ErrCodeTargetRequiredException for service response error code 1205 // "TargetRequiredException". 1206 // 1207 // A pull request target is required. It cannot be empty or null. A pull request 1208 // target must contain the full values for the repository name, source branch, 1209 // and destination branch for the pull request. 1210 ErrCodeTargetRequiredException = "TargetRequiredException" 1211 1212 // ErrCodeTargetsRequiredException for service response error code 1213 // "TargetsRequiredException". 1214 // 1215 // An array of target objects is required. It cannot be empty or null. 1216 ErrCodeTargetsRequiredException = "TargetsRequiredException" 1217 1218 // ErrCodeTipOfSourceReferenceIsDifferentException for service response error code 1219 // "TipOfSourceReferenceIsDifferentException". 1220 // 1221 // The tip of the source branch in the destination repository does not match 1222 // the tip of the source branch specified in your request. The pull request 1223 // might have been updated. Make sure that you have the latest changes. 1224 ErrCodeTipOfSourceReferenceIsDifferentException = "TipOfSourceReferenceIsDifferentException" 1225 1226 // ErrCodeTipsDivergenceExceededException for service response error code 1227 // "TipsDivergenceExceededException". 1228 // 1229 // The divergence between the tips of the provided commit specifiers is too 1230 // great to determine whether there might be any merge conflicts. Locally compare 1231 // the specifiers using git diff or a diff tool. 1232 ErrCodeTipsDivergenceExceededException = "TipsDivergenceExceededException" 1233 1234 // ErrCodeTitleRequiredException for service response error code 1235 // "TitleRequiredException". 1236 // 1237 // A pull request title is required. It cannot be empty or null. 1238 ErrCodeTitleRequiredException = "TitleRequiredException" 1239 1240 // ErrCodeTooManyTagsException for service response error code 1241 // "TooManyTagsException". 1242 // 1243 // The maximum number of tags for an AWS CodeCommit resource has been exceeded. 1244 ErrCodeTooManyTagsException = "TooManyTagsException" 1245) 1246 1247var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 1248 "ActorDoesNotExistException": newErrorActorDoesNotExistException, 1249 "ApprovalRuleContentRequiredException": newErrorApprovalRuleContentRequiredException, 1250 "ApprovalRuleDoesNotExistException": newErrorApprovalRuleDoesNotExistException, 1251 "ApprovalRuleNameAlreadyExistsException": newErrorApprovalRuleNameAlreadyExistsException, 1252 "ApprovalRuleNameRequiredException": newErrorApprovalRuleNameRequiredException, 1253 "ApprovalRuleTemplateContentRequiredException": newErrorApprovalRuleTemplateContentRequiredException, 1254 "ApprovalRuleTemplateDoesNotExistException": newErrorApprovalRuleTemplateDoesNotExistException, 1255 "ApprovalRuleTemplateInUseException": newErrorApprovalRuleTemplateInUseException, 1256 "ApprovalRuleTemplateNameAlreadyExistsException": newErrorApprovalRuleTemplateNameAlreadyExistsException, 1257 "ApprovalRuleTemplateNameRequiredException": newErrorApprovalRuleTemplateNameRequiredException, 1258 "ApprovalStateRequiredException": newErrorApprovalStateRequiredException, 1259 "AuthorDoesNotExistException": newErrorAuthorDoesNotExistException, 1260 "BeforeCommitIdAndAfterCommitIdAreSameException": newErrorBeforeCommitIdAndAfterCommitIdAreSameException, 1261 "BlobIdDoesNotExistException": newErrorBlobIdDoesNotExistException, 1262 "BlobIdRequiredException": newErrorBlobIdRequiredException, 1263 "BranchDoesNotExistException": newErrorBranchDoesNotExistException, 1264 "BranchNameExistsException": newErrorBranchNameExistsException, 1265 "BranchNameIsTagNameException": newErrorBranchNameIsTagNameException, 1266 "BranchNameRequiredException": newErrorBranchNameRequiredException, 1267 "CannotDeleteApprovalRuleFromTemplateException": newErrorCannotDeleteApprovalRuleFromTemplateException, 1268 "CannotModifyApprovalRuleFromTemplateException": newErrorCannotModifyApprovalRuleFromTemplateException, 1269 "ClientRequestTokenRequiredException": newErrorClientRequestTokenRequiredException, 1270 "CommentContentRequiredException": newErrorCommentContentRequiredException, 1271 "CommentContentSizeLimitExceededException": newErrorCommentContentSizeLimitExceededException, 1272 "CommentDeletedException": newErrorCommentDeletedException, 1273 "CommentDoesNotExistException": newErrorCommentDoesNotExistException, 1274 "CommentIdRequiredException": newErrorCommentIdRequiredException, 1275 "CommentNotCreatedByCallerException": newErrorCommentNotCreatedByCallerException, 1276 "CommitDoesNotExistException": newErrorCommitDoesNotExistException, 1277 "CommitIdDoesNotExistException": newErrorCommitIdDoesNotExistException, 1278 "CommitIdRequiredException": newErrorCommitIdRequiredException, 1279 "CommitIdsLimitExceededException": newErrorCommitIdsLimitExceededException, 1280 "CommitIdsListRequiredException": newErrorCommitIdsListRequiredException, 1281 "CommitMessageLengthExceededException": newErrorCommitMessageLengthExceededException, 1282 "CommitRequiredException": newErrorCommitRequiredException, 1283 "ConcurrentReferenceUpdateException": newErrorConcurrentReferenceUpdateException, 1284 "DefaultBranchCannotBeDeletedException": newErrorDefaultBranchCannotBeDeletedException, 1285 "DirectoryNameConflictsWithFileNameException": newErrorDirectoryNameConflictsWithFileNameException, 1286 "EncryptionIntegrityChecksFailedException": newErrorEncryptionIntegrityChecksFailedException, 1287 "EncryptionKeyAccessDeniedException": newErrorEncryptionKeyAccessDeniedException, 1288 "EncryptionKeyDisabledException": newErrorEncryptionKeyDisabledException, 1289 "EncryptionKeyNotFoundException": newErrorEncryptionKeyNotFoundException, 1290 "EncryptionKeyUnavailableException": newErrorEncryptionKeyUnavailableException, 1291 "FileContentAndSourceFileSpecifiedException": newErrorFileContentAndSourceFileSpecifiedException, 1292 "FileContentRequiredException": newErrorFileContentRequiredException, 1293 "FileContentSizeLimitExceededException": newErrorFileContentSizeLimitExceededException, 1294 "FileDoesNotExistException": newErrorFileDoesNotExistException, 1295 "FileEntryRequiredException": newErrorFileEntryRequiredException, 1296 "FileModeRequiredException": newErrorFileModeRequiredException, 1297 "FileNameConflictsWithDirectoryNameException": newErrorFileNameConflictsWithDirectoryNameException, 1298 "FilePathConflictsWithSubmodulePathException": newErrorFilePathConflictsWithSubmodulePathException, 1299 "FileTooLargeException": newErrorFileTooLargeException, 1300 "FolderContentSizeLimitExceededException": newErrorFolderContentSizeLimitExceededException, 1301 "FolderDoesNotExistException": newErrorFolderDoesNotExistException, 1302 "IdempotencyParameterMismatchException": newErrorIdempotencyParameterMismatchException, 1303 "InvalidActorArnException": newErrorInvalidActorArnException, 1304 "InvalidApprovalRuleContentException": newErrorInvalidApprovalRuleContentException, 1305 "InvalidApprovalRuleNameException": newErrorInvalidApprovalRuleNameException, 1306 "InvalidApprovalRuleTemplateContentException": newErrorInvalidApprovalRuleTemplateContentException, 1307 "InvalidApprovalRuleTemplateDescriptionException": newErrorInvalidApprovalRuleTemplateDescriptionException, 1308 "InvalidApprovalRuleTemplateNameException": newErrorInvalidApprovalRuleTemplateNameException, 1309 "InvalidApprovalStateException": newErrorInvalidApprovalStateException, 1310 "InvalidAuthorArnException": newErrorInvalidAuthorArnException, 1311 "InvalidBlobIdException": newErrorInvalidBlobIdException, 1312 "InvalidBranchNameException": newErrorInvalidBranchNameException, 1313 "InvalidClientRequestTokenException": newErrorInvalidClientRequestTokenException, 1314 "InvalidCommentIdException": newErrorInvalidCommentIdException, 1315 "InvalidCommitException": newErrorInvalidCommitException, 1316 "InvalidCommitIdException": newErrorInvalidCommitIdException, 1317 "InvalidConflictDetailLevelException": newErrorInvalidConflictDetailLevelException, 1318 "InvalidConflictResolutionException": newErrorInvalidConflictResolutionException, 1319 "InvalidConflictResolutionStrategyException": newErrorInvalidConflictResolutionStrategyException, 1320 "InvalidContinuationTokenException": newErrorInvalidContinuationTokenException, 1321 "InvalidDeletionParameterException": newErrorInvalidDeletionParameterException, 1322 "InvalidDescriptionException": newErrorInvalidDescriptionException, 1323 "InvalidDestinationCommitSpecifierException": newErrorInvalidDestinationCommitSpecifierException, 1324 "InvalidEmailException": newErrorInvalidEmailException, 1325 "InvalidFileLocationException": newErrorInvalidFileLocationException, 1326 "InvalidFileModeException": newErrorInvalidFileModeException, 1327 "InvalidFilePositionException": newErrorInvalidFilePositionException, 1328 "InvalidMaxConflictFilesException": newErrorInvalidMaxConflictFilesException, 1329 "InvalidMaxMergeHunksException": newErrorInvalidMaxMergeHunksException, 1330 "InvalidMaxResultsException": newErrorInvalidMaxResultsException, 1331 "InvalidMergeOptionException": newErrorInvalidMergeOptionException, 1332 "InvalidOrderException": newErrorInvalidOrderException, 1333 "InvalidOverrideStatusException": newErrorInvalidOverrideStatusException, 1334 "InvalidParentCommitIdException": newErrorInvalidParentCommitIdException, 1335 "InvalidPathException": newErrorInvalidPathException, 1336 "InvalidPullRequestEventTypeException": newErrorInvalidPullRequestEventTypeException, 1337 "InvalidPullRequestIdException": newErrorInvalidPullRequestIdException, 1338 "InvalidPullRequestStatusException": newErrorInvalidPullRequestStatusException, 1339 "InvalidPullRequestStatusUpdateException": newErrorInvalidPullRequestStatusUpdateException, 1340 "InvalidReferenceNameException": newErrorInvalidReferenceNameException, 1341 "InvalidRelativeFileVersionEnumException": newErrorInvalidRelativeFileVersionEnumException, 1342 "InvalidReplacementContentException": newErrorInvalidReplacementContentException, 1343 "InvalidReplacementTypeException": newErrorInvalidReplacementTypeException, 1344 "InvalidRepositoryDescriptionException": newErrorInvalidRepositoryDescriptionException, 1345 "InvalidRepositoryNameException": newErrorInvalidRepositoryNameException, 1346 "InvalidRepositoryTriggerBranchNameException": newErrorInvalidRepositoryTriggerBranchNameException, 1347 "InvalidRepositoryTriggerCustomDataException": newErrorInvalidRepositoryTriggerCustomDataException, 1348 "InvalidRepositoryTriggerDestinationArnException": newErrorInvalidRepositoryTriggerDestinationArnException, 1349 "InvalidRepositoryTriggerEventsException": newErrorInvalidRepositoryTriggerEventsException, 1350 "InvalidRepositoryTriggerNameException": newErrorInvalidRepositoryTriggerNameException, 1351 "InvalidRepositoryTriggerRegionException": newErrorInvalidRepositoryTriggerRegionException, 1352 "InvalidResourceArnException": newErrorInvalidResourceArnException, 1353 "InvalidRevisionIdException": newErrorInvalidRevisionIdException, 1354 "InvalidRuleContentSha256Exception": newErrorInvalidRuleContentSha256Exception, 1355 "InvalidSortByException": newErrorInvalidSortByException, 1356 "InvalidSourceCommitSpecifierException": newErrorInvalidSourceCommitSpecifierException, 1357 "InvalidSystemTagUsageException": newErrorInvalidSystemTagUsageException, 1358 "InvalidTagKeysListException": newErrorInvalidTagKeysListException, 1359 "InvalidTagsMapException": newErrorInvalidTagsMapException, 1360 "InvalidTargetBranchException": newErrorInvalidTargetBranchException, 1361 "InvalidTargetException": newErrorInvalidTargetException, 1362 "InvalidTargetsException": newErrorInvalidTargetsException, 1363 "InvalidTitleException": newErrorInvalidTitleException, 1364 "ManualMergeRequiredException": newErrorManualMergeRequiredException, 1365 "MaximumBranchesExceededException": newErrorMaximumBranchesExceededException, 1366 "MaximumConflictResolutionEntriesExceededException": newErrorMaximumConflictResolutionEntriesExceededException, 1367 "MaximumFileContentToLoadExceededException": newErrorMaximumFileContentToLoadExceededException, 1368 "MaximumFileEntriesExceededException": newErrorMaximumFileEntriesExceededException, 1369 "MaximumItemsToCompareExceededException": newErrorMaximumItemsToCompareExceededException, 1370 "MaximumNumberOfApprovalsExceededException": newErrorMaximumNumberOfApprovalsExceededException, 1371 "MaximumOpenPullRequestsExceededException": newErrorMaximumOpenPullRequestsExceededException, 1372 "MaximumRepositoryNamesExceededException": newErrorMaximumRepositoryNamesExceededException, 1373 "MaximumRepositoryTriggersExceededException": newErrorMaximumRepositoryTriggersExceededException, 1374 "MaximumRuleTemplatesAssociatedWithRepositoryException": newErrorMaximumRuleTemplatesAssociatedWithRepositoryException, 1375 "MergeOptionRequiredException": newErrorMergeOptionRequiredException, 1376 "MultipleConflictResolutionEntriesException": newErrorMultipleConflictResolutionEntriesException, 1377 "MultipleRepositoriesInPullRequestException": newErrorMultipleRepositoriesInPullRequestException, 1378 "NameLengthExceededException": newErrorNameLengthExceededException, 1379 "NoChangeException": newErrorNoChangeException, 1380 "NumberOfRuleTemplatesExceededException": newErrorNumberOfRuleTemplatesExceededException, 1381 "NumberOfRulesExceededException": newErrorNumberOfRulesExceededException, 1382 "OverrideAlreadySetException": newErrorOverrideAlreadySetException, 1383 "OverrideStatusRequiredException": newErrorOverrideStatusRequiredException, 1384 "ParentCommitDoesNotExistException": newErrorParentCommitDoesNotExistException, 1385 "ParentCommitIdOutdatedException": newErrorParentCommitIdOutdatedException, 1386 "ParentCommitIdRequiredException": newErrorParentCommitIdRequiredException, 1387 "PathDoesNotExistException": newErrorPathDoesNotExistException, 1388 "PathRequiredException": newErrorPathRequiredException, 1389 "PullRequestAlreadyClosedException": newErrorPullRequestAlreadyClosedException, 1390 "PullRequestApprovalRulesNotSatisfiedException": newErrorPullRequestApprovalRulesNotSatisfiedException, 1391 "PullRequestCannotBeApprovedByAuthorException": newErrorPullRequestCannotBeApprovedByAuthorException, 1392 "PullRequestDoesNotExistException": newErrorPullRequestDoesNotExistException, 1393 "PullRequestIdRequiredException": newErrorPullRequestIdRequiredException, 1394 "PullRequestStatusRequiredException": newErrorPullRequestStatusRequiredException, 1395 "PutFileEntryConflictException": newErrorPutFileEntryConflictException, 1396 "ReferenceDoesNotExistException": newErrorReferenceDoesNotExistException, 1397 "ReferenceNameRequiredException": newErrorReferenceNameRequiredException, 1398 "ReferenceTypeNotSupportedException": newErrorReferenceTypeNotSupportedException, 1399 "ReplacementContentRequiredException": newErrorReplacementContentRequiredException, 1400 "ReplacementTypeRequiredException": newErrorReplacementTypeRequiredException, 1401 "RepositoryDoesNotExistException": newErrorRepositoryDoesNotExistException, 1402 "RepositoryLimitExceededException": newErrorRepositoryLimitExceededException, 1403 "RepositoryNameExistsException": newErrorRepositoryNameExistsException, 1404 "RepositoryNameRequiredException": newErrorRepositoryNameRequiredException, 1405 "RepositoryNamesRequiredException": newErrorRepositoryNamesRequiredException, 1406 "RepositoryNotAssociatedWithPullRequestException": newErrorRepositoryNotAssociatedWithPullRequestException, 1407 "RepositoryTriggerBranchNameListRequiredException": newErrorRepositoryTriggerBranchNameListRequiredException, 1408 "RepositoryTriggerDestinationArnRequiredException": newErrorRepositoryTriggerDestinationArnRequiredException, 1409 "RepositoryTriggerEventsListRequiredException": newErrorRepositoryTriggerEventsListRequiredException, 1410 "RepositoryTriggerNameRequiredException": newErrorRepositoryTriggerNameRequiredException, 1411 "RepositoryTriggersListRequiredException": newErrorRepositoryTriggersListRequiredException, 1412 "ResourceArnRequiredException": newErrorResourceArnRequiredException, 1413 "RestrictedSourceFileException": newErrorRestrictedSourceFileException, 1414 "RevisionIdRequiredException": newErrorRevisionIdRequiredException, 1415 "RevisionNotCurrentException": newErrorRevisionNotCurrentException, 1416 "SameFileContentException": newErrorSameFileContentException, 1417 "SamePathRequestException": newErrorSamePathRequestException, 1418 "SourceAndDestinationAreSameException": newErrorSourceAndDestinationAreSameException, 1419 "SourceFileOrContentRequiredException": newErrorSourceFileOrContentRequiredException, 1420 "TagKeysListRequiredException": newErrorTagKeysListRequiredException, 1421 "TagPolicyException": newErrorTagPolicyException, 1422 "TagsMapRequiredException": newErrorTagsMapRequiredException, 1423 "TargetRequiredException": newErrorTargetRequiredException, 1424 "TargetsRequiredException": newErrorTargetsRequiredException, 1425 "TipOfSourceReferenceIsDifferentException": newErrorTipOfSourceReferenceIsDifferentException, 1426 "TipsDivergenceExceededException": newErrorTipsDivergenceExceededException, 1427 "TitleRequiredException": newErrorTitleRequiredException, 1428 "TooManyTagsException": newErrorTooManyTagsException, 1429} 1430