types

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 3 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActorDoesNotExistException

type ActorDoesNotExistException struct {
	Message *string
}

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

func (*ActorDoesNotExistException) Error

func (*ActorDoesNotExistException) ErrorCode

func (e *ActorDoesNotExistException) ErrorCode() string

func (*ActorDoesNotExistException) ErrorFault

func (*ActorDoesNotExistException) ErrorMessage

func (e *ActorDoesNotExistException) ErrorMessage() string

type Approval

type Approval struct {

	// The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.
	ApprovalState ApprovalState

	// The Amazon Resource Name (ARN) of the user.
	UserArn *string
}

Returns information about a specific approval on a pull request.

type ApprovalRule

type ApprovalRule struct {

	// The content of the approval rule.
	ApprovalRuleContent *string

	// The system-generated ID of the approval rule.
	ApprovalRuleId *string

	// The name of the approval rule.
	ApprovalRuleName *string

	// The date the approval rule was created, in timestamp format.
	CreationDate *time.Time

	// The date the approval rule was most recently changed, in timestamp format.
	LastModifiedDate *time.Time

	// The Amazon Resource Name (ARN) of the user who made the most recent changes to
	// the approval rule.
	LastModifiedUser *string

	// The approval rule template used to create the rule.
	OriginApprovalRuleTemplate *OriginApprovalRuleTemplate

	// The SHA-256 hash signature for the content of the approval rule.
	RuleContentSha256 *string
}

Returns information about an approval rule.

type ApprovalRuleContentRequiredException

type ApprovalRuleContentRequiredException struct {
	Message *string
}

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

func (*ApprovalRuleContentRequiredException) Error

func (*ApprovalRuleContentRequiredException) ErrorCode

func (*ApprovalRuleContentRequiredException) ErrorFault

func (*ApprovalRuleContentRequiredException) ErrorMessage

func (e *ApprovalRuleContentRequiredException) ErrorMessage() string

type ApprovalRuleDoesNotExistException

type ApprovalRuleDoesNotExistException struct {
	Message *string
}

The specified approval rule does not exist.

func (*ApprovalRuleDoesNotExistException) Error

func (*ApprovalRuleDoesNotExistException) ErrorCode

func (*ApprovalRuleDoesNotExistException) ErrorFault

func (*ApprovalRuleDoesNotExistException) ErrorMessage

func (e *ApprovalRuleDoesNotExistException) ErrorMessage() string

type ApprovalRuleEventMetadata

type ApprovalRuleEventMetadata struct {

	// The content of the approval rule.
	ApprovalRuleContent *string

	// The system-generated ID of the approval rule.
	ApprovalRuleId *string

	// The name of the approval rule.
	ApprovalRuleName *string
}

Returns information about an event for an approval rule.

type ApprovalRuleNameAlreadyExistsException

type ApprovalRuleNameAlreadyExistsException struct {
	Message *string
}

An approval rule with that name already exists. Approval rule names must be unique within the scope of a pull request.

func (*ApprovalRuleNameAlreadyExistsException) Error

func (*ApprovalRuleNameAlreadyExistsException) ErrorCode

func (*ApprovalRuleNameAlreadyExistsException) ErrorFault

func (*ApprovalRuleNameAlreadyExistsException) ErrorMessage

type ApprovalRuleNameRequiredException

type ApprovalRuleNameRequiredException struct {
	Message *string
}

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

func (*ApprovalRuleNameRequiredException) Error

func (*ApprovalRuleNameRequiredException) ErrorCode

func (*ApprovalRuleNameRequiredException) ErrorFault

func (*ApprovalRuleNameRequiredException) ErrorMessage

func (e *ApprovalRuleNameRequiredException) ErrorMessage() string

type ApprovalRuleOverriddenEventMetadata

type ApprovalRuleOverriddenEventMetadata struct {

	// The status of the override event.
	OverrideStatus OverrideStatus

	// The revision ID of the pull request when the override event occurred.
	RevisionId *string
}

Returns information about an override event for approval rules for a pull request.

type ApprovalRuleTemplate

type ApprovalRuleTemplate struct {

	// The content of the approval rule template.
	ApprovalRuleTemplateContent *string

	// The description of the approval rule template.
	ApprovalRuleTemplateDescription *string

	// The system-generated ID of the approval rule template.
	ApprovalRuleTemplateId *string

	// The name of the approval rule template.
	ApprovalRuleTemplateName *string

	// The date the approval rule template was created, in timestamp format.
	CreationDate *time.Time

	// The date the approval rule template was most recently changed, in timestamp
	// format.
	LastModifiedDate *time.Time

	// The Amazon Resource Name (ARN) of the user who made the most recent changes to
	// the approval rule template.
	LastModifiedUser *string

	// The SHA-256 hash signature for the content of the approval rule template.
	RuleContentSha256 *string
}

Returns information about an approval rule template.

type ApprovalRuleTemplateContentRequiredException

type ApprovalRuleTemplateContentRequiredException struct {
	Message *string
}

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

func (*ApprovalRuleTemplateContentRequiredException) Error

func (*ApprovalRuleTemplateContentRequiredException) ErrorCode

func (*ApprovalRuleTemplateContentRequiredException) ErrorFault

func (*ApprovalRuleTemplateContentRequiredException) ErrorMessage

type ApprovalRuleTemplateDoesNotExistException

type ApprovalRuleTemplateDoesNotExistException struct {
	Message *string
}

The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the AWS Region where the template was created, and then try again.

func (*ApprovalRuleTemplateDoesNotExistException) Error

func (*ApprovalRuleTemplateDoesNotExistException) ErrorCode

func (*ApprovalRuleTemplateDoesNotExistException) ErrorFault

func (*ApprovalRuleTemplateDoesNotExistException) ErrorMessage

type ApprovalRuleTemplateInUseException

type ApprovalRuleTemplateInUseException struct {
	Message *string
}

The approval rule template is associated with one or more repositories. You cannot delete a template that is associated with a repository. Remove all associations, and then try again.

func (*ApprovalRuleTemplateInUseException) Error

func (*ApprovalRuleTemplateInUseException) ErrorCode

func (*ApprovalRuleTemplateInUseException) ErrorFault

func (*ApprovalRuleTemplateInUseException) ErrorMessage

func (e *ApprovalRuleTemplateInUseException) ErrorMessage() string

type ApprovalRuleTemplateNameAlreadyExistsException

type ApprovalRuleTemplateNameAlreadyExistsException struct {
	Message *string
}

You cannot create an approval rule template with that name because a template with that name already exists in this AWS Region for your AWS account. Approval rule template names must be unique.

func (*ApprovalRuleTemplateNameAlreadyExistsException) Error

func (*ApprovalRuleTemplateNameAlreadyExistsException) ErrorCode

func (*ApprovalRuleTemplateNameAlreadyExistsException) ErrorFault

func (*ApprovalRuleTemplateNameAlreadyExistsException) ErrorMessage

type ApprovalRuleTemplateNameRequiredException

type ApprovalRuleTemplateNameRequiredException struct {
	Message *string
}

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

func (*ApprovalRuleTemplateNameRequiredException) Error

func (*ApprovalRuleTemplateNameRequiredException) ErrorCode

func (*ApprovalRuleTemplateNameRequiredException) ErrorFault

func (*ApprovalRuleTemplateNameRequiredException) ErrorMessage

type ApprovalState

type ApprovalState string
const (
	ApprovalStateApprove ApprovalState = "APPROVE"
	ApprovalStateRevoke  ApprovalState = "REVOKE"
)

Enum values for ApprovalState

func (ApprovalState) Values added in v0.29.0

func (ApprovalState) Values() []ApprovalState

Values returns all known values for ApprovalState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ApprovalStateChangedEventMetadata

type ApprovalStateChangedEventMetadata struct {

	// The approval status for the pull request.
	ApprovalStatus ApprovalState

	// The revision ID of the pull request when the approval state changed.
	RevisionId *string
}

Returns information about a change in the approval state for a pull request.

type ApprovalStateRequiredException

type ApprovalStateRequiredException struct {
	Message *string
}

An approval state is required, but was not specified.

func (*ApprovalStateRequiredException) Error

func (*ApprovalStateRequiredException) ErrorCode

func (e *ApprovalStateRequiredException) ErrorCode() string

func (*ApprovalStateRequiredException) ErrorFault

func (*ApprovalStateRequiredException) ErrorMessage

func (e *ApprovalStateRequiredException) ErrorMessage() string

type AuthorDoesNotExistException

type AuthorDoesNotExistException struct {
	Message *string
}

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

func (*AuthorDoesNotExistException) Error

func (*AuthorDoesNotExistException) ErrorCode

func (e *AuthorDoesNotExistException) ErrorCode() string

func (*AuthorDoesNotExistException) ErrorFault

func (*AuthorDoesNotExistException) ErrorMessage

func (e *AuthorDoesNotExistException) ErrorMessage() string

type BatchAssociateApprovalRuleTemplateWithRepositoriesError

type BatchAssociateApprovalRuleTemplateWithRepositoriesError struct {

	// An error code that specifies whether the repository name was not valid or not
	// found.
	ErrorCode *string

	// An error message that provides details about why the repository name was not
	// found or not valid.
	ErrorMessage *string

	// The name of the repository where the association was not made.
	RepositoryName *string
}

Returns information about errors in a BatchAssociateApprovalRuleTemplateWithRepositories operation.

type BatchDescribeMergeConflictsError

type BatchDescribeMergeConflictsError struct {

	// The name of the exception.
	//
	// This member is required.
	ExceptionName *string

	// The path to the file.
	//
	// This member is required.
	FilePath *string

	// The message provided by the exception.
	//
	// This member is required.
	Message *string
}

Returns information about errors in a BatchDescribeMergeConflicts operation.

type BatchDisassociateApprovalRuleTemplateFromRepositoriesError

type BatchDisassociateApprovalRuleTemplateFromRepositoriesError struct {

	// An error code that specifies whether the repository name was not valid or not
	// found.
	ErrorCode *string

	// An error message that provides details about why the repository name was either
	// not found or not valid.
	ErrorMessage *string

	// The name of the repository where the association with the template was not able
	// to be removed.
	RepositoryName *string
}

Returns information about errors in a BatchDisassociateApprovalRuleTemplateFromRepositories operation.

type BatchGetCommitsError

type BatchGetCommitsError struct {

	// A commit ID that either could not be found or was not in a valid format.
	CommitId *string

	// An error code that specifies whether the commit ID was not valid or not found.
	ErrorCode *string

	// An error message that provides detail about why the commit ID either was not
	// found or was not valid.
	ErrorMessage *string
}

Returns information about errors in a BatchGetCommits operation.

type BeforeCommitIdAndAfterCommitIdAreSameException

type BeforeCommitIdAndAfterCommitIdAreSameException struct {
	Message *string
}

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

func (*BeforeCommitIdAndAfterCommitIdAreSameException) Error

func (*BeforeCommitIdAndAfterCommitIdAreSameException) ErrorCode

func (*BeforeCommitIdAndAfterCommitIdAreSameException) ErrorFault

func (*BeforeCommitIdAndAfterCommitIdAreSameException) ErrorMessage

type BlobIdDoesNotExistException

type BlobIdDoesNotExistException struct {
	Message *string
}

The specified blob does not exist.

func (*BlobIdDoesNotExistException) Error

func (*BlobIdDoesNotExistException) ErrorCode

func (e *BlobIdDoesNotExistException) ErrorCode() string

func (*BlobIdDoesNotExistException) ErrorFault

func (*BlobIdDoesNotExistException) ErrorMessage

func (e *BlobIdDoesNotExistException) ErrorMessage() string

type BlobIdRequiredException

type BlobIdRequiredException struct {
	Message *string
}

A blob ID is required, but was not specified.

func (*BlobIdRequiredException) Error

func (e *BlobIdRequiredException) Error() string

func (*BlobIdRequiredException) ErrorCode

func (e *BlobIdRequiredException) ErrorCode() string

func (*BlobIdRequiredException) ErrorFault

func (e *BlobIdRequiredException) ErrorFault() smithy.ErrorFault

func (*BlobIdRequiredException) ErrorMessage

func (e *BlobIdRequiredException) ErrorMessage() string

type BlobMetadata

type BlobMetadata struct {

	// The full ID of the blob.
	BlobId *string

	// The file mode permissions of the blob. File mode permission codes include:
	//
	// *
	// 100644 indicates read/write
	//
	// * 100755 indicates read/write/execute
	//
	// * 160000
	// indicates a submodule
	//
	// * 120000 indicates a symlink
	Mode *string

	// The path to the blob and associated file name, if any.
	Path *string
}

Returns information about a specific Git blob object.

type BranchDoesNotExistException

type BranchDoesNotExistException struct {
	Message *string
}

The specified branch does not exist.

func (*BranchDoesNotExistException) Error

func (*BranchDoesNotExistException) ErrorCode

func (e *BranchDoesNotExistException) ErrorCode() string

func (*BranchDoesNotExistException) ErrorFault

func (*BranchDoesNotExistException) ErrorMessage

func (e *BranchDoesNotExistException) ErrorMessage() string

type BranchInfo

type BranchInfo struct {

	// The name of the branch.
	BranchName *string

	// The ID of the last commit made to the branch.
	CommitId *string
}

Returns information about a branch.

type BranchNameExistsException

type BranchNameExistsException struct {
	Message *string
}

Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name. Branch names must be unique.

func (*BranchNameExistsException) Error

func (e *BranchNameExistsException) Error() string

func (*BranchNameExistsException) ErrorCode

func (e *BranchNameExistsException) ErrorCode() string

func (*BranchNameExistsException) ErrorFault

func (*BranchNameExistsException) ErrorMessage

func (e *BranchNameExistsException) ErrorMessage() string

type BranchNameIsTagNameException

type BranchNameIsTagNameException struct {
	Message *string
}

The specified branch name is not valid because it is a tag name. Enter the name of a branch in the repository. For a list of valid branch names, use ListBranches.

func (*BranchNameIsTagNameException) Error

func (*BranchNameIsTagNameException) ErrorCode

func (e *BranchNameIsTagNameException) ErrorCode() string

func (*BranchNameIsTagNameException) ErrorFault

func (*BranchNameIsTagNameException) ErrorMessage

func (e *BranchNameIsTagNameException) ErrorMessage() string

type BranchNameRequiredException

type BranchNameRequiredException struct {
	Message *string
}

A branch name is required, but was not specified.

func (*BranchNameRequiredException) Error

func (*BranchNameRequiredException) ErrorCode

func (e *BranchNameRequiredException) ErrorCode() string

func (*BranchNameRequiredException) ErrorFault

func (*BranchNameRequiredException) ErrorMessage

func (e *BranchNameRequiredException) ErrorMessage() string

type CannotDeleteApprovalRuleFromTemplateException

type CannotDeleteApprovalRuleFromTemplateException struct {
	Message *string
}

The approval rule cannot be deleted from the pull request because it was created by an approval rule template and applied to the pull request automatically.

func (*CannotDeleteApprovalRuleFromTemplateException) Error

func (*CannotDeleteApprovalRuleFromTemplateException) ErrorCode

func (*CannotDeleteApprovalRuleFromTemplateException) ErrorFault

func (*CannotDeleteApprovalRuleFromTemplateException) ErrorMessage

type CannotModifyApprovalRuleFromTemplateException

type CannotModifyApprovalRuleFromTemplateException struct {
	Message *string
}

