1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5import ( 6 "fmt" 7 smithy "github.com/aws/smithy-go" 8) 9 10// The specified Amazon Resource Name (ARN) does not exist in the AWS account. 11type ActorDoesNotExistException struct { 12 Message *string 13} 14 15func (e *ActorDoesNotExistException) Error() string { 16 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 17} 18func (e *ActorDoesNotExistException) ErrorMessage() string { 19 if e.Message == nil { 20 return "" 21 } 22 return *e.Message 23} 24func (e *ActorDoesNotExistException) ErrorCode() string { return "ActorDoesNotExistException" } 25func (e *ActorDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 26 27// The content for the approval rule is empty. You must provide some content for an 28// approval rule. The content cannot be null. 29type ApprovalRuleContentRequiredException struct { 30 Message *string 31} 32 33func (e *ApprovalRuleContentRequiredException) Error() string { 34 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 35} 36func (e *ApprovalRuleContentRequiredException) ErrorMessage() string { 37 if e.Message == nil { 38 return "" 39 } 40 return *e.Message 41} 42func (e *ApprovalRuleContentRequiredException) ErrorCode() string { 43 return "ApprovalRuleContentRequiredException" 44} 45func (e *ApprovalRuleContentRequiredException) ErrorFault() smithy.ErrorFault { 46 return smithy.FaultClient 47} 48 49// The specified approval rule does not exist. 50type ApprovalRuleDoesNotExistException struct { 51 Message *string 52} 53 54func (e *ApprovalRuleDoesNotExistException) Error() string { 55 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 56} 57func (e *ApprovalRuleDoesNotExistException) ErrorMessage() string { 58 if e.Message == nil { 59 return "" 60 } 61 return *e.Message 62} 63func (e *ApprovalRuleDoesNotExistException) ErrorCode() string { 64 return "ApprovalRuleDoesNotExistException" 65} 66func (e *ApprovalRuleDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 67 68// An approval rule with that name already exists. Approval rule names must be 69// unique within the scope of a pull request. 70type ApprovalRuleNameAlreadyExistsException struct { 71 Message *string 72} 73 74func (e *ApprovalRuleNameAlreadyExistsException) Error() string { 75 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 76} 77func (e *ApprovalRuleNameAlreadyExistsException) ErrorMessage() string { 78 if e.Message == nil { 79 return "" 80 } 81 return *e.Message 82} 83func (e *ApprovalRuleNameAlreadyExistsException) ErrorCode() string { 84 return "ApprovalRuleNameAlreadyExistsException" 85} 86func (e *ApprovalRuleNameAlreadyExistsException) ErrorFault() smithy.ErrorFault { 87 return smithy.FaultClient 88} 89 90// An approval rule name is required, but was not specified. 91type ApprovalRuleNameRequiredException struct { 92 Message *string 93} 94 95func (e *ApprovalRuleNameRequiredException) Error() string { 96 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 97} 98func (e *ApprovalRuleNameRequiredException) ErrorMessage() string { 99 if e.Message == nil { 100 return "" 101 } 102 return *e.Message 103} 104func (e *ApprovalRuleNameRequiredException) ErrorCode() string { 105 return "ApprovalRuleNameRequiredException" 106} 107func (e *ApprovalRuleNameRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 108 109// The content for the approval rule template is empty. You must provide some 110// content for an approval rule template. The content cannot be null. 111type ApprovalRuleTemplateContentRequiredException struct { 112 Message *string 113} 114 115func (e *ApprovalRuleTemplateContentRequiredException) Error() string { 116 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 117} 118func (e *ApprovalRuleTemplateContentRequiredException) ErrorMessage() string { 119 if e.Message == nil { 120 return "" 121 } 122 return *e.Message 123} 124func (e *ApprovalRuleTemplateContentRequiredException) ErrorCode() string { 125 return "ApprovalRuleTemplateContentRequiredException" 126} 127func (e *ApprovalRuleTemplateContentRequiredException) ErrorFault() smithy.ErrorFault { 128 return smithy.FaultClient 129} 130 131// The specified approval rule template does not exist. Verify that the name is 132// correct and that you are signed in to the AWS Region where the template was 133// created, and then try again. 134type ApprovalRuleTemplateDoesNotExistException struct { 135 Message *string 136} 137 138func (e *ApprovalRuleTemplateDoesNotExistException) Error() string { 139 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 140} 141func (e *ApprovalRuleTemplateDoesNotExistException) ErrorMessage() string { 142 if e.Message == nil { 143 return "" 144 } 145 return *e.Message 146} 147func (e *ApprovalRuleTemplateDoesNotExistException) ErrorCode() string { 148 return "ApprovalRuleTemplateDoesNotExistException" 149} 150func (e *ApprovalRuleTemplateDoesNotExistException) ErrorFault() smithy.ErrorFault { 151 return smithy.FaultClient 152} 153 154// The approval rule template is associated with one or more repositories. You 155// cannot delete a template that is associated with a repository. Remove all 156// associations, and then try again. 157type ApprovalRuleTemplateInUseException struct { 158 Message *string 159} 160 161func (e *ApprovalRuleTemplateInUseException) Error() string { 162 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 163} 164func (e *ApprovalRuleTemplateInUseException) ErrorMessage() string { 165 if e.Message == nil { 166 return "" 167 } 168 return *e.Message 169} 170func (e *ApprovalRuleTemplateInUseException) ErrorCode() string { 171 return "ApprovalRuleTemplateInUseException" 172} 173func (e *ApprovalRuleTemplateInUseException) ErrorFault() smithy.ErrorFault { 174 return smithy.FaultClient 175} 176 177// You cannot create an approval rule template with that name because a template 178// with that name already exists in this AWS Region for your AWS account. Approval 179// rule template names must be unique. 180type ApprovalRuleTemplateNameAlreadyExistsException struct { 181 Message *string 182} 183 184func (e *ApprovalRuleTemplateNameAlreadyExistsException) Error() string { 185 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 186} 187func (e *ApprovalRuleTemplateNameAlreadyExistsException) ErrorMessage() string { 188 if e.Message == nil { 189 return "" 190 } 191 return *e.Message 192} 193func (e *ApprovalRuleTemplateNameAlreadyExistsException) ErrorCode() string { 194 return "ApprovalRuleTemplateNameAlreadyExistsException" 195} 196func (e *ApprovalRuleTemplateNameAlreadyExistsException) ErrorFault() smithy.ErrorFault { 197 return smithy.FaultClient 198} 199 200// An approval rule template name is required, but was not specified. 201type ApprovalRuleTemplateNameRequiredException struct { 202 Message *string 203} 204 205func (e *ApprovalRuleTemplateNameRequiredException) Error() string { 206 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 207} 208func (e *ApprovalRuleTemplateNameRequiredException) ErrorMessage() string { 209 if e.Message == nil { 210 return "" 211 } 212 return *e.Message 213} 214func (e *ApprovalRuleTemplateNameRequiredException) ErrorCode() string { 215 return "ApprovalRuleTemplateNameRequiredException" 216} 217func (e *ApprovalRuleTemplateNameRequiredException) ErrorFault() smithy.ErrorFault { 218 return smithy.FaultClient 219} 220 221// An approval state is required, but was not specified. 222type ApprovalStateRequiredException struct { 223 Message *string 224} 225 226func (e *ApprovalStateRequiredException) Error() string { 227 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 228} 229func (e *ApprovalStateRequiredException) ErrorMessage() string { 230 if e.Message == nil { 231 return "" 232 } 233 return *e.Message 234} 235func (e *ApprovalStateRequiredException) ErrorCode() string { return "ApprovalStateRequiredException" } 236func (e *ApprovalStateRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 237 238// The specified Amazon Resource Name (ARN) does not exist in the AWS account. 239type AuthorDoesNotExistException struct { 240 Message *string 241} 242 243func (e *AuthorDoesNotExistException) Error() string { 244 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 245} 246func (e *AuthorDoesNotExistException) ErrorMessage() string { 247 if e.Message == nil { 248 return "" 249 } 250 return *e.Message 251} 252func (e *AuthorDoesNotExistException) ErrorCode() string { return "AuthorDoesNotExistException" } 253func (e *AuthorDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 254 255// The before commit ID and the after commit ID are the same, which is not valid. 256// The before commit ID and the after commit ID must be different commit IDs. 257type BeforeCommitIdAndAfterCommitIdAreSameException struct { 258 Message *string 259} 260 261func (e *BeforeCommitIdAndAfterCommitIdAreSameException) Error() string { 262 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 263} 264func (e *BeforeCommitIdAndAfterCommitIdAreSameException) ErrorMessage() string { 265 if e.Message == nil { 266 return "" 267 } 268 return *e.Message 269} 270func (e *BeforeCommitIdAndAfterCommitIdAreSameException) ErrorCode() string { 271 return "BeforeCommitIdAndAfterCommitIdAreSameException" 272} 273func (e *BeforeCommitIdAndAfterCommitIdAreSameException) ErrorFault() smithy.ErrorFault { 274 return smithy.FaultClient 275} 276 277// The specified blob does not exist. 278type BlobIdDoesNotExistException struct { 279 Message *string 280} 281 282func (e *BlobIdDoesNotExistException) Error() string { 283 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 284} 285func (e *BlobIdDoesNotExistException) ErrorMessage() string { 286 if e.Message == nil { 287 return "" 288 } 289 return *e.Message 290} 291func (e *BlobIdDoesNotExistException) ErrorCode() string { return "BlobIdDoesNotExistException" } 292func (e *BlobIdDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 293 294// A blob ID is required, but was not specified. 295type BlobIdRequiredException struct { 296 Message *string 297} 298 299func (e *BlobIdRequiredException) Error() string { 300 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 301} 302func (e *BlobIdRequiredException) ErrorMessage() string { 303 if e.Message == nil { 304 return "" 305 } 306 return *e.Message 307} 308func (e *BlobIdRequiredException) ErrorCode() string { return "BlobIdRequiredException" } 309func (e *BlobIdRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 310 311// The specified branch does not exist. 312type BranchDoesNotExistException struct { 313 Message *string 314} 315 316func (e *BranchDoesNotExistException) Error() string { 317 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 318} 319func (e *BranchDoesNotExistException) ErrorMessage() string { 320 if e.Message == nil { 321 return "" 322 } 323 return *e.Message 324} 325func (e *BranchDoesNotExistException) ErrorCode() string { return "BranchDoesNotExistException" } 326func (e *BranchDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 327 328// Cannot create the branch with the specified name because the commit conflicts 329// with an existing branch with the same name. Branch names must be unique. 330type BranchNameExistsException struct { 331 Message *string 332} 333 334func (e *BranchNameExistsException) Error() string { 335 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 336} 337func (e *BranchNameExistsException) ErrorMessage() string { 338 if e.Message == nil { 339 return "" 340 } 341 return *e.Message 342} 343func (e *BranchNameExistsException) ErrorCode() string { return "BranchNameExistsException" } 344func (e *BranchNameExistsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 345 346// The specified branch name is not valid because it is a tag name. Enter the name 347// of a branch in the repository. For a list of valid branch names, use 348// ListBranches. 349type BranchNameIsTagNameException struct { 350 Message *string 351} 352 353func (e *BranchNameIsTagNameException) Error() string { 354 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 355} 356func (e *BranchNameIsTagNameException) ErrorMessage() string { 357 if e.Message == nil { 358 return "" 359 } 360 return *e.Message 361} 362func (e *BranchNameIsTagNameException) ErrorCode() string { return "BranchNameIsTagNameException" } 363func (e *BranchNameIsTagNameException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 364 365// A branch name is required, but was not specified. 366type BranchNameRequiredException struct { 367 Message *string 368} 369 370func (e *BranchNameRequiredException) Error() string { 371 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 372} 373func (e *BranchNameRequiredException) ErrorMessage() string { 374 if e.Message == nil { 375 return "" 376 } 377 return *e.Message 378} 379func (e *BranchNameRequiredException) ErrorCode() string { return "BranchNameRequiredException" } 380func (e *BranchNameRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 381 382// The approval rule cannot be deleted from the pull request because it was created 383// by an approval rule template and applied to the pull request automatically. 384type CannotDeleteApprovalRuleFromTemplateException struct { 385 Message *string 386} 387 388func (e *CannotDeleteApprovalRuleFromTemplateException) Error() string { 389 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 390} 391func (e *CannotDeleteApprovalRuleFromTemplateException) ErrorMessage() string { 392 if e.Message == nil { 393 return "" 394 } 395 return *e.Message 396} 397func (e *CannotDeleteApprovalRuleFromTemplateException) ErrorCode() string { 398 return "CannotDeleteApprovalRuleFromTemplateException" 399} 400func (e *CannotDeleteApprovalRuleFromTemplateException) ErrorFault() smithy.ErrorFault { 401 return smithy.FaultClient 402} 403 404// The approval rule cannot be modified for the pull request because it was created 405// by an approval rule template and applied to the pull request automatically. 406type CannotModifyApprovalRuleFromTemplateException struct { 407 Message *string 408} 409 410func (e *CannotModifyApprovalRuleFromTemplateException) Error() string { 411 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 412} 413func (e *CannotModifyApprovalRuleFromTemplateException) ErrorMessage() string { 414 if e.Message == nil { 415 return "" 416 } 417 return *e.Message 418} 419func (e *CannotModifyApprovalRuleFromTemplateException) ErrorCode() string { 420 return "CannotModifyApprovalRuleFromTemplateException" 421} 422func (e *CannotModifyApprovalRuleFromTemplateException) ErrorFault() smithy.ErrorFault { 423 return smithy.FaultClient 424} 425 426// A client request token is required. A client request token is an unique, 427// client-generated idempotency token that, when provided in a request, ensures the 428// request cannot be repeated with a changed parameter. If a request is received 429// with the same parameters and a token is included, the request returns 430// information about the initial request that used that token. 431type ClientRequestTokenRequiredException struct { 432 Message *string 433} 434 435func (e *ClientRequestTokenRequiredException) Error() string { 436 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 437} 438func (e *ClientRequestTokenRequiredException) ErrorMessage() string { 439 if e.Message == nil { 440 return "" 441 } 442 return *e.Message 443} 444func (e *ClientRequestTokenRequiredException) ErrorCode() string { 445 return "ClientRequestTokenRequiredException" 446} 447func (e *ClientRequestTokenRequiredException) ErrorFault() smithy.ErrorFault { 448 return smithy.FaultClient 449} 450 451// The comment is empty. You must provide some content for a comment. The content 452// cannot be null. 453type CommentContentRequiredException struct { 454 Message *string 455} 456 457func (e *CommentContentRequiredException) Error() string { 458 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 459} 460func (e *CommentContentRequiredException) ErrorMessage() string { 461 if e.Message == nil { 462 return "" 463 } 464 return *e.Message 465} 466func (e *CommentContentRequiredException) ErrorCode() string { 467 return "CommentContentRequiredException" 468} 469func (e *CommentContentRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 470 471// The comment is too large. Comments are limited to 1,000 characters. 472type CommentContentSizeLimitExceededException struct { 473 Message *string 474} 475 476func (e *CommentContentSizeLimitExceededException) Error() string { 477 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 478} 479func (e *CommentContentSizeLimitExceededException) ErrorMessage() string { 480 if e.Message == nil { 481 return "" 482 } 483 return *e.Message 484} 485func (e *CommentContentSizeLimitExceededException) ErrorCode() string { 486 return "CommentContentSizeLimitExceededException" 487} 488func (e *CommentContentSizeLimitExceededException) ErrorFault() smithy.ErrorFault { 489 return smithy.FaultClient 490} 491 492// This comment has already been deleted. You cannot edit or delete a deleted 493// comment. 494type CommentDeletedException struct { 495 Message *string 496} 497 498func (e *CommentDeletedException) Error() string { 499 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 500} 501func (e *CommentDeletedException) ErrorMessage() string { 502 if e.Message == nil { 503 return "" 504 } 505 return *e.Message 506} 507func (e *CommentDeletedException) ErrorCode() string { return "CommentDeletedException" } 508func (e *CommentDeletedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 509 510// No comment exists with the provided ID. Verify that you have used the correct 511// ID, and then try again. 512type CommentDoesNotExistException struct { 513 Message *string 514} 515 516func (e *CommentDoesNotExistException) Error() string { 517 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 518} 519func (e *CommentDoesNotExistException) ErrorMessage() string { 520 if e.Message == nil { 521 return "" 522 } 523 return *e.Message 524} 525func (e *CommentDoesNotExistException) ErrorCode() string { return "CommentDoesNotExistException" } 526func (e *CommentDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 527 528// The comment ID is missing or null. A comment ID is required. 529type CommentIdRequiredException struct { 530 Message *string 531} 532 533func (e *CommentIdRequiredException) Error() string { 534 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 535} 536func (e *CommentIdRequiredException) ErrorMessage() string { 537 if e.Message == nil { 538 return "" 539 } 540 return *e.Message 541} 542func (e *CommentIdRequiredException) ErrorCode() string { return "CommentIdRequiredException" } 543func (e *CommentIdRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 544 545// You cannot modify or delete this comment. Only comment authors can modify or 546// delete their comments. 547type CommentNotCreatedByCallerException struct { 548 Message *string 549} 550 551func (e *CommentNotCreatedByCallerException) Error() string { 552 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 553} 554func (e *CommentNotCreatedByCallerException) ErrorMessage() string { 555 if e.Message == nil { 556 return "" 557 } 558 return *e.Message 559} 560func (e *CommentNotCreatedByCallerException) ErrorCode() string { 561 return "CommentNotCreatedByCallerException" 562} 563func (e *CommentNotCreatedByCallerException) ErrorFault() smithy.ErrorFault { 564 return smithy.FaultClient 565} 566 567// The specified commit does not exist or no commit was specified, and the 568// specified repository has no default branch. 569type CommitDoesNotExistException struct { 570 Message *string 571} 572 573func (e *CommitDoesNotExistException) Error() string { 574 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 575} 576func (e *CommitDoesNotExistException) ErrorMessage() string { 577 if e.Message == nil { 578 return "" 579 } 580 return *e.Message 581} 582func (e *CommitDoesNotExistException) ErrorCode() string { return "CommitDoesNotExistException" } 583func (e *CommitDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 584 585// The specified commit ID does not exist. 586type CommitIdDoesNotExistException struct { 587 Message *string 588} 589 590func (e *CommitIdDoesNotExistException) Error() string { 591 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 592} 593func (e *CommitIdDoesNotExistException) ErrorMessage() string { 594 if e.Message == nil { 595 return "" 596 } 597 return *e.Message 598} 599func (e *CommitIdDoesNotExistException) ErrorCode() string { return "CommitIdDoesNotExistException" } 600func (e *CommitIdDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 601 602// A commit ID was not specified. 603type CommitIdRequiredException struct { 604 Message *string 605} 606 607func (e *CommitIdRequiredException) Error() string { 608 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 609} 610func (e *CommitIdRequiredException) ErrorMessage() string { 611 if e.Message == nil { 612 return "" 613 } 614 return *e.Message 615} 616func (e *CommitIdRequiredException) ErrorCode() string { return "CommitIdRequiredException" } 617func (e *CommitIdRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 618 619// The maximum number of allowed commit IDs in a batch request is 100. Verify that 620// your batch requests contains no more than 100 commit IDs, and then try again. 621type CommitIdsLimitExceededException struct { 622 Message *string 623} 624 625func (e *CommitIdsLimitExceededException) Error() string { 626 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 627} 628func (e *CommitIdsLimitExceededException) ErrorMessage() string { 629 if e.Message == nil { 630 return "" 631 } 632 return *e.Message 633} 634func (e *CommitIdsLimitExceededException) ErrorCode() string { 635 return "CommitIdsLimitExceededException" 636} 637func (e *CommitIdsLimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 638 639// A list of commit IDs is required, but was either not specified or the list was 640// empty. 641type CommitIdsListRequiredException struct { 642 Message *string 643} 644 645func (e *CommitIdsListRequiredException) Error() string { 646 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 647} 648func (e *CommitIdsListRequiredException) ErrorMessage() string { 649 if e.Message == nil { 650 return "" 651 } 652 return *e.Message 653} 654func (e *CommitIdsListRequiredException) ErrorCode() string { return "CommitIdsListRequiredException" } 655func (e *CommitIdsListRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 656 657// The commit message is too long. Provide a shorter string. 658type CommitMessageLengthExceededException struct { 659 Message *string 660} 661 662func (e *CommitMessageLengthExceededException) Error() string { 663 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 664} 665func (e *CommitMessageLengthExceededException) ErrorMessage() string { 666 if e.Message == nil { 667 return "" 668 } 669 return *e.Message 670} 671func (e *CommitMessageLengthExceededException) ErrorCode() string { 672 return "CommitMessageLengthExceededException" 673} 674func (e *CommitMessageLengthExceededException) ErrorFault() smithy.ErrorFault { 675 return smithy.FaultClient 676} 677 678// A commit was not specified. 679type CommitRequiredException struct { 680 Message *string 681} 682 683func (e *CommitRequiredException) Error() string { 684 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 685} 686func (e *CommitRequiredException) ErrorMessage() string { 687 if e.Message == nil { 688 return "" 689 } 690 return *e.Message 691} 692func (e *CommitRequiredException) ErrorCode() string { return "CommitRequiredException" } 693func (e *CommitRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 694 695// The merge cannot be completed because the target branch has been modified. 696// Another user might have modified the target branch while the merge was in 697// progress. Wait a few minutes, and then try again. 698type ConcurrentReferenceUpdateException struct { 699 Message *string 700} 701 702func (e *ConcurrentReferenceUpdateException) Error() string { 703 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 704} 705func (e *ConcurrentReferenceUpdateException) ErrorMessage() string { 706 if e.Message == nil { 707 return "" 708 } 709 return *e.Message 710} 711func (e *ConcurrentReferenceUpdateException) ErrorCode() string { 712 return "ConcurrentReferenceUpdateException" 713} 714func (e *ConcurrentReferenceUpdateException) ErrorFault() smithy.ErrorFault { 715 return smithy.FaultClient 716} 717 718// The specified branch is the default branch for the repository, and cannot be 719// deleted. To delete this branch, you must first set another branch as the default 720// branch. 721type DefaultBranchCannotBeDeletedException struct { 722 Message *string 723} 724 725func (e *DefaultBranchCannotBeDeletedException) Error() string { 726 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 727} 728func (e *DefaultBranchCannotBeDeletedException) ErrorMessage() string { 729 if e.Message == nil { 730 return "" 731 } 732 return *e.Message 733} 734func (e *DefaultBranchCannotBeDeletedException) ErrorCode() string { 735 return "DefaultBranchCannotBeDeletedException" 736} 737func (e *DefaultBranchCannotBeDeletedException) ErrorFault() smithy.ErrorFault { 738 return smithy.FaultClient 739} 740 741// A file cannot be added to the repository because the specified path name has the 742// same name as a file that already exists in this repository. Either provide a 743// different name for the file, or specify a different path for the file. 744type DirectoryNameConflictsWithFileNameException struct { 745 Message *string 746} 747 748func (e *DirectoryNameConflictsWithFileNameException) Error() string { 749 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 750} 751func (e *DirectoryNameConflictsWithFileNameException) ErrorMessage() string { 752 if e.Message == nil { 753 return "" 754 } 755 return *e.Message 756} 757func (e *DirectoryNameConflictsWithFileNameException) ErrorCode() string { 758 return "DirectoryNameConflictsWithFileNameException" 759} 760func (e *DirectoryNameConflictsWithFileNameException) ErrorFault() smithy.ErrorFault { 761 return smithy.FaultClient 762} 763 764// An encryption integrity check failed. 765type EncryptionIntegrityChecksFailedException struct { 766 Message *string 767} 768 769func (e *EncryptionIntegrityChecksFailedException) Error() string { 770 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 771} 772func (e *EncryptionIntegrityChecksFailedException) ErrorMessage() string { 773 if e.Message == nil { 774 return "" 775 } 776 return *e.Message 777} 778func (e *EncryptionIntegrityChecksFailedException) ErrorCode() string { 779 return "EncryptionIntegrityChecksFailedException" 780} 781func (e *EncryptionIntegrityChecksFailedException) ErrorFault() smithy.ErrorFault { 782 return smithy.FaultServer 783} 784 785// An encryption key could not be accessed. 786type EncryptionKeyAccessDeniedException struct { 787 Message *string 788} 789 790func (e *EncryptionKeyAccessDeniedException) Error() string { 791 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 792} 793func (e *EncryptionKeyAccessDeniedException) ErrorMessage() string { 794 if e.Message == nil { 795 return "" 796 } 797 return *e.Message 798} 799func (e *EncryptionKeyAccessDeniedException) ErrorCode() string { 800 return "EncryptionKeyAccessDeniedException" 801} 802func (e *EncryptionKeyAccessDeniedException) ErrorFault() smithy.ErrorFault { 803 return smithy.FaultClient 804} 805 806// The encryption key is disabled. 807type EncryptionKeyDisabledException struct { 808 Message *string 809} 810 811func (e *EncryptionKeyDisabledException) Error() string { 812 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 813} 814func (e *EncryptionKeyDisabledException) ErrorMessage() string { 815 if e.Message == nil { 816 return "" 817 } 818 return *e.Message 819} 820func (e *EncryptionKeyDisabledException) ErrorCode() string { return "EncryptionKeyDisabledException" } 821func (e *EncryptionKeyDisabledException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 822 823// No encryption key was found. 824type EncryptionKeyNotFoundException struct { 825 Message *string 826} 827 828func (e *EncryptionKeyNotFoundException) Error() string { 829 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 830} 831func (e *EncryptionKeyNotFoundException) ErrorMessage() string { 832 if e.Message == nil { 833 return "" 834 } 835 return *e.Message 836} 837func (e *EncryptionKeyNotFoundException) ErrorCode() string { return "EncryptionKeyNotFoundException" } 838func (e *EncryptionKeyNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 839 840// The encryption key is not available. 841type EncryptionKeyUnavailableException struct { 842 Message *string 843} 844 845func (e *EncryptionKeyUnavailableException) Error() string { 846 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 847} 848func (e *EncryptionKeyUnavailableException) ErrorMessage() string { 849 if e.Message == nil { 850 return "" 851 } 852 return *e.Message 853} 854func (e *EncryptionKeyUnavailableException) ErrorCode() string { 855 return "EncryptionKeyUnavailableException" 856} 857func (e *EncryptionKeyUnavailableException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 858 859// The commit cannot be created because both a source file and file content have 860// been specified for the same file. You cannot provide both. Either specify a 861// source file or provide the file content directly. 862type FileContentAndSourceFileSpecifiedException struct { 863 Message *string 864} 865 866func (e *FileContentAndSourceFileSpecifiedException) Error() string { 867 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 868} 869func (e *FileContentAndSourceFileSpecifiedException) ErrorMessage() string { 870 if e.Message == nil { 871 return "" 872 } 873 return *e.Message 874} 875func (e *FileContentAndSourceFileSpecifiedException) ErrorCode() string { 876 return "FileContentAndSourceFileSpecifiedException" 877} 878func (e *FileContentAndSourceFileSpecifiedException) ErrorFault() smithy.ErrorFault { 879 return smithy.FaultClient 880} 881 882// The file cannot be added because it is empty. Empty files cannot be added to the 883// repository with this API. 884type FileContentRequiredException struct { 885 Message *string 886} 887 888func (e *FileContentRequiredException) Error() string { 889 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 890} 891func (e *FileContentRequiredException) ErrorMessage() string { 892 if e.Message == nil { 893 return "" 894 } 895 return *e.Message 896} 897func (e *FileContentRequiredException) ErrorCode() string { return "FileContentRequiredException" } 898func (e *FileContentRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 899 900// The file cannot be added because it is too large. The maximum file size is 6 MB, 901// and the combined file content change size is 7 MB. Consider making these changes 902// using a Git client. 903type FileContentSizeLimitExceededException struct { 904 Message *string 905} 906 907func (e *FileContentSizeLimitExceededException) Error() string { 908 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 909} 910func (e *FileContentSizeLimitExceededException) ErrorMessage() string { 911 if e.Message == nil { 912 return "" 913 } 914 return *e.Message 915} 916func (e *FileContentSizeLimitExceededException) ErrorCode() string { 917 return "FileContentSizeLimitExceededException" 918} 919func (e *FileContentSizeLimitExceededException) ErrorFault() smithy.ErrorFault { 920 return smithy.FaultClient 921} 922 923// The specified file does not exist. Verify that you have used the correct file 924// name, full path, and extension. 925type FileDoesNotExistException struct { 926 Message *string 927} 928 929func (e *FileDoesNotExistException) Error() string { 930 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 931} 932func (e *FileDoesNotExistException) ErrorMessage() string { 933 if e.Message == nil { 934 return "" 935 } 936 return *e.Message 937} 938func (e *FileDoesNotExistException) ErrorCode() string { return "FileDoesNotExistException" } 939func (e *FileDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 940 941// The commit cannot be created because no files have been specified as added, 942// updated, or changed (PutFile or DeleteFile) for the commit. 943type FileEntryRequiredException struct { 944 Message *string 945} 946 947func (e *FileEntryRequiredException) Error() string { 948 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 949} 950func (e *FileEntryRequiredException) ErrorMessage() string { 951 if e.Message == nil { 952 return "" 953 } 954 return *e.Message 955} 956func (e *FileEntryRequiredException) ErrorCode() string { return "FileEntryRequiredException" } 957func (e *FileEntryRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 958 959// The commit cannot be created because no file mode has been specified. A file 960// mode is required to update mode permissions for a file. 961type FileModeRequiredException struct { 962 Message *string 963} 964 965func (e *FileModeRequiredException) Error() string { 966 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 967} 968func (e *FileModeRequiredException) ErrorMessage() string { 969 if e.Message == nil { 970 return "" 971 } 972 return *e.Message 973} 974func (e *FileModeRequiredException) ErrorCode() string { return "FileModeRequiredException" } 975func (e *FileModeRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 976 977// A file cannot be added to the repository because the specified file name has the 978// same name as a directory in this repository. Either provide another name for the 979// file, or add the file in a directory that does not match the file name. 980type FileNameConflictsWithDirectoryNameException struct { 981 Message *string 982} 983 984func (e *FileNameConflictsWithDirectoryNameException) Error() string { 985 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 986} 987func (e *FileNameConflictsWithDirectoryNameException) ErrorMessage() string { 988 if e.Message == nil { 989 return "" 990 } 991 return *e.Message 992} 993func (e *FileNameConflictsWithDirectoryNameException) ErrorCode() string { 994 return "FileNameConflictsWithDirectoryNameException" 995} 996func (e *FileNameConflictsWithDirectoryNameException) ErrorFault() smithy.ErrorFault { 997 return smithy.FaultClient 998} 999 1000// The commit cannot be created because a specified file path points to a 1001// submodule. Verify that the destination files have valid file paths that do not 1002// point to a submodule. 1003type FilePathConflictsWithSubmodulePathException struct { 1004 Message *string 1005} 1006 1007func (e *FilePathConflictsWithSubmodulePathException) Error() string { 1008 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1009} 1010func (e *FilePathConflictsWithSubmodulePathException) ErrorMessage() string { 1011 if e.Message == nil { 1012 return "" 1013 } 1014 return *e.Message 1015} 1016func (e *FilePathConflictsWithSubmodulePathException) ErrorCode() string { 1017 return "FilePathConflictsWithSubmodulePathException" 1018} 1019func (e *FilePathConflictsWithSubmodulePathException) ErrorFault() smithy.ErrorFault { 1020 return smithy.FaultClient 1021} 1022 1023// The specified file exceeds the file size limit for AWS CodeCommit. For more 1024// information about limits in AWS CodeCommit, see AWS CodeCommit User Guide 1025// (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). 1026type FileTooLargeException struct { 1027 Message *string 1028} 1029 1030func (e *FileTooLargeException) Error() string { 1031 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1032} 1033func (e *FileTooLargeException) ErrorMessage() string { 1034 if e.Message == nil { 1035 return "" 1036 } 1037 return *e.Message 1038} 1039func (e *FileTooLargeException) ErrorCode() string { return "FileTooLargeException" } 1040func (e *FileTooLargeException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1041 1042// The commit cannot be created because at least one of the overall changes in the 1043// commit results in a folder whose contents exceed the limit of 6 MB. Either 1044// reduce the number and size of your changes, or split the changes across multiple 1045// folders. 1046type FolderContentSizeLimitExceededException struct { 1047 Message *string 1048} 1049 1050func (e *FolderContentSizeLimitExceededException) Error() string { 1051 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1052} 1053func (e *FolderContentSizeLimitExceededException) ErrorMessage() string { 1054 if e.Message == nil { 1055 return "" 1056 } 1057 return *e.Message 1058} 1059func (e *FolderContentSizeLimitExceededException) ErrorCode() string { 1060 return "FolderContentSizeLimitExceededException" 1061} 1062func (e *FolderContentSizeLimitExceededException) ErrorFault() smithy.ErrorFault { 1063 return smithy.FaultClient 1064} 1065 1066// The specified folder does not exist. Either the folder name is not correct, or 1067// you did not enter the full path to the folder. 1068type FolderDoesNotExistException struct { 1069 Message *string 1070} 1071 1072func (e *FolderDoesNotExistException) Error() string { 1073 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1074} 1075func (e *FolderDoesNotExistException) ErrorMessage() string { 1076 if e.Message == nil { 1077 return "" 1078 } 1079 return *e.Message 1080} 1081func (e *FolderDoesNotExistException) ErrorCode() string { return "FolderDoesNotExistException" } 1082func (e *FolderDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1083 1084// The client request token is not valid. Either the token is not in a valid 1085// format, or the token has been used in a previous request and cannot be reused. 1086type IdempotencyParameterMismatchException struct { 1087 Message *string 1088} 1089 1090func (e *IdempotencyParameterMismatchException) Error() string { 1091 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1092} 1093func (e *IdempotencyParameterMismatchException) ErrorMessage() string { 1094 if e.Message == nil { 1095 return "" 1096 } 1097 return *e.Message 1098} 1099func (e *IdempotencyParameterMismatchException) ErrorCode() string { 1100 return "IdempotencyParameterMismatchException" 1101} 1102func (e *IdempotencyParameterMismatchException) ErrorFault() smithy.ErrorFault { 1103 return smithy.FaultClient 1104} 1105 1106// The Amazon Resource Name (ARN) is not valid. Make sure that you have provided 1107// the full ARN for the user who initiated the change for the pull request, and 1108// then try again. 1109type InvalidActorArnException struct { 1110 Message *string 1111} 1112 1113func (e *InvalidActorArnException) Error() string { 1114 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1115} 1116func (e *InvalidActorArnException) ErrorMessage() string { 1117 if e.Message == nil { 1118 return "" 1119 } 1120 return *e.Message 1121} 1122func (e *InvalidActorArnException) ErrorCode() string { return "InvalidActorArnException" } 1123func (e *InvalidActorArnException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1124 1125// The content for the approval rule is not valid. 1126type InvalidApprovalRuleContentException struct { 1127 Message *string 1128} 1129 1130func (e *InvalidApprovalRuleContentException) Error() string { 1131 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1132} 1133func (e *InvalidApprovalRuleContentException) ErrorMessage() string { 1134 if e.Message == nil { 1135 return "" 1136 } 1137 return *e.Message 1138} 1139func (e *InvalidApprovalRuleContentException) ErrorCode() string { 1140 return "InvalidApprovalRuleContentException" 1141} 1142func (e *InvalidApprovalRuleContentException) ErrorFault() smithy.ErrorFault { 1143 return smithy.FaultClient 1144} 1145 1146// The name for the approval rule is not valid. 1147type InvalidApprovalRuleNameException struct { 1148 Message *string 1149} 1150 1151func (e *InvalidApprovalRuleNameException) Error() string { 1152 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1153} 1154func (e *InvalidApprovalRuleNameException) ErrorMessage() string { 1155 if e.Message == nil { 1156 return "" 1157 } 1158 return *e.Message 1159} 1160func (e *InvalidApprovalRuleNameException) ErrorCode() string { 1161 return "InvalidApprovalRuleNameException" 1162} 1163func (e *InvalidApprovalRuleNameException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1164 1165// The content of the approval rule template is not valid. 1166type InvalidApprovalRuleTemplateContentException struct { 1167 Message *string 1168} 1169 1170func (e *InvalidApprovalRuleTemplateContentException) Error() string { 1171 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1172} 1173func (e *InvalidApprovalRuleTemplateContentException) ErrorMessage() string { 1174 if e.Message == nil { 1175 return "" 1176 } 1177 return *e.Message 1178} 1179func (e *InvalidApprovalRuleTemplateContentException) ErrorCode() string { 1180 return "InvalidApprovalRuleTemplateContentException" 1181} 1182func (e *InvalidApprovalRuleTemplateContentException) ErrorFault() smithy.ErrorFault { 1183 return smithy.FaultClient 1184} 1185 1186// The description for the approval rule template is not valid because it exceeds 1187// the maximum characters allowed for a description. For more information about 1188// limits in AWS CodeCommit, see AWS CodeCommit User Guide 1189// (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). 1190type InvalidApprovalRuleTemplateDescriptionException struct { 1191 Message *string 1192} 1193 1194func (e *InvalidApprovalRuleTemplateDescriptionException) Error() string { 1195 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1196} 1197func (e *InvalidApprovalRuleTemplateDescriptionException) ErrorMessage() string { 1198 if e.Message == nil { 1199 return "" 1200 } 1201 return *e.Message 1202} 1203func (e *InvalidApprovalRuleTemplateDescriptionException) ErrorCode() string { 1204 return "InvalidApprovalRuleTemplateDescriptionException" 1205} 1206func (e *InvalidApprovalRuleTemplateDescriptionException) ErrorFault() smithy.ErrorFault { 1207 return smithy.FaultClient 1208} 1209 1210// The name of the approval rule template is not valid. Template names must be 1211// between 1 and 100 valid characters in length. For more information about limits 1212// in AWS CodeCommit, see AWS CodeCommit User Guide 1213// (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). 1214type InvalidApprovalRuleTemplateNameException struct { 1215 Message *string 1216} 1217 1218func (e *InvalidApprovalRuleTemplateNameException) Error() string { 1219 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1220} 1221func (e *InvalidApprovalRuleTemplateNameException) ErrorMessage() string { 1222 if e.Message == nil { 1223 return "" 1224 } 1225 return *e.Message 1226} 1227func (e *InvalidApprovalRuleTemplateNameException) ErrorCode() string { 1228 return "InvalidApprovalRuleTemplateNameException" 1229} 1230func (e *InvalidApprovalRuleTemplateNameException) ErrorFault() smithy.ErrorFault { 1231 return smithy.FaultClient 1232} 1233 1234// The state for the approval is not valid. Valid values include APPROVE and 1235// REVOKE. 1236type InvalidApprovalStateException struct { 1237 Message *string 1238} 1239 1240func (e *InvalidApprovalStateException) Error() string { 1241 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1242} 1243func (e *InvalidApprovalStateException) ErrorMessage() string { 1244 if e.Message == nil { 1245 return "" 1246 } 1247 return *e.Message 1248} 1249func (e *InvalidApprovalStateException) ErrorCode() string { return "InvalidApprovalStateException" } 1250func (e *InvalidApprovalStateException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1251 1252// The Amazon Resource Name (ARN) is not valid. Make sure that you have provided 1253// the full ARN for the author of the pull request, and then try again. 1254type InvalidAuthorArnException struct { 1255 Message *string 1256} 1257 1258func (e *InvalidAuthorArnException) Error() string { 1259 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1260} 1261func (e *InvalidAuthorArnException) ErrorMessage() string { 1262 if e.Message == nil { 1263 return "" 1264 } 1265 return *e.Message 1266} 1267func (e *InvalidAuthorArnException) ErrorCode() string { return "InvalidAuthorArnException" } 1268func (e *InvalidAuthorArnException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1269 1270// The specified blob is not valid. 1271type InvalidBlobIdException struct { 1272 Message *string 1273} 1274 1275func (e *InvalidBlobIdException) Error() string { 1276 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1277} 1278func (e *InvalidBlobIdException) ErrorMessage() string { 1279 if e.Message == nil { 1280 return "" 1281 } 1282 return *e.Message 1283} 1284func (e *InvalidBlobIdException) ErrorCode() string { return "InvalidBlobIdException" } 1285func (e *InvalidBlobIdException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1286 1287// The specified reference name is not valid. 1288type InvalidBranchNameException struct { 1289 Message *string 1290} 1291 1292func (e *InvalidBranchNameException) Error() string { 1293 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1294} 1295func (e *InvalidBranchNameException) ErrorMessage() string { 1296 if e.Message == nil { 1297 return "" 1298 } 1299 return *e.Message 1300} 1301func (e *InvalidBranchNameException) ErrorCode() string { return "InvalidBranchNameException" } 1302func (e *InvalidBranchNameException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1303 1304// The client request token is not valid. 1305type InvalidClientRequestTokenException struct { 1306 Message *string 1307} 1308 1309func (e *InvalidClientRequestTokenException) Error() string { 1310 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1311} 1312func (e *InvalidClientRequestTokenException) ErrorMessage() string { 1313 if e.Message == nil { 1314 return "" 1315 } 1316 return *e.Message 1317} 1318func (e *InvalidClientRequestTokenException) ErrorCode() string { 1319 return "InvalidClientRequestTokenException" 1320} 1321func (e *InvalidClientRequestTokenException) ErrorFault() smithy.ErrorFault { 1322 return smithy.FaultClient 1323} 1324 1325// The comment ID is not in a valid format. Make sure that you have provided the 1326// full comment ID. 1327type InvalidCommentIdException struct { 1328 Message *string 1329} 1330 1331func (e *InvalidCommentIdException) Error() string { 1332 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1333} 1334func (e *InvalidCommentIdException) ErrorMessage() string { 1335 if e.Message == nil { 1336 return "" 1337 } 1338 return *e.Message 1339} 1340func (e *InvalidCommentIdException) ErrorCode() string { return "InvalidCommentIdException" } 1341func (e *InvalidCommentIdException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1342 1343// The specified commit is not valid. 1344type InvalidCommitException struct { 1345 Message *string 1346} 1347 1348func (e *InvalidCommitException) Error() string { 1349 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1350} 1351func (e *InvalidCommitException) ErrorMessage() string { 1352 if e.Message == nil { 1353 return "" 1354 } 1355 return *e.Message 1356} 1357func (e *InvalidCommitException) ErrorCode() string { return "InvalidCommitException" } 1358func (e *InvalidCommitException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1359 1360// The specified commit ID is not valid. 1361type InvalidCommitIdException struct { 1362 Message *string 1363} 1364 1365func (e *InvalidCommitIdException) Error() string { 1366 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1367} 1368func (e *InvalidCommitIdException) ErrorMessage() string { 1369 if e.Message == nil { 1370 return "" 1371 } 1372 return *e.Message 1373} 1374func (e *InvalidCommitIdException) ErrorCode() string { return "InvalidCommitIdException" } 1375func (e *InvalidCommitIdException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1376 1377// The specified conflict detail level is not valid. 1378type InvalidConflictDetailLevelException struct { 1379 Message *string 1380} 1381 1382func (e *InvalidConflictDetailLevelException) Error() string { 1383 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1384} 1385func (e *InvalidConflictDetailLevelException) ErrorMessage() string { 1386 if e.Message == nil { 1387 return "" 1388 } 1389 return *e.Message 1390} 1391func (e *InvalidConflictDetailLevelException) ErrorCode() string { 1392 return "InvalidConflictDetailLevelException" 1393} 1394func (e *InvalidConflictDetailLevelException) ErrorFault() smithy.ErrorFault { 1395 return smithy.FaultClient 1396} 1397 1398// The specified conflict resolution list is not valid. 1399type InvalidConflictResolutionException struct { 1400 Message *string 1401} 1402 1403func (e *InvalidConflictResolutionException) Error() string { 1404 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1405} 1406func (e *InvalidConflictResolutionException) ErrorMessage() string { 1407 if e.Message == nil { 1408 return "" 1409 } 1410 return *e.Message 1411} 1412func (e *InvalidConflictResolutionException) ErrorCode() string { 1413 return "InvalidConflictResolutionException" 1414} 1415func (e *InvalidConflictResolutionException) ErrorFault() smithy.ErrorFault { 1416 return smithy.FaultClient 1417} 1418 1419// The specified conflict resolution strategy is not valid. 1420type InvalidConflictResolutionStrategyException struct { 1421 Message *string 1422} 1423 1424func (e *InvalidConflictResolutionStrategyException) Error() string { 1425 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1426} 1427func (e *InvalidConflictResolutionStrategyException) ErrorMessage() string { 1428 if e.Message == nil { 1429 return "" 1430 } 1431 return *e.Message 1432} 1433func (e *InvalidConflictResolutionStrategyException) ErrorCode() string { 1434 return "InvalidConflictResolutionStrategyException" 1435} 1436func (e *InvalidConflictResolutionStrategyException) ErrorFault() smithy.ErrorFault { 1437 return smithy.FaultClient 1438} 1439 1440// The specified continuation token is not valid. 1441type InvalidContinuationTokenException struct { 1442 Message *string 1443} 1444 1445func (e *InvalidContinuationTokenException) Error() string { 1446 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1447} 1448func (e *InvalidContinuationTokenException) ErrorMessage() string { 1449 if e.Message == nil { 1450 return "" 1451 } 1452 return *e.Message 1453} 1454func (e *InvalidContinuationTokenException) ErrorCode() string { 1455 return "InvalidContinuationTokenException" 1456} 1457func (e *InvalidContinuationTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1458 1459// The specified deletion parameter is not valid. 1460type InvalidDeletionParameterException struct { 1461 Message *string 1462} 1463 1464func (e *InvalidDeletionParameterException) Error() string { 1465 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1466} 1467func (e *InvalidDeletionParameterException) ErrorMessage() string { 1468 if e.Message == nil { 1469 return "" 1470 } 1471 return *e.Message 1472} 1473func (e *InvalidDeletionParameterException) ErrorCode() string { 1474 return "InvalidDeletionParameterException" 1475} 1476func (e *InvalidDeletionParameterException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1477 1478// The pull request description is not valid. Descriptions cannot be more than 1479// 1,000 characters. 1480type InvalidDescriptionException struct { 1481 Message *string 1482} 1483 1484func (e *InvalidDescriptionException) Error() string { 1485 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1486} 1487func (e *InvalidDescriptionException) ErrorMessage() string { 1488 if e.Message == nil { 1489 return "" 1490 } 1491 return *e.Message 1492} 1493func (e *InvalidDescriptionException) ErrorCode() string { return "InvalidDescriptionException" } 1494func (e *InvalidDescriptionException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1495 1496// The destination commit specifier is not valid. You must provide a valid branch 1497// name, tag, or full commit ID. 1498type InvalidDestinationCommitSpecifierException struct { 1499 Message *string 1500} 1501 1502func (e *InvalidDestinationCommitSpecifierException) Error() string { 1503 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1504} 1505func (e *InvalidDestinationCommitSpecifierException) ErrorMessage() string { 1506 if e.Message == nil { 1507 return "" 1508 } 1509 return *e.Message 1510} 1511func (e *InvalidDestinationCommitSpecifierException) ErrorCode() string { 1512 return "InvalidDestinationCommitSpecifierException" 1513} 1514func (e *InvalidDestinationCommitSpecifierException) ErrorFault() smithy.ErrorFault { 1515 return smithy.FaultClient 1516} 1517 1518// The specified email address either contains one or more characters that are not 1519// allowed, or it exceeds the maximum number of characters allowed for an email 1520// address. 1521type InvalidEmailException struct { 1522 Message *string 1523} 1524 1525func (e *InvalidEmailException) Error() string { 1526 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1527} 1528func (e *InvalidEmailException) ErrorMessage() string { 1529 if e.Message == nil { 1530 return "" 1531 } 1532 return *e.Message 1533} 1534func (e *InvalidEmailException) ErrorCode() string { return "InvalidEmailException" } 1535func (e *InvalidEmailException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1536 1537// The location of the file is not valid. Make sure that you include the file name 1538// and extension. 1539type InvalidFileLocationException struct { 1540 Message *string 1541} 1542 1543func (e *InvalidFileLocationException) Error() string { 1544 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1545} 1546func (e *InvalidFileLocationException) ErrorMessage() string { 1547 if e.Message == nil { 1548 return "" 1549 } 1550 return *e.Message 1551} 1552func (e *InvalidFileLocationException) ErrorCode() string { return "InvalidFileLocationException" } 1553func (e *InvalidFileLocationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1554 1555// The specified file mode permission is not valid. For a list of valid file mode 1556// permissions, see PutFile. 1557type InvalidFileModeException struct { 1558 Message *string 1559} 1560 1561func (e *InvalidFileModeException) Error() string { 1562 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1563} 1564func (e *InvalidFileModeException) ErrorMessage() string { 1565 if e.Message == nil { 1566 return "" 1567 } 1568 return *e.Message 1569} 1570func (e *InvalidFileModeException) ErrorCode() string { return "InvalidFileModeException" } 1571func (e *InvalidFileModeException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1572 1573// The position is not valid. Make sure that the line number exists in the version 1574// of the file you want to comment on. 1575type InvalidFilePositionException struct { 1576 Message *string 1577} 1578 1579func (e *InvalidFilePositionException) Error() string { 1580 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1581} 1582func (e *InvalidFilePositionException) ErrorMessage() string { 1583 if e.Message == nil { 1584 return "" 1585 } 1586 return *e.Message 1587} 1588func (e *InvalidFilePositionException) ErrorCode() string { return "InvalidFilePositionException" } 1589func (e *InvalidFilePositionException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1590 1591// The specified value for the number of conflict files to return is not valid. 1592type InvalidMaxConflictFilesException struct { 1593 Message *string 1594} 1595 1596func (e *InvalidMaxConflictFilesException) Error() string { 1597 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1598} 1599func (e *InvalidMaxConflictFilesException) ErrorMessage() string { 1600 if e.Message == nil { 1601 return "" 1602 } 1603 return *e.Message 1604} 1605func (e *InvalidMaxConflictFilesException) ErrorCode() string { 1606 return "InvalidMaxConflictFilesException" 1607} 1608func (e *InvalidMaxConflictFilesException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1609 1610// The specified value for the number of merge hunks to return is not valid. 1611type InvalidMaxMergeHunksException struct { 1612 Message *string 1613} 1614 1615func (e *InvalidMaxMergeHunksException) Error() string { 1616 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1617} 1618func (e *InvalidMaxMergeHunksException) ErrorMessage() string { 1619 if e.Message == nil { 1620 return "" 1621 } 1622 return *e.Message 1623} 1624func (e *InvalidMaxMergeHunksException) ErrorCode() string { return "InvalidMaxMergeHunksException" } 1625func (e *InvalidMaxMergeHunksException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1626 1627// The specified number of maximum results is not valid. 1628type InvalidMaxResultsException struct { 1629 Message *string 1630} 1631 1632func (e *InvalidMaxResultsException) Error() string { 1633 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1634} 1635func (e *InvalidMaxResultsException) ErrorMessage() string { 1636 if e.Message == nil { 1637 return "" 1638 } 1639 return *e.Message 1640} 1641func (e *InvalidMaxResultsException) ErrorCode() string { return "InvalidMaxResultsException" } 1642func (e *InvalidMaxResultsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1643 1644// The specified merge option is not valid for this operation. Not all merge 1645// strategies are supported for all operations. 1646type InvalidMergeOptionException struct { 1647 Message *string 1648} 1649 1650func (e *InvalidMergeOptionException) Error() string { 1651 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1652} 1653func (e *InvalidMergeOptionException) ErrorMessage() string { 1654 if e.Message == nil { 1655 return "" 1656 } 1657 return *e.Message 1658} 1659func (e *InvalidMergeOptionException) ErrorCode() string { return "InvalidMergeOptionException" } 1660func (e *InvalidMergeOptionException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1661 1662// The specified sort order is not valid. 1663type InvalidOrderException struct { 1664 Message *string 1665} 1666 1667func (e *InvalidOrderException) Error() string { 1668 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1669} 1670func (e *InvalidOrderException) ErrorMessage() string { 1671 if e.Message == nil { 1672 return "" 1673 } 1674 return *e.Message 1675} 1676func (e *InvalidOrderException) ErrorCode() string { return "InvalidOrderException" } 1677func (e *InvalidOrderException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1678 1679// The override status is not valid. Valid statuses are OVERRIDE and REVOKE. 1680type InvalidOverrideStatusException struct { 1681 Message *string 1682} 1683 1684func (e *InvalidOverrideStatusException) Error() string { 1685 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1686} 1687func (e *InvalidOverrideStatusException) ErrorMessage() string { 1688 if e.Message == nil { 1689 return "" 1690 } 1691 return *e.Message 1692} 1693func (e *InvalidOverrideStatusException) ErrorCode() string { return "InvalidOverrideStatusException" } 1694func (e *InvalidOverrideStatusException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1695 1696// The parent commit ID is not valid. The commit ID cannot be empty, and must match 1697// the head commit ID for the branch of the repository where you want to add or 1698// update a file. 1699type InvalidParentCommitIdException struct { 1700 Message *string 1701} 1702 1703func (e *InvalidParentCommitIdException) Error() string { 1704 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1705} 1706func (e *InvalidParentCommitIdException) ErrorMessage() string { 1707 if e.Message == nil { 1708 return "" 1709 } 1710 return *e.Message 1711} 1712func (e *InvalidParentCommitIdException) ErrorCode() string { return "InvalidParentCommitIdException" } 1713func (e *InvalidParentCommitIdException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1714 1715// The specified path is not valid. 1716type InvalidPathException struct { 1717 Message *string 1718} 1719 1720func (e *InvalidPathException) Error() string { 1721 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1722} 1723func (e *InvalidPathException) ErrorMessage() string { 1724 if e.Message == nil { 1725 return "" 1726 } 1727 return *e.Message 1728} 1729func (e *InvalidPathException) ErrorCode() string { return "InvalidPathException" } 1730func (e *InvalidPathException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1731 1732// The pull request event type is not valid. 1733type InvalidPullRequestEventTypeException struct { 1734 Message *string 1735} 1736 1737func (e *InvalidPullRequestEventTypeException) Error() string { 1738 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1739} 1740func (e *InvalidPullRequestEventTypeException) ErrorMessage() string { 1741 if e.Message == nil { 1742 return "" 1743 } 1744 return *e.Message 1745} 1746func (e *InvalidPullRequestEventTypeException) ErrorCode() string { 1747 return "InvalidPullRequestEventTypeException" 1748} 1749func (e *InvalidPullRequestEventTypeException) ErrorFault() smithy.ErrorFault { 1750 return smithy.FaultClient 1751} 1752 1753// The pull request ID is not valid. Make sure that you have provided the full ID 1754// and that the pull request is in the specified repository, and then try again. 1755type InvalidPullRequestIdException struct { 1756 Message *string 1757} 1758 1759func (e *InvalidPullRequestIdException) Error() string { 1760 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1761} 1762func (e *InvalidPullRequestIdException) ErrorMessage() string { 1763 if e.Message == nil { 1764 return "" 1765 } 1766 return *e.Message 1767} 1768func (e *InvalidPullRequestIdException) ErrorCode() string { return "InvalidPullRequestIdException" } 1769func (e *InvalidPullRequestIdException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1770 1771// The pull request status is not valid. The only valid values are OPEN and CLOSED. 1772type InvalidPullRequestStatusException struct { 1773 Message *string 1774} 1775 1776func (e *InvalidPullRequestStatusException) Error() string { 1777 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1778} 1779func (e *InvalidPullRequestStatusException) ErrorMessage() string { 1780 if e.Message == nil { 1781 return "" 1782 } 1783 return *e.Message 1784} 1785func (e *InvalidPullRequestStatusException) ErrorCode() string { 1786 return "InvalidPullRequestStatusException" 1787} 1788func (e *InvalidPullRequestStatusException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1789 1790// The pull request status update is not valid. The only valid update is from OPEN 1791// to CLOSED. 1792type InvalidPullRequestStatusUpdateException struct { 1793 Message *string 1794} 1795 1796func (e *InvalidPullRequestStatusUpdateException) Error() string { 1797 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1798} 1799func (e *InvalidPullRequestStatusUpdateException) ErrorMessage() string { 1800 if e.Message == nil { 1801 return "" 1802 } 1803 return *e.Message 1804} 1805func (e *InvalidPullRequestStatusUpdateException) ErrorCode() string { 1806 return "InvalidPullRequestStatusUpdateException" 1807} 1808func (e *InvalidPullRequestStatusUpdateException) ErrorFault() smithy.ErrorFault { 1809 return smithy.FaultClient 1810} 1811 1812// The Amazon Resource Name (ARN) of the user or identity is not valid. 1813type InvalidReactionUserArnException struct { 1814 Message *string 1815} 1816 1817func (e *InvalidReactionUserArnException) Error() string { 1818 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1819} 1820func (e *InvalidReactionUserArnException) ErrorMessage() string { 1821 if e.Message == nil { 1822 return "" 1823 } 1824 return *e.Message 1825} 1826func (e *InvalidReactionUserArnException) ErrorCode() string { 1827 return "InvalidReactionUserArnException" 1828} 1829func (e *InvalidReactionUserArnException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1830 1831// The value of the reaction is not valid. For more information, see the AWS 1832// CodeCommit User Guide 1833// (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html). 1834type InvalidReactionValueException struct { 1835 Message *string 1836} 1837 1838func (e *InvalidReactionValueException) Error() string { 1839 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1840} 1841func (e *InvalidReactionValueException) ErrorMessage() string { 1842 if e.Message == nil { 1843 return "" 1844 } 1845 return *e.Message 1846} 1847func (e *InvalidReactionValueException) ErrorCode() string { return "InvalidReactionValueException" } 1848func (e *InvalidReactionValueException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1849 1850// The specified reference name format is not valid. Reference names must conform 1851// to the Git references format (for example, refs/heads/master). For more 1852// information, see Git Internals - Git References 1853// (https://git-scm.com/book/en/v2/Git-Internals-Git-References) or consult your 1854// Git documentation. 1855type InvalidReferenceNameException struct { 1856 Message *string 1857} 1858 1859func (e *InvalidReferenceNameException) Error() string { 1860 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1861} 1862func (e *InvalidReferenceNameException) ErrorMessage() string { 1863 if e.Message == nil { 1864 return "" 1865 } 1866 return *e.Message 1867} 1868func (e *InvalidReferenceNameException) ErrorCode() string { return "InvalidReferenceNameException" } 1869func (e *InvalidReferenceNameException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1870 1871// Either the enum is not in a valid format, or the specified file version enum is 1872// not valid in respect to the current file version. 1873type InvalidRelativeFileVersionEnumException struct { 1874 Message *string 1875} 1876 1877func (e *InvalidRelativeFileVersionEnumException) Error() string { 1878 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1879} 1880func (e *InvalidRelativeFileVersionEnumException) ErrorMessage() string { 1881 if e.Message == nil { 1882 return "" 1883 } 1884 return *e.Message 1885} 1886func (e *InvalidRelativeFileVersionEnumException) ErrorCode() string { 1887 return "InvalidRelativeFileVersionEnumException" 1888} 1889func (e *InvalidRelativeFileVersionEnumException) ErrorFault() smithy.ErrorFault { 1890 return smithy.FaultClient 1891} 1892 1893// Automerge was specified for resolving the conflict, but the replacement type is 1894// not valid or content is missing. 1895type InvalidReplacementContentException struct { 1896 Message *string 1897} 1898 1899func (e *InvalidReplacementContentException) Error() string { 1900 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1901} 1902func (e *InvalidReplacementContentException) ErrorMessage() string { 1903 if e.Message == nil { 1904 return "" 1905 } 1906 return *e.Message 1907} 1908func (e *InvalidReplacementContentException) ErrorCode() string { 1909 return "InvalidReplacementContentException" 1910} 1911func (e *InvalidReplacementContentException) ErrorFault() smithy.ErrorFault { 1912 return smithy.FaultClient 1913} 1914 1915// Automerge was specified for resolving the conflict, but the specified 1916// replacement type is not valid. 1917type InvalidReplacementTypeException struct { 1918 Message *string 1919} 1920 1921func (e *InvalidReplacementTypeException) Error() string { 1922 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1923} 1924func (e *InvalidReplacementTypeException) ErrorMessage() string { 1925 if e.Message == nil { 1926 return "" 1927 } 1928 return *e.Message 1929} 1930func (e *InvalidReplacementTypeException) ErrorCode() string { 1931 return "InvalidReplacementTypeException" 1932} 1933func (e *InvalidReplacementTypeException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1934 1935// The specified repository description is not valid. 1936type InvalidRepositoryDescriptionException struct { 1937 Message *string 1938} 1939 1940func (e *InvalidRepositoryDescriptionException) Error() string { 1941 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1942} 1943func (e *InvalidRepositoryDescriptionException) ErrorMessage() string { 1944 if e.Message == nil { 1945 return "" 1946 } 1947 return *e.Message 1948} 1949func (e *InvalidRepositoryDescriptionException) ErrorCode() string { 1950 return "InvalidRepositoryDescriptionException" 1951} 1952func (e *InvalidRepositoryDescriptionException) ErrorFault() smithy.ErrorFault { 1953 return smithy.FaultClient 1954} 1955 1956// A specified repository name is not valid. This exception occurs only when a 1957// specified repository name is not valid. Other exceptions occur when a required 1958// repository parameter is missing, or when a specified repository does not exist. 1959type InvalidRepositoryNameException struct { 1960 Message *string 1961} 1962 1963func (e *InvalidRepositoryNameException) Error() string { 1964 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1965} 1966func (e *InvalidRepositoryNameException) ErrorMessage() string { 1967 if e.Message == nil { 1968 return "" 1969 } 1970 return *e.Message 1971} 1972func (e *InvalidRepositoryNameException) ErrorCode() string { return "InvalidRepositoryNameException" } 1973func (e *InvalidRepositoryNameException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1974 1975// One or more branch names specified for the trigger is not valid. 1976type InvalidRepositoryTriggerBranchNameException struct { 1977 Message *string 1978} 1979 1980func (e *InvalidRepositoryTriggerBranchNameException) Error() string { 1981 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1982} 1983func (e *InvalidRepositoryTriggerBranchNameException) ErrorMessage() string { 1984 if e.Message == nil { 1985 return "" 1986 } 1987 return *e.Message 1988} 1989func (e *InvalidRepositoryTriggerBranchNameException) ErrorCode() string { 1990 return "InvalidRepositoryTriggerBranchNameException" 1991} 1992func (e *InvalidRepositoryTriggerBranchNameException) ErrorFault() smithy.ErrorFault { 1993 return smithy.FaultClient 1994} 1995 1996// The custom data provided for the trigger is not valid. 1997type InvalidRepositoryTriggerCustomDataException struct { 1998 Message *string 1999} 2000 2001func (e *InvalidRepositoryTriggerCustomDataException) Error() string { 2002 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2003} 2004func (e *InvalidRepositoryTriggerCustomDataException) ErrorMessage() string { 2005 if e.Message == nil { 2006 return "" 2007 } 2008 return *e.Message 2009} 2010func (e *InvalidRepositoryTriggerCustomDataException) ErrorCode() string { 2011 return "InvalidRepositoryTriggerCustomDataException" 2012} 2013func (e *InvalidRepositoryTriggerCustomDataException) ErrorFault() smithy.ErrorFault { 2014 return smithy.FaultClient 2015} 2016 2017// The Amazon Resource Name (ARN) for the trigger is not valid for the specified 2018// destination. The most common reason for this error is that the ARN does not meet 2019// the requirements for the service type. 2020type InvalidRepositoryTriggerDestinationArnException struct { 2021 Message *string 2022} 2023 2024func (e *InvalidRepositoryTriggerDestinationArnException) Error() string { 2025 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2026} 2027func (e *InvalidRepositoryTriggerDestinationArnException) ErrorMessage() string { 2028 if e.Message == nil { 2029 return "" 2030 } 2031 return *e.Message 2032} 2033func (e *InvalidRepositoryTriggerDestinationArnException) ErrorCode() string { 2034 return "InvalidRepositoryTriggerDestinationArnException" 2035} 2036func (e *InvalidRepositoryTriggerDestinationArnException) ErrorFault() smithy.ErrorFault { 2037 return smithy.FaultClient 2038} 2039 2040// One or more events specified for the trigger is not valid. Check to make sure 2041// that all events specified match the requirements for allowed events. 2042type InvalidRepositoryTriggerEventsException struct { 2043 Message *string 2044} 2045 2046func (e *InvalidRepositoryTriggerEventsException) Error() string { 2047 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2048} 2049func (e *InvalidRepositoryTriggerEventsException) ErrorMessage() string { 2050 if e.Message == nil { 2051 return "" 2052 } 2053 return *e.Message 2054} 2055func (e *InvalidRepositoryTriggerEventsException) ErrorCode() string { 2056 return "InvalidRepositoryTriggerEventsException" 2057} 2058func (e *InvalidRepositoryTriggerEventsException) ErrorFault() smithy.ErrorFault { 2059 return smithy.FaultClient 2060} 2061 2062// The name of the trigger is not valid. 2063type InvalidRepositoryTriggerNameException struct { 2064 Message *string 2065} 2066 2067func (e *InvalidRepositoryTriggerNameException) Error() string { 2068 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2069} 2070func (e *InvalidRepositoryTriggerNameException) ErrorMessage() string { 2071 if e.Message == nil { 2072 return "" 2073 } 2074 return *e.Message 2075} 2076func (e *InvalidRepositoryTriggerNameException) ErrorCode() string { 2077 return "InvalidRepositoryTriggerNameException" 2078} 2079func (e *InvalidRepositoryTriggerNameException) ErrorFault() smithy.ErrorFault { 2080 return smithy.FaultClient 2081} 2082 2083// The AWS Region for the trigger target does not match the AWS Region for the 2084// repository. Triggers must be created in the same Region as the target for the 2085// trigger. 2086type InvalidRepositoryTriggerRegionException struct { 2087 Message *string 2088} 2089 2090func (e *InvalidRepositoryTriggerRegionException) Error() string { 2091 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2092} 2093func (e *InvalidRepositoryTriggerRegionException) ErrorMessage() string { 2094 if e.Message == nil { 2095 return "" 2096 } 2097 return *e.Message 2098} 2099func (e *InvalidRepositoryTriggerRegionException) ErrorCode() string { 2100 return "InvalidRepositoryTriggerRegionException" 2101} 2102func (e *InvalidRepositoryTriggerRegionException) ErrorFault() smithy.ErrorFault { 2103 return smithy.FaultClient 2104} 2105 2106// The value for the resource ARN is not valid. For more information about 2107// resources in AWS CodeCommit, see CodeCommit Resources and Operations 2108// (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) 2109// in the AWS CodeCommit User Guide. 2110type InvalidResourceArnException struct { 2111 Message *string 2112} 2113 2114func (e *InvalidResourceArnException) Error() string { 2115 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2116} 2117func (e *InvalidResourceArnException) ErrorMessage() string { 2118 if e.Message == nil { 2119 return "" 2120 } 2121 return *e.Message 2122} 2123func (e *InvalidResourceArnException) ErrorCode() string { return "InvalidResourceArnException" } 2124func (e *InvalidResourceArnException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2125 2126// The revision ID is not valid. Use GetPullRequest to determine the value. 2127type InvalidRevisionIdException struct { 2128 Message *string 2129} 2130 2131func (e *InvalidRevisionIdException) Error() string { 2132 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2133} 2134func (e *InvalidRevisionIdException) ErrorMessage() string { 2135 if e.Message == nil { 2136 return "" 2137 } 2138 return *e.Message 2139} 2140func (e *InvalidRevisionIdException) ErrorCode() string { return "InvalidRevisionIdException" } 2141func (e *InvalidRevisionIdException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2142 2143// The SHA-256 hash signature for the rule content is not valid. 2144type InvalidRuleContentSha256Exception struct { 2145 Message *string 2146} 2147 2148func (e *InvalidRuleContentSha256Exception) Error() string { 2149 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2150} 2151func (e *InvalidRuleContentSha256Exception) ErrorMessage() string { 2152 if e.Message == nil { 2153 return "" 2154 } 2155 return *e.Message 2156} 2157func (e *InvalidRuleContentSha256Exception) ErrorCode() string { 2158 return "InvalidRuleContentSha256Exception" 2159} 2160func (e *InvalidRuleContentSha256Exception) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2161 2162// The specified sort by value is not valid. 2163type InvalidSortByException struct { 2164 Message *string 2165} 2166 2167func (e *InvalidSortByException) Error() string { 2168 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2169} 2170func (e *InvalidSortByException) ErrorMessage() string { 2171 if e.Message == nil { 2172 return "" 2173 } 2174 return *e.Message 2175} 2176func (e *InvalidSortByException) ErrorCode() string { return "InvalidSortByException" } 2177func (e *InvalidSortByException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2178 2179// The source commit specifier is not valid. You must provide a valid branch name, 2180// tag, or full commit ID. 2181type InvalidSourceCommitSpecifierException struct { 2182 Message *string 2183} 2184 2185func (e *InvalidSourceCommitSpecifierException) Error() string { 2186 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2187} 2188func (e *InvalidSourceCommitSpecifierException) ErrorMessage() string { 2189 if e.Message == nil { 2190 return "" 2191 } 2192 return *e.Message 2193} 2194func (e *InvalidSourceCommitSpecifierException) ErrorCode() string { 2195 return "InvalidSourceCommitSpecifierException" 2196} 2197func (e *InvalidSourceCommitSpecifierException) ErrorFault() smithy.ErrorFault { 2198 return smithy.FaultClient 2199} 2200 2201// The specified tag is not valid. Key names cannot be prefixed with aws:. 2202type InvalidSystemTagUsageException struct { 2203 Message *string 2204} 2205 2206func (e *InvalidSystemTagUsageException) Error() string { 2207 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2208} 2209func (e *InvalidSystemTagUsageException) ErrorMessage() string { 2210 if e.Message == nil { 2211 return "" 2212 } 2213 return *e.Message 2214} 2215func (e *InvalidSystemTagUsageException) ErrorCode() string { return "InvalidSystemTagUsageException" } 2216func (e *InvalidSystemTagUsageException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2217 2218// The list of tags is not valid. 2219type InvalidTagKeysListException struct { 2220 Message *string 2221} 2222 2223func (e *InvalidTagKeysListException) Error() string { 2224 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2225} 2226func (e *InvalidTagKeysListException) ErrorMessage() string { 2227 if e.Message == nil { 2228 return "" 2229 } 2230 return *e.Message 2231} 2232func (e *InvalidTagKeysListException) ErrorCode() string { return "InvalidTagKeysListException" } 2233func (e *InvalidTagKeysListException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2234 2235// The map of tags is not valid. 2236type InvalidTagsMapException struct { 2237 Message *string 2238} 2239 2240func (e *InvalidTagsMapException) Error() string { 2241 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2242} 2243func (e *InvalidTagsMapException) ErrorMessage() string { 2244 if e.Message == nil { 2245 return "" 2246 } 2247 return *e.Message 2248} 2249func (e *InvalidTagsMapException) ErrorCode() string { return "InvalidTagsMapException" } 2250func (e *InvalidTagsMapException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2251 2252// The specified target branch is not valid. 2253type InvalidTargetBranchException struct { 2254 Message *string 2255} 2256 2257func (e *InvalidTargetBranchException) Error() string { 2258 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2259} 2260func (e *InvalidTargetBranchException) ErrorMessage() string { 2261 if e.Message == nil { 2262 return "" 2263 } 2264 return *e.Message 2265} 2266func (e *InvalidTargetBranchException) ErrorCode() string { return "InvalidTargetBranchException" } 2267func (e *InvalidTargetBranchException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2268 2269// The target for the pull request is not valid. A target must contain the full 2270// values for the repository name, source branch, and destination branch for the 2271// pull request. 2272type InvalidTargetException struct { 2273 Message *string 2274} 2275 2276func (e *InvalidTargetException) Error() string { 2277 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2278} 2279func (e *InvalidTargetException) ErrorMessage() string { 2280 if e.Message == nil { 2281 return "" 2282 } 2283 return *e.Message 2284} 2285func (e *InvalidTargetException) ErrorCode() string { return "InvalidTargetException" } 2286func (e *InvalidTargetException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2287 2288// The targets for the pull request is not valid or not in a valid format. Targets 2289// are a list of target objects. Each target object must contain the full values 2290// for the repository name, source branch, and destination branch for a pull 2291// request. 2292type InvalidTargetsException struct { 2293 Message *string 2294} 2295 2296func (e *InvalidTargetsException) Error() string { 2297 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2298} 2299func (e *InvalidTargetsException) ErrorMessage() string { 2300 if e.Message == nil { 2301 return "" 2302 } 2303 return *e.Message 2304} 2305func (e *InvalidTargetsException) ErrorCode() string { return "InvalidTargetsException" } 2306func (e *InvalidTargetsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2307 2308// The title of the pull request is not valid. Pull request titles cannot exceed 2309// 100 characters in length. 2310type InvalidTitleException struct { 2311 Message *string 2312} 2313 2314func (e *InvalidTitleException) Error() string { 2315 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2316} 2317func (e *InvalidTitleException) ErrorMessage() string { 2318 if e.Message == nil { 2319 return "" 2320 } 2321 return *e.Message 2322} 2323func (e *InvalidTitleException) ErrorCode() string { return "InvalidTitleException" } 2324func (e *InvalidTitleException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2325 2326// The pull request cannot be merged automatically into the destination branch. You 2327// must manually merge the branches and resolve any conflicts. 2328type ManualMergeRequiredException struct { 2329 Message *string 2330} 2331 2332func (e *ManualMergeRequiredException) Error() string { 2333 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2334} 2335func (e *ManualMergeRequiredException) ErrorMessage() string { 2336 if e.Message == nil { 2337 return "" 2338 } 2339 return *e.Message 2340} 2341func (e *ManualMergeRequiredException) ErrorCode() string { return "ManualMergeRequiredException" } 2342func (e *ManualMergeRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2343 2344// The number of branches for the trigger was exceeded. 2345type MaximumBranchesExceededException struct { 2346 Message *string 2347} 2348 2349func (e *MaximumBranchesExceededException) Error() string { 2350 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2351} 2352func (e *MaximumBranchesExceededException) ErrorMessage() string { 2353 if e.Message == nil { 2354 return "" 2355 } 2356 return *e.Message 2357} 2358func (e *MaximumBranchesExceededException) ErrorCode() string { 2359 return "MaximumBranchesExceededException" 2360} 2361func (e *MaximumBranchesExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2362 2363// The number of allowed conflict resolution entries was exceeded. 2364type MaximumConflictResolutionEntriesExceededException struct { 2365 Message *string 2366} 2367 2368func (e *MaximumConflictResolutionEntriesExceededException) Error() string { 2369 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2370} 2371func (e *MaximumConflictResolutionEntriesExceededException) ErrorMessage() string { 2372 if e.Message == nil { 2373 return "" 2374 } 2375 return *e.Message 2376} 2377func (e *MaximumConflictResolutionEntriesExceededException) ErrorCode() string { 2378 return "MaximumConflictResolutionEntriesExceededException" 2379} 2380func (e *MaximumConflictResolutionEntriesExceededException) ErrorFault() smithy.ErrorFault { 2381 return smithy.FaultClient 2382} 2383 2384// The number of files to load exceeds the allowed limit. 2385type MaximumFileContentToLoadExceededException struct { 2386 Message *string 2387} 2388 2389func (e *MaximumFileContentToLoadExceededException) Error() string { 2390 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2391} 2392func (e *MaximumFileContentToLoadExceededException) ErrorMessage() string { 2393 if e.Message == nil { 2394 return "" 2395 } 2396 return *e.Message 2397} 2398func (e *MaximumFileContentToLoadExceededException) ErrorCode() string { 2399 return "MaximumFileContentToLoadExceededException" 2400} 2401func (e *MaximumFileContentToLoadExceededException) ErrorFault() smithy.ErrorFault { 2402 return smithy.FaultClient 2403} 2404 2405// The number of specified files to change as part of this commit exceeds the 2406// maximum number of files that can be changed in a single commit. Consider using a 2407// Git client for these changes. 2408type MaximumFileEntriesExceededException struct { 2409 Message *string 2410} 2411 2412func (e *MaximumFileEntriesExceededException) Error() string { 2413 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2414} 2415func (e *MaximumFileEntriesExceededException) ErrorMessage() string { 2416 if e.Message == nil { 2417 return "" 2418 } 2419 return *e.Message 2420} 2421func (e *MaximumFileEntriesExceededException) ErrorCode() string { 2422 return "MaximumFileEntriesExceededException" 2423} 2424func (e *MaximumFileEntriesExceededException) ErrorFault() smithy.ErrorFault { 2425 return smithy.FaultClient 2426} 2427 2428// The number of items to compare between the source or destination branches and 2429// the merge base has exceeded the maximum allowed. 2430type MaximumItemsToCompareExceededException struct { 2431 Message *string 2432} 2433 2434func (e *MaximumItemsToCompareExceededException) Error() string { 2435 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2436} 2437func (e *MaximumItemsToCompareExceededException) ErrorMessage() string { 2438 if e.Message == nil { 2439 return "" 2440 } 2441 return *e.Message 2442} 2443func (e *MaximumItemsToCompareExceededException) ErrorCode() string { 2444 return "MaximumItemsToCompareExceededException" 2445} 2446func (e *MaximumItemsToCompareExceededException) ErrorFault() smithy.ErrorFault { 2447 return smithy.FaultClient 2448} 2449 2450// The number of approvals required for the approval rule exceeds the maximum 2451// number allowed. 2452type MaximumNumberOfApprovalsExceededException struct { 2453 Message *string 2454} 2455 2456func (e *MaximumNumberOfApprovalsExceededException) Error() string { 2457 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2458} 2459func (e *MaximumNumberOfApprovalsExceededException) ErrorMessage() string { 2460 if e.Message == nil { 2461 return "" 2462 } 2463 return *e.Message 2464} 2465func (e *MaximumNumberOfApprovalsExceededException) ErrorCode() string { 2466 return "MaximumNumberOfApprovalsExceededException" 2467} 2468func (e *MaximumNumberOfApprovalsExceededException) ErrorFault() smithy.ErrorFault { 2469 return smithy.FaultClient 2470} 2471 2472// You cannot create the pull request because the repository has too many open pull 2473// requests. The maximum number of open pull requests for a repository is 1,000. 2474// Close one or more open pull requests, and then try again. 2475type MaximumOpenPullRequestsExceededException struct { 2476 Message *string 2477} 2478 2479func (e *MaximumOpenPullRequestsExceededException) Error() string { 2480 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2481} 2482func (e *MaximumOpenPullRequestsExceededException) ErrorMessage() string { 2483 if e.Message == nil { 2484 return "" 2485 } 2486 return *e.Message 2487} 2488func (e *MaximumOpenPullRequestsExceededException) ErrorCode() string { 2489 return "MaximumOpenPullRequestsExceededException" 2490} 2491func (e *MaximumOpenPullRequestsExceededException) ErrorFault() smithy.ErrorFault { 2492 return smithy.FaultClient 2493} 2494 2495// The maximum number of allowed repository names was exceeded. Currently, this 2496// number is 100. 2497type MaximumRepositoryNamesExceededException struct { 2498 Message *string 2499} 2500 2501func (e *MaximumRepositoryNamesExceededException) Error() string { 2502 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2503} 2504func (e *MaximumRepositoryNamesExceededException) ErrorMessage() string { 2505 if e.Message == nil { 2506 return "" 2507 } 2508 return *e.Message 2509} 2510func (e *MaximumRepositoryNamesExceededException) ErrorCode() string { 2511 return "MaximumRepositoryNamesExceededException" 2512} 2513func (e *MaximumRepositoryNamesExceededException) ErrorFault() smithy.ErrorFault { 2514 return smithy.FaultClient 2515} 2516 2517// The number of triggers allowed for the repository was exceeded. 2518type MaximumRepositoryTriggersExceededException struct { 2519 Message *string 2520} 2521 2522func (e *MaximumRepositoryTriggersExceededException) Error() string { 2523 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2524} 2525func (e *MaximumRepositoryTriggersExceededException) ErrorMessage() string { 2526 if e.Message == nil { 2527 return "" 2528 } 2529 return *e.Message 2530} 2531func (e *MaximumRepositoryTriggersExceededException) ErrorCode() string { 2532 return "MaximumRepositoryTriggersExceededException" 2533} 2534func (e *MaximumRepositoryTriggersExceededException) ErrorFault() smithy.ErrorFault { 2535 return smithy.FaultClient 2536} 2537 2538// The maximum number of approval rule templates for a repository has been 2539// exceeded. You cannot associate more than 25 approval rule templates with a 2540// repository. 2541type MaximumRuleTemplatesAssociatedWithRepositoryException struct { 2542 Message *string 2543} 2544 2545func (e *MaximumRuleTemplatesAssociatedWithRepositoryException) Error() string { 2546 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2547} 2548func (e *MaximumRuleTemplatesAssociatedWithRepositoryException) ErrorMessage() string { 2549 if e.Message == nil { 2550 return "" 2551 } 2552 return *e.Message 2553} 2554func (e *MaximumRuleTemplatesAssociatedWithRepositoryException) ErrorCode() string { 2555 return "MaximumRuleTemplatesAssociatedWithRepositoryException" 2556} 2557func (e *MaximumRuleTemplatesAssociatedWithRepositoryException) ErrorFault() smithy.ErrorFault { 2558 return smithy.FaultClient 2559} 2560 2561// A merge option or stategy is required, and none was provided. 2562type MergeOptionRequiredException struct { 2563 Message *string 2564} 2565 2566func (e *MergeOptionRequiredException) Error() string { 2567 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2568} 2569func (e *MergeOptionRequiredException) ErrorMessage() string { 2570 if e.Message == nil { 2571 return "" 2572 } 2573 return *e.Message 2574} 2575func (e *MergeOptionRequiredException) ErrorCode() string { return "MergeOptionRequiredException" } 2576func (e *MergeOptionRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2577 2578// More than one conflict resolution entries exists for the conflict. A conflict 2579// can have only one conflict resolution entry. 2580type MultipleConflictResolutionEntriesException struct { 2581 Message *string 2582} 2583 2584func (e *MultipleConflictResolutionEntriesException) Error() string { 2585 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2586} 2587func (e *MultipleConflictResolutionEntriesException) ErrorMessage() string { 2588 if e.Message == nil { 2589 return "" 2590 } 2591 return *e.Message 2592} 2593func (e *MultipleConflictResolutionEntriesException) ErrorCode() string { 2594 return "MultipleConflictResolutionEntriesException" 2595} 2596func (e *MultipleConflictResolutionEntriesException) ErrorFault() smithy.ErrorFault { 2597 return smithy.FaultClient 2598} 2599 2600// You cannot include more than one repository in a pull request. Make sure you 2601// have specified only one repository name in your request, and then try again. 2602type MultipleRepositoriesInPullRequestException struct { 2603 Message *string 2604} 2605 2606func (e *MultipleRepositoriesInPullRequestException) Error() string { 2607 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2608} 2609func (e *MultipleRepositoriesInPullRequestException) ErrorMessage() string { 2610 if e.Message == nil { 2611 return "" 2612 } 2613 return *e.Message 2614} 2615func (e *MultipleRepositoriesInPullRequestException) ErrorCode() string { 2616 return "MultipleRepositoriesInPullRequestException" 2617} 2618func (e *MultipleRepositoriesInPullRequestException) ErrorFault() smithy.ErrorFault { 2619 return smithy.FaultClient 2620} 2621 2622// The user name is not valid because it has exceeded the character limit for 2623// author names. 2624type NameLengthExceededException struct { 2625 Message *string 2626} 2627 2628func (e *NameLengthExceededException) Error() string { 2629 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2630} 2631func (e *NameLengthExceededException) ErrorMessage() string { 2632 if e.Message == nil { 2633 return "" 2634 } 2635 return *e.Message 2636} 2637func (e *NameLengthExceededException) ErrorCode() string { return "NameLengthExceededException" } 2638func (e *NameLengthExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2639 2640// The commit cannot be created because no changes will be made to the repository 2641// as a result of this commit. A commit must contain at least one change. 2642type NoChangeException struct { 2643 Message *string 2644} 2645 2646func (e *NoChangeException) Error() string { 2647 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2648} 2649func (e *NoChangeException) ErrorMessage() string { 2650 if e.Message == nil { 2651 return "" 2652 } 2653 return *e.Message 2654} 2655func (e *NoChangeException) ErrorCode() string { return "NoChangeException" } 2656func (e *NoChangeException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2657 2658// The approval rule cannot be added. The pull request has the maximum number of 2659// approval rules associated with it. 2660type NumberOfRulesExceededException struct { 2661 Message *string 2662} 2663 2664func (e *NumberOfRulesExceededException) Error() string { 2665 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2666} 2667func (e *NumberOfRulesExceededException) ErrorMessage() string { 2668 if e.Message == nil { 2669 return "" 2670 } 2671 return *e.Message 2672} 2673func (e *NumberOfRulesExceededException) ErrorCode() string { return "NumberOfRulesExceededException" } 2674func (e *NumberOfRulesExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2675 2676// The maximum number of approval rule templates has been exceeded for this AWS 2677// Region. 2678type NumberOfRuleTemplatesExceededException struct { 2679 Message *string 2680} 2681 2682func (e *NumberOfRuleTemplatesExceededException) Error() string { 2683 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2684} 2685func (e *NumberOfRuleTemplatesExceededException) ErrorMessage() string { 2686 if e.Message == nil { 2687 return "" 2688 } 2689 return *e.Message 2690} 2691func (e *NumberOfRuleTemplatesExceededException) ErrorCode() string { 2692 return "NumberOfRuleTemplatesExceededException" 2693} 2694func (e *NumberOfRuleTemplatesExceededException) ErrorFault() smithy.ErrorFault { 2695 return smithy.FaultClient 2696} 2697 2698// The pull request has already had its approval rules set to override. 2699type OverrideAlreadySetException struct { 2700 Message *string 2701} 2702 2703func (e *OverrideAlreadySetException) Error() string { 2704 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2705} 2706func (e *OverrideAlreadySetException) ErrorMessage() string { 2707 if e.Message == nil { 2708 return "" 2709 } 2710 return *e.Message 2711} 2712func (e *OverrideAlreadySetException) ErrorCode() string { return "OverrideAlreadySetException" } 2713func (e *OverrideAlreadySetException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2714 2715// An override status is required, but no value was provided. Valid values include 2716// OVERRIDE and REVOKE. 2717type OverrideStatusRequiredException struct { 2718 Message *string 2719} 2720 2721func (e *OverrideStatusRequiredException) Error() string { 2722 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2723} 2724func (e *OverrideStatusRequiredException) ErrorMessage() string { 2725 if e.Message == nil { 2726 return "" 2727 } 2728 return *e.Message 2729} 2730func (e *OverrideStatusRequiredException) ErrorCode() string { 2731 return "OverrideStatusRequiredException" 2732} 2733func (e *OverrideStatusRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2734 2735// The parent commit ID is not valid because it does not exist. The specified 2736// parent commit ID does not exist in the specified branch of the repository. 2737type ParentCommitDoesNotExistException struct { 2738 Message *string 2739} 2740 2741func (e *ParentCommitDoesNotExistException) Error() string { 2742 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2743} 2744func (e *ParentCommitDoesNotExistException) ErrorMessage() string { 2745 if e.Message == nil { 2746 return "" 2747 } 2748 return *e.Message 2749} 2750func (e *ParentCommitDoesNotExistException) ErrorCode() string { 2751 return "ParentCommitDoesNotExistException" 2752} 2753func (e *ParentCommitDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2754 2755// The file could not be added because the provided parent commit ID is not the 2756// current tip of the specified branch. To view the full commit ID of the current 2757// head of the branch, use GetBranch. 2758type ParentCommitIdOutdatedException struct { 2759 Message *string 2760} 2761 2762func (e *ParentCommitIdOutdatedException) Error() string { 2763 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2764} 2765func (e *ParentCommitIdOutdatedException) ErrorMessage() string { 2766 if e.Message == nil { 2767 return "" 2768 } 2769 return *e.Message 2770} 2771func (e *ParentCommitIdOutdatedException) ErrorCode() string { 2772 return "ParentCommitIdOutdatedException" 2773} 2774func (e *ParentCommitIdOutdatedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2775 2776// A parent commit ID is required. To view the full commit ID of a branch in a 2777// repository, use GetBranch or a Git command (for example, git pull or git log). 2778type ParentCommitIdRequiredException struct { 2779 Message *string 2780} 2781 2782func (e *ParentCommitIdRequiredException) Error() string { 2783 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2784} 2785func (e *ParentCommitIdRequiredException) ErrorMessage() string { 2786 if e.Message == nil { 2787 return "" 2788 } 2789 return *e.Message 2790} 2791func (e *ParentCommitIdRequiredException) ErrorCode() string { 2792 return "ParentCommitIdRequiredException" 2793} 2794func (e *ParentCommitIdRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2795 2796// The specified path does not exist. 2797type PathDoesNotExistException struct { 2798 Message *string 2799} 2800 2801func (e *PathDoesNotExistException) Error() string { 2802 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2803} 2804func (e *PathDoesNotExistException) ErrorMessage() string { 2805 if e.Message == nil { 2806 return "" 2807 } 2808 return *e.Message 2809} 2810func (e *PathDoesNotExistException) ErrorCode() string { return "PathDoesNotExistException" } 2811func (e *PathDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2812 2813// The folderPath for a location cannot be null. 2814type PathRequiredException struct { 2815 Message *string 2816} 2817 2818func (e *PathRequiredException) Error() string { 2819 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2820} 2821func (e *PathRequiredException) ErrorMessage() string { 2822 if e.Message == nil { 2823 return "" 2824 } 2825 return *e.Message 2826} 2827func (e *PathRequiredException) ErrorCode() string { return "PathRequiredException" } 2828func (e *PathRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2829 2830// The pull request status cannot be updated because it is already closed. 2831type PullRequestAlreadyClosedException struct { 2832 Message *string 2833} 2834 2835func (e *PullRequestAlreadyClosedException) Error() string { 2836 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2837} 2838func (e *PullRequestAlreadyClosedException) ErrorMessage() string { 2839 if e.Message == nil { 2840 return "" 2841 } 2842 return *e.Message 2843} 2844func (e *PullRequestAlreadyClosedException) ErrorCode() string { 2845 return "PullRequestAlreadyClosedException" 2846} 2847func (e *PullRequestAlreadyClosedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2848 2849// The pull request cannot be merged because one or more approval rules applied to 2850// the pull request have conditions that have not been met. 2851type PullRequestApprovalRulesNotSatisfiedException struct { 2852 Message *string 2853} 2854 2855func (e *PullRequestApprovalRulesNotSatisfiedException) Error() string { 2856 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2857} 2858func (e *PullRequestApprovalRulesNotSatisfiedException) ErrorMessage() string { 2859 if e.Message == nil { 2860 return "" 2861 } 2862 return *e.Message 2863} 2864func (e *PullRequestApprovalRulesNotSatisfiedException) ErrorCode() string { 2865 return "PullRequestApprovalRulesNotSatisfiedException" 2866} 2867func (e *PullRequestApprovalRulesNotSatisfiedException) ErrorFault() smithy.ErrorFault { 2868 return smithy.FaultClient 2869} 2870 2871// The approval cannot be applied because the user approving the pull request 2872// matches the user who created the pull request. You cannot approve a pull request 2873// that you created. 2874type PullRequestCannotBeApprovedByAuthorException struct { 2875 Message *string 2876} 2877 2878func (e *PullRequestCannotBeApprovedByAuthorException) Error() string { 2879 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2880} 2881func (e *PullRequestCannotBeApprovedByAuthorException) ErrorMessage() string { 2882 if e.Message == nil { 2883 return "" 2884 } 2885 return *e.Message 2886} 2887func (e *PullRequestCannotBeApprovedByAuthorException) ErrorCode() string { 2888 return "PullRequestCannotBeApprovedByAuthorException" 2889} 2890func (e *PullRequestCannotBeApprovedByAuthorException) ErrorFault() smithy.ErrorFault { 2891 return smithy.FaultClient 2892} 2893 2894// The pull request ID could not be found. Make sure that you have specified the 2895// correct repository name and pull request ID, and then try again. 2896type PullRequestDoesNotExistException struct { 2897 Message *string 2898} 2899 2900func (e *PullRequestDoesNotExistException) Error() string { 2901 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2902} 2903func (e *PullRequestDoesNotExistException) ErrorMessage() string { 2904 if e.Message == nil { 2905 return "" 2906 } 2907 return *e.Message 2908} 2909func (e *PullRequestDoesNotExistException) ErrorCode() string { 2910 return "PullRequestDoesNotExistException" 2911} 2912func (e *PullRequestDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2913 2914// A pull request ID is required, but none was provided. 2915type PullRequestIdRequiredException struct { 2916 Message *string 2917} 2918 2919func (e *PullRequestIdRequiredException) Error() string { 2920 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2921} 2922func (e *PullRequestIdRequiredException) ErrorMessage() string { 2923 if e.Message == nil { 2924 return "" 2925 } 2926 return *e.Message 2927} 2928func (e *PullRequestIdRequiredException) ErrorCode() string { return "PullRequestIdRequiredException" } 2929func (e *PullRequestIdRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2930 2931// A pull request status is required, but none was provided. 2932type PullRequestStatusRequiredException struct { 2933 Message *string 2934} 2935 2936func (e *PullRequestStatusRequiredException) Error() string { 2937 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2938} 2939func (e *PullRequestStatusRequiredException) ErrorMessage() string { 2940 if e.Message == nil { 2941 return "" 2942 } 2943 return *e.Message 2944} 2945func (e *PullRequestStatusRequiredException) ErrorCode() string { 2946 return "PullRequestStatusRequiredException" 2947} 2948func (e *PullRequestStatusRequiredException) ErrorFault() smithy.ErrorFault { 2949 return smithy.FaultClient 2950} 2951 2952// The commit cannot be created because one or more files specified in the commit 2953// reference both a file and a folder. 2954type PutFileEntryConflictException struct { 2955 Message *string 2956} 2957 2958func (e *PutFileEntryConflictException) Error() string { 2959 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2960} 2961func (e *PutFileEntryConflictException) ErrorMessage() string { 2962 if e.Message == nil { 2963 return "" 2964 } 2965 return *e.Message 2966} 2967func (e *PutFileEntryConflictException) ErrorCode() string { return "PutFileEntryConflictException" } 2968func (e *PutFileEntryConflictException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2969 2970// The number of reactions has been exceeded. Reactions are limited to one reaction 2971// per user for each individual comment ID. 2972type ReactionLimitExceededException struct { 2973 Message *string 2974} 2975 2976func (e *ReactionLimitExceededException) Error() string { 2977 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2978} 2979func (e *ReactionLimitExceededException) ErrorMessage() string { 2980 if e.Message == nil { 2981 return "" 2982 } 2983 return *e.Message 2984} 2985func (e *ReactionLimitExceededException) ErrorCode() string { return "ReactionLimitExceededException" } 2986func (e *ReactionLimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 2987 2988// A reaction value is required. 2989type ReactionValueRequiredException struct { 2990 Message *string 2991} 2992 2993func (e *ReactionValueRequiredException) Error() string { 2994 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 2995} 2996func (e *ReactionValueRequiredException) ErrorMessage() string { 2997 if e.Message == nil { 2998 return "" 2999 } 3000 return *e.Message 3001} 3002func (e *ReactionValueRequiredException) ErrorCode() string { return "ReactionValueRequiredException" } 3003func (e *ReactionValueRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3004 3005// The specified reference does not exist. You must provide a full commit ID. 3006type ReferenceDoesNotExistException struct { 3007 Message *string 3008} 3009 3010func (e *ReferenceDoesNotExistException) Error() string { 3011 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3012} 3013func (e *ReferenceDoesNotExistException) ErrorMessage() string { 3014 if e.Message == nil { 3015 return "" 3016 } 3017 return *e.Message 3018} 3019func (e *ReferenceDoesNotExistException) ErrorCode() string { return "ReferenceDoesNotExistException" } 3020func (e *ReferenceDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3021 3022// A reference name is required, but none was provided. 3023type ReferenceNameRequiredException struct { 3024 Message *string 3025} 3026 3027func (e *ReferenceNameRequiredException) Error() string { 3028 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3029} 3030func (e *ReferenceNameRequiredException) ErrorMessage() string { 3031 if e.Message == nil { 3032 return "" 3033 } 3034 return *e.Message 3035} 3036func (e *ReferenceNameRequiredException) ErrorCode() string { return "ReferenceNameRequiredException" } 3037func (e *ReferenceNameRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3038 3039// The specified reference is not a supported type. 3040type ReferenceTypeNotSupportedException struct { 3041 Message *string 3042} 3043 3044func (e *ReferenceTypeNotSupportedException) Error() string { 3045 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3046} 3047func (e *ReferenceTypeNotSupportedException) ErrorMessage() string { 3048 if e.Message == nil { 3049 return "" 3050 } 3051 return *e.Message 3052} 3053func (e *ReferenceTypeNotSupportedException) ErrorCode() string { 3054 return "ReferenceTypeNotSupportedException" 3055} 3056func (e *ReferenceTypeNotSupportedException) ErrorFault() smithy.ErrorFault { 3057 return smithy.FaultClient 3058} 3059 3060// USE_NEW_CONTENT was specified, but no replacement content has been provided. 3061type ReplacementContentRequiredException struct { 3062 Message *string 3063} 3064 3065func (e *ReplacementContentRequiredException) Error() string { 3066 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3067} 3068func (e *ReplacementContentRequiredException) ErrorMessage() string { 3069 if e.Message == nil { 3070 return "" 3071 } 3072 return *e.Message 3073} 3074func (e *ReplacementContentRequiredException) ErrorCode() string { 3075 return "ReplacementContentRequiredException" 3076} 3077func (e *ReplacementContentRequiredException) ErrorFault() smithy.ErrorFault { 3078 return smithy.FaultClient 3079} 3080 3081// A replacement type is required. 3082type ReplacementTypeRequiredException struct { 3083 Message *string 3084} 3085 3086func (e *ReplacementTypeRequiredException) Error() string { 3087 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3088} 3089func (e *ReplacementTypeRequiredException) ErrorMessage() string { 3090 if e.Message == nil { 3091 return "" 3092 } 3093 return *e.Message 3094} 3095func (e *ReplacementTypeRequiredException) ErrorCode() string { 3096 return "ReplacementTypeRequiredException" 3097} 3098func (e *ReplacementTypeRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3099 3100// The specified repository does not exist. 3101type RepositoryDoesNotExistException struct { 3102 Message *string 3103} 3104 3105func (e *RepositoryDoesNotExistException) Error() string { 3106 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3107} 3108func (e *RepositoryDoesNotExistException) ErrorMessage() string { 3109 if e.Message == nil { 3110 return "" 3111 } 3112 return *e.Message 3113} 3114func (e *RepositoryDoesNotExistException) ErrorCode() string { 3115 return "RepositoryDoesNotExistException" 3116} 3117func (e *RepositoryDoesNotExistException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3118 3119// A repository resource limit was exceeded. 3120type RepositoryLimitExceededException struct { 3121 Message *string 3122} 3123 3124func (e *RepositoryLimitExceededException) Error() string { 3125 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3126} 3127func (e *RepositoryLimitExceededException) ErrorMessage() string { 3128 if e.Message == nil { 3129 return "" 3130 } 3131 return *e.Message 3132} 3133func (e *RepositoryLimitExceededException) ErrorCode() string { 3134 return "RepositoryLimitExceededException" 3135} 3136func (e *RepositoryLimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3137 3138// The specified repository name already exists. 3139type RepositoryNameExistsException struct { 3140 Message *string 3141} 3142 3143func (e *RepositoryNameExistsException) Error() string { 3144 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3145} 3146func (e *RepositoryNameExistsException) ErrorMessage() string { 3147 if e.Message == nil { 3148 return "" 3149 } 3150 return *e.Message 3151} 3152func (e *RepositoryNameExistsException) ErrorCode() string { return "RepositoryNameExistsException" } 3153func (e *RepositoryNameExistsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3154 3155// A repository name is required, but was not specified. 3156type RepositoryNameRequiredException struct { 3157 Message *string 3158} 3159 3160func (e *RepositoryNameRequiredException) Error() string { 3161 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3162} 3163func (e *RepositoryNameRequiredException) ErrorMessage() string { 3164 if e.Message == nil { 3165 return "" 3166 } 3167 return *e.Message 3168} 3169func (e *RepositoryNameRequiredException) ErrorCode() string { 3170 return "RepositoryNameRequiredException" 3171} 3172func (e *RepositoryNameRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3173 3174// At least one repository name object is required, but was not specified. 3175type RepositoryNamesRequiredException struct { 3176 Message *string 3177} 3178 3179func (e *RepositoryNamesRequiredException) Error() string { 3180 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3181} 3182func (e *RepositoryNamesRequiredException) ErrorMessage() string { 3183 if e.Message == nil { 3184 return "" 3185 } 3186 return *e.Message 3187} 3188func (e *RepositoryNamesRequiredException) ErrorCode() string { 3189 return "RepositoryNamesRequiredException" 3190} 3191func (e *RepositoryNamesRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3192 3193// The repository does not contain any pull requests with that pull request ID. Use 3194// GetPullRequest to verify the correct repository name for the pull request ID. 3195type RepositoryNotAssociatedWithPullRequestException struct { 3196 Message *string 3197} 3198 3199func (e *RepositoryNotAssociatedWithPullRequestException) Error() string { 3200 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3201} 3202func (e *RepositoryNotAssociatedWithPullRequestException) ErrorMessage() string { 3203 if e.Message == nil { 3204 return "" 3205 } 3206 return *e.Message 3207} 3208func (e *RepositoryNotAssociatedWithPullRequestException) ErrorCode() string { 3209 return "RepositoryNotAssociatedWithPullRequestException" 3210} 3211func (e *RepositoryNotAssociatedWithPullRequestException) ErrorFault() smithy.ErrorFault { 3212 return smithy.FaultClient 3213} 3214 3215// At least one branch name is required, but was not specified in the trigger 3216// configuration. 3217type RepositoryTriggerBranchNameListRequiredException struct { 3218 Message *string 3219} 3220 3221func (e *RepositoryTriggerBranchNameListRequiredException) Error() string { 3222 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3223} 3224func (e *RepositoryTriggerBranchNameListRequiredException) ErrorMessage() string { 3225 if e.Message == nil { 3226 return "" 3227 } 3228 return *e.Message 3229} 3230func (e *RepositoryTriggerBranchNameListRequiredException) ErrorCode() string { 3231 return "RepositoryTriggerBranchNameListRequiredException" 3232} 3233func (e *RepositoryTriggerBranchNameListRequiredException) ErrorFault() smithy.ErrorFault { 3234 return smithy.FaultClient 3235} 3236 3237// A destination ARN for the target service for the trigger is required, but was 3238// not specified. 3239type RepositoryTriggerDestinationArnRequiredException struct { 3240 Message *string 3241} 3242 3243func (e *RepositoryTriggerDestinationArnRequiredException) Error() string { 3244 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3245} 3246func (e *RepositoryTriggerDestinationArnRequiredException) ErrorMessage() string { 3247 if e.Message == nil { 3248 return "" 3249 } 3250 return *e.Message 3251} 3252func (e *RepositoryTriggerDestinationArnRequiredException) ErrorCode() string { 3253 return "RepositoryTriggerDestinationArnRequiredException" 3254} 3255func (e *RepositoryTriggerDestinationArnRequiredException) ErrorFault() smithy.ErrorFault { 3256 return smithy.FaultClient 3257} 3258 3259// At least one event for the trigger is required, but was not specified. 3260type RepositoryTriggerEventsListRequiredException struct { 3261 Message *string 3262} 3263 3264func (e *RepositoryTriggerEventsListRequiredException) Error() string { 3265 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3266} 3267func (e *RepositoryTriggerEventsListRequiredException) ErrorMessage() string { 3268 if e.Message == nil { 3269 return "" 3270 } 3271 return *e.Message 3272} 3273func (e *RepositoryTriggerEventsListRequiredException) ErrorCode() string { 3274 return "RepositoryTriggerEventsListRequiredException" 3275} 3276func (e *RepositoryTriggerEventsListRequiredException) ErrorFault() smithy.ErrorFault { 3277 return smithy.FaultClient 3278} 3279 3280// A name for the trigger is required, but was not specified. 3281type RepositoryTriggerNameRequiredException struct { 3282 Message *string 3283} 3284 3285func (e *RepositoryTriggerNameRequiredException) Error() string { 3286 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3287} 3288func (e *RepositoryTriggerNameRequiredException) ErrorMessage() string { 3289 if e.Message == nil { 3290 return "" 3291 } 3292 return *e.Message 3293} 3294func (e *RepositoryTriggerNameRequiredException) ErrorCode() string { 3295 return "RepositoryTriggerNameRequiredException" 3296} 3297func (e *RepositoryTriggerNameRequiredException) ErrorFault() smithy.ErrorFault { 3298 return smithy.FaultClient 3299} 3300 3301// The list of triggers for the repository is required, but was not specified. 3302type RepositoryTriggersListRequiredException struct { 3303 Message *string 3304} 3305 3306func (e *RepositoryTriggersListRequiredException) Error() string { 3307 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3308} 3309func (e *RepositoryTriggersListRequiredException) ErrorMessage() string { 3310 if e.Message == nil { 3311 return "" 3312 } 3313 return *e.Message 3314} 3315func (e *RepositoryTriggersListRequiredException) ErrorCode() string { 3316 return "RepositoryTriggersListRequiredException" 3317} 3318func (e *RepositoryTriggersListRequiredException) ErrorFault() smithy.ErrorFault { 3319 return smithy.FaultClient 3320} 3321 3322// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. 3323// For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and 3324// Operations 3325// (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) 3326// in the AWS CodeCommit User Guide. 3327type ResourceArnRequiredException struct { 3328 Message *string 3329} 3330 3331func (e *ResourceArnRequiredException) Error() string { 3332 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3333} 3334func (e *ResourceArnRequiredException) ErrorMessage() string { 3335 if e.Message == nil { 3336 return "" 3337 } 3338 return *e.Message 3339} 3340func (e *ResourceArnRequiredException) ErrorCode() string { return "ResourceArnRequiredException" } 3341func (e *ResourceArnRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3342 3343// The commit cannot be created because one of the changes specifies copying or 3344// moving a .gitkeep file. 3345type RestrictedSourceFileException struct { 3346 Message *string 3347} 3348 3349func (e *RestrictedSourceFileException) Error() string { 3350 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3351} 3352func (e *RestrictedSourceFileException) ErrorMessage() string { 3353 if e.Message == nil { 3354 return "" 3355 } 3356 return *e.Message 3357} 3358func (e *RestrictedSourceFileException) ErrorCode() string { return "RestrictedSourceFileException" } 3359func (e *RestrictedSourceFileException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3360 3361// A revision ID is required, but was not provided. 3362type RevisionIdRequiredException struct { 3363 Message *string 3364} 3365 3366func (e *RevisionIdRequiredException) Error() string { 3367 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3368} 3369func (e *RevisionIdRequiredException) ErrorMessage() string { 3370 if e.Message == nil { 3371 return "" 3372 } 3373 return *e.Message 3374} 3375func (e *RevisionIdRequiredException) ErrorCode() string { return "RevisionIdRequiredException" } 3376func (e *RevisionIdRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3377 3378// The revision ID provided in the request does not match the current revision ID. 3379// Use GetPullRequest to retrieve the current revision ID. 3380type RevisionNotCurrentException struct { 3381 Message *string 3382} 3383 3384func (e *RevisionNotCurrentException) Error() string { 3385 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3386} 3387func (e *RevisionNotCurrentException) ErrorMessage() string { 3388 if e.Message == nil { 3389 return "" 3390 } 3391 return *e.Message 3392} 3393func (e *RevisionNotCurrentException) ErrorCode() string { return "RevisionNotCurrentException" } 3394func (e *RevisionNotCurrentException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3395 3396// The file was not added or updated because the content of the file is exactly the 3397// same as the content of that file in the repository and branch that you 3398// specified. 3399type SameFileContentException struct { 3400 Message *string 3401} 3402 3403func (e *SameFileContentException) Error() string { 3404 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3405} 3406func (e *SameFileContentException) ErrorMessage() string { 3407 if e.Message == nil { 3408 return "" 3409 } 3410 return *e.Message 3411} 3412func (e *SameFileContentException) ErrorCode() string { return "SameFileContentException" } 3413func (e *SameFileContentException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3414 3415// The commit cannot be created because one or more changes in this commit 3416// duplicate actions in the same file path. For example, you cannot make the same 3417// delete request to the same file in the same file path twice, or make a delete 3418// request and a move request to the same file as part of the same commit. 3419type SamePathRequestException struct { 3420 Message *string 3421} 3422 3423func (e *SamePathRequestException) Error() string { 3424 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3425} 3426func (e *SamePathRequestException) ErrorMessage() string { 3427 if e.Message == nil { 3428 return "" 3429 } 3430 return *e.Message 3431} 3432func (e *SamePathRequestException) ErrorCode() string { return "SamePathRequestException" } 3433func (e *SamePathRequestException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3434 3435// The source branch and destination branch for the pull request are the same. You 3436// must specify different branches for the source and destination. 3437type SourceAndDestinationAreSameException struct { 3438 Message *string 3439} 3440 3441func (e *SourceAndDestinationAreSameException) Error() string { 3442 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3443} 3444func (e *SourceAndDestinationAreSameException) ErrorMessage() string { 3445 if e.Message == nil { 3446 return "" 3447 } 3448 return *e.Message 3449} 3450func (e *SourceAndDestinationAreSameException) ErrorCode() string { 3451 return "SourceAndDestinationAreSameException" 3452} 3453func (e *SourceAndDestinationAreSameException) ErrorFault() smithy.ErrorFault { 3454 return smithy.FaultClient 3455} 3456 3457// The commit cannot be created because no source files or file content have been 3458// specified for the commit. 3459type SourceFileOrContentRequiredException struct { 3460 Message *string 3461} 3462 3463func (e *SourceFileOrContentRequiredException) Error() string { 3464 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3465} 3466func (e *SourceFileOrContentRequiredException) ErrorMessage() string { 3467 if e.Message == nil { 3468 return "" 3469 } 3470 return *e.Message 3471} 3472func (e *SourceFileOrContentRequiredException) ErrorCode() string { 3473 return "SourceFileOrContentRequiredException" 3474} 3475func (e *SourceFileOrContentRequiredException) ErrorFault() smithy.ErrorFault { 3476 return smithy.FaultClient 3477} 3478 3479// A list of tag keys is required. The list cannot be empty or null. 3480type TagKeysListRequiredException struct { 3481 Message *string 3482} 3483 3484func (e *TagKeysListRequiredException) Error() string { 3485 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3486} 3487func (e *TagKeysListRequiredException) ErrorMessage() string { 3488 if e.Message == nil { 3489 return "" 3490 } 3491 return *e.Message 3492} 3493func (e *TagKeysListRequiredException) ErrorCode() string { return "TagKeysListRequiredException" } 3494func (e *TagKeysListRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3495 3496// The tag policy is not valid. 3497type TagPolicyException struct { 3498 Message *string 3499} 3500 3501func (e *TagPolicyException) Error() string { 3502 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3503} 3504func (e *TagPolicyException) ErrorMessage() string { 3505 if e.Message == nil { 3506 return "" 3507 } 3508 return *e.Message 3509} 3510func (e *TagPolicyException) ErrorCode() string { return "TagPolicyException" } 3511func (e *TagPolicyException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3512 3513// A map of tags is required. 3514type TagsMapRequiredException struct { 3515 Message *string 3516} 3517 3518func (e *TagsMapRequiredException) Error() string { 3519 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3520} 3521func (e *TagsMapRequiredException) ErrorMessage() string { 3522 if e.Message == nil { 3523 return "" 3524 } 3525 return *e.Message 3526} 3527func (e *TagsMapRequiredException) ErrorCode() string { return "TagsMapRequiredException" } 3528func (e *TagsMapRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3529 3530// A pull request target is required. It cannot be empty or null. A pull request 3531// target must contain the full values for the repository name, source branch, and 3532// destination branch for the pull request. 3533type TargetRequiredException struct { 3534 Message *string 3535} 3536 3537func (e *TargetRequiredException) Error() string { 3538 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3539} 3540func (e *TargetRequiredException) ErrorMessage() string { 3541 if e.Message == nil { 3542 return "" 3543 } 3544 return *e.Message 3545} 3546func (e *TargetRequiredException) ErrorCode() string { return "TargetRequiredException" } 3547func (e *TargetRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3548 3549// An array of target objects is required. It cannot be empty or null. 3550type TargetsRequiredException struct { 3551 Message *string 3552} 3553 3554func (e *TargetsRequiredException) Error() string { 3555 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3556} 3557func (e *TargetsRequiredException) ErrorMessage() string { 3558 if e.Message == nil { 3559 return "" 3560 } 3561 return *e.Message 3562} 3563func (e *TargetsRequiredException) ErrorCode() string { return "TargetsRequiredException" } 3564func (e *TargetsRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3565 3566// The tip of the source branch in the destination repository does not match the 3567// tip of the source branch specified in your request. The pull request might have 3568// been updated. Make sure that you have the latest changes. 3569type TipOfSourceReferenceIsDifferentException struct { 3570 Message *string 3571} 3572 3573func (e *TipOfSourceReferenceIsDifferentException) Error() string { 3574 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3575} 3576func (e *TipOfSourceReferenceIsDifferentException) ErrorMessage() string { 3577 if e.Message == nil { 3578 return "" 3579 } 3580 return *e.Message 3581} 3582func (e *TipOfSourceReferenceIsDifferentException) ErrorCode() string { 3583 return "TipOfSourceReferenceIsDifferentException" 3584} 3585func (e *TipOfSourceReferenceIsDifferentException) ErrorFault() smithy.ErrorFault { 3586 return smithy.FaultClient 3587} 3588 3589// The divergence between the tips of the provided commit specifiers is too great 3590// to determine whether there might be any merge conflicts. Locally compare the 3591// specifiers using git diff or a diff tool. 3592type TipsDivergenceExceededException struct { 3593 Message *string 3594} 3595 3596func (e *TipsDivergenceExceededException) Error() string { 3597 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3598} 3599func (e *TipsDivergenceExceededException) ErrorMessage() string { 3600 if e.Message == nil { 3601 return "" 3602 } 3603 return *e.Message 3604} 3605func (e *TipsDivergenceExceededException) ErrorCode() string { 3606 return "TipsDivergenceExceededException" 3607} 3608func (e *TipsDivergenceExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3609 3610// A pull request title is required. It cannot be empty or null. 3611type TitleRequiredException struct { 3612 Message *string 3613} 3614 3615func (e *TitleRequiredException) Error() string { 3616 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3617} 3618func (e *TitleRequiredException) ErrorMessage() string { 3619 if e.Message == nil { 3620 return "" 3621 } 3622 return *e.Message 3623} 3624func (e *TitleRequiredException) ErrorCode() string { return "TitleRequiredException" } 3625func (e *TitleRequiredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3626 3627// The maximum number of tags for an AWS CodeCommit resource has been exceeded. 3628type TooManyTagsException struct { 3629 Message *string 3630} 3631 3632func (e *TooManyTagsException) Error() string { 3633 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 3634} 3635func (e *TooManyTagsException) ErrorMessage() string { 3636 if e.Message == nil { 3637 return "" 3638 } 3639 return *e.Message 3640} 3641func (e *TooManyTagsException) ErrorCode() string { return "TooManyTagsException" } 3642func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 3643