The approval rule cannot be modified for the pull request because it was created by an approval rule template and applied to the pull request automatically.

func (*CannotModifyApprovalRuleFromTemplateException) Error

func (*CannotModifyApprovalRuleFromTemplateException) ErrorCode

func (*CannotModifyApprovalRuleFromTemplateException) ErrorFault

func (*CannotModifyApprovalRuleFromTemplateException) ErrorMessage

type ChangeTypeEnum

type ChangeTypeEnum string
const (
	ChangeTypeEnumAdded    ChangeTypeEnum = "A"
	ChangeTypeEnumModified ChangeTypeEnum = "M"
	ChangeTypeEnumDeleted  ChangeTypeEnum = "D"
)

Enum values for ChangeTypeEnum

func (ChangeTypeEnum) Values added in v0.29.0

func (ChangeTypeEnum) Values() []ChangeTypeEnum

Values returns all known values for ChangeTypeEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ClientRequestTokenRequiredException

type ClientRequestTokenRequiredException struct {
	Message *string
}

A client request token is required. A client request token is an unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

func (*ClientRequestTokenRequiredException) Error

func (*ClientRequestTokenRequiredException) ErrorCode

func (*ClientRequestTokenRequiredException) ErrorFault

func (*ClientRequestTokenRequiredException) ErrorMessage

func (e *ClientRequestTokenRequiredException) ErrorMessage() string

type Comment

type Comment struct {

	// The Amazon Resource Name (ARN) of the person who posted the comment.
	AuthorArn *string

	// The emoji reactions to a comment, if any, submitted by the user whose
	// credentials are associated with the call to the API.
	CallerReactions []string

	// A unique, client-generated idempotency token that, when provided in a request,
	// ensures the request cannot be repeated with a changed parameter. If a request is
	// received with the same parameters and a token is included, the request returns
	// information about the initial request that used that token.
	ClientRequestToken *string

	// The system-generated comment ID.
	CommentId *string

	// The content of the comment.
	Content *string

	// The date and time the comment was created, in timestamp format.
	CreationDate *time.Time

	// A Boolean value indicating whether the comment has been deleted.
	Deleted bool

	// The ID of the comment for which this comment is a reply, if any.
	InReplyTo *string

	// The date and time the comment was most recently modified, in timestamp format.
	LastModifiedDate *time.Time

	// A string to integer map that represents the number of individual users who have
	// responded to a comment with the specified reactions.
	ReactionCounts map[string]int32
}

Returns information about a specific comment.

type CommentContentRequiredException

type CommentContentRequiredException struct {
	Message *string
}

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

func (*CommentContentRequiredException) Error

func (*CommentContentRequiredException) ErrorCode

func (e *CommentContentRequiredException) ErrorCode() string

func (*CommentContentRequiredException) ErrorFault

func (*CommentContentRequiredException) ErrorMessage

func (e *CommentContentRequiredException) ErrorMessage() string

type CommentContentSizeLimitExceededException

type CommentContentSizeLimitExceededException struct {
	Message *string
}

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

func (*CommentContentSizeLimitExceededException) Error

func (*CommentContentSizeLimitExceededException) ErrorCode

func (*CommentContentSizeLimitExceededException) ErrorFault

func (*CommentContentSizeLimitExceededException) ErrorMessage

type CommentDeletedException

type CommentDeletedException struct {
	Message *string
}

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

func (*CommentDeletedException) Error

func (e *CommentDeletedException) Error() string

func (*CommentDeletedException) ErrorCode

func (e *CommentDeletedException) ErrorCode() string

func (*CommentDeletedException) ErrorFault

func (e *CommentDeletedException) ErrorFault() smithy.ErrorFault

func (*CommentDeletedException) ErrorMessage

func (e *CommentDeletedException) ErrorMessage() string

type CommentDoesNotExistException

type CommentDoesNotExistException struct {
	Message *string
}

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

func (*CommentDoesNotExistException) Error

func (*CommentDoesNotExistException) ErrorCode

func (e *CommentDoesNotExistException) ErrorCode() string

func (*CommentDoesNotExistException) ErrorFault

func (*CommentDoesNotExistException) ErrorMessage

func (e *CommentDoesNotExistException) ErrorMessage() string

type CommentIdRequiredException

type CommentIdRequiredException struct {
	Message *string
}

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

func (*CommentIdRequiredException) Error

func (*CommentIdRequiredException) ErrorCode

func (e *CommentIdRequiredException) ErrorCode() string

func (*CommentIdRequiredException) ErrorFault

func (*CommentIdRequiredException) ErrorMessage

func (e *CommentIdRequiredException) ErrorMessage() string

type CommentNotCreatedByCallerException

type CommentNotCreatedByCallerException struct {
	Message *string
}

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

func (*CommentNotCreatedByCallerException) Error

func (*CommentNotCreatedByCallerException) ErrorCode

func (*CommentNotCreatedByCallerException) ErrorFault

func (*CommentNotCreatedByCallerException) ErrorMessage

func (e *CommentNotCreatedByCallerException) ErrorMessage() string

type CommentsForComparedCommit

type CommentsForComparedCommit struct {

	// The full blob ID of the commit used to establish the after of the comparison.
	AfterBlobId *string

	// The full commit ID of the commit used to establish the after of the comparison.
	AfterCommitId *string

	// The full blob ID of the commit used to establish the before of the comparison.
	BeforeBlobId *string

	// The full commit ID of the commit used to establish the before of the comparison.
	BeforeCommitId *string

	// An array of comment objects. Each comment object contains information about a
	// comment on the comparison between commits.
	Comments []Comment

	// Location information about the comment on the comparison, including the file
	// name, line number, and whether the version of the file where the comment was
	// made is BEFORE or AFTER.
	Location *Location

	// The name of the repository that contains the compared commits.
	RepositoryName *string
}

Returns information about comments on the comparison between two commits.

type CommentsForPullRequest

type CommentsForPullRequest struct {

	// The full blob ID of the file on which you want to comment on the source commit.
	AfterBlobId *string

	// The full commit ID of the commit that was the tip of the source branch at the
	// time the comment was made.
	AfterCommitId *string

	// The full blob ID of the file on which you want to comment on the destination
	// commit.
	BeforeBlobId *string

	// The full commit ID of the commit that was the tip of the destination branch when
	// the pull request was created. This commit is superceded by the after commit in
	// the source branch when and if you merge the source branch into the destination
	// branch.
	BeforeCommitId *string

	// An array of comment objects. Each comment object contains information about a
	// comment on the pull request.
	Comments []Comment

	// Location information about the comment on the pull request, including the file
	// name, line number, and whether the version of the file where the comment was
	// made is BEFORE (destination branch) or AFTER (source branch).
	Location *Location

	// The system-generated ID of the pull request.
	PullRequestId *string

	// The name of the repository that contains the pull request.
	RepositoryName *string
}

Returns information about comments on a pull request.

type Commit

type Commit struct {

	// Any other data associated with the specified commit.
	AdditionalData *string

	// Information about the author of the specified commit. Information includes the
	// date in timestamp format with GMT offset, the name of the author, and the email
	// address for the author, as configured in Git.
	Author *UserInfo

	// The full SHA ID of the specified commit.
	CommitId *string

	// Information about the person who committed the specified commit, also known as
	// the committer. Information includes the date in timestamp format with GMT
	// offset, the name of the committer, and the email address for the committer, as
	// configured in Git. For more information about the difference between an author
	// and a committer in Git, see Viewing the Commit History
	// (http://git-scm.com/book/ch2-3.html) in Pro Git by Scott Chacon and Ben Straub.
	Committer *UserInfo

	// The commit message associated with the specified commit.
	Message *string

	// A list of parent commits for the specified commit. Each parent commit ID is the
	// full commit ID.
	Parents []string

	// Tree information for the specified commit.
	TreeId *string
}

Returns information about a specific commit.

type CommitDoesNotExistException

type CommitDoesNotExistException struct {
	Message *string
}

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

func (*CommitDoesNotExistException) Error

func (*CommitDoesNotExistException) ErrorCode

func (e *CommitDoesNotExistException) ErrorCode() string

func (*CommitDoesNotExistException) ErrorFault

func (*CommitDoesNotExistException) ErrorMessage

func (e *CommitDoesNotExistException) ErrorMessage() string

type CommitIdDoesNotExistException

type CommitIdDoesNotExistException struct {
	Message *string
}

The specified commit ID does not exist.

func (*CommitIdDoesNotExistException) Error

func (*CommitIdDoesNotExistException) ErrorCode

func (e *CommitIdDoesNotExistException) ErrorCode() string

func (*CommitIdDoesNotExistException) ErrorFault

func (*CommitIdDoesNotExistException) ErrorMessage

func (e *CommitIdDoesNotExistException) ErrorMessage() string

type CommitIdRequiredException

type CommitIdRequiredException struct {
	Message *string
}

A commit ID was not specified.

func (*CommitIdRequiredException) Error

func (e *CommitIdRequiredException) Error() string

func (*CommitIdRequiredException) ErrorCode

func (e *CommitIdRequiredException) ErrorCode() string

func (*CommitIdRequiredException) ErrorFault

func (*CommitIdRequiredException) ErrorMessage

func (e *CommitIdRequiredException) ErrorMessage() string

type CommitIdsLimitExceededException

type CommitIdsLimitExceededException struct {
	Message *string
}

The maximum number of allowed commit IDs in a batch request is 100. Verify that your batch requests contains no more than 100 commit IDs, and then try again.

func (*CommitIdsLimitExceededException) Error

func (*CommitIdsLimitExceededException) ErrorCode

func (e *CommitIdsLimitExceededException) ErrorCode() string

func (*CommitIdsLimitExceededException) ErrorFault

func (*CommitIdsLimitExceededException) ErrorMessage

func (e *CommitIdsLimitExceededException) ErrorMessage() string

type CommitIdsListRequiredException

type CommitIdsListRequiredException struct {
	Message *string
}

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

func (*CommitIdsListRequiredException) Error

func (*CommitIdsListRequiredException) ErrorCode

func (e *CommitIdsListRequiredException) ErrorCode() string

func (*CommitIdsListRequiredException) ErrorFault

func (*CommitIdsListRequiredException) ErrorMessage

func (e *CommitIdsListRequiredException) ErrorMessage() string

type CommitMessageLengthExceededException

type CommitMessageLengthExceededException struct {
	Message *string
}

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

func (*CommitMessageLengthExceededException) Error

func (*CommitMessageLengthExceededException) ErrorCode

func (*CommitMessageLengthExceededException) ErrorFault

func (*CommitMessageLengthExceededException) ErrorMessage

func (e *CommitMessageLengthExceededException) ErrorMessage() string

type CommitRequiredException

type CommitRequiredException struct {
	Message *string
}

A commit was not specified.

func (*CommitRequiredException) Error

func (e *CommitRequiredException) Error() string

func (*CommitRequiredException) ErrorCode

func (e *CommitRequiredException) ErrorCode() string

func (*CommitRequiredException) ErrorFault

func (e *CommitRequiredException) ErrorFault() smithy.ErrorFault

func (*CommitRequiredException) ErrorMessage

func (e *CommitRequiredException) ErrorMessage() string

type ConcurrentReferenceUpdateException

type ConcurrentReferenceUpdateException struct {
	Message *string
}

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

func (*ConcurrentReferenceUpdateException) Error

func (*ConcurrentReferenceUpdateException) ErrorCode

func (*ConcurrentReferenceUpdateException) ErrorFault

func (*ConcurrentReferenceUpdateException) ErrorMessage

func (e *ConcurrentReferenceUpdateException) ErrorMessage() string

type Conflict

type Conflict struct {

	// Metadata about a conflict in a merge operation.
	ConflictMetadata *ConflictMetadata

	// A list of hunks that contain the differences between files or lines causing the
	// conflict.
	MergeHunks []MergeHunk
}

Information about conflicts in a merge operation.

type ConflictDetailLevelTypeEnum

type ConflictDetailLevelTypeEnum string
const (
	ConflictDetailLevelTypeEnumFileLevel ConflictDetailLevelTypeEnum = "FILE_LEVEL"
	ConflictDetailLevelTypeEnumLineLevel ConflictDetailLevelTypeEnum = "LINE_LEVEL"
)

Enum values for ConflictDetailLevelTypeEnum

func (ConflictDetailLevelTypeEnum) Values added in v0.29.0

Values returns all known values for ConflictDetailLevelTypeEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ConflictMetadata

type ConflictMetadata struct {

	// A boolean value indicating whether there are conflicts in the content of a file.
	ContentConflict bool

	// A boolean value indicating whether there are conflicts in the file mode of a
	// file.
	FileModeConflict bool

	// The file modes of the file in the source, destination, and base of the merge.
	FileModes *FileModes

	// The path of the file that contains conflicts.
	FilePath *string

	// The file sizes of the file in the source, destination, and base of the merge.
	FileSizes *FileSizes

	// A boolean value (true or false) indicating whether the file is binary or textual
	// in the source, destination, and base of the merge.
	IsBinaryFile *IsBinaryFile

	// Whether an add, modify, or delete operation caused the conflict between the
	// source and destination of the merge.
	MergeOperations *MergeOperations

	// The number of conflicts, including both hunk conflicts and metadata conflicts.
	NumberOfConflicts int32

	// A boolean value (true or false) indicating whether there are conflicts between
	// the branches in the object type of a file, folder, or submodule.
	ObjectTypeConflict bool

	// Information about any object type conflicts in a merge operation.
	ObjectTypes *ObjectTypes
}

Information about the metadata for a conflict in a merge operation.

type ConflictResolution

type ConflictResolution struct {

	// Files to be deleted as part of the merge conflict resolution.
	DeleteFiles []DeleteFileEntry

	// Files to have content replaced as part of the merge conflict resolution.
	ReplaceContents []ReplaceContentEntry

	// File modes that are set as part of the merge conflict resolution.
	SetFileModes []SetFileModeEntry
}

If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

type ConflictResolutionStrategyTypeEnum

type ConflictResolutionStrategyTypeEnum string
const (
	ConflictResolutionStrategyTypeEnumNone              ConflictResolutionStrategyTypeEnum = "NONE"
	ConflictResolutionStrategyTypeEnumAcceptSource      ConflictResolutionStrategyTypeEnum = "ACCEPT_SOURCE"
	ConflictResolutionStrategyTypeEnumAcceptDestination ConflictResolutionStrategyTypeEnum = "ACCEPT_DESTINATION"
	ConflictResolutionStrategyTypeEnumAutomerge         ConflictResolutionStrategyTypeEnum = "AUTOMERGE"
)

Enum values for ConflictResolutionStrategyTypeEnum

func (ConflictResolutionStrategyTypeEnum) Values added in v0.29.0

Values returns all known values for ConflictResolutionStrategyTypeEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type DefaultBranchCannotBeDeletedException

type DefaultBranchCannotBeDeletedException struct {
	Message *string
}

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

func (*DefaultBranchCannotBeDeletedException) Error

func (*DefaultBranchCannotBeDeletedException) ErrorCode

func (*DefaultBranchCannotBeDeletedException) ErrorFault

func (*DefaultBranchCannotBeDeletedException) ErrorMessage

type DeleteFileEntry

type DeleteFileEntry struct {

	// The full path of the file to be deleted, including the name of the file.
	//
	// This member is required.
	FilePath *string
}

A file that is deleted as part of a commit.

type Difference

type Difference struct {

	// Information about an afterBlob data type object, including the ID, the file mode
	// permission code, and the path.
	AfterBlob *BlobMetadata

	// Information about a beforeBlob data type object, including the ID, the file mode
	// permission code, and the path.
	BeforeBlob *BlobMetadata

	// Whether the change type of the difference is an addition (A), deletion (D), or
	// modification (M).
	ChangeType ChangeTypeEnum
}

Returns information about a set of differences for a commit specifier.

type DirectoryNameConflictsWithFileNameException

type DirectoryNameConflictsWithFileNameException struct {
	Message *string
}

A file cannot be added to the repository because the specified path name has the same name as a file that already exists in this repository. Either provide a different name for the file, or specify a different path for the file.

func (*DirectoryNameConflictsWithFileNameException) Error

func (*DirectoryNameConflictsWithFileNameException) ErrorCode

func (*DirectoryNameConflictsWithFileNameException) ErrorFault

func (*DirectoryNameConflictsWithFileNameException) ErrorMessage

type EncryptionIntegrityChecksFailedException

type EncryptionIntegrityChecksFailedException struct {
	Message *string
}

An encryption integrity check failed.

func (*EncryptionIntegrityChecksFailedException) Error

func (*EncryptionIntegrityChecksFailedException) ErrorCode

func (*EncryptionIntegrityChecksFailedException) ErrorFault

func (*EncryptionIntegrityChecksFailedException) ErrorMessage

type EncryptionKeyAccessDeniedException

type EncryptionKeyAccessDeniedException struct {
	Message *string
}

An encryption key could not be accessed.

func (*EncryptionKeyAccessDeniedException) Error

func (*EncryptionKeyAccessDeniedException) ErrorCode

func (*EncryptionKeyAccessDeniedException) ErrorFault

func (*EncryptionKeyAccessDeniedException) ErrorMessage

func (e *EncryptionKeyAccessDeniedException) ErrorMessage() string

type EncryptionKeyDisabledException

type EncryptionKeyDisabledException struct {
	Message *string
}

The encryption key is disabled.

func (*EncryptionKeyDisabledException) Error

func (*EncryptionKeyDisabledException) ErrorCode

func (e *EncryptionKeyDisabledException) ErrorCode() string

func (*EncryptionKeyDisabledException) ErrorFault

func (*EncryptionKeyDisabledException) ErrorMessage

func (e *EncryptionKeyDisabledException) ErrorMessage() string

type EncryptionKeyNotFoundException

type EncryptionKeyNotFoundException struct {
	Message *string
}

No encryption key was found.

func (*EncryptionKeyNotFoundException) Error

func (*EncryptionKeyNotFoundException) ErrorCode

func (e *EncryptionKeyNotFoundException) ErrorCode() string

func (*EncryptionKeyNotFoundException) ErrorFault

func (*EncryptionKeyNotFoundException) ErrorMessage

func (e *EncryptionKeyNotFoundException) ErrorMessage() string

type EncryptionKeyUnavailableException

type EncryptionKeyUnavailableException struct {
	Message *string
}

The encryption key is not available.

func (*EncryptionKeyUnavailableException) Error

func (*EncryptionKeyUnavailableException) ErrorCode

func (*EncryptionKeyUnavailableException) ErrorFault

func (*EncryptionKeyUnavailableException) ErrorMessage

func (e *EncryptionKeyUnavailableException) ErrorMessage() string

type Evaluation

type Evaluation struct {

	// The names of the approval rules that have not had their conditions met.
	ApprovalRulesNotSatisfied []string

	// The names of the approval rules that have had their conditions met.
	ApprovalRulesSatisfied []string

	// Whether the state of the pull request is approved.
	Approved bool

	// Whether the approval rule requirements for the pull request have been overridden
	// and no longer need to be met.
	Overridden bool
}

Returns information about the approval rules applied to a pull request and whether conditions have been met.

type File

type File struct {

	// The fully qualified path to the file in the repository.
	AbsolutePath *string

	// The blob ID that contains the file information.
	BlobId *string

	// The extrapolated file mode permissions for the file. Valid values include
	// EXECUTABLE and NORMAL.
	FileMode FileModeTypeEnum

	// The relative path of the file from the folder where the query originated.
	RelativePath *string
}

Returns information about a file in a repository.

type FileContentAndSourceFileSpecifiedException

type FileContentAndSourceFileSpecifiedException struct {
	Message *string
}

The commit cannot be created because both a source file and file content have been specified for the same file. You cannot provide both. Either specify a source file or provide the file content directly.

func (*FileContentAndSourceFileSpecifiedException) Error

func (*FileContentAndSourceFileSpecifiedException) ErrorCode

func (*FileContentAndSourceFileSpecifiedException) ErrorFault

func (*FileContentAndSourceFileSpecifiedException) ErrorMessage

type FileContentRequiredException

type FileContentRequiredException struct {
	Message *string
}

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

func (*FileContentRequiredException) Error

func (*FileContentRequiredException) ErrorCode

func (e *FileContentRequiredException) ErrorCode() string

func (*FileContentRequiredException) ErrorFault

func (*FileContentRequiredException) ErrorMessage

func (e *FileContentRequiredException) ErrorMessage() string

type FileContentSizeLimitExceededException

type FileContentSizeLimitExceededException struct {
	Message *string
}

The file cannot be added because it is too large. The maximum file size is 6 MB, and the combined file content change size is 7 MB. Consider making these changes using a Git client.

func (*FileContentSizeLimitExceededException) Error

func (*FileContentSizeLimitExceededException) ErrorCode

func (*FileContentSizeLimitExceededException) ErrorFault

func (*FileContentSizeLimitExceededException) ErrorMessage

type FileDoesNotExistException

type FileDoesNotExistException struct {
	Message *string
}

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

func (*FileDoesNotExistException) Error

func (e *FileDoesNotExistException) Error() string

func (*FileDoesNotExistException) ErrorCode

func (e *FileDoesNotExistException) ErrorCode() string

func (*FileDoesNotExistException) ErrorFault

func (*FileDoesNotExistException) ErrorMessage

func (e *FileDoesNotExistException) ErrorMessage() string

type FileEntryRequiredException

type FileEntryRequiredException struct {
	Message *string
}

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

func (*FileEntryRequiredException) Error

func (*FileEntryRequiredException) ErrorCode

func (e *FileEntryRequiredException) ErrorCode() string

func (*FileEntryRequiredException) ErrorFault

func (*FileEntryRequiredException) ErrorMessage

func (e *FileEntryRequiredException) ErrorMessage() string

type FileMetadata

type FileMetadata struct {

	// The full path to the file to be added or updated, including the name of the
	// file.
	AbsolutePath *string

	// The blob ID that contains the file information.
	BlobId *string

	// The extrapolated file mode permissions for the file. Valid values include
	// EXECUTABLE and NORMAL.
	FileMode FileModeTypeEnum
}

A file to be added, updated, or deleted as part of a commit.

type FileModeRequiredException

type FileModeRequiredException struct {
	Message *string
}

The commit cannot be created because no file mode has been specified. A file mode is required to update mode permissions for a file.

func (*FileModeRequiredException) Error

func (e *FileModeRequiredException) Error() string

func (*FileModeRequiredException) ErrorCode

func (e *FileModeRequiredException) ErrorCode() string

func (*FileModeRequiredException) ErrorFault

func (*FileModeRequiredException) ErrorMessage

func (e *FileModeRequiredException) ErrorMessage() string

type FileModeTypeEnum

type FileModeTypeEnum string
const (
	FileModeTypeEnumExecutable FileModeTypeEnum = "EXECUTABLE"
	FileModeTypeEnumNormal     FileModeTypeEnum = "NORMAL"
	FileModeTypeEnumSymlink    FileModeTypeEnum = "SYMLINK"
)

Enum values for FileModeTypeEnum

func (FileModeTypeEnum) Values added in v0.29.0

Values returns all known values for FileModeTypeEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type FileModes

type FileModes struct {

	// The file mode of a file in the base of a merge or pull request.
	Base FileModeTypeEnum

	// The file mode of a file in the destination of a merge or pull request.
	Destination FileModeTypeEnum

	// The file mode of a file in the source of a merge or pull request.
	Source FileModeTypeEnum
}

Information about file modes in a merge or pull request.

type FileNameConflictsWithDirectoryNameException

type FileNameConflictsWithDirectoryNameException struct {
	Message *string
}

A file cannot be added to the repository because the specified file name has the same name as a directory in this repository. Either provide another name for the file, or add the file in a directory that does not match the file name.

func (*FileNameConflictsWithDirectoryNameException) Error

func (*FileNameConflictsWithDirectoryNameException) ErrorCode

func (*FileNameConflictsWithDirectoryNameException) ErrorFault

func (*FileNameConflictsWithDirectoryNameException) ErrorMessage

type FilePathConflictsWithSubmodulePathException

type FilePathConflictsWithSubmodulePathException struct {
	Message *string
}

The commit cannot be created because a specified file path points to a submodule. Verify that the destination files have valid file paths that do not point to a submodule.

func (*FilePathConflictsWithSubmodulePathException) Error

func (*FilePathConflictsWithSubmodulePathException) ErrorCode

func (*FilePathConflictsWithSubmodulePathException) ErrorFault

func (*FilePathConflictsWithSubmodulePathException) ErrorMessage

type FileSizes

type FileSizes struct {

	// The size of a file in the base of a merge or pull request.
	Base int64

	// The size of a file in the destination of a merge or pull request.
	Destination int64

	// The size of a file in the source of a merge or pull request.
	Source int64
}

Information about the size of files in a merge or pull request.

type FileTooLargeException

type FileTooLargeException struct {
	Message *string
}

The specified file exceeds the file size limit for AWS CodeCommit. For more information about limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

func (*FileTooLargeException) Error

func (e *FileTooLargeException) Error() string

func (*FileTooLargeException) ErrorCode

func (e *FileTooLargeException) ErrorCode() string

func (*FileTooLargeException) ErrorFault

func (e *FileTooLargeException) ErrorFault() smithy.ErrorFault

func (*FileTooLargeException) ErrorMessage

func (e *FileTooLargeException) ErrorMessage() string

type Folder

type Folder struct {

	// The fully qualified path of the folder in the repository.
	AbsolutePath *string

	// The relative path of the specified folder from the folder where the query
	// originated.
	RelativePath *string

	// The full SHA-1 pointer of the tree information for the commit that contains the
	// folder.
	TreeId *string
}

Returns information about a folder in a repository.

type FolderContentSizeLimitExceededException

type FolderContentSizeLimitExceededException struct {
	Message *string
}

The commit cannot be created because at least one of the overall changes in the commit results in a folder whose contents exceed the limit of 6 MB. Either reduce the number and size of your changes, or split the changes across multiple folders.

func (*FolderContentSizeLimitExceededException) Error

func (*FolderContentSizeLimitExceededException) ErrorCode

func (*FolderContentSizeLimitExceededException) ErrorFault

func (*FolderContentSizeLimitExceededException) ErrorMessage

type FolderDoesNotExistException

type FolderDoesNotExistException struct {
	Message *string
}

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

func (*FolderDoesNotExistException) Error

func (*FolderDoesNotExistException) ErrorCode

func (e *FolderDoesNotExistException) ErrorCode() string

func (*FolderDoesNotExistException) ErrorFault

func (*FolderDoesNotExistException) ErrorMessage

func (e *FolderDoesNotExistException) ErrorMessage() string

type IdempotencyParameterMismatchException

type IdempotencyParameterMismatchException struct {
	Message *string
}

The client request token is not valid. Either the token is not in a valid format, or the token has been used in a previous request and cannot be reused.

func (*IdempotencyParameterMismatchException) Error

func (*IdempotencyParameterMismatchException) ErrorCode

func (*IdempotencyParameterMismatchException) ErrorFault

func (*IdempotencyParameterMismatchException) ErrorMessage

type InvalidActorArnException

type InvalidActorArnException struct {
	Message *string
}

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

func (*InvalidActorArnException) Error

func (e *InvalidActorArnException) Error() string

func (*InvalidActorArnException) ErrorCode

func (e *InvalidActorArnException) ErrorCode() string

func (*InvalidActorArnException) ErrorFault

func (e *InvalidActorArnException) ErrorFault() smithy.ErrorFault

func (*InvalidActorArnException) ErrorMessage

func (e *InvalidActorArnException) ErrorMessage() string

type InvalidApprovalRuleContentException

type InvalidApprovalRuleContentException struct {
	Message *string
}

The content for the approval rule is not valid.

func (*InvalidApprovalRuleContentException) Error

func (*InvalidApprovalRuleContentException) ErrorCode

func (*InvalidApprovalRuleContentException) ErrorFault

func (*InvalidApprovalRuleContentException) ErrorMessage

func (e *InvalidApprovalRuleContentException) ErrorMessage() string

type InvalidApprovalRuleNameException

type InvalidApprovalRuleNameException struct {
	Message *string
}

The name for the approval rule is not valid.

func (*InvalidApprovalRuleNameException) Error

func (*InvalidApprovalRuleNameException) ErrorCode

func (*InvalidApprovalRuleNameException) ErrorFault

func (*InvalidApprovalRuleNameException) ErrorMessage

func (e *InvalidApprovalRuleNameException) ErrorMessage() string

type InvalidApprovalRuleTemplateContentException

type InvalidApprovalRuleTemplateContentException struct {
	Message *string
}

The content of the approval rule template is not valid.

func (*InvalidApprovalRuleTemplateContentException) Error

func (*InvalidApprovalRuleTemplateContentException) ErrorCode

func (*InvalidApprovalRuleTemplateContentException) ErrorFault

func (*InvalidApprovalRuleTemplateContentException) ErrorMessage

type InvalidApprovalRuleTemplateDescriptionException

type InvalidApprovalRuleTemplateDescriptionException struct {
	Message *string
}

The description for the approval rule template is not valid because it exceeds the maximum characters allowed for a description. For more information about limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

func (*InvalidApprovalRuleTemplateDescriptionException) Error

func (*InvalidApprovalRuleTemplateDescriptionException) ErrorCode

func (*InvalidApprovalRuleTemplateDescriptionException) ErrorFault

func (*InvalidApprovalRuleTemplateDescriptionException) ErrorMessage

type InvalidApprovalRuleTemplateNameException

type InvalidApprovalRuleTemplateNameException struct {
	Message *string
}

The name of the approval rule template is not valid. Template names must be between 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).

func (*InvalidApprovalRuleTemplateNameException) Error

func (*InvalidApprovalRuleTemplateNameException) ErrorCode

func (*InvalidApprovalRuleTemplateNameException) ErrorFault

func (*InvalidApprovalRuleTemplateNameException) ErrorMessage

type InvalidApprovalStateException

type InvalidApprovalStateException struct {
	Message *string
}

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

func (*InvalidApprovalStateException) Error

func (*InvalidApprovalStateException) ErrorCode

func (e *InvalidApprovalStateException) ErrorCode() string

func (*InvalidApprovalStateException) ErrorFault

func (*InvalidApprovalStateException) ErrorMessage

func (e *InvalidApprovalStateException) ErrorMessage() string

type InvalidAuthorArnException

type InvalidAuthorArnException struct {
	Message *string
}

The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the author of the pull request, and then try again.

func (*InvalidAuthorArnException) Error

func (e *InvalidAuthorArnException) Error() string

func (*InvalidAuthorArnException) ErrorCode

func (e *InvalidAuthorArnException) ErrorCode() string

func (*InvalidAuthorArnException) ErrorFault

func (*InvalidAuthorArnException) ErrorMessage

func (e *InvalidAuthorArnException) ErrorMessage() string

type InvalidBlobIdException

type InvalidBlobIdException struct {
	Message *string
}

The specified blob is not valid.

func (*InvalidBlobIdException) Error

func (e *InvalidBlobIdException) Error() string

func (*InvalidBlobIdException) ErrorCode

func (e *InvalidBlobIdException) ErrorCode() string

func (*InvalidBlobIdException) ErrorFault

func (e *InvalidBlobIdException) ErrorFault() smithy.ErrorFault

func (*InvalidBlobIdException) ErrorMessage

func (e *InvalidBlobIdException) ErrorMessage() string

type InvalidBranchNameException

type InvalidBranchNameException struct {
	Message *string
}

The specified reference name is not valid.

func (*InvalidBranchNameException) Error

func (*InvalidBranchNameException) ErrorCode

func (e *InvalidBranchNameException) ErrorCode() string

func (*InvalidBranchNameException) ErrorFault

func (*InvalidBranchNameException) ErrorMessage

func (e *InvalidBranchNameException) ErrorMessage() string

type InvalidClientRequestTokenException

type InvalidClientRequestTokenException struct {
	Message *string
}

The client request token is not valid.

func (*InvalidClientRequestTokenException) Error

func (*InvalidClientRequestTokenException) ErrorCode

func (*InvalidClientRequestTokenException) ErrorFault

func (*InvalidClientRequestTokenException) ErrorMessage

func (e *InvalidClientRequestTokenException) ErrorMessage() string

type InvalidCommentIdException

type InvalidCommentIdException struct {
	Message *string
}

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

func (*InvalidCommentIdException) Error

func (e *InvalidCommentIdException) Error() string

func (*InvalidCommentIdException) ErrorCode

func (e *InvalidCommentIdException) ErrorCode() string

func (*InvalidCommentIdException) ErrorFault

func (*InvalidCommentIdException) ErrorMessage

func (e *InvalidCommentIdException) ErrorMessage() string

type InvalidCommitException

type InvalidCommitException struct {
	Message *string
}

The specified commit is not valid.

func (*InvalidCommitException) Error

func (e *InvalidCommitException) Error() string

func (*InvalidCommitException) ErrorCode

func (e *InvalidCommitException) ErrorCode() string

func (*InvalidCommitException) ErrorFault

func (e *InvalidCommitException) ErrorFault() smithy.ErrorFault

func (*InvalidCommitException) ErrorMessage

func (e *InvalidCommitException) ErrorMessage() string

type InvalidCommitIdException

type InvalidCommitIdException struct {
	Message *string
}

The specified commit ID is not valid.

func (*InvalidCommitIdException) Error

func (e *InvalidCommitIdException) Error() string

func (*InvalidCommitIdException) ErrorCode

func (e *InvalidCommitIdException) ErrorCode() string

func (*InvalidCommitIdException) ErrorFault

func (e *InvalidCommitIdException) ErrorFault() smithy.ErrorFault

func (*InvalidCommitIdException) ErrorMessage

func (e *InvalidCommitIdException) ErrorMessage() string

type InvalidConflictDetailLevelException

type InvalidConflictDetailLevelException struct {
	Message *string
}

The specified conflict detail level is not valid.

func (*InvalidConflictDetailLevelException) Error

func (*InvalidConflictDetailLevelException) ErrorCode

func (*InvalidConflictDetailLevelException) ErrorFault

func (*InvalidConflictDetailLevelException) ErrorMessage

func (e *InvalidConflictDetailLevelException) ErrorMessage() string

type InvalidConflictResolutionException

type InvalidConflictResolutionException struct {
	Message *string
}

The specified conflict resolution list is not valid.

func (*InvalidConflictResolutionException) Error

func (*InvalidConflictResolutionException) ErrorCode

func (*InvalidConflictResolutionException) ErrorFault

func (*InvalidConflictResolutionException) ErrorMessage

func (e *InvalidConflictResolutionException) ErrorMessage() string

type InvalidConflictResolutionStrategyException

type InvalidConflictResolutionStrategyException struct {
	Message *string
}

The specified conflict resolution strategy is not valid.

func (*InvalidConflictResolutionStrategyException) Error

func (*InvalidConflictResolutionStrategyException) ErrorCode

func (*InvalidConflictResolutionStrategyException) ErrorFault

func (*InvalidConflictResolutionStrategyException) ErrorMessage

type InvalidContinuationTokenException

type InvalidContinuationTokenException struct {
	Message *string
}

The specified continuation token is not valid.

func (*InvalidContinuationTokenException) Error

func (*InvalidContinuationTokenException) ErrorCode

func (*InvalidContinuationTokenException) ErrorFault

func (*InvalidContinuationTokenException) ErrorMessage

func (e *InvalidContinuationTokenException) ErrorMessage() string

type InvalidDeletionParameterException

type InvalidDeletionParameterException struct {
	Message *string
}

The specified deletion parameter is not valid.

func (*InvalidDeletionParameterException) Error

func (*InvalidDeletionParameterException) ErrorCode

func (*InvalidDeletionParameterException) ErrorFault

func (*InvalidDeletionParameterException) ErrorMessage

func (e *InvalidDeletionParameterException) ErrorMessage() string

type InvalidDescriptionException

type InvalidDescriptionException struct {
	Message *string
}

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

func (*InvalidDescriptionException) Error

func (*InvalidDescriptionException) ErrorCode

func (e *InvalidDescriptionException) ErrorCode() string

func (*InvalidDescriptionException) ErrorFault

func (*InvalidDescriptionException) ErrorMessage

func (e *InvalidDescriptionException) ErrorMessage() string

type InvalidDestinationCommitSpecifierException

type InvalidDestinationCommitSpecifierException struct {
	Message *string
}

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

func (*InvalidDestinationCommitSpecifierException) Error

func (*InvalidDestinationCommitSpecifierException) ErrorCode

func (*InvalidDestinationCommitSpecifierException) ErrorFault

func (*InvalidDestinationCommitSpecifierException) ErrorMessage

type InvalidEmailException

type InvalidEmailException struct {
	Message *string
}

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

func (*InvalidEmailException) Error

func (e *InvalidEmailException) Error() string

func (*InvalidEmailException) ErrorCode

func (e *InvalidEmailException) ErrorCode() string

func (*InvalidEmailException) ErrorFault

func (e *InvalidEmailException) ErrorFault() smithy.ErrorFault

func (*InvalidEmailException) ErrorMessage

func (e *InvalidEmailException) ErrorMessage() string

type InvalidFileLocationException

type InvalidFileLocationException struct {
	Message *string
}

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

func (*InvalidFileLocationException) Error

func (*InvalidFileLocationException) ErrorCode

func (e *InvalidFileLocationException) ErrorCode() string

func (*InvalidFileLocationException) ErrorFault

func (*InvalidFileLocationException) ErrorMessage

func (e *InvalidFileLocationException) ErrorMessage() string

type InvalidFileModeException

type InvalidFileModeException struct {
	Message *string
}

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

func (*InvalidFileModeException) Error

func (e *InvalidFileModeException) Error() string

func (*InvalidFileModeException) ErrorCode

func (e *InvalidFileModeException) ErrorCode() string

func (*InvalidFileModeException) ErrorFault

func (e *InvalidFileModeException) ErrorFault() smithy.ErrorFault

func (*InvalidFileModeException) ErrorMessage

func (e *InvalidFileModeException) ErrorMessage() string

type InvalidFilePositionException

type InvalidFilePositionException struct {
	Message *string
}

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

func (*InvalidFilePositionException) Error

func (*InvalidFilePositionException) ErrorCode

func (e *InvalidFilePositionException) ErrorCode() string

func (*InvalidFilePositionException) ErrorFault

func (*InvalidFilePositionException) ErrorMessage

func (e *InvalidFilePositionException) ErrorMessage() string

type InvalidMaxConflictFilesException

type InvalidMaxConflictFilesException struct {
	Message *string
}

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

func (*InvalidMaxConflictFilesException) Error

func (*InvalidMaxConflictFilesException) ErrorCode

func (*InvalidMaxConflictFilesException) ErrorFault

func (*InvalidMaxConflictFilesException) ErrorMessage

func (e *InvalidMaxConflictFilesException) ErrorMessage() string

type InvalidMaxMergeHunksException

type InvalidMaxMergeHunksException struct {
	Message *string
}

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

func (*InvalidMaxMergeHunksException) Error

func (*InvalidMaxMergeHunksException) ErrorCode

func (e *InvalidMaxMergeHunksException) ErrorCode() string

func (*InvalidMaxMergeHunksException) ErrorFault

func (*InvalidMaxMergeHunksException) ErrorMessage

func (e *InvalidMaxMergeHunksException) ErrorMessage() string

type InvalidMaxResultsException

type InvalidMaxResultsException struct {
	Message *string
}

The specified number of maximum results is not valid.

func (*InvalidMaxResultsException) Error

func (*InvalidMaxResultsException) ErrorCode

func (e *InvalidMaxResultsException) ErrorCode() string

func (*InvalidMaxResultsException) ErrorFault

func (*InvalidMaxResultsException) ErrorMessage

func (e *InvalidMaxResultsException) ErrorMessage() string

type InvalidMergeOptionException

type InvalidMergeOptionException struct {
	Message *string
}

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

func (*InvalidMergeOptionException) Error

func (*InvalidMergeOptionException) ErrorCode

func (e *InvalidMergeOptionException) ErrorCode() string

func (*InvalidMergeOptionException) ErrorFault

func (*InvalidMergeOptionException) ErrorMessage

func (e *InvalidMergeOptionException) ErrorMessage() string

type InvalidOrderException

type InvalidOrderException struct {
	Message *string
}

The specified sort order is not valid.

func (*InvalidOrderException) Error

func (e *InvalidOrderException) Error() string

func (*InvalidOrderException) ErrorCode

func (e *InvalidOrderException) ErrorCode() string

func (*InvalidOrderException) ErrorFault

func (e *InvalidOrderException) ErrorFault() smithy.ErrorFault

func (*InvalidOrderException) ErrorMessage

func (e *InvalidOrderException) ErrorMessage() string

type InvalidOverrideStatusException

type InvalidOverrideStatusException struct {
	Message *string
}

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

func (*InvalidOverrideStatusException) Error

func (*InvalidOverrideStatusException) ErrorCode

func (e *InvalidOverrideStatusException) ErrorCode() string

func (*InvalidOverrideStatusException) ErrorFault

func (*InvalidOverrideStatusException) ErrorMessage

func (e *InvalidOverrideStatusException) ErrorMessage() string

type InvalidParentCommitIdException

type InvalidParentCommitIdException struct {
	Message *string
}

The parent commit ID is not valid. The commit ID cannot be empty, and must match the head commit ID for the branch of the repository where you want to add or update a file.

func (*InvalidParentCommitIdException) Error

func (*InvalidParentCommitIdException) ErrorCode

func (e *InvalidParentCommitIdException) ErrorCode() string

func (*InvalidParentCommitIdException) ErrorFault

func (*InvalidParentCommitIdException) ErrorMessage

func (e *InvalidParentCommitIdException) ErrorMessage() string

type InvalidPathException

type InvalidPathException struct {
	Message *string
}

The specified path is not valid.

func (*InvalidPathException) Error

func (e *InvalidPathException) Error() string

func (*InvalidPathException) ErrorCode

func (e *InvalidPathException) ErrorCode() string

func (*InvalidPathException) ErrorFault

func (e *InvalidPathException) ErrorFault() smithy.ErrorFault

func (*InvalidPathException) ErrorMessage

func (e *InvalidPathException) ErrorMessage() string

type InvalidPullRequestEventTypeException

type InvalidPullRequestEventTypeException struct {
	Message *string
}

The pull request event type is not valid.

func (*InvalidPullRequestEventTypeException) Error

func (*InvalidPullRequestEventTypeException) ErrorCode

func (*InvalidPullRequestEventTypeException) ErrorFault

func (*InvalidPullRequestEventTypeException) ErrorMessage

func (e *InvalidPullRequestEventTypeException) ErrorMessage() string

type InvalidPullRequestIdException

type InvalidPullRequestIdException struct {
	Message *string
}

The pull request ID is not valid. Make sure that you have provided the full ID and that the pull request is in the specified repository, and then try again.

func (*InvalidPullRequestIdException) Error

func (*InvalidPullRequestIdException) ErrorCode

func (e *InvalidPullRequestIdException) ErrorCode() string

func (*InvalidPullRequestIdException) ErrorFault

func (*InvalidPullRequestIdException) ErrorMessage

func (e *InvalidPullRequestIdException) ErrorMessage() string

type InvalidPullRequestStatusException

type InvalidPullRequestStatusException struct {
	Message *string
}

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

func (*InvalidPullRequestStatusException) Error

func (*InvalidPullRequestStatusException) ErrorCode

func (*InvalidPullRequestStatusException) ErrorFault

func (*InvalidPullRequestStatusException) ErrorMessage

func (e *InvalidPullRequestStatusException) ErrorMessage() string

type InvalidPullRequestStatusUpdateException

type InvalidPullRequestStatusUpdateException struct {
	Message *string
}

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

func (*InvalidPullRequestStatusUpdateException) Error

func (*InvalidPullRequestStatusUpdateException) ErrorCode

func (*InvalidPullRequestStatusUpdateException) ErrorFault

func (*InvalidPullRequestStatusUpdateException) ErrorMessage

type InvalidReactionUserArnException

type InvalidReactionUserArnException struct {
	Message *string
}

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

func (*InvalidReactionUserArnException) Error

func (*InvalidReactionUserArnException) ErrorCode

func (e *InvalidReactionUserArnException) ErrorCode() string

func (*InvalidReactionUserArnException) ErrorFault

func (*InvalidReactionUserArnException) ErrorMessage

func (e *InvalidReactionUserArnException) ErrorMessage() string

type InvalidReactionValueException

type InvalidReactionValueException struct {
	Message *string
}

The value of the reaction is not valid. For more information, see the AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html).

func (*InvalidReactionValueException) Error

func (*InvalidReactionValueException) ErrorCode

func (e *InvalidReactionValueException) ErrorCode() string

func (*InvalidReactionValueException) ErrorFault

func (*InvalidReactionValueException) ErrorMessage

func (e *InvalidReactionValueException) ErrorMessage() string

type InvalidReferenceNameException

type InvalidReferenceNameException struct {
	Message *string
}

The specified reference name format is not valid. Reference names must conform to the Git references format (for example, refs/heads/master). For more information, see Git Internals - Git References (https://git-scm.com/book/en/v2/Git-Internals-Git-References) or consult your Git documentation.

func (*InvalidReferenceNameException) Error

func (*InvalidReferenceNameException) ErrorCode

func (e *InvalidReferenceNameException) ErrorCode() string

func (*InvalidReferenceNameException) ErrorFault

func (*InvalidReferenceNameException) ErrorMessage

func (e *InvalidReferenceNameException) ErrorMessage() string

type InvalidRelativeFileVersionEnumException

type InvalidRelativeFileVersionEnumException struct {
	Message *string
}

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

func (*InvalidRelativeFileVersionEnumException) Error

func (*InvalidRelativeFileVersionEnumException) ErrorCode

func (*InvalidRelativeFileVersionEnumException) ErrorFault

func (*InvalidRelativeFileVersionEnumException) ErrorMessage

type InvalidReplacementContentException

type InvalidReplacementContentException struct {
	Message *string
}

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

func (*InvalidReplacementContentException) Error

func (*InvalidReplacementContentException) ErrorCode

func (*InvalidReplacementContentException) ErrorFault

func (*InvalidReplacementContentException) ErrorMessage

func (e *InvalidReplacementContentException) ErrorMessage() string

type InvalidReplacementTypeException

type InvalidReplacementTypeException struct {
	Message *string
}

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

func (*InvalidReplacementTypeException) Error

func (*InvalidReplacementTypeException) ErrorCode

func (e *InvalidReplacementTypeException) ErrorCode() string

func (*InvalidReplacementTypeException) ErrorFault

func (*InvalidReplacementTypeException) ErrorMessage

func (e *InvalidReplacementTypeException) ErrorMessage() string

type InvalidRepositoryDescriptionException

type InvalidRepositoryDescriptionException struct {
	Message *string
}

The specified repository description is not valid.

func (*InvalidRepositoryDescriptionException) Error

func (*InvalidRepositoryDescriptionException) ErrorCode

func (*InvalidRepositoryDescriptionException) ErrorFault

func (*InvalidRepositoryDescriptionException) ErrorMessage

type InvalidRepositoryNameException

type InvalidRepositoryNameException struct {
	Message *string
}

A specified repository name is not valid. This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

func (*InvalidRepositoryNameException) Error

func (*InvalidRepositoryNameException) ErrorCode

func (e *InvalidRepositoryNameException) ErrorCode() string

func (*InvalidRepositoryNameException) ErrorFault

func (*InvalidRepositoryNameException) ErrorMessage

func (e *InvalidRepositoryNameException) ErrorMessage() string

type InvalidRepositoryTriggerBranchNameException

type InvalidRepositoryTriggerBranchNameException struct {
	Message *string
}

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

func (*InvalidRepositoryTriggerBranchNameException) Error

func (*InvalidRepositoryTriggerBranchNameException) ErrorCode

func (*InvalidRepositoryTriggerBranchNameException) ErrorFault

func (*InvalidRepositoryTriggerBranchNameException) ErrorMessage

type InvalidRepositoryTriggerCustomDataException

type InvalidRepositoryTriggerCustomDataException struct {
	Message *string
}

The custom data provided for the trigger is not valid.

func (*InvalidRepositoryTriggerCustomDataException) Error

func (*InvalidRepositoryTriggerCustomDataException) ErrorCode

func (*InvalidRepositoryTriggerCustomDataException) ErrorFault

func (*InvalidRepositoryTriggerCustomDataException) ErrorMessage

type InvalidRepositoryTriggerDestinationArnException

type InvalidRepositoryTriggerDestinationArnException struct {
	Message *string
}

The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.

func (*InvalidRepositoryTriggerDestinationArnException) Error

func (*InvalidRepositoryTriggerDestinationArnException) ErrorCode

func (*InvalidRepositoryTriggerDestinationArnException) ErrorFault

func (*InvalidRepositoryTriggerDestinationArnException) ErrorMessage

type InvalidRepositoryTriggerEventsException

type InvalidRepositoryTriggerEventsException struct {
	Message *string
}

One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events.

func (*InvalidRepositoryTriggerEventsException) Error

func (*InvalidRepositoryTriggerEventsException) ErrorCode

func (*InvalidRepositoryTriggerEventsException) ErrorFault

func (*InvalidRepositoryTriggerEventsException) ErrorMessage

type InvalidRepositoryTriggerNameException

type InvalidRepositoryTriggerNameException struct {
	Message *string
}

The name of the trigger is not valid.

func (*InvalidRepositoryTriggerNameException) Error

func (*InvalidRepositoryTriggerNameException) ErrorCode

func (*InvalidRepositoryTriggerNameException) ErrorFault

func (*InvalidRepositoryTriggerNameException) ErrorMessage

type InvalidRepositoryTriggerRegionException

type InvalidRepositoryTriggerRegionException struct {
	Message *string
}

The AWS Region for the trigger target does not match the AWS Region for the repository. Triggers must be created in the same Region as the target for the trigger.

func (*InvalidRepositoryTriggerRegionException) Error

func (*InvalidRepositoryTriggerRegionException) ErrorCode

func (*InvalidRepositoryTriggerRegionException) ErrorFault

func (*InvalidRepositoryTriggerRegionException) ErrorMessage

type InvalidResourceArnException

type InvalidResourceArnException struct {
	Message *string
}

The value for the resource ARN is not valid. For more information about resources in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) in the AWS CodeCommit User Guide.

func (*InvalidResourceArnException) Error

func (*InvalidResourceArnException) ErrorCode

func (e *InvalidResourceArnException) ErrorCode() string

func (*InvalidResourceArnException) ErrorFault

func (*InvalidResourceArnException) ErrorMessage

func (e *InvalidResourceArnException) ErrorMessage() string

type InvalidRevisionIdException

type InvalidRevisionIdException struct {
	Message *string
}

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

func (*InvalidRevisionIdException) Error

func (*InvalidRevisionIdException) ErrorCode

func (e *InvalidRevisionIdException) ErrorCode() string

func (*InvalidRevisionIdException) ErrorFault

func (*InvalidRevisionIdException) ErrorMessage

func (e *InvalidRevisionIdException) ErrorMessage() string

type InvalidRuleContentSha256Exception

type InvalidRuleContentSha256Exception struct {
	Message *string
}

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

func (*InvalidRuleContentSha256Exception) Error

func (*InvalidRuleContentSha256Exception) ErrorCode

func (*InvalidRuleContentSha256Exception) ErrorFault

func (*InvalidRuleContentSha256Exception) ErrorMessage

func (e *InvalidRuleContentSha256Exception) ErrorMessage() string

type InvalidSortByException

type InvalidSortByException struct {
	Message *string
}

The specified sort by value is not valid.

func (*InvalidSortByException) Error

func (e *InvalidSortByException) Error() string

func (*InvalidSortByException) ErrorCode

func (e *InvalidSortByException) ErrorCode() string

func (*InvalidSortByException) ErrorFault

func (e *InvalidSortByException) ErrorFault() smithy.ErrorFault

func (*InvalidSortByException) ErrorMessage

func (e *InvalidSortByException) ErrorMessage() string

type InvalidSourceCommitSpecifierException

type InvalidSourceCommitSpecifierException struct {
	Message *string
}

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

func (*InvalidSourceCommitSpecifierException) Error

func (*InvalidSourceCommitSpecifierException) ErrorCode

func (*InvalidSourceCommitSpecifierException) ErrorFault

func (*InvalidSourceCommitSpecifierException) ErrorMessage

type InvalidSystemTagUsageException

type InvalidSystemTagUsageException struct {
	Message *string
}

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

func (*InvalidSystemTagUsageException) Error

func (*InvalidSystemTagUsageException) ErrorCode

func (e *InvalidSystemTagUsageException) ErrorCode() string

func (*InvalidSystemTagUsageException) ErrorFault

func (*InvalidSystemTagUsageException) ErrorMessage

func (e *InvalidSystemTagUsageException) ErrorMessage() string

type InvalidTagKeysListException

type InvalidTagKeysListException struct {
	Message *string
}

The list of tags is not valid.

func (*InvalidTagKeysListException) Error

func (*InvalidTagKeysListException) ErrorCode

func (e *InvalidTagKeysListException) ErrorCode() string

func (*InvalidTagKeysListException) ErrorFault

func (*InvalidTagKeysListException) ErrorMessage

func (e *InvalidTagKeysListException) ErrorMessage() string

type InvalidTagsMapException

type InvalidTagsMapException struct {
	Message *string
}

The map of tags is not valid.

func (*InvalidTagsMapException) Error

func (e *InvalidTagsMapException) Error() string

func (*InvalidTagsMapException) ErrorCode

func (e *InvalidTagsMapException) ErrorCode() string

func (*InvalidTagsMapException) ErrorFault

func (e *InvalidTagsMapException) ErrorFault() smithy.ErrorFault

func (*InvalidTagsMapException) ErrorMessage

func (e *InvalidTagsMapException) ErrorMessage() string

type InvalidTargetBranchException

type InvalidTargetBranchException struct {
	Message *string
}

The specified target branch is not valid.

func (*InvalidTargetBranchException) Error

func (*InvalidTargetBranchException) ErrorCode

func (e *InvalidTargetBranchException) ErrorCode() string

func (*InvalidTargetBranchException) ErrorFault

func (*InvalidTargetBranchException) ErrorMessage

func (e *InvalidTargetBranchException) ErrorMessage() string

type InvalidTargetException

type InvalidTargetException struct {
	Message *string
}

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

func (*InvalidTargetException) Error

func (e *InvalidTargetException) Error() string

func (*InvalidTargetException) ErrorCode

func (e *InvalidTargetException) ErrorCode() string

func (*InvalidTargetException) ErrorFault

func (e *InvalidTargetException) ErrorFault() smithy.ErrorFault

func (*InvalidTargetException) ErrorMessage

func (e *InvalidTargetException) ErrorMessage() string

type InvalidTargetsException

type InvalidTargetsException struct {
	Message *string
}

The targets for the pull request is not valid or not in a valid format. Targets are a list of target objects. Each target object must contain the full values for the repository name, source branch, and destination branch for a pull request.

func (*InvalidTargetsException) Error

func (e *InvalidTargetsException) Error() string

func (*InvalidTargetsException) ErrorCode

func (e *InvalidTargetsException) ErrorCode() string

func (*InvalidTargetsException) ErrorFault

func (e *InvalidTargetsException) ErrorFault() smithy.ErrorFault

func (*InvalidTargetsException) ErrorMessage

func (e *InvalidTargetsException) ErrorMessage() string

type InvalidTitleException

type InvalidTitleException struct {
	Message *string
}

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

func (*InvalidTitleException) Error

func (e *InvalidTitleException) Error() string

func (*InvalidTitleException) ErrorCode

func (e *InvalidTitleException) ErrorCode() string

func (*InvalidTitleException) ErrorFault

func (e *InvalidTitleException) ErrorFault() smithy.ErrorFault

func (*InvalidTitleException) ErrorMessage

func (e *InvalidTitleException) ErrorMessage() string

type IsBinaryFile

type IsBinaryFile struct {

	// The binary or non-binary status of a file in the base of a merge or pull
	// request.
	Base *bool

	// The binary or non-binary status of a file in the destination of a merge or pull
	// request.
	Destination *bool

	// The binary or non-binary status of file in the source of a merge or pull
	// request.
	Source *bool
}

Information about whether a file is binary or textual in a merge or pull request operation.

type Location

type Location struct {

	// The name of the file being compared, including its extension and subdirectory,
	// if any.
	FilePath *string

	// The position of a change in a compared file, in line number format.
	FilePosition *int64

	// In a comparison of commits or a pull request, whether the change is in the
	// before or after of that comparison.
	RelativeFileVersion RelativeFileVersionEnum
}

Returns information about the location of a change or comment in the comparison between two commits or a pull request.

type ManualMergeRequiredException

type ManualMergeRequiredException struct {
	Message *string
}

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

func (*ManualMergeRequiredException) Error

func (*ManualMergeRequiredException) ErrorCode

func (e *ManualMergeRequiredException) ErrorCode() string

func (*ManualMergeRequiredException) ErrorFault

func (*ManualMergeRequiredException) ErrorMessage

func (e *ManualMergeRequiredException) ErrorMessage() string

type MaximumBranchesExceededException

type MaximumBranchesExceededException struct {
	Message *string
}

The number of branches for the trigger was exceeded.

func (*MaximumBranchesExceededException) Error

func (*MaximumBranchesExceededException) ErrorCode

func (*MaximumBranchesExceededException) ErrorFault

func (*MaximumBranchesExceededException) ErrorMessage

func (e *MaximumBranchesExceededException) ErrorMessage() string

type MaximumConflictResolutionEntriesExceededException

type MaximumConflictResolutionEntriesExceededException struct {
	Message *string
}

The number of allowed conflict resolution entries was exceeded.

func (*MaximumConflictResolutionEntriesExceededException) Error

func (*MaximumConflictResolutionEntriesExceededException) ErrorCode

func (*MaximumConflictResolutionEntriesExceededException) ErrorFault

func (*MaximumConflictResolutionEntriesExceededException) ErrorMessage

type MaximumFileContentToLoadExceededException

type MaximumFileContentToLoadExceededException struct {
	Message *string
}

The number of files to load exceeds the allowed limit.

func (*MaximumFileContentToLoadExceededException) Error

func (*MaximumFileContentToLoadExceededException) ErrorCode

func (*MaximumFileContentToLoadExceededException) ErrorFault

func (*MaximumFileContentToLoadExceededException) ErrorMessage

type MaximumFileEntriesExceededException

type MaximumFileEntriesExceededException struct {
	Message *string
}

The number of specified files to change as part of this commit exceeds the maximum number of files that can be changed in a single commit. Consider using a Git client for these changes.

func (*MaximumFileEntriesExceededException) Error

func (*MaximumFileEntriesExceededException) ErrorCode

func (*MaximumFileEntriesExceededException) ErrorFault

func (*MaximumFileEntriesExceededException) ErrorMessage

func (e *MaximumFileEntriesExceededException) ErrorMessage() string

type MaximumItemsToCompareExceededException

type MaximumItemsToCompareExceededException struct {
	Message *string
}

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

func (*MaximumItemsToCompareExceededException) Error

func (*MaximumItemsToCompareExceededException) ErrorCode

func (*MaximumItemsToCompareExceededException) ErrorFault

func (*MaximumItemsToCompareExceededException) ErrorMessage

type MaximumNumberOfApprovalsExceededException

type MaximumNumberOfApprovalsExceededException struct {
	Message *string
}

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

func (*MaximumNumberOfApprovalsExceededException) Error

func (*MaximumNumberOfApprovalsExceededException) ErrorCode

func (*MaximumNumberOfApprovalsExceededException) ErrorFault

func (*MaximumNumberOfApprovalsExceededException) ErrorMessage

type MaximumOpenPullRequestsExceededException

type MaximumOpenPullRequestsExceededException struct {
	Message *string
}

You cannot create the pull request because the repository has too many open pull requests. The maximum number of open pull requests for a repository is 1,000. Close one or more open pull requests, and then try again.

func (*MaximumOpenPullRequestsExceededException) Error

func (*MaximumOpenPullRequestsExceededException) ErrorCode

func (*MaximumOpenPullRequestsExceededException) ErrorFault

func (*MaximumOpenPullRequestsExceededException) ErrorMessage

type MaximumRepositoryNamesExceededException

type MaximumRepositoryNamesExceededException struct {
	Message *string
}

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

func (*MaximumRepositoryNamesExceededException) Error

func (*MaximumRepositoryNamesExceededException) ErrorCode

func (*MaximumRepositoryNamesExceededException) ErrorFault

func (*MaximumRepositoryNamesExceededException) ErrorMessage

type MaximumRepositoryTriggersExceededException

type MaximumRepositoryTriggersExceededException struct {
	Message *string
}

The number of triggers allowed for the repository was exceeded.

func (*MaximumRepositoryTriggersExceededException) Error

func (*MaximumRepositoryTriggersExceededException) ErrorCode

func (*MaximumRepositoryTriggersExceededException) ErrorFault

func (*MaximumRepositoryTriggersExceededException) ErrorMessage

type MaximumRuleTemplatesAssociatedWithRepositoryException

type MaximumRuleTemplatesAssociatedWithRepositoryException struct {
	Message *string
}

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

func (*MaximumRuleTemplatesAssociatedWithRepositoryException) Error

func (*MaximumRuleTemplatesAssociatedWithRepositoryException) ErrorCode

func (*MaximumRuleTemplatesAssociatedWithRepositoryException) ErrorFault

func (*MaximumRuleTemplatesAssociatedWithRepositoryException) ErrorMessage

type MergeHunk

type MergeHunk struct {

	// Information about the merge hunk in the base of a merge or pull request.
	Base *MergeHunkDetail

	// Information about the merge hunk in the destination of a merge or pull request.
	Destination *MergeHunkDetail

	// A Boolean value indicating whether a combination of hunks contains a conflict.
	// Conflicts occur when the same file or the same lines in a file were modified in
	// both the source and destination of a merge or pull request. Valid values include
	// true, false, and null. True when the hunk represents a conflict and one or more
	// files contains a line conflict. File mode conflicts in a merge do not set this
	// to true.
	IsConflict bool

	// Information about the merge hunk in the source of a merge or pull request.
	Source *MergeHunkDetail
}

Information about merge hunks in a merge or pull request operation.

type MergeHunkDetail

type MergeHunkDetail struct {

	// The end position of the hunk in the merge result.
	EndLine *int32

	// The base-64 encoded content of the hunk merged region that might contain a
	// conflict.
	HunkContent *string

	// The start position of the hunk in the merge result.
	StartLine *int32
}

Information about the details of a merge hunk that contains a conflict in a merge or pull request operation.

type MergeMetadata

type MergeMetadata struct {

	// A Boolean value indicating whether the merge has been made.
	IsMerged bool

	// The commit ID for the merge commit, if any.
	MergeCommitId *string

	// The merge strategy used in the merge.
	MergeOption MergeOptionTypeEnum

	// The Amazon Resource Name (ARN) of the user who merged the branches.
	MergedBy *string
}

Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.

type MergeOperations

type MergeOperations struct {

	// The operation on a file in the destination of a merge or pull request.
	Destination ChangeTypeEnum

	// The operation (add, modify, or delete) on a file in the source of a merge or
	// pull request.
	Source ChangeTypeEnum
}

Information about the file operation conflicts in a merge operation.

type MergeOptionRequiredException

type MergeOptionRequiredException struct {
	Message *string
}

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

func (*MergeOptionRequiredException) Error

func (*MergeOptionRequiredException) ErrorCode

func (e *MergeOptionRequiredException) ErrorCode() string

func (*MergeOptionRequiredException) ErrorFault

func (*MergeOptionRequiredException) ErrorMessage

func (e *MergeOptionRequiredException) ErrorMessage() string

type MergeOptionTypeEnum

type MergeOptionTypeEnum string
const (
	MergeOptionTypeEnumFastForwardMerge MergeOptionTypeEnum = "FAST_FORWARD_MERGE"
	MergeOptionTypeEnumSquashMerge      MergeOptionTypeEnum = "SQUASH_MERGE"
	MergeOptionTypeEnumThreeWayMerge    MergeOptionTypeEnum = "THREE_WAY_MERGE"
)

Enum values for MergeOptionTypeEnum

func (MergeOptionTypeEnum) Values added in v0.29.0

Values returns all known values for MergeOptionTypeEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type MultipleConflictResolutionEntriesException

type MultipleConflictResolutionEntriesException struct {
	Message *string
}

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

func (*MultipleConflictResolutionEntriesException) Error

func (*MultipleConflictResolutionEntriesException) ErrorCode

func (*MultipleConflictResolutionEntriesException) ErrorFault

func (*MultipleConflictResolutionEntriesException) ErrorMessage

type MultipleRepositoriesInPullRequestException

type MultipleRepositoriesInPullRequestException struct {
	Message *string
}

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

func (*MultipleRepositoriesInPullRequestException) Error

func (*MultipleRepositoriesInPullRequestException) ErrorCode

func (*MultipleRepositoriesInPullRequestException) ErrorFault

func (*MultipleRepositoriesInPullRequestException) ErrorMessage

type NameLengthExceededException

type NameLengthExceededException struct {
	Message *string
}

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

func (*NameLengthExceededException) Error

func (*NameLengthExceededException) ErrorCode

func (e *NameLengthExceededException) ErrorCode() string

func (*NameLengthExceededException) ErrorFault

func (*NameLengthExceededException) ErrorMessage

func (e *NameLengthExceededException) ErrorMessage() string

type NoChangeException

type NoChangeException struct {
	Message *string
}

The commit cannot be created because no changes will be made to the repository as a result of this commit. A commit must contain at least one change.

func (*NoChangeException) Error

func (e *NoChangeException) Error() string

func (*NoChangeException) ErrorCode

func (e *NoChangeException) ErrorCode() string

func (*NoChangeException) ErrorFault

func (e *NoChangeException) ErrorFault() smithy.ErrorFault

func (*NoChangeException) ErrorMessage

func (e *NoChangeException) ErrorMessage() string

type NumberOfRuleTemplatesExceededException

type NumberOfRuleTemplatesExceededException struct {
	Message *string
}

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

func (*NumberOfRuleTemplatesExceededException) Error

func (*NumberOfRuleTemplatesExceededException) ErrorCode

func (*NumberOfRuleTemplatesExceededException) ErrorFault

func (*NumberOfRuleTemplatesExceededException) ErrorMessage

type NumberOfRulesExceededException

type NumberOfRulesExceededException struct {
	Message *string
}

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

func (*NumberOfRulesExceededException) Error

func (*NumberOfRulesExceededException) ErrorCode

func (e *NumberOfRulesExceededException) ErrorCode() string

func (*NumberOfRulesExceededException) ErrorFault

func (*NumberOfRulesExceededException) ErrorMessage

func (e *NumberOfRulesExceededException) ErrorMessage() string

type ObjectTypeEnum

type ObjectTypeEnum string
const (
	ObjectTypeEnumFile         ObjectTypeEnum = "FILE"
	ObjectTypeEnumDirectory    ObjectTypeEnum = "DIRECTORY"
	ObjectTypeEnumGitLink      ObjectTypeEnum = "GIT_LINK"
	ObjectTypeEnumSymbolicLink ObjectTypeEnum = "SYMBOLIC_LINK"
)

Enum values for ObjectTypeEnum

func (ObjectTypeEnum) Values added in v0.29.0

func (ObjectTypeEnum) Values() []ObjectTypeEnum

Values returns all known values for ObjectTypeEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ObjectTypes

type ObjectTypes struct {

	// The type of the object in the base commit of the merge.
	Base ObjectTypeEnum

	// The type of the object in the destination branch.
	Destination ObjectTypeEnum

	// The type of the object in the source branch.
	Source ObjectTypeEnum
}

Information about the type of an object in a merge operation.

type OrderEnum

type OrderEnum string
const (
	OrderEnumAscending  OrderEnum = "ascending"
	OrderEnumDescending OrderEnum = "descending"
)

Enum values for OrderEnum

func (OrderEnum) Values added in v0.29.0

func (OrderEnum) Values() []OrderEnum

Values returns all known values for OrderEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type OriginApprovalRuleTemplate

type OriginApprovalRuleTemplate struct {

	// The ID of the template that created the approval rule.
	ApprovalRuleTemplateId *string

	// The name of the template that created the approval rule.
	ApprovalRuleTemplateName *string
}

Returns information about the template that created the approval rule for a pull request.

type OverrideAlreadySetException

type OverrideAlreadySetException struct {
	Message *string
}

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

func (*OverrideAlreadySetException) Error

func (*OverrideAlreadySetException) ErrorCode

func (e *OverrideAlreadySetException) ErrorCode() string

func (*OverrideAlreadySetException) ErrorFault

func (*OverrideAlreadySetException) ErrorMessage

func (e *OverrideAlreadySetException) ErrorMessage() string

type OverrideStatus

type OverrideStatus string
const (
	OverrideStatusOverride OverrideStatus = "OVERRIDE"
	OverrideStatusRevoke   OverrideStatus = "REVOKE"
)

Enum values for OverrideStatus

func (OverrideStatus) Values added in v0.29.0

func (OverrideStatus) Values() []OverrideStatus

Values returns all known values for OverrideStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type OverrideStatusRequiredException

type OverrideStatusRequiredException struct {
	Message *string
}

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

func (*OverrideStatusRequiredException) Error

func (*OverrideStatusRequiredException) ErrorCode

func (e *OverrideStatusRequiredException) ErrorCode() string

func (*OverrideStatusRequiredException) ErrorFault

func (*OverrideStatusRequiredException) ErrorMessage

func (e *OverrideStatusRequiredException) ErrorMessage() string

type ParentCommitDoesNotExistException

type ParentCommitDoesNotExistException struct {
	Message *string
}

The parent commit ID is not valid because it does not exist. The specified parent commit ID does not exist in the specified branch of the repository.

func (*ParentCommitDoesNotExistException) Error

func (*ParentCommitDoesNotExistException) ErrorCode

func (*ParentCommitDoesNotExistException) ErrorFault

func (*ParentCommitDoesNotExistException) ErrorMessage

func (e *ParentCommitDoesNotExistException) ErrorMessage() string

type ParentCommitIdOutdatedException

type ParentCommitIdOutdatedException struct {
	Message *string
}

The file could not be added because the provided parent commit ID is not the current tip of the specified branch. To view the full commit ID of the current head of the branch, use GetBranch.

func (*ParentCommitIdOutdatedException) Error

func (*ParentCommitIdOutdatedException) ErrorCode

func (e *ParentCommitIdOutdatedException) ErrorCode() string

func (*ParentCommitIdOutdatedException) ErrorFault

func (*ParentCommitIdOutdatedException) ErrorMessage

func (e *ParentCommitIdOutdatedException) ErrorMessage() string

type ParentCommitIdRequiredException

type ParentCommitIdRequiredException struct {
	Message *string
}

A parent commit ID is required. To view the full commit ID of a branch in a repository, use GetBranch or a Git command (for example, git pull or git log).

func (*ParentCommitIdRequiredException) Error

func (*ParentCommitIdRequiredException) ErrorCode

func (e *ParentCommitIdRequiredException) ErrorCode() string

func (*ParentCommitIdRequiredException) ErrorFault

func (*ParentCommitIdRequiredException) ErrorMessage

func (e *ParentCommitIdRequiredException) ErrorMessage() string

type PathDoesNotExistException

type PathDoesNotExistException struct {
	Message *string
}

The specified path does not exist.

func (*PathDoesNotExistException) Error

func (e *PathDoesNotExistException) Error() string

func (*PathDoesNotExistException) ErrorCode

func (e *PathDoesNotExistException) ErrorCode() string

func (*PathDoesNotExistException) ErrorFault

func (*PathDoesNotExistException) ErrorMessage

func (e *PathDoesNotExistException) ErrorMessage() string

type PathRequiredException

type PathRequiredException struct {
	Message *string
}

The folderPath for a location cannot be null.

func (*PathRequiredException) Error

func (e *PathRequiredException) Error() string

func (*PathRequiredException) ErrorCode

func (e *PathRequiredException) ErrorCode() string

func (*PathRequiredException) ErrorFault

func (e *PathRequiredException) ErrorFault() smithy.ErrorFault

func (*PathRequiredException) ErrorMessage

func (e *PathRequiredException) ErrorMessage() string

type PullRequest

type PullRequest struct {

	// The approval rules applied to the pull request.
	ApprovalRules []ApprovalRule

	// The Amazon Resource Name (ARN) of the user who created the pull request.
	AuthorArn *string

	// A unique, client-generated idempotency token that, when provided in a request,
	// ensures the request cannot be repeated with a changed parameter. If a request is
	// received with the same parameters and a token is included, the request returns
	// information about the initial request that used that token.
	ClientRequestToken *string

	// The date and time the pull request was originally created, in timestamp format.
	CreationDate *time.Time

	// The user-defined description of the pull request. This description can be used
	// to clarify what should be reviewed and other details of the request.
	Description *string

	// The day and time of the last user or system activity on the pull request, in
	// timestamp format.
	LastActivityDate *time.Time

	// The system-generated ID of the pull request.
	PullRequestId *string

	// The status of the pull request. Pull request status can only change from OPEN to
	// CLOSED.
	PullRequestStatus PullRequestStatusEnum

	// The targets of the pull request, including the source branch and destination
	// branch for the pull request.
	PullRequestTargets []PullRequestTarget

	// The system-generated revision ID for the pull request.
	RevisionId *string

	// The user-defined title of the pull request. This title is displayed in the list
	// of pull requests to other repository users.
	Title *string
}

Returns information about a pull request.

type PullRequestAlreadyClosedException

type PullRequestAlreadyClosedException struct {
	Message *string
}

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

func (*PullRequestAlreadyClosedException) Error

func (*PullRequestAlreadyClosedException) ErrorCode

func (*PullRequestAlreadyClosedException) ErrorFault

func (*PullRequestAlreadyClosedException) ErrorMessage

func (e *PullRequestAlreadyClosedException) ErrorMessage() string

type PullRequestApprovalRulesNotSatisfiedException

type PullRequestApprovalRulesNotSatisfiedException struct {
	Message *string
}

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

func (*PullRequestApprovalRulesNotSatisfiedException) Error

func (*PullRequestApprovalRulesNotSatisfiedException) ErrorCode

func (*PullRequestApprovalRulesNotSatisfiedException) ErrorFault

func (*PullRequestApprovalRulesNotSatisfiedException) ErrorMessage

type PullRequestCannotBeApprovedByAuthorException

type PullRequestCannotBeApprovedByAuthorException struct {
	Message *string
}

The approval cannot be applied because the user approving the pull request matches the user who created the pull request. You cannot approve a pull request that you created.

func (*PullRequestCannotBeApprovedByAuthorException) Error

func (*PullRequestCannotBeApprovedByAuthorException) ErrorCode

func (*PullRequestCannotBeApprovedByAuthorException) ErrorFault

func (*PullRequestCannotBeApprovedByAuthorException) ErrorMessage

type PullRequestCreatedEventMetadata

type PullRequestCreatedEventMetadata struct {

	// The commit ID of the tip of the branch specified as the destination branch when
	// the pull request was created.
	DestinationCommitId *string

	// The commit ID of the most recent commit that the source branch and the
	// destination branch have in common.
	MergeBase *string

	// The name of the repository where the pull request was created.
	RepositoryName *string

	// The commit ID on the source branch used when the pull request was created.
	SourceCommitId *string
}

Metadata about the pull request that is used when comparing the pull request source with its destination.

type PullRequestDoesNotExistException

type PullRequestDoesNotExistException struct {
	Message *string
}

The pull request ID could not be found. Make sure that you have specified the correct repository name and pull request ID, and then try again.

func (*PullRequestDoesNotExistException) Error

func (*PullRequestDoesNotExistException) ErrorCode

func (*PullRequestDoesNotExistException) ErrorFault

func (*PullRequestDoesNotExistException) ErrorMessage

func (e *PullRequestDoesNotExistException) ErrorMessage() string

type PullRequestEvent

type PullRequestEvent struct {

	// The Amazon Resource Name (ARN) of the user whose actions resulted in the event.
	// Examples include updating the pull request with more commits or changing the
	// status of a pull request.
	ActorArn *string

	// Information about a pull request event.
	ApprovalRuleEventMetadata *ApprovalRuleEventMetadata

	// Information about an approval rule override event for a pull request.
	ApprovalRuleOverriddenEventMetadata *ApprovalRuleOverriddenEventMetadata

	// Information about an approval state change for a pull request.
	ApprovalStateChangedEventMetadata *ApprovalStateChangedEventMetadata

	// The day and time of the pull request event, in timestamp format.
	EventDate *time.Time

	// Information about the source and destination branches for the pull request.
	PullRequestCreatedEventMetadata *PullRequestCreatedEventMetadata

	// The type of the pull request event (for example, a status change event
	// (PULL_REQUEST_STATUS_CHANGED) or update event
	// (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).
	PullRequestEventType PullRequestEventType

	// The system-generated ID of the pull request.
	PullRequestId *string

	// Information about the change in mergability state for the pull request event.
	PullRequestMergedStateChangedEventMetadata *PullRequestMergedStateChangedEventMetadata

	// Information about the updated source branch for the pull request event.
	PullRequestSourceReferenceUpdatedEventMetadata *PullRequestSourceReferenceUpdatedEventMetadata

	// Information about the change in status for the pull request event.
	PullRequestStatusChangedEventMetadata *PullRequestStatusChangedEventMetadata
}

Returns information about a pull request event.

type PullRequestEventType

type PullRequestEventType string
const (
	PullRequestEventTypePullRequestCreated                PullRequestEventType = "PULL_REQUEST_CREATED"
	PullRequestEventTypePullRequestStatusChanged          PullRequestEventType = "PULL_REQUEST_STATUS_CHANGED"
	PullRequestEventTypePullRequestSourceReferenceUpdated PullRequestEventType = "PULL_REQUEST_SOURCE_REFERENCE_UPDATED"
	PullRequestEventTypePullRequestMergeStateChanged      PullRequestEventType = "PULL_REQUEST_MERGE_STATE_CHANGED"
	PullRequestEventTypePullRequestApprovalRuleCreated    PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_CREATED"
	PullRequestEventTypePullRequestApprovalRuleUpdated    PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_UPDATED"
	PullRequestEventTypePullRequestApprovalRuleDeleted    PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_DELETED"
	PullRequestEventTypePullRequestApprovalRuleOverridden PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN"
	PullRequestEventTypePullRequestApprovalStateChanged   PullRequestEventType = "PULL_REQUEST_APPROVAL_STATE_CHANGED"
)

Enum values for PullRequestEventType

func (PullRequestEventType) Values added in v0.29.0

Values returns all known values for PullRequestEventType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type PullRequestIdRequiredException

type PullRequestIdRequiredException struct {
	Message *string
}

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

func (*PullRequestIdRequiredException) Error

func (*PullRequestIdRequiredException) ErrorCode

func (e *PullRequestIdRequiredException) ErrorCode() string

func (*PullRequestIdRequiredException) ErrorFault

func (*PullRequestIdRequiredException) ErrorMessage

func (e *PullRequestIdRequiredException) ErrorMessage() string

type PullRequestMergedStateChangedEventMetadata

type PullRequestMergedStateChangedEventMetadata struct {

	// The name of the branch that the pull request is merged into.
	DestinationReference *string

	// Information about the merge state change event.
	MergeMetadata *MergeMetadata

	// The name of the repository where the pull request was created.
	RepositoryName *string
}

Returns information about the change in the merge state for a pull request event.

type PullRequestSourceReferenceUpdatedEventMetadata

type PullRequestSourceReferenceUpdatedEventMetadata struct {

	// The full commit ID of the commit in the source branch that was the tip of the
	// branch at the time the pull request was updated.
	AfterCommitId *string

	// The full commit ID of the commit in the destination branch that was the tip of
	// the branch at the time the pull request was updated.
	BeforeCommitId *string

	// The commit ID of the most recent commit that the source branch and the
	// destination branch have in common.
	MergeBase *string

	// The name of the repository where the pull request was updated.
	RepositoryName *string
}

Information about an update to the source branch of a pull request.

type PullRequestStatusChangedEventMetadata

type PullRequestStatusChangedEventMetadata struct {

	// The changed status of the pull request.
	PullRequestStatus PullRequestStatusEnum
}

Information about a change to the status of a pull request.

type PullRequestStatusEnum

type PullRequestStatusEnum string
const (
	PullRequestStatusEnumOpen   PullRequestStatusEnum = "OPEN"
	PullRequestStatusEnumClosed PullRequestStatusEnum = "CLOSED"
)

Enum values for PullRequestStatusEnum

func (PullRequestStatusEnum) Values added in v0.29.0

Values returns all known values for PullRequestStatusEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type PullRequestStatusRequiredException

type PullRequestStatusRequiredException struct {
	Message *string
}

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

func (*PullRequestStatusRequiredException) Error

func (*PullRequestStatusRequiredException) ErrorCode

func (*PullRequestStatusRequiredException) ErrorFault

func (*PullRequestStatusRequiredException) ErrorMessage

func (e *PullRequestStatusRequiredException) ErrorMessage() string

type PullRequestTarget

type PullRequestTarget struct {

	// The full commit ID that is the tip of the destination branch. This is the commit
	// where the pull request was or will be merged.
	DestinationCommit *string

	// The branch of the repository where the pull request changes are merged. Also
	// known as the destination branch.
	DestinationReference *string

	// The commit ID of the most recent commit that the source branch and the
	// destination branch have in common.
	MergeBase *string

	// Returns metadata about the state of the merge, including whether the merge has
	// been made.
	MergeMetadata *MergeMetadata

	// The name of the repository that contains the pull request source and destination
	// branches.
	RepositoryName *string

	// The full commit ID of the tip of the source branch used to create the pull
	// request. If the pull request branch is updated by a push while the pull request
	// is open, the commit ID changes to reflect the new tip of the branch.
	SourceCommit *string

	// The branch of the repository that contains the changes for the pull request.
	// Also known as the source branch.
	SourceReference *string
}

Returns information about a pull request target.

type PutFileEntry

type PutFileEntry struct {

	// The full path to the file in the repository, including the name of the file.
	//
	// This member is required.
	FilePath *string

	// The content of the file, if a source file is not specified.
	FileContent []byte

	// The extrapolated file mode permissions for the file. Valid values include
	// EXECUTABLE and NORMAL.
	FileMode FileModeTypeEnum

	// The name and full path of the file that contains the changes you want to make as
	// part of the commit, if you are not providing the file content directly.
	SourceFile *SourceFileSpecifier
}

Information about a file added or updated as part of a commit.

type PutFileEntryConflictException

type PutFileEntryConflictException struct {
	Message *string
}

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

func (*PutFileEntryConflictException) Error

func (*PutFileEntryConflictException) ErrorCode

func (e *PutFileEntryConflictException) ErrorCode() string

func (*PutFileEntryConflictException) ErrorFault

func (*PutFileEntryConflictException) ErrorMessage

func (e *PutFileEntryConflictException) ErrorMessage() string

type ReactionForComment

type ReactionForComment struct {

	// The reaction for a specified comment.
	Reaction *ReactionValueFormats

	// The Amazon Resource Names (ARNs) of users who have provided reactions to the
	// comment.
	ReactionUsers []string

	// A numerical count of users who reacted with the specified emoji whose identities
	// have been subsequently deleted from IAM. While these IAM users or roles no
	// longer exist, the reactions might still appear in total reaction counts.
	ReactionsFromDeletedUsersCount *int32
}

Information about the reaction values provided by users on a comment.

type ReactionLimitExceededException

type ReactionLimitExceededException struct {
	Message *string
}

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

func (*ReactionLimitExceededException) Error

func (*ReactionLimitExceededException) ErrorCode

func (e *ReactionLimitExceededException) ErrorCode() string

func (*ReactionLimitExceededException) ErrorFault

func (*ReactionLimitExceededException) ErrorMessage

func (e *ReactionLimitExceededException) ErrorMessage() string

type ReactionValueFormats

type ReactionValueFormats struct {

	// The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted
	// slightly differently on different operating systems.
	Emoji *string

	// The emoji short code for the reaction. Short codes are interpreted slightly
	// differently on different operating systems.
	ShortCode *string

	// The Unicode codepoint for the reaction.
	Unicode *string
}

Information about the values for reactions to a comment. AWS CodeCommit supports a limited set of reactions.

type ReactionValueRequiredException

type ReactionValueRequiredException struct {
	Message *string
}

A reaction value is required.

func (*ReactionValueRequiredException) Error

func (*ReactionValueRequiredException) ErrorCode

func (e *ReactionValueRequiredException) ErrorCode() string

func (*ReactionValueRequiredException) ErrorFault

func (*ReactionValueRequiredException) ErrorMessage

func (e *ReactionValueRequiredException) ErrorMessage() string

type ReferenceDoesNotExistException

type ReferenceDoesNotExistException struct {
	Message *string
}

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

func (*ReferenceDoesNotExistException) Error

func (*ReferenceDoesNotExistException) ErrorCode

func (e *ReferenceDoesNotExistException) ErrorCode() string

func (*ReferenceDoesNotExistException) ErrorFault

func (*ReferenceDoesNotExistException) ErrorMessage

func (e *ReferenceDoesNotExistException) ErrorMessage() string

type ReferenceNameRequiredException

type ReferenceNameRequiredException struct {
	Message *string
}

A reference name is required, but none was provided.

func (*ReferenceNameRequiredException) Error

func (*ReferenceNameRequiredException) ErrorCode

func (e *ReferenceNameRequiredException) ErrorCode() string

func (*ReferenceNameRequiredException) ErrorFault

func (*ReferenceNameRequiredException) ErrorMessage

func (e *ReferenceNameRequiredException) ErrorMessage() string

type ReferenceTypeNotSupportedException

type ReferenceTypeNotSupportedException struct {
	Message *string
}

The specified reference is not a supported type.

func (*ReferenceTypeNotSupportedException) Error

func (*ReferenceTypeNotSupportedException) ErrorCode

func (*ReferenceTypeNotSupportedException) ErrorFault

func (*ReferenceTypeNotSupportedException) ErrorMessage

func (e *ReferenceTypeNotSupportedException) ErrorMessage() string

type RelativeFileVersionEnum

type RelativeFileVersionEnum string
const (
	RelativeFileVersionEnumBefore RelativeFileVersionEnum = "BEFORE"
	RelativeFileVersionEnumAfter  RelativeFileVersionEnum = "AFTER"
)

Enum values for RelativeFileVersionEnum

func (RelativeFileVersionEnum) Values added in v0.29.0

Values returns all known values for RelativeFileVersionEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ReplaceContentEntry

type ReplaceContentEntry struct {

	// The path of the conflicting file.
	//
	// This member is required.
	FilePath *string

	// The replacement type to use when determining how to resolve the conflict.
	//
	// This member is required.
	ReplacementType ReplacementTypeEnum

	// The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.
	Content []byte

	// The file mode to apply during conflict resoltion.
	FileMode FileModeTypeEnum
}

Information about a replacement content entry in the conflict of a merge or pull request operation.

type ReplacementContentRequiredException

type ReplacementContentRequiredException struct {
	Message *string
}

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

func (*ReplacementContentRequiredException) Error

func (*ReplacementContentRequiredException) ErrorCode

func (*ReplacementContentRequiredException) ErrorFault

func (*ReplacementContentRequiredException) ErrorMessage

func (e *ReplacementContentRequiredException) ErrorMessage() string

type ReplacementTypeEnum

type ReplacementTypeEnum string
const (
	ReplacementTypeEnumKeepBase        ReplacementTypeEnum = "KEEP_BASE"
	ReplacementTypeEnumKeepSource      ReplacementTypeEnum = "KEEP_SOURCE"
	ReplacementTypeEnumKeepDestination ReplacementTypeEnum = "KEEP_DESTINATION"
	ReplacementTypeEnumUseNewContent   ReplacementTypeEnum = "USE_NEW_CONTENT"
)

Enum values for ReplacementTypeEnum

func (ReplacementTypeEnum) Values added in v0.29.0

Values returns all known values for ReplacementTypeEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ReplacementTypeRequiredException

type ReplacementTypeRequiredException struct {
	Message *string
}

A replacement type is required.

func (*ReplacementTypeRequiredException) Error

func (*ReplacementTypeRequiredException) ErrorCode

func (*ReplacementTypeRequiredException) ErrorFault

func (*ReplacementTypeRequiredException) ErrorMessage

func (e *ReplacementTypeRequiredException) ErrorMessage() string

type RepositoryDoesNotExistException

type RepositoryDoesNotExistException struct {
	Message *string
}

The specified repository does not exist.

func (*RepositoryDoesNotExistException) Error

func (*RepositoryDoesNotExistException) ErrorCode

func (e *RepositoryDoesNotExistException) ErrorCode() string

func (*RepositoryDoesNotExistException) ErrorFault

func (*RepositoryDoesNotExistException) ErrorMessage

func (e *RepositoryDoesNotExistException) ErrorMessage() string

type RepositoryLimitExceededException

type RepositoryLimitExceededException struct {
	Message *string
}

A repository resource limit was exceeded.

func (*RepositoryLimitExceededException) Error

func (*RepositoryLimitExceededException) ErrorCode

func (*RepositoryLimitExceededException) ErrorFault

func (*RepositoryLimitExceededException) ErrorMessage

func (e *RepositoryLimitExceededException) ErrorMessage() string

type RepositoryMetadata

type RepositoryMetadata struct {

	// The ID of the AWS account associated with the repository.
	AccountId *string

	// The Amazon Resource Name (ARN) of the repository.
	Arn *string

	// The URL to use for cloning the repository over HTTPS.
	CloneUrlHttp *string

	// The URL to use for cloning the repository over SSH.
	CloneUrlSsh *string

	// The date and time the repository was created, in timestamp format.
	CreationDate *time.Time

	// The repository's default branch name.
	DefaultBranch *string

	// The date and time the repository was last modified, in timestamp format.
	LastModifiedDate *time.Time

	// A comment or description about the repository.
	RepositoryDescription *string

	// The ID of the repository.
	RepositoryId *string

	// The repository's name.
	RepositoryName *string
}

Information about a repository.

type RepositoryNameExistsException

type RepositoryNameExistsException struct {
	Message *string
}

The specified repository name already exists.

func (*RepositoryNameExistsException) Error

func (*RepositoryNameExistsException) ErrorCode

func (e *RepositoryNameExistsException) ErrorCode() string

func (*RepositoryNameExistsException) ErrorFault

func (*RepositoryNameExistsException) ErrorMessage

func (e *RepositoryNameExistsException) ErrorMessage() string

type RepositoryNameIdPair

type RepositoryNameIdPair struct {

	// The ID associated with the repository.
	RepositoryId *string

	// The name associated with the repository.
	RepositoryName *string
}

Information about a repository name and ID.

type RepositoryNameRequiredException

type RepositoryNameRequiredException struct {
	Message *string
}

A repository name is required, but was not specified.

func (*RepositoryNameRequiredException) Error

func (*RepositoryNameRequiredException) ErrorCode

func (e *RepositoryNameRequiredException) ErrorCode() string

func (*RepositoryNameRequiredException) ErrorFault

func (*RepositoryNameRequiredException) ErrorMessage

func (e *RepositoryNameRequiredException) ErrorMessage() string

type RepositoryNamesRequiredException

type RepositoryNamesRequiredException struct {
	Message *string
}

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

func (*RepositoryNamesRequiredException) Error

func (*RepositoryNamesRequiredException) ErrorCode

func (*RepositoryNamesRequiredException) ErrorFault

func (*RepositoryNamesRequiredException) ErrorMessage

func (e *RepositoryNamesRequiredException) ErrorMessage() string

type RepositoryNotAssociatedWithPullRequestException

type RepositoryNotAssociatedWithPullRequestException struct {
	Message *string
}

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

func (*RepositoryNotAssociatedWithPullRequestException) Error

func (*RepositoryNotAssociatedWithPullRequestException) ErrorCode

func (*RepositoryNotAssociatedWithPullRequestException) ErrorFault

func (*RepositoryNotAssociatedWithPullRequestException) ErrorMessage

type RepositoryTrigger

type RepositoryTrigger struct {

	// The ARN of the resource that is the target for a trigger (for example, the ARN
	// of a topic in Amazon SNS).
	//
	// This member is required.
	DestinationArn *string

	// The repository events that cause the trigger to run actions in another service,
	// such as sending a notification through Amazon SNS. The valid value "all" cannot
	// be used with any other values.
	//
	// This member is required.
	Events []RepositoryTriggerEventEnum

	// The name of the trigger.
	//
	// This member is required.
	Name *string

	// The branches to be included in the trigger configuration. If you specify an
	// empty array, the trigger applies to all branches. Although no content is
	// required in the array, you must include the array itself.
	Branches []string

	// Any custom data associated with the trigger to be included in the information
	// sent to the target of the trigger.
	CustomData *string
}

Information about a trigger for a repository.

type RepositoryTriggerBranchNameListRequiredException

type RepositoryTriggerBranchNameListRequiredException struct {
	Message *string
}

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

func (*RepositoryTriggerBranchNameListRequiredException) Error

func (*RepositoryTriggerBranchNameListRequiredException) ErrorCode

func (*RepositoryTriggerBranchNameListRequiredException) ErrorFault

func (*RepositoryTriggerBranchNameListRequiredException) ErrorMessage

type RepositoryTriggerDestinationArnRequiredException

type RepositoryTriggerDestinationArnRequiredException struct {
	Message *string
}

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

func (*RepositoryTriggerDestinationArnRequiredException) Error

func (*RepositoryTriggerDestinationArnRequiredException) ErrorCode

func (*RepositoryTriggerDestinationArnRequiredException) ErrorFault

func (*RepositoryTriggerDestinationArnRequiredException) ErrorMessage

type RepositoryTriggerEventEnum

type RepositoryTriggerEventEnum string
const (
	RepositoryTriggerEventEnumAll             RepositoryTriggerEventEnum = "all"
	RepositoryTriggerEventEnumUpdateReference RepositoryTriggerEventEnum = "updateReference"
	RepositoryTriggerEventEnumCreateReference RepositoryTriggerEventEnum = "createReference"
	RepositoryTriggerEventEnumDeleteReference RepositoryTriggerEventEnum = "deleteReference"
)

Enum values for RepositoryTriggerEventEnum

func (RepositoryTriggerEventEnum) Values added in v0.29.0

Values returns all known values for RepositoryTriggerEventEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type RepositoryTriggerEventsListRequiredException

type RepositoryTriggerEventsListRequiredException struct {
	Message *string
}

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

func (*RepositoryTriggerEventsListRequiredException) Error

func (*RepositoryTriggerEventsListRequiredException) ErrorCode

func (*RepositoryTriggerEventsListRequiredException) ErrorFault

func (*RepositoryTriggerEventsListRequiredException) ErrorMessage

type RepositoryTriggerExecutionFailure

type RepositoryTriggerExecutionFailure struct {

	// Message information about the trigger that did not run.
	FailureMessage *string

	// The name of the trigger that did not run.
	Trigger *string
}

A trigger failed to run.

type RepositoryTriggerNameRequiredException

type RepositoryTriggerNameRequiredException struct {
	Message *string
}

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

func (*RepositoryTriggerNameRequiredException) Error

func (*RepositoryTriggerNameRequiredException) ErrorCode

func (*RepositoryTriggerNameRequiredException) ErrorFault

func (*RepositoryTriggerNameRequiredException) ErrorMessage

type RepositoryTriggersListRequiredException

type RepositoryTriggersListRequiredException struct {
	Message *string
}

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

func (*RepositoryTriggersListRequiredException) Error

func (*RepositoryTriggersListRequiredException) ErrorCode

func (*RepositoryTriggersListRequiredException) ErrorFault

func (*RepositoryTriggersListRequiredException) ErrorMessage

type ResourceArnRequiredException

type ResourceArnRequiredException struct {
	Message *string
}

A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) in the AWS CodeCommit User Guide.

func (*ResourceArnRequiredException) Error

func (*ResourceArnRequiredException) ErrorCode

func (e *ResourceArnRequiredException) ErrorCode() string

func (*ResourceArnRequiredException) ErrorFault

func (*ResourceArnRequiredException) ErrorMessage

func (e *ResourceArnRequiredException) ErrorMessage() string

type RestrictedSourceFileException

type RestrictedSourceFileException struct {
	Message *string
}

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

func (*RestrictedSourceFileException) Error

func (*RestrictedSourceFileException) ErrorCode

func (e *RestrictedSourceFileException) ErrorCode() string

func (*RestrictedSourceFileException) ErrorFault

func (*RestrictedSourceFileException) ErrorMessage

func (e *RestrictedSourceFileException) ErrorMessage() string

type RevisionIdRequiredException

type RevisionIdRequiredException struct {
	Message *string
}

A revision ID is required, but was not provided.

func (*RevisionIdRequiredException) Error

func (*RevisionIdRequiredException) ErrorCode

func (e *RevisionIdRequiredException) ErrorCode() string

func (*RevisionIdRequiredException) ErrorFault

func (*RevisionIdRequiredException) ErrorMessage

func (e *RevisionIdRequiredException) ErrorMessage() string

type RevisionNotCurrentException

type RevisionNotCurrentException struct {
	Message *string
}

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

func (*RevisionNotCurrentException) Error

func (*RevisionNotCurrentException) ErrorCode

func (e *RevisionNotCurrentException) ErrorCode() string

func (*RevisionNotCurrentException) ErrorFault

func (*RevisionNotCurrentException) ErrorMessage

func (e *RevisionNotCurrentException) ErrorMessage() string

type SameFileContentException

type SameFileContentException struct {
	Message *string
}

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

func (*SameFileContentException) Error

func (e *SameFileContentException) Error() string

func (*SameFileContentException) ErrorCode

func (e *SameFileContentException) ErrorCode() string

func (*SameFileContentException) ErrorFault

func (e *SameFileContentException) ErrorFault() smithy.ErrorFault

func (*SameFileContentException) ErrorMessage

func (e *SameFileContentException) ErrorMessage() string

type SamePathRequestException

type SamePathRequestException struct {
	Message *string
}

The commit cannot be created because one or more changes in this commit duplicate actions in the same file path. For example, you cannot make the same delete request to the same file in the same file path twice, or make a delete request and a move request to the same file as part of the same commit.

func (*SamePathRequestException) Error

func (e *SamePathRequestException) Error() string

func (*SamePathRequestException) ErrorCode

func (e *SamePathRequestException) ErrorCode() string

func (*SamePathRequestException) ErrorFault

func (e *SamePathRequestException) ErrorFault() smithy.ErrorFault

func (*SamePathRequestException) ErrorMessage

func (e *SamePathRequestException) ErrorMessage() string

type SetFileModeEntry

type SetFileModeEntry struct {

	// The file mode for the file.
	//
	// This member is required.
	FileMode FileModeTypeEnum

	// The full path to the file, including the name of the file.
	//
	// This member is required.
	FilePath *string
}

Information about the file mode changes.

type SortByEnum

type SortByEnum string
const (
	SortByEnumRepositoryName SortByEnum = "repositoryName"
	SortByEnumModifiedDate   SortByEnum = "lastModifiedDate"
)

Enum values for SortByEnum

func (SortByEnum) Values added in v0.29.0

func (SortByEnum) Values() []SortByEnum

Values returns all known values for SortByEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type SourceAndDestinationAreSameException

type SourceAndDestinationAreSameException struct {
	Message *string
}

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

func (*SourceAndDestinationAreSameException) Error

func (*SourceAndDestinationAreSameException) ErrorCode

func (*SourceAndDestinationAreSameException) ErrorFault

func (*SourceAndDestinationAreSameException) ErrorMessage

func (e *SourceAndDestinationAreSameException) ErrorMessage() string

type SourceFileOrContentRequiredException

type SourceFileOrContentRequiredException struct {
	Message *string
}

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

func (*SourceFileOrContentRequiredException) Error

func (*SourceFileOrContentRequiredException) ErrorCode

func (*SourceFileOrContentRequiredException) ErrorFault

func (*SourceFileOrContentRequiredException) ErrorMessage

func (e *SourceFileOrContentRequiredException) ErrorMessage() string

type SourceFileSpecifier

type SourceFileSpecifier struct {

	// The full path to the file, including the name of the file.
	//
	// This member is required.
	FilePath *string

	// Whether to remove the source file from the parent commit.
	IsMove bool
}

Information about a source file that is part of changes made in a commit.

type SubModule

type SubModule struct {

	// The fully qualified path to the folder that contains the reference to the
	// submodule.
	AbsolutePath *string

	// The commit ID that contains the reference to the submodule.
	CommitId *string

	// The relative path of the submodule from the folder where the query originated.
	RelativePath *string
}

Returns information about a submodule reference in a repository folder.

type SymbolicLink struct {

	// The fully qualified path to the folder that contains the symbolic link.
	AbsolutePath *string

	// The blob ID that contains the information about the symbolic link.
	BlobId *string

	// The file mode permissions of the blob that cotains information about the
	// symbolic link.
	FileMode FileModeTypeEnum

	// The relative path of the symbolic link from the folder where the query
	// originated.
	RelativePath *string
}

Returns information about a symbolic link in a repository folder.

type TagKeysListRequiredException

type TagKeysListRequiredException struct {
	Message *string
}

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

func (*TagKeysListRequiredException) Error

func (*TagKeysListRequiredException) ErrorCode

func (e *TagKeysListRequiredException) ErrorCode() string

func (*TagKeysListRequiredException) ErrorFault

func (*TagKeysListRequiredException) ErrorMessage

func (e *TagKeysListRequiredException) ErrorMessage() string

type TagPolicyException

type TagPolicyException struct {
	Message *string
}

The tag policy is not valid.

func (*TagPolicyException) Error

func (e *TagPolicyException) Error() string

func (*TagPolicyException) ErrorCode

func (e *TagPolicyException) ErrorCode() string

func (*TagPolicyException) ErrorFault

func (e *TagPolicyException) ErrorFault() smithy.ErrorFault

func (*TagPolicyException) ErrorMessage

func (e *TagPolicyException) ErrorMessage() string

type TagsMapRequiredException

type TagsMapRequiredException struct {
	Message *string
}

A map of tags is required.

func (*TagsMapRequiredException) Error

func (e *TagsMapRequiredException) Error() string

func (*TagsMapRequiredException) ErrorCode

func (e *TagsMapRequiredException) ErrorCode() string

func (*TagsMapRequiredException) ErrorFault

func (e *TagsMapRequiredException) ErrorFault() smithy.ErrorFault

func (*TagsMapRequiredException) ErrorMessage

func (e *TagsMapRequiredException) ErrorMessage() string

type Target

type Target struct {

	// The name of the repository that contains the pull request.
	//
	// This member is required.
	RepositoryName *string

	// The branch of the repository that contains the changes for the pull request.
	// Also known as the source branch.
	//
	// This member is required.
	SourceReference *string

	// The branch of the repository where the pull request changes are merged. Also
	// known as the destination branch.
	DestinationReference *string
}

Returns information about a target for a pull request.

type TargetRequiredException

type TargetRequiredException struct {
	Message *string
}

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

func (*TargetRequiredException) Error

func (e *TargetRequiredException) Error() string

func (*TargetRequiredException) ErrorCode

func (e *TargetRequiredException) ErrorCode() string

func (*TargetRequiredException) ErrorFault

func (e *TargetRequiredException) ErrorFault() smithy.ErrorFault

func (*TargetRequiredException) ErrorMessage

func (e *TargetRequiredException) ErrorMessage() string

type TargetsRequiredException

type TargetsRequiredException struct {
	Message *string
}

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

func (*TargetsRequiredException) Error

func (e *TargetsRequiredException) Error() string

func (*TargetsRequiredException) ErrorCode

func (e *TargetsRequiredException) ErrorCode() string

func (*TargetsRequiredException) ErrorFault

func (e *TargetsRequiredException) ErrorFault() smithy.ErrorFault

func (*TargetsRequiredException) ErrorMessage

func (e *TargetsRequiredException) ErrorMessage() string

type TipOfSourceReferenceIsDifferentException

type TipOfSourceReferenceIsDifferentException struct {
	Message *string
}

The tip of the source branch in the destination repository does not match the tip of the source branch specified in your request. The pull request might have been updated. Make sure that you have the latest changes.

func (*TipOfSourceReferenceIsDifferentException) Error

func (*TipOfSourceReferenceIsDifferentException) ErrorCode

func (*TipOfSourceReferenceIsDifferentException) ErrorFault

func (*TipOfSourceReferenceIsDifferentException) ErrorMessage

type TipsDivergenceExceededException

type TipsDivergenceExceededException struct {
	Message *string
}

The divergence between the tips of the provided commit specifiers is too great to determine whether there might be any merge conflicts. Locally compare the specifiers using git diff or a diff tool.

func (*TipsDivergenceExceededException) Error

func (*TipsDivergenceExceededException) ErrorCode

func (e *TipsDivergenceExceededException) ErrorCode() string

func (*TipsDivergenceExceededException) ErrorFault

func (*TipsDivergenceExceededException) ErrorMessage

func (e *TipsDivergenceExceededException) ErrorMessage() string

type TitleRequiredException

type TitleRequiredException struct {
	Message *string
}

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

func (*TitleRequiredException) Error

func (e *TitleRequiredException) Error() string

func (*TitleRequiredException) ErrorCode

func (e *TitleRequiredException) ErrorCode() string

func (*TitleRequiredException) ErrorFault

func (e *TitleRequiredException) ErrorFault() smithy.ErrorFault

func (*TitleRequiredException) ErrorMessage

func (e *TitleRequiredException) ErrorMessage() string

type TooManyTagsException

type TooManyTagsException struct {
	Message *string
}

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

func (*TooManyTagsException) Error

func (e *TooManyTagsException) Error() string

func (*TooManyTagsException) ErrorCode

func (e *TooManyTagsException) ErrorCode() string

func (*TooManyTagsException) ErrorFault

func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault

func (*TooManyTagsException) ErrorMessage

func (e *TooManyTagsException) ErrorMessage() string

type UserInfo

type UserInfo struct {

	// The date when the specified commit was commited, in timestamp format with GMT
	// offset.
	Date *string

	// The email address associated with the user who made the commit, if any.
	Email *string

	// The name of the user who made the specified commit.
	Name *string
}

Information about the user who made a specified commit.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